Adds two new fields to the database and propagates them through the repository layer: - Task status enum gains 'quality_review' (between in_progress and completed), enabling a QA gate before tasks are marked complete. - initiatives.quality_review (INTEGER DEFAULT 0) lets an initiative be flagged for quality-review workflow without a data migration (existing rows default to false). Includes: - Schema changes in schema.ts - Migration 0037 (ALTER TABLE initiatives ADD quality_review) - Snapshot chain repaired: deleted stale 0036 snapshot, fixed 0035 prevId to create a linear chain (0032 → 0034 → 0035), then generated clean 0037 snapshot - Repository adapter already uses SELECT * / spread-update pattern so no adapter code changes were needed - Initiative and task repository tests extended with qualityReview / quality_review_status describe blocks (7 new tests) - docs/database.md updated Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
272 lines
5.6 KiB
JSON
272 lines
5.6 KiB
JSON
{
|
|
"version": "7",
|
|
"dialect": "sqlite",
|
|
"entries": [
|
|
{
|
|
"idx": 0,
|
|
"version": "6",
|
|
"when": 1769882826521,
|
|
"tag": "0000_bizarre_naoko",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 1,
|
|
"version": "6",
|
|
"when": 1770236400939,
|
|
"tag": "0001_overrated_gladiator",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 2,
|
|
"version": "6",
|
|
"when": 1770283755529,
|
|
"tag": "0002_bumpy_killraven",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 3,
|
|
"version": "6",
|
|
"when": 1770310029604,
|
|
"tag": "0003_curly_ser_duncan",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 4,
|
|
"version": "6",
|
|
"when": 1770311913089,
|
|
"tag": "0004_white_captain_britain",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 5,
|
|
"version": "6",
|
|
"when": 1770314201607,
|
|
"tag": "0005_blushing_wendell_vaughn",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 6,
|
|
"version": "6",
|
|
"when": 1770317104950,
|
|
"tag": "0006_curvy_sandman",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 7,
|
|
"version": "6",
|
|
"when": 1770373854589,
|
|
"tag": "0007_robust_the_watchers",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 8,
|
|
"version": "6",
|
|
"when": 1770460800000,
|
|
"tag": "0008_eliminate_plans_table",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 9,
|
|
"version": "6",
|
|
"when": 1770508800000,
|
|
"tag": "0009_drop_account_config_dir",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 10,
|
|
"version": "6",
|
|
"when": 1770512400000,
|
|
"tag": "0010_add_account_credentials",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 11,
|
|
"version": "6",
|
|
"when": 1770595200000,
|
|
"tag": "0011_drop_initiative_description",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 12,
|
|
"version": "6",
|
|
"when": 1770420629437,
|
|
"tag": "0012_add_agent_user_dismissed_at",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 13,
|
|
"version": "6",
|
|
"when": 1770681600000,
|
|
"tag": "0013_add_proposals_table",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 14,
|
|
"version": "6",
|
|
"when": 1770768000000,
|
|
"tag": "0014_add_exit_code_to_agents",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 15,
|
|
"version": "6",
|
|
"when": 1770854400000,
|
|
"tag": "0015_add_agent_log_chunks",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 16,
|
|
"version": "6",
|
|
"when": 1770940800000,
|
|
"tag": "0016_add_phase_content",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 17,
|
|
"version": "6",
|
|
"when": 1771027200000,
|
|
"tag": "0017_drop_phase_description",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 18,
|
|
"version": "6",
|
|
"when": 1771113600000,
|
|
"tag": "0018_drop_phase_number",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 19,
|
|
"version": "6",
|
|
"when": 1771200000000,
|
|
"tag": "0019_add_execution_mode",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 20,
|
|
"version": "6",
|
|
"when": 1771286400000,
|
|
"tag": "0020_add_change_sets",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 21,
|
|
"version": "6",
|
|
"when": 1771372800000,
|
|
"tag": "0021_drop_proposals",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 22,
|
|
"version": "6",
|
|
"when": 1771459200000,
|
|
"tag": "0022_branch_refactor",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 23,
|
|
"version": "6",
|
|
"when": 1771545600000,
|
|
"tag": "0023_rename_breakdown_decompose",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 24,
|
|
"version": "6",
|
|
"when": 1771632000000,
|
|
"tag": "0024_add_conversations",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 25,
|
|
"version": "6",
|
|
"when": 1771718400000,
|
|
"tag": "0025_fix_agents_fk_constraints",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 26,
|
|
"version": "6",
|
|
"when": 1771804800000,
|
|
"tag": "0026_add_task_summary",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 27,
|
|
"version": "6",
|
|
"when": 1771891200000,
|
|
"tag": "0027_add_chat_sessions",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 28,
|
|
"version": "6",
|
|
"when": 1771977600000,
|
|
"tag": "0028_add_review_comments",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 29,
|
|
"version": "6",
|
|
"when": 1772064000000,
|
|
"tag": "0029_add_project_last_fetched_at",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 30,
|
|
"version": "6",
|
|
"when": 1772150400000,
|
|
"tag": "0030_remove_task_approval",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 31,
|
|
"version": "6",
|
|
"when": 1772236800000,
|
|
"tag": "0031_add_phase_merge_base",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 32,
|
|
"version": "6",
|
|
"when": 1772323200000,
|
|
"tag": "0032_add_comment_threading",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 33,
|
|
"version": "6",
|
|
"when": 1772409600000,
|
|
"tag": "0033_drop_approval_columns",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 34,
|
|
"version": "6",
|
|
"when": 1772496000000,
|
|
"tag": "0034_add_task_retry_count",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 35,
|
|
"version": "6",
|
|
"when": 1772796561474,
|
|
"tag": "0035_faulty_human_fly",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 36,
|
|
"version": "6",
|
|
"when": 1772798869413,
|
|
"tag": "0036_icy_silvermane",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 37,
|
|
"version": "6",
|
|
"when": 1772829916655,
|
|
"tag": "0037_worthless_princess_powerful",
|
|
"breakpoints": true
|
|
}
|
|
]
|
|
} |