Verify-gate uitbreiden: DIVERGENT/PARTIAL vereist agent-acknowledgement (#53)
* feat(schema): add Task.verify_required enum (ALIGNED / ALIGNED_OR_PARTIAL / ANY) Adds VerifyRequired enum and verify_required field (default ALIGNED_OR_PARTIAL) to the Task model. Also declares the claude_jobs_status_finished_at_idx index in the schema to match the live DB. Applied via db execute + migrate resolve. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(ui): add verify_required select to TaskDetailDialog SoloTask interface, solo page mapping, solo store, PATCH route handler and TaskDetailDialog all updated to expose the three-level verify gate (ALIGNED / ALIGNED_OR_PARTIAL / ANY) as a native select. Disabled with DemoTooltip in demo mode. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
d93c91c386
commit
ced0a8a4c0
9 changed files with 87 additions and 8 deletions
|
|
@ -45,6 +45,12 @@ enum VerifyResult {
|
|||
DIVERGENT
|
||||
}
|
||||
|
||||
enum VerifyRequired {
|
||||
ALIGNED
|
||||
ALIGNED_OR_PARTIAL
|
||||
ANY
|
||||
}
|
||||
|
||||
enum TaskStatus {
|
||||
TO_DO
|
||||
IN_PROGRESS
|
||||
|
|
@ -246,8 +252,9 @@ model Task {
|
|||
priority Int
|
||||
sort_order Float
|
||||
status TaskStatus @default(TO_DO)
|
||||
verify_only Boolean @default(false)
|
||||
created_at DateTime @default(now())
|
||||
verify_only Boolean @default(false)
|
||||
verify_required VerifyRequired @default(ALIGNED_OR_PARTIAL)
|
||||
created_at DateTime @default(now())
|
||||
updated_at DateTime @updatedAt
|
||||
claude_questions ClaudeQuestion[]
|
||||
claude_jobs ClaudeJob[]
|
||||
|
|
@ -285,6 +292,7 @@ model ClaudeJob {
|
|||
@@index([user_id, status])
|
||||
@@index([task_id, status])
|
||||
@@index([status, claimed_at])
|
||||
@@index([status, finished_at])
|
||||
@@map("claude_jobs")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue