diff options
Diffstat (limited to 'makima/frontend/src/lib')
| -rw-r--r-- | makima/frontend/src/lib/api.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/makima/frontend/src/lib/api.ts b/makima/frontend/src/lib/api.ts index c9648a2..8838dbd 100644 --- a/makima/frontend/src/lib/api.ts +++ b/makima/frontend/src/lib/api.ts @@ -1682,6 +1682,8 @@ export interface ContractSummary { supervisorTaskId: string | null; /** When true, tasks won't auto-push or create PRs - use patch files instead */ localOnly: boolean; + /** When true, a red team task monitors work output for quality */ + redTeamEnabled: boolean; fileCount: number; taskCount: number; repositoryCount: number; @@ -1706,6 +1708,10 @@ export interface Contract { phaseGuard: boolean; /** When true, tasks won't auto-push or create PRs - use patch files instead */ localOnly: boolean; + /** When true, a red team task monitors work output for quality */ + redTeamEnabled: boolean; + /** Custom criteria for the red team to evaluate */ + redTeamPrompt: string | null; version: number; createdAt: string; updatedAt: string; @@ -1741,6 +1747,10 @@ export interface CreateContractRequest { initialPhase?: ContractPhase; /** When true, tasks won't auto-push or create PRs - use patch files instead */ localOnly?: boolean; + /** When true, spawn a red team task to monitor work output */ + redTeamEnabled?: boolean; + /** Custom criteria for the red team to evaluate */ + redTeamPrompt?: string; } export interface UpdateContractRequest { |
