feat(research): cut over canonical runtime and enforce agent budgets

This commit is contained in:
Boki 2026-10-24 16:47:19 -04:00
parent ab08db82fd
commit bbf0dd4453
103 changed files with 6138 additions and 3112 deletions

View file

@ -3,6 +3,7 @@ import { z } from 'zod';
import type {
CanonicalBacktestAnalytics,
HistoricalDatasetManifestV2,
ResearchActor,
StrategyParameterValue,
} from '@stock-bot/types';
import type { CanonicalRunRequest } from './canonical-research';
@ -67,7 +68,7 @@ export interface ExperimentTrialRetry {
pausedAt: string | null;
failureUpdatedAt: string;
recordedAt: string;
principal: 'operator' | 'service';
principal: ResearchActor;
/** Current approval at retry admission; the original run snapshot stays immutable. */
reviewId: string;
}