feat: add plan_snapshot field to ClaudeJob schema

Nullable String? column on claude_jobs captures the task's
implementation_plan at claim time — immutable baseline for drift detection.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Janpeter Visser 2026-04-30 19:13:07 +02:00
parent 8877ea469d
commit a3af2dda63
3 changed files with 4 additions and 1 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 488 KiB

After

Width:  |  Height:  |  Size: 490 KiB

Before After
Before After

View file

@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "claude_jobs" ADD COLUMN "plan_snapshot" TEXT;

View file

@ -260,6 +260,7 @@ model ClaudeJob {
claimed_at DateTime? claimed_at DateTime?
started_at DateTime? started_at DateTime?
finished_at DateTime? finished_at DateTime?
plan_snapshot String?
branch String? branch String?
summary String? summary String?
error String? error String?