feat: add VerifyResult enum, verify_only on Task, verify_result on ClaudeJob
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
566fbf46bf
commit
ea67344829
3 changed files with 18 additions and 1 deletions
|
|
@ -0,0 +1,8 @@
|
|||
-- CreateEnum
|
||||
CREATE TYPE "VerifyResult" AS ENUM ('ALIGNED', 'PARTIAL', 'EMPTY', 'DIVERGENT');
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "claude_jobs" ADD COLUMN "verify_result" "VerifyResult";
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "tasks" ADD COLUMN "verify_only" BOOLEAN NOT NULL DEFAULT false;
|
||||
|
|
@ -38,6 +38,13 @@ enum ClaudeJobStatus {
|
|||
CANCELLED
|
||||
}
|
||||
|
||||
enum VerifyResult {
|
||||
ALIGNED
|
||||
PARTIAL
|
||||
EMPTY
|
||||
DIVERGENT
|
||||
}
|
||||
|
||||
enum TaskStatus {
|
||||
TO_DO
|
||||
IN_PROGRESS
|
||||
|
|
@ -236,6 +243,7 @@ model Task {
|
|||
priority Int
|
||||
sort_order Float
|
||||
status TaskStatus @default(TO_DO)
|
||||
verify_only Boolean @default(false)
|
||||
created_at DateTime @default(now())
|
||||
updated_at DateTime @updatedAt
|
||||
claude_questions ClaudeQuestion[]
|
||||
|
|
@ -261,6 +269,7 @@ model ClaudeJob {
|
|||
started_at DateTime?
|
||||
finished_at DateTime?
|
||||
pushed_at DateTime?
|
||||
verify_result VerifyResult?
|
||||
plan_snapshot String?
|
||||
branch String?
|
||||
summary String?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue