| 1 | /** |
| 2 | * Durable AgentTeams state types. |
| 3 | * |
| 4 | * A team is one directory under the state root holding `team.json` plus an |
| 5 | * `inbox/` of per-agent JSONL mailboxes. Members are continuable subagents |
| 6 | * whose durable child session ids are recorded in the team file, so a team |
| 7 | * survives harness restarts. |
| 8 | * @module dsh-agent-teams/types |
| 9 | */ |
| 10 | /** Statuses after which a task can no longer be claimed or worked on. */ |
| 11 | export const TERMINAL_TASK_STATUSES = ['completed', 'failed', 'cancelled']; |
| 12 | export const TASK_KINDS = [ |
| 13 | 'requirements', |
| 14 | 'implementation', |
| 15 | 'verification', |
| 16 | 'review', |
| 17 | 'repair', |
| 18 | 'integration', |
| 19 | 'work', |
| 20 | ]; |
| 21 | export const REVIEW_VERDICTS = ['pass', 'needs_revision', 'reject']; |
| 22 | export const FINDING_SEVERITIES = ['low', 'medium', 'high', 'blocker']; |
| 23 |