@cleocode/cleo 2026.2.6 → 2026.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (264) hide show
  1. package/LICENSE +0 -0
  2. package/README.md +0 -0
  3. package/completions/bash-completion.sh +0 -0
  4. package/completions/zsh-completion.zsh +0 -0
  5. package/dist/cli/index.js +0 -8
  6. package/dist/cli/index.js.map +3 -3
  7. package/dist/mcp/index.js.map +1 -1
  8. package/drizzle/20260224040019_baseline/migration.sql +0 -0
  9. package/drizzle/20260224040019_baseline/snapshot.json +0 -0
  10. package/drizzle/20260224040238_add-audit-log/migration.sql +0 -0
  11. package/drizzle/20260224040238_add-audit-log/snapshot.json +0 -0
  12. package/drizzle/20260224144602_closed_grim_reaper/migration.sql +0 -0
  13. package/drizzle/20260224144602_closed_grim_reaper/snapshot.json +0 -0
  14. package/drizzle/20260225024442_sync-lifecycle-enums-and-arch-decisions/migration.sql +0 -0
  15. package/drizzle/20260225024442_sync-lifecycle-enums-and-arch-decisions/snapshot.json +0 -0
  16. package/drizzle/20260227014821_adr-system-and-status-registry/migration.sql +0 -0
  17. package/drizzle/20260227014821_adr-system-and-status-registry/snapshot.json +0 -0
  18. package/drizzle/20260227021231_add-cancelled-pipeline-status/migration.sql +0 -0
  19. package/drizzle/20260227021231_add-cancelled-pipeline-status/snapshot.json +0 -0
  20. package/drizzle/20260227022417_adr-cognitive-search-fields/migration.sql +0 -0
  21. package/drizzle/20260227022417_adr-cognitive-search-fields/snapshot.json +0 -0
  22. package/drizzle/20260227172236_freezing_grey_gargoyle/migration.sql +0 -0
  23. package/drizzle/20260227172236_freezing_grey_gargoyle/snapshot.json +0 -0
  24. package/drizzle/20260227183444_fix-orphaned-parent-ids/migration.sql +0 -0
  25. package/drizzle/20260227183444_fix-orphaned-parent-ids/snapshot.json +0 -0
  26. package/drizzle/20260227183521_parent-id-on-delete-set-null/migration.sql +0 -0
  27. package/drizzle/20260227183521_parent-id-on-delete-set-null/snapshot.json +0 -0
  28. package/drizzle/20260227200430_numerous_mysterio/migration.sql +0 -0
  29. package/drizzle/20260227200430_numerous_mysterio/snapshot.json +0 -0
  30. package/drizzle/20260227235745_add-audit-log-dispatch-columns/migration.sql +40 -0
  31. package/drizzle/20260227235745_add-audit-log-dispatch-columns/snapshot.json +2323 -0
  32. package/package.json +3 -3
  33. package/packages/ct-skills/dispatch-config.json +0 -0
  34. package/packages/ct-skills/index.d.ts +0 -0
  35. package/packages/ct-skills/index.js +0 -0
  36. package/packages/ct-skills/package.json +0 -0
  37. package/packages/ct-skills/profiles/core.json +0 -0
  38. package/packages/ct-skills/profiles/full.json +0 -0
  39. package/packages/ct-skills/profiles/minimal.json +0 -0
  40. package/packages/ct-skills/profiles/recommended.json +0 -0
  41. package/packages/ct-skills/protocols/agent-protocol.md +0 -0
  42. package/packages/ct-skills/protocols/artifact-publish.md +0 -0
  43. package/packages/ct-skills/protocols/consensus.md +0 -0
  44. package/packages/ct-skills/protocols/contribution.md +0 -0
  45. package/packages/ct-skills/protocols/decomposition.md +0 -0
  46. package/packages/ct-skills/protocols/implementation.md +0 -0
  47. package/packages/ct-skills/protocols/provenance.md +0 -0
  48. package/packages/ct-skills/protocols/release.md +0 -0
  49. package/packages/ct-skills/protocols/research.md +0 -0
  50. package/packages/ct-skills/protocols/specification.md +0 -0
  51. package/packages/ct-skills/protocols/testing.md +0 -0
  52. package/packages/ct-skills/protocols/validation.md +0 -0
  53. package/packages/ct-skills/skills/_shared/cleo-style-guide.md +0 -0
  54. package/packages/ct-skills/skills/_shared/manifest-operations.md +0 -0
  55. package/packages/ct-skills/skills/_shared/placeholders.json +0 -0
  56. package/packages/ct-skills/skills/_shared/skill-chaining-patterns.md +0 -0
  57. package/packages/ct-skills/skills/_shared/subagent-protocol-base.md +0 -0
  58. package/packages/ct-skills/skills/_shared/task-system-integration.md +0 -0
  59. package/packages/ct-skills/skills/_shared/testing-framework-config.md +0 -0
  60. package/packages/ct-skills/skills/ct-cleo/SKILL.md +0 -0
  61. package/packages/ct-skills/skills/ct-cleo/references/anti-patterns.md +0 -0
  62. package/packages/ct-skills/skills/ct-cleo/references/orchestrator-constraints.md +0 -0
  63. package/packages/ct-skills/skills/ct-cleo/references/rcsd-lifecycle.md +0 -0
  64. package/packages/ct-skills/skills/ct-cleo/references/session-protocol.md +0 -0
  65. package/packages/ct-skills/skills/ct-contribution/SKILL.md +0 -0
  66. package/packages/ct-skills/skills/ct-contribution/templates/contribution-init.json +0 -0
  67. package/packages/ct-skills/skills/ct-dev-workflow/SKILL.md +0 -0
  68. package/packages/ct-skills/skills/ct-docs-lookup/SKILL.md +0 -0
  69. package/packages/ct-skills/skills/ct-docs-review/SKILL.md +0 -0
  70. package/packages/ct-skills/skills/ct-docs-write/SKILL.md +0 -0
  71. package/packages/ct-skills/skills/ct-documentor/SKILL.md +0 -0
  72. package/packages/ct-skills/skills/ct-epic-architect/SKILL.md +0 -0
  73. package/packages/ct-skills/skills/ct-epic-architect/references/bug-epic-example.md +0 -0
  74. package/packages/ct-skills/skills/ct-epic-architect/references/commands.md +0 -0
  75. package/packages/ct-skills/skills/ct-epic-architect/references/feature-epic-example.md +0 -0
  76. package/packages/ct-skills/skills/ct-epic-architect/references/migration-epic-example.md +0 -0
  77. package/packages/ct-skills/skills/ct-epic-architect/references/output-format.md +0 -0
  78. package/packages/ct-skills/skills/ct-epic-architect/references/patterns.md +0 -0
  79. package/packages/ct-skills/skills/ct-epic-architect/references/refactor-epic-example.md +0 -0
  80. package/packages/ct-skills/skills/ct-epic-architect/references/research-epic-example.md +0 -0
  81. package/packages/ct-skills/skills/ct-epic-architect/references/shell-escaping.md +0 -0
  82. package/packages/ct-skills/skills/ct-epic-architect/references/skill-aware-execution.md +0 -0
  83. package/packages/ct-skills/skills/ct-gitbook/SKILL.md +0 -0
  84. package/packages/ct-skills/skills/ct-gitbook/assets/SUMMARY.md +0 -0
  85. package/packages/ct-skills/skills/ct-gitbook/assets/gitbook.yaml +0 -0
  86. package/packages/ct-skills/skills/ct-gitbook/references/api-sdk.md +0 -0
  87. package/packages/ct-skills/skills/ct-gitbook/references/auth-sso.md +0 -0
  88. package/packages/ct-skills/skills/ct-gitbook/references/change-requests.md +0 -0
  89. package/packages/ct-skills/skills/ct-gitbook/references/content-blocks.md +0 -0
  90. package/packages/ct-skills/skills/ct-gitbook/references/docs-sites.md +0 -0
  91. package/packages/ct-skills/skills/ct-gitbook/references/git-sync.md +0 -0
  92. package/packages/ct-skills/skills/ct-gitbook/references/llm-ready.md +0 -0
  93. package/packages/ct-skills/skills/ct-gitbook/references/migration.md +0 -0
  94. package/packages/ct-skills/skills/ct-library-implementer-bash/SKILL.md +0 -0
  95. package/packages/ct-skills/skills/ct-orchestrator/INSTALL.md +0 -0
  96. package/packages/ct-skills/skills/ct-orchestrator/README.md +0 -0
  97. package/packages/ct-skills/skills/ct-orchestrator/SKILL.md +0 -0
  98. package/packages/ct-skills/skills/ct-orchestrator/references/SUBAGENT-PROTOCOL-BLOCK.md +0 -0
  99. package/packages/ct-skills/skills/ct-orchestrator/references/autonomous-operation.md +0 -0
  100. package/packages/ct-skills/skills/ct-orchestrator/references/lifecycle-gates.md +0 -0
  101. package/packages/ct-skills/skills/ct-orchestrator/references/orchestrator-compliance.md +0 -0
  102. package/packages/ct-skills/skills/ct-orchestrator/references/orchestrator-handoffs.md +0 -0
  103. package/packages/ct-skills/skills/ct-orchestrator/references/orchestrator-patterns.md +0 -0
  104. package/packages/ct-skills/skills/ct-orchestrator/references/orchestrator-recovery.md +0 -0
  105. package/packages/ct-skills/skills/ct-orchestrator/references/orchestrator-spawning.md +0 -0
  106. package/packages/ct-skills/skills/ct-orchestrator/references/orchestrator-tokens.md +0 -0
  107. package/packages/ct-skills/skills/ct-research-agent/SKILL.md +0 -0
  108. package/packages/ct-skills/skills/ct-skill-creator/SKILL.md +0 -0
  109. package/packages/ct-skills/skills/ct-skill-creator/references/output-patterns.md +0 -0
  110. package/packages/ct-skills/skills/ct-skill-creator/references/workflows.md +0 -0
  111. package/packages/ct-skills/skills/ct-skill-creator/scripts/init_skill.py +0 -0
  112. package/packages/ct-skills/skills/ct-skill-creator/scripts/package_skill.py +0 -0
  113. package/packages/ct-skills/skills/ct-skill-creator/scripts/quick_validate.py +0 -0
  114. package/packages/ct-skills/skills/ct-skill-lookup/SKILL.md +0 -0
  115. package/packages/ct-skills/skills/ct-spec-writer/SKILL.md +0 -0
  116. package/packages/ct-skills/skills/ct-task-executor/SKILL.md +0 -0
  117. package/packages/ct-skills/skills/ct-test-writer-bats/SKILL.md +0 -0
  118. package/packages/ct-skills/skills/ct-validator/SKILL.md +0 -0
  119. package/packages/ct-skills/skills/manifest.json +0 -0
  120. package/packages/ct-skills/skills/railway-platform/SKILL.md +0 -0
  121. package/packages/ct-skills/skills/railway-platform/_shared/scripts/railway-api.sh +0 -0
  122. package/packages/ct-skills/skills/railway-platform/_shared/scripts/railway-common.sh +0 -0
  123. package/packages/ct-skills/skills/railway-platform/references/01-getting-started.md +0 -0
  124. package/packages/ct-skills/skills/railway-platform/references/02-projects.md +0 -0
  125. package/packages/ct-skills/skills/railway-platform/references/03-services.md +0 -0
  126. package/packages/ct-skills/skills/railway-platform/references/04-deployments.md +0 -0
  127. package/packages/ct-skills/skills/railway-platform/references/05-databases.md +0 -0
  128. package/packages/ct-skills/skills/railway-platform/references/06-environments.md +0 -0
  129. package/packages/ct-skills/skills/railway-platform/references/07-domains.md +0 -0
  130. package/packages/ct-skills/skills/railway-platform/references/08-volumes.md +0 -0
  131. package/packages/ct-skills/skills/railway-platform/references/09-networking.md +0 -0
  132. package/packages/ct-skills/skills/railway-platform/references/10-cron.md +0 -0
  133. package/packages/ct-skills/skills/railway-platform/references/11-functions.md +0 -0
  134. package/packages/ct-skills/skills/railway-platform/references/12-monorepo.md +0 -0
  135. package/packages/ct-skills/skills/railway-platform/references/13-troubleshooting.md +0 -0
  136. package/packages/ct-skills/skills/railway-platform/references/14-railway-metal.md +0 -0
  137. package/packages/ct-skills/skills.json +0 -0
  138. package/schemas/adr-frontmatter.schema.json +0 -0
  139. package/schemas/agent-configs.schema.json +0 -0
  140. package/schemas/agent-registry.json +0 -0
  141. package/schemas/agent-registry.schema.json +0 -0
  142. package/schemas/archive/agent-configs.schema.json +0 -0
  143. package/schemas/archive/agent-registry.schema.json +0 -0
  144. package/schemas/archive/archive.schema.json +0 -0
  145. package/schemas/archive/claudedocs-frontmatter.schema.json +0 -0
  146. package/schemas/archive/commands-index.schema.json +0 -0
  147. package/schemas/archive/contribution.schema.json +0 -0
  148. package/schemas/archive/critical-path.schema.json +0 -0
  149. package/schemas/archive/deps-cache.schema.json +0 -0
  150. package/schemas/archive/doctor-output.schema.json +0 -0
  151. package/schemas/archive/error.schema.json +0 -0
  152. package/schemas/archive/export-package.schema.json +0 -0
  153. package/schemas/archive/global-config.schema.json +0 -0
  154. package/schemas/archive/log.schema.json +0 -0
  155. package/schemas/archive/metrics.schema.json +0 -0
  156. package/schemas/archive/migrations.schema.json +0 -0
  157. package/schemas/archive/nexus-registry.schema.json +0 -0
  158. package/schemas/archive/output.schema.json +0 -0
  159. package/schemas/archive/rcsd-consensus-report.schema.json +0 -0
  160. package/schemas/archive/rcsd-hitl-resolution.schema.json +0 -0
  161. package/schemas/archive/rcsd-index.schema.json +0 -0
  162. package/schemas/archive/rcsd-manifest.schema.json +0 -0
  163. package/schemas/archive/rcsd-research-output.schema.json +0 -0
  164. package/schemas/archive/rcsd-spec-frontmatter.schema.json +0 -0
  165. package/schemas/archive/releases.schema.json +0 -0
  166. package/schemas/archive/skills-manifest.schema.json +0 -0
  167. package/schemas/archive/skillsmp.schema.json +0 -0
  168. package/schemas/archive/spec-index.schema.json +0 -0
  169. package/schemas/archive/todo.schema.json +0 -0
  170. package/schemas/archive.schema.json +0 -0
  171. package/schemas/brain-decision.schema.json +0 -0
  172. package/schemas/brain-learning.schema.json +0 -0
  173. package/schemas/brain-pattern.schema.json +0 -0
  174. package/schemas/claudedocs-frontmatter.schema.json +0 -0
  175. package/schemas/commands-index.schema.json +0 -0
  176. package/schemas/config.schema.json +0 -0
  177. package/schemas/context-state.schema.json +0 -0
  178. package/schemas/contribution.schema.json +0 -0
  179. package/schemas/critical-path.schema.json +0 -0
  180. package/schemas/deps-cache.schema.json +0 -0
  181. package/schemas/doctor-output.schema.json +0 -0
  182. package/schemas/error.schema.json +0 -0
  183. package/schemas/export-package.schema.json +0 -0
  184. package/schemas/global-config.schema.json +0 -0
  185. package/schemas/grade.schema.json +0 -0
  186. package/schemas/log.schema.json +0 -0
  187. package/schemas/metrics.schema.json +0 -0
  188. package/schemas/migrations.schema.json +0 -0
  189. package/schemas/nexus-registry.schema.json +0 -0
  190. package/schemas/output.schema.json +0 -0
  191. package/schemas/project-context.schema.json +0 -0
  192. package/schemas/project-info.schema.json +0 -0
  193. package/schemas/projects-registry.schema.json +0 -0
  194. package/schemas/protocol-frontmatter.schema.json +0 -0
  195. package/schemas/rcasd-consensus-report.schema.json +0 -0
  196. package/schemas/rcasd-evidence.schema.json +0 -0
  197. package/schemas/rcasd-gate-result.schema.json +0 -0
  198. package/schemas/rcasd-hitl-resolution.schema.json +0 -0
  199. package/schemas/rcasd-index.schema.json +0 -0
  200. package/schemas/rcasd-manifest.schema.json +0 -0
  201. package/schemas/rcasd-research-output.schema.json +0 -0
  202. package/schemas/rcasd-spec-frontmatter.schema.json +0 -0
  203. package/schemas/rcasd-stage-transition.schema.json +0 -0
  204. package/schemas/rcsd-consensus-report.schema.json +0 -0
  205. package/schemas/rcsd-hitl-resolution.schema.json +0 -0
  206. package/schemas/rcsd-index.schema.json +0 -0
  207. package/schemas/rcsd-manifest.schema.json +0 -0
  208. package/schemas/rcsd-research-output.schema.json +0 -0
  209. package/schemas/rcsd-spec-frontmatter.schema.json +0 -0
  210. package/schemas/releases.schema.json +0 -0
  211. package/schemas/research-manifest.schema.json +0 -0
  212. package/schemas/skills-manifest.schema.json +0 -0
  213. package/schemas/skillsmp.schema.json +0 -0
  214. package/schemas/spec-index.schema.json +0 -0
  215. package/schemas/todo.schema.json +0 -0
  216. package/server.json +0 -0
  217. package/skills/_shared/cleo-style-guide.md +0 -0
  218. package/skills/_shared/manifest-operations.md +0 -0
  219. package/skills/_shared/placeholders.json +0 -0
  220. package/skills/_shared/skill-chaining-patterns.md +0 -0
  221. package/skills/_shared/subagent-protocol-base.md +0 -0
  222. package/skills/_shared/task-system-integration.md +0 -0
  223. package/skills/_shared/testing-framework-config.md +0 -0
  224. package/skills/agentskills-integrate.md +0 -0
  225. package/skills/agentskills-specs.md +0 -0
  226. package/skills/agentskills-what-are-skills.md +0 -0
  227. package/skills/manifest.json +0 -0
  228. package/templates/AGENT-INJECTION.md +0 -0
  229. package/templates/CLEO-INJECTION.md +0 -0
  230. package/templates/CONTRIBUTION-INJECTION.md +0 -0
  231. package/templates/CONTRIBUTION-PROTOCOL.template.md +0 -0
  232. package/templates/README.md +0 -0
  233. package/templates/agent-registry.json +0 -0
  234. package/templates/agents/BASE-SUBAGENT-PROTOCOL.md +0 -0
  235. package/templates/agents/README.md +0 -0
  236. package/templates/agents/cleo-subagent.md +0 -0
  237. package/templates/archive.template.json +0 -0
  238. package/templates/backups/archive/.gitkeep +0 -0
  239. package/templates/backups/incremental/.gitkeep +0 -0
  240. package/templates/backups/migration/.gitkeep +0 -0
  241. package/templates/backups/safety/.gitkeep +0 -0
  242. package/templates/backups/snapshot/.gitkeep +0 -0
  243. package/templates/ci/circleci/config.yml +0 -0
  244. package/templates/ci/github-actions/release.yml +0 -0
  245. package/templates/ci/gitlab-ci/release.yml +0 -0
  246. package/templates/cleo-gitignore +0 -0
  247. package/templates/config.template.json +0 -0
  248. package/templates/git-hooks/commit-msg +0 -0
  249. package/templates/git-hooks/pre-commit +6 -24
  250. package/templates/global-config.template.json +0 -0
  251. package/templates/hooks/precompact-safestop.sh +0 -0
  252. package/templates/log.template.json +0 -0
  253. package/templates/migrations.template.json +0 -0
  254. package/templates/orchestrator-protocol/PLACEHOLDER-REGISTRY.md +0 -0
  255. package/templates/orchestrator-protocol/README.md +0 -0
  256. package/templates/sessions.template.json +0 -0
  257. package/templates/skillsmp.json.example +0 -0
  258. package/templates/skillsmp.json.example.md +0 -0
  259. package/templates/subagent-protocol/INJECT.md +0 -0
  260. package/templates/subagent-protocol/MANIFEST.jsonl +0 -0
  261. package/templates/subagent-protocol/README.md +0 -0
  262. package/templates/subagent-protocol/SUBAGENT_PROTOCOL.md +0 -0
  263. package/templates/subagent-protocol/install.sh +0 -0
  264. package/templates/todo.template.json +0 -0
@@ -0,0 +1,2323 @@
1
+ {
2
+ "id": "a196e380-ca79-4902-a05e-cabfb29e4243",
3
+ "prevIds": [
4
+ "4487fb56-9c71-47ed-ab53-6ac0c99e86f6"
5
+ ],
6
+ "version": "7",
7
+ "dialect": "sqlite",
8
+ "ddl": [
9
+ {
10
+ "name": "adr_relations",
11
+ "entityType": "tables"
12
+ },
13
+ {
14
+ "name": "adr_task_links",
15
+ "entityType": "tables"
16
+ },
17
+ {
18
+ "name": "architecture_decisions",
19
+ "entityType": "tables"
20
+ },
21
+ {
22
+ "name": "audit_log",
23
+ "entityType": "tables"
24
+ },
25
+ {
26
+ "name": "lifecycle_evidence",
27
+ "entityType": "tables"
28
+ },
29
+ {
30
+ "name": "lifecycle_gate_results",
31
+ "entityType": "tables"
32
+ },
33
+ {
34
+ "name": "lifecycle_pipelines",
35
+ "entityType": "tables"
36
+ },
37
+ {
38
+ "name": "lifecycle_stages",
39
+ "entityType": "tables"
40
+ },
41
+ {
42
+ "name": "lifecycle_transitions",
43
+ "entityType": "tables"
44
+ },
45
+ {
46
+ "name": "schema_meta",
47
+ "entityType": "tables"
48
+ },
49
+ {
50
+ "name": "sessions",
51
+ "entityType": "tables"
52
+ },
53
+ {
54
+ "name": "status_registry",
55
+ "entityType": "tables"
56
+ },
57
+ {
58
+ "name": "task_dependencies",
59
+ "entityType": "tables"
60
+ },
61
+ {
62
+ "name": "task_relations",
63
+ "entityType": "tables"
64
+ },
65
+ {
66
+ "name": "task_work_history",
67
+ "entityType": "tables"
68
+ },
69
+ {
70
+ "name": "tasks",
71
+ "entityType": "tables"
72
+ },
73
+ {
74
+ "type": "text",
75
+ "notNull": true,
76
+ "autoincrement": false,
77
+ "default": null,
78
+ "generated": null,
79
+ "name": "from_adr_id",
80
+ "entityType": "columns",
81
+ "table": "adr_relations"
82
+ },
83
+ {
84
+ "type": "text",
85
+ "notNull": true,
86
+ "autoincrement": false,
87
+ "default": null,
88
+ "generated": null,
89
+ "name": "to_adr_id",
90
+ "entityType": "columns",
91
+ "table": "adr_relations"
92
+ },
93
+ {
94
+ "type": "text",
95
+ "notNull": true,
96
+ "autoincrement": false,
97
+ "default": null,
98
+ "generated": null,
99
+ "name": "relation_type",
100
+ "entityType": "columns",
101
+ "table": "adr_relations"
102
+ },
103
+ {
104
+ "type": "text",
105
+ "notNull": true,
106
+ "autoincrement": false,
107
+ "default": null,
108
+ "generated": null,
109
+ "name": "adr_id",
110
+ "entityType": "columns",
111
+ "table": "adr_task_links"
112
+ },
113
+ {
114
+ "type": "text",
115
+ "notNull": true,
116
+ "autoincrement": false,
117
+ "default": null,
118
+ "generated": null,
119
+ "name": "task_id",
120
+ "entityType": "columns",
121
+ "table": "adr_task_links"
122
+ },
123
+ {
124
+ "type": "text",
125
+ "notNull": true,
126
+ "autoincrement": false,
127
+ "default": "'related'",
128
+ "generated": null,
129
+ "name": "link_type",
130
+ "entityType": "columns",
131
+ "table": "adr_task_links"
132
+ },
133
+ {
134
+ "type": "text",
135
+ "notNull": false,
136
+ "autoincrement": false,
137
+ "default": null,
138
+ "generated": null,
139
+ "name": "id",
140
+ "entityType": "columns",
141
+ "table": "architecture_decisions"
142
+ },
143
+ {
144
+ "type": "text",
145
+ "notNull": true,
146
+ "autoincrement": false,
147
+ "default": null,
148
+ "generated": null,
149
+ "name": "title",
150
+ "entityType": "columns",
151
+ "table": "architecture_decisions"
152
+ },
153
+ {
154
+ "type": "text",
155
+ "notNull": true,
156
+ "autoincrement": false,
157
+ "default": "'proposed'",
158
+ "generated": null,
159
+ "name": "status",
160
+ "entityType": "columns",
161
+ "table": "architecture_decisions"
162
+ },
163
+ {
164
+ "type": "text",
165
+ "notNull": false,
166
+ "autoincrement": false,
167
+ "default": null,
168
+ "generated": null,
169
+ "name": "supersedes_id",
170
+ "entityType": "columns",
171
+ "table": "architecture_decisions"
172
+ },
173
+ {
174
+ "type": "text",
175
+ "notNull": false,
176
+ "autoincrement": false,
177
+ "default": null,
178
+ "generated": null,
179
+ "name": "superseded_by_id",
180
+ "entityType": "columns",
181
+ "table": "architecture_decisions"
182
+ },
183
+ {
184
+ "type": "text",
185
+ "notNull": false,
186
+ "autoincrement": false,
187
+ "default": null,
188
+ "generated": null,
189
+ "name": "consensus_manifest_id",
190
+ "entityType": "columns",
191
+ "table": "architecture_decisions"
192
+ },
193
+ {
194
+ "type": "text",
195
+ "notNull": true,
196
+ "autoincrement": false,
197
+ "default": null,
198
+ "generated": null,
199
+ "name": "content",
200
+ "entityType": "columns",
201
+ "table": "architecture_decisions"
202
+ },
203
+ {
204
+ "type": "text",
205
+ "notNull": true,
206
+ "autoincrement": false,
207
+ "default": "(datetime('now'))",
208
+ "generated": null,
209
+ "name": "created_at",
210
+ "entityType": "columns",
211
+ "table": "architecture_decisions"
212
+ },
213
+ {
214
+ "type": "text",
215
+ "notNull": false,
216
+ "autoincrement": false,
217
+ "default": null,
218
+ "generated": null,
219
+ "name": "updated_at",
220
+ "entityType": "columns",
221
+ "table": "architecture_decisions"
222
+ },
223
+ {
224
+ "type": "text",
225
+ "notNull": true,
226
+ "autoincrement": false,
227
+ "default": "''",
228
+ "generated": null,
229
+ "name": "date",
230
+ "entityType": "columns",
231
+ "table": "architecture_decisions"
232
+ },
233
+ {
234
+ "type": "text",
235
+ "notNull": false,
236
+ "autoincrement": false,
237
+ "default": null,
238
+ "generated": null,
239
+ "name": "accepted_at",
240
+ "entityType": "columns",
241
+ "table": "architecture_decisions"
242
+ },
243
+ {
244
+ "type": "text",
245
+ "notNull": false,
246
+ "autoincrement": false,
247
+ "default": null,
248
+ "generated": null,
249
+ "name": "gate",
250
+ "entityType": "columns",
251
+ "table": "architecture_decisions"
252
+ },
253
+ {
254
+ "type": "text",
255
+ "notNull": false,
256
+ "autoincrement": false,
257
+ "default": null,
258
+ "generated": null,
259
+ "name": "gate_status",
260
+ "entityType": "columns",
261
+ "table": "architecture_decisions"
262
+ },
263
+ {
264
+ "type": "text",
265
+ "notNull": false,
266
+ "autoincrement": false,
267
+ "default": null,
268
+ "generated": null,
269
+ "name": "amends_id",
270
+ "entityType": "columns",
271
+ "table": "architecture_decisions"
272
+ },
273
+ {
274
+ "type": "text",
275
+ "notNull": true,
276
+ "autoincrement": false,
277
+ "default": "''",
278
+ "generated": null,
279
+ "name": "file_path",
280
+ "entityType": "columns",
281
+ "table": "architecture_decisions"
282
+ },
283
+ {
284
+ "type": "text",
285
+ "notNull": false,
286
+ "autoincrement": false,
287
+ "default": null,
288
+ "generated": null,
289
+ "name": "summary",
290
+ "entityType": "columns",
291
+ "table": "architecture_decisions"
292
+ },
293
+ {
294
+ "type": "text",
295
+ "notNull": false,
296
+ "autoincrement": false,
297
+ "default": null,
298
+ "generated": null,
299
+ "name": "keywords",
300
+ "entityType": "columns",
301
+ "table": "architecture_decisions"
302
+ },
303
+ {
304
+ "type": "text",
305
+ "notNull": false,
306
+ "autoincrement": false,
307
+ "default": null,
308
+ "generated": null,
309
+ "name": "topics",
310
+ "entityType": "columns",
311
+ "table": "architecture_decisions"
312
+ },
313
+ {
314
+ "type": "text",
315
+ "notNull": false,
316
+ "autoincrement": false,
317
+ "default": null,
318
+ "generated": null,
319
+ "name": "id",
320
+ "entityType": "columns",
321
+ "table": "audit_log"
322
+ },
323
+ {
324
+ "type": "text",
325
+ "notNull": true,
326
+ "autoincrement": false,
327
+ "default": "(datetime('now'))",
328
+ "generated": null,
329
+ "name": "timestamp",
330
+ "entityType": "columns",
331
+ "table": "audit_log"
332
+ },
333
+ {
334
+ "type": "text",
335
+ "notNull": true,
336
+ "autoincrement": false,
337
+ "default": null,
338
+ "generated": null,
339
+ "name": "action",
340
+ "entityType": "columns",
341
+ "table": "audit_log"
342
+ },
343
+ {
344
+ "type": "text",
345
+ "notNull": true,
346
+ "autoincrement": false,
347
+ "default": null,
348
+ "generated": null,
349
+ "name": "task_id",
350
+ "entityType": "columns",
351
+ "table": "audit_log"
352
+ },
353
+ {
354
+ "type": "text",
355
+ "notNull": true,
356
+ "autoincrement": false,
357
+ "default": "'system'",
358
+ "generated": null,
359
+ "name": "actor",
360
+ "entityType": "columns",
361
+ "table": "audit_log"
362
+ },
363
+ {
364
+ "type": "text",
365
+ "notNull": false,
366
+ "autoincrement": false,
367
+ "default": "'{}'",
368
+ "generated": null,
369
+ "name": "details_json",
370
+ "entityType": "columns",
371
+ "table": "audit_log"
372
+ },
373
+ {
374
+ "type": "text",
375
+ "notNull": false,
376
+ "autoincrement": false,
377
+ "default": null,
378
+ "generated": null,
379
+ "name": "before_json",
380
+ "entityType": "columns",
381
+ "table": "audit_log"
382
+ },
383
+ {
384
+ "type": "text",
385
+ "notNull": false,
386
+ "autoincrement": false,
387
+ "default": null,
388
+ "generated": null,
389
+ "name": "after_json",
390
+ "entityType": "columns",
391
+ "table": "audit_log"
392
+ },
393
+ {
394
+ "type": "text",
395
+ "notNull": false,
396
+ "autoincrement": false,
397
+ "default": null,
398
+ "generated": null,
399
+ "name": "domain",
400
+ "entityType": "columns",
401
+ "table": "audit_log"
402
+ },
403
+ {
404
+ "type": "text",
405
+ "notNull": false,
406
+ "autoincrement": false,
407
+ "default": null,
408
+ "generated": null,
409
+ "name": "operation",
410
+ "entityType": "columns",
411
+ "table": "audit_log"
412
+ },
413
+ {
414
+ "type": "text",
415
+ "notNull": false,
416
+ "autoincrement": false,
417
+ "default": null,
418
+ "generated": null,
419
+ "name": "session_id",
420
+ "entityType": "columns",
421
+ "table": "audit_log"
422
+ },
423
+ {
424
+ "type": "text",
425
+ "notNull": false,
426
+ "autoincrement": false,
427
+ "default": null,
428
+ "generated": null,
429
+ "name": "request_id",
430
+ "entityType": "columns",
431
+ "table": "audit_log"
432
+ },
433
+ {
434
+ "type": "integer",
435
+ "notNull": false,
436
+ "autoincrement": false,
437
+ "default": null,
438
+ "generated": null,
439
+ "name": "duration_ms",
440
+ "entityType": "columns",
441
+ "table": "audit_log"
442
+ },
443
+ {
444
+ "type": "integer",
445
+ "notNull": false,
446
+ "autoincrement": false,
447
+ "default": null,
448
+ "generated": null,
449
+ "name": "success",
450
+ "entityType": "columns",
451
+ "table": "audit_log"
452
+ },
453
+ {
454
+ "type": "text",
455
+ "notNull": false,
456
+ "autoincrement": false,
457
+ "default": null,
458
+ "generated": null,
459
+ "name": "source",
460
+ "entityType": "columns",
461
+ "table": "audit_log"
462
+ },
463
+ {
464
+ "type": "text",
465
+ "notNull": false,
466
+ "autoincrement": false,
467
+ "default": null,
468
+ "generated": null,
469
+ "name": "gateway",
470
+ "entityType": "columns",
471
+ "table": "audit_log"
472
+ },
473
+ {
474
+ "type": "text",
475
+ "notNull": false,
476
+ "autoincrement": false,
477
+ "default": null,
478
+ "generated": null,
479
+ "name": "error_message",
480
+ "entityType": "columns",
481
+ "table": "audit_log"
482
+ },
483
+ {
484
+ "type": "text",
485
+ "notNull": false,
486
+ "autoincrement": false,
487
+ "default": null,
488
+ "generated": null,
489
+ "name": "id",
490
+ "entityType": "columns",
491
+ "table": "lifecycle_evidence"
492
+ },
493
+ {
494
+ "type": "text",
495
+ "notNull": true,
496
+ "autoincrement": false,
497
+ "default": null,
498
+ "generated": null,
499
+ "name": "stage_id",
500
+ "entityType": "columns",
501
+ "table": "lifecycle_evidence"
502
+ },
503
+ {
504
+ "type": "text",
505
+ "notNull": true,
506
+ "autoincrement": false,
507
+ "default": null,
508
+ "generated": null,
509
+ "name": "uri",
510
+ "entityType": "columns",
511
+ "table": "lifecycle_evidence"
512
+ },
513
+ {
514
+ "type": "text",
515
+ "notNull": true,
516
+ "autoincrement": false,
517
+ "default": null,
518
+ "generated": null,
519
+ "name": "type",
520
+ "entityType": "columns",
521
+ "table": "lifecycle_evidence"
522
+ },
523
+ {
524
+ "type": "text",
525
+ "notNull": true,
526
+ "autoincrement": false,
527
+ "default": "(datetime('now'))",
528
+ "generated": null,
529
+ "name": "recorded_at",
530
+ "entityType": "columns",
531
+ "table": "lifecycle_evidence"
532
+ },
533
+ {
534
+ "type": "text",
535
+ "notNull": false,
536
+ "autoincrement": false,
537
+ "default": null,
538
+ "generated": null,
539
+ "name": "recorded_by",
540
+ "entityType": "columns",
541
+ "table": "lifecycle_evidence"
542
+ },
543
+ {
544
+ "type": "text",
545
+ "notNull": false,
546
+ "autoincrement": false,
547
+ "default": null,
548
+ "generated": null,
549
+ "name": "description",
550
+ "entityType": "columns",
551
+ "table": "lifecycle_evidence"
552
+ },
553
+ {
554
+ "type": "text",
555
+ "notNull": false,
556
+ "autoincrement": false,
557
+ "default": null,
558
+ "generated": null,
559
+ "name": "id",
560
+ "entityType": "columns",
561
+ "table": "lifecycle_gate_results"
562
+ },
563
+ {
564
+ "type": "text",
565
+ "notNull": true,
566
+ "autoincrement": false,
567
+ "default": null,
568
+ "generated": null,
569
+ "name": "stage_id",
570
+ "entityType": "columns",
571
+ "table": "lifecycle_gate_results"
572
+ },
573
+ {
574
+ "type": "text",
575
+ "notNull": true,
576
+ "autoincrement": false,
577
+ "default": null,
578
+ "generated": null,
579
+ "name": "gate_name",
580
+ "entityType": "columns",
581
+ "table": "lifecycle_gate_results"
582
+ },
583
+ {
584
+ "type": "text",
585
+ "notNull": true,
586
+ "autoincrement": false,
587
+ "default": null,
588
+ "generated": null,
589
+ "name": "result",
590
+ "entityType": "columns",
591
+ "table": "lifecycle_gate_results"
592
+ },
593
+ {
594
+ "type": "text",
595
+ "notNull": true,
596
+ "autoincrement": false,
597
+ "default": "(datetime('now'))",
598
+ "generated": null,
599
+ "name": "checked_at",
600
+ "entityType": "columns",
601
+ "table": "lifecycle_gate_results"
602
+ },
603
+ {
604
+ "type": "text",
605
+ "notNull": true,
606
+ "autoincrement": false,
607
+ "default": null,
608
+ "generated": null,
609
+ "name": "checked_by",
610
+ "entityType": "columns",
611
+ "table": "lifecycle_gate_results"
612
+ },
613
+ {
614
+ "type": "text",
615
+ "notNull": false,
616
+ "autoincrement": false,
617
+ "default": null,
618
+ "generated": null,
619
+ "name": "details",
620
+ "entityType": "columns",
621
+ "table": "lifecycle_gate_results"
622
+ },
623
+ {
624
+ "type": "text",
625
+ "notNull": false,
626
+ "autoincrement": false,
627
+ "default": null,
628
+ "generated": null,
629
+ "name": "reason",
630
+ "entityType": "columns",
631
+ "table": "lifecycle_gate_results"
632
+ },
633
+ {
634
+ "type": "text",
635
+ "notNull": false,
636
+ "autoincrement": false,
637
+ "default": null,
638
+ "generated": null,
639
+ "name": "id",
640
+ "entityType": "columns",
641
+ "table": "lifecycle_pipelines"
642
+ },
643
+ {
644
+ "type": "text",
645
+ "notNull": true,
646
+ "autoincrement": false,
647
+ "default": null,
648
+ "generated": null,
649
+ "name": "task_id",
650
+ "entityType": "columns",
651
+ "table": "lifecycle_pipelines"
652
+ },
653
+ {
654
+ "type": "text",
655
+ "notNull": true,
656
+ "autoincrement": false,
657
+ "default": "'active'",
658
+ "generated": null,
659
+ "name": "status",
660
+ "entityType": "columns",
661
+ "table": "lifecycle_pipelines"
662
+ },
663
+ {
664
+ "type": "text",
665
+ "notNull": false,
666
+ "autoincrement": false,
667
+ "default": null,
668
+ "generated": null,
669
+ "name": "current_stage_id",
670
+ "entityType": "columns",
671
+ "table": "lifecycle_pipelines"
672
+ },
673
+ {
674
+ "type": "text",
675
+ "notNull": true,
676
+ "autoincrement": false,
677
+ "default": "(datetime('now'))",
678
+ "generated": null,
679
+ "name": "started_at",
680
+ "entityType": "columns",
681
+ "table": "lifecycle_pipelines"
682
+ },
683
+ {
684
+ "type": "text",
685
+ "notNull": false,
686
+ "autoincrement": false,
687
+ "default": null,
688
+ "generated": null,
689
+ "name": "completed_at",
690
+ "entityType": "columns",
691
+ "table": "lifecycle_pipelines"
692
+ },
693
+ {
694
+ "type": "text",
695
+ "notNull": false,
696
+ "autoincrement": false,
697
+ "default": null,
698
+ "generated": null,
699
+ "name": "id",
700
+ "entityType": "columns",
701
+ "table": "lifecycle_stages"
702
+ },
703
+ {
704
+ "type": "text",
705
+ "notNull": true,
706
+ "autoincrement": false,
707
+ "default": null,
708
+ "generated": null,
709
+ "name": "pipeline_id",
710
+ "entityType": "columns",
711
+ "table": "lifecycle_stages"
712
+ },
713
+ {
714
+ "type": "text",
715
+ "notNull": true,
716
+ "autoincrement": false,
717
+ "default": null,
718
+ "generated": null,
719
+ "name": "stage_name",
720
+ "entityType": "columns",
721
+ "table": "lifecycle_stages"
722
+ },
723
+ {
724
+ "type": "text",
725
+ "notNull": true,
726
+ "autoincrement": false,
727
+ "default": "'not_started'",
728
+ "generated": null,
729
+ "name": "status",
730
+ "entityType": "columns",
731
+ "table": "lifecycle_stages"
732
+ },
733
+ {
734
+ "type": "integer",
735
+ "notNull": true,
736
+ "autoincrement": false,
737
+ "default": null,
738
+ "generated": null,
739
+ "name": "sequence",
740
+ "entityType": "columns",
741
+ "table": "lifecycle_stages"
742
+ },
743
+ {
744
+ "type": "text",
745
+ "notNull": false,
746
+ "autoincrement": false,
747
+ "default": null,
748
+ "generated": null,
749
+ "name": "started_at",
750
+ "entityType": "columns",
751
+ "table": "lifecycle_stages"
752
+ },
753
+ {
754
+ "type": "text",
755
+ "notNull": false,
756
+ "autoincrement": false,
757
+ "default": null,
758
+ "generated": null,
759
+ "name": "completed_at",
760
+ "entityType": "columns",
761
+ "table": "lifecycle_stages"
762
+ },
763
+ {
764
+ "type": "text",
765
+ "notNull": false,
766
+ "autoincrement": false,
767
+ "default": null,
768
+ "generated": null,
769
+ "name": "blocked_at",
770
+ "entityType": "columns",
771
+ "table": "lifecycle_stages"
772
+ },
773
+ {
774
+ "type": "text",
775
+ "notNull": false,
776
+ "autoincrement": false,
777
+ "default": null,
778
+ "generated": null,
779
+ "name": "block_reason",
780
+ "entityType": "columns",
781
+ "table": "lifecycle_stages"
782
+ },
783
+ {
784
+ "type": "text",
785
+ "notNull": false,
786
+ "autoincrement": false,
787
+ "default": null,
788
+ "generated": null,
789
+ "name": "skipped_at",
790
+ "entityType": "columns",
791
+ "table": "lifecycle_stages"
792
+ },
793
+ {
794
+ "type": "text",
795
+ "notNull": false,
796
+ "autoincrement": false,
797
+ "default": null,
798
+ "generated": null,
799
+ "name": "skip_reason",
800
+ "entityType": "columns",
801
+ "table": "lifecycle_stages"
802
+ },
803
+ {
804
+ "type": "text",
805
+ "notNull": false,
806
+ "autoincrement": false,
807
+ "default": "'[]'",
808
+ "generated": null,
809
+ "name": "notes_json",
810
+ "entityType": "columns",
811
+ "table": "lifecycle_stages"
812
+ },
813
+ {
814
+ "type": "text",
815
+ "notNull": false,
816
+ "autoincrement": false,
817
+ "default": "'{}'",
818
+ "generated": null,
819
+ "name": "metadata_json",
820
+ "entityType": "columns",
821
+ "table": "lifecycle_stages"
822
+ },
823
+ {
824
+ "type": "text",
825
+ "notNull": false,
826
+ "autoincrement": false,
827
+ "default": null,
828
+ "generated": null,
829
+ "name": "id",
830
+ "entityType": "columns",
831
+ "table": "lifecycle_transitions"
832
+ },
833
+ {
834
+ "type": "text",
835
+ "notNull": true,
836
+ "autoincrement": false,
837
+ "default": null,
838
+ "generated": null,
839
+ "name": "pipeline_id",
840
+ "entityType": "columns",
841
+ "table": "lifecycle_transitions"
842
+ },
843
+ {
844
+ "type": "text",
845
+ "notNull": true,
846
+ "autoincrement": false,
847
+ "default": null,
848
+ "generated": null,
849
+ "name": "from_stage_id",
850
+ "entityType": "columns",
851
+ "table": "lifecycle_transitions"
852
+ },
853
+ {
854
+ "type": "text",
855
+ "notNull": true,
856
+ "autoincrement": false,
857
+ "default": null,
858
+ "generated": null,
859
+ "name": "to_stage_id",
860
+ "entityType": "columns",
861
+ "table": "lifecycle_transitions"
862
+ },
863
+ {
864
+ "type": "text",
865
+ "notNull": true,
866
+ "autoincrement": false,
867
+ "default": "'automatic'",
868
+ "generated": null,
869
+ "name": "transition_type",
870
+ "entityType": "columns",
871
+ "table": "lifecycle_transitions"
872
+ },
873
+ {
874
+ "type": "text",
875
+ "notNull": true,
876
+ "autoincrement": false,
877
+ "default": "(datetime('now'))",
878
+ "generated": null,
879
+ "name": "created_at",
880
+ "entityType": "columns",
881
+ "table": "lifecycle_transitions"
882
+ },
883
+ {
884
+ "type": "text",
885
+ "notNull": false,
886
+ "autoincrement": false,
887
+ "default": null,
888
+ "generated": null,
889
+ "name": "key",
890
+ "entityType": "columns",
891
+ "table": "schema_meta"
892
+ },
893
+ {
894
+ "type": "text",
895
+ "notNull": true,
896
+ "autoincrement": false,
897
+ "default": null,
898
+ "generated": null,
899
+ "name": "value",
900
+ "entityType": "columns",
901
+ "table": "schema_meta"
902
+ },
903
+ {
904
+ "type": "text",
905
+ "notNull": false,
906
+ "autoincrement": false,
907
+ "default": null,
908
+ "generated": null,
909
+ "name": "id",
910
+ "entityType": "columns",
911
+ "table": "sessions"
912
+ },
913
+ {
914
+ "type": "text",
915
+ "notNull": true,
916
+ "autoincrement": false,
917
+ "default": null,
918
+ "generated": null,
919
+ "name": "name",
920
+ "entityType": "columns",
921
+ "table": "sessions"
922
+ },
923
+ {
924
+ "type": "text",
925
+ "notNull": true,
926
+ "autoincrement": false,
927
+ "default": "'active'",
928
+ "generated": null,
929
+ "name": "status",
930
+ "entityType": "columns",
931
+ "table": "sessions"
932
+ },
933
+ {
934
+ "type": "text",
935
+ "notNull": true,
936
+ "autoincrement": false,
937
+ "default": "'{}'",
938
+ "generated": null,
939
+ "name": "scope_json",
940
+ "entityType": "columns",
941
+ "table": "sessions"
942
+ },
943
+ {
944
+ "type": "text",
945
+ "notNull": false,
946
+ "autoincrement": false,
947
+ "default": null,
948
+ "generated": null,
949
+ "name": "current_task",
950
+ "entityType": "columns",
951
+ "table": "sessions"
952
+ },
953
+ {
954
+ "type": "text",
955
+ "notNull": false,
956
+ "autoincrement": false,
957
+ "default": null,
958
+ "generated": null,
959
+ "name": "task_started_at",
960
+ "entityType": "columns",
961
+ "table": "sessions"
962
+ },
963
+ {
964
+ "type": "text",
965
+ "notNull": false,
966
+ "autoincrement": false,
967
+ "default": null,
968
+ "generated": null,
969
+ "name": "agent",
970
+ "entityType": "columns",
971
+ "table": "sessions"
972
+ },
973
+ {
974
+ "type": "text",
975
+ "notNull": false,
976
+ "autoincrement": false,
977
+ "default": "'[]'",
978
+ "generated": null,
979
+ "name": "notes_json",
980
+ "entityType": "columns",
981
+ "table": "sessions"
982
+ },
983
+ {
984
+ "type": "text",
985
+ "notNull": false,
986
+ "autoincrement": false,
987
+ "default": "'[]'",
988
+ "generated": null,
989
+ "name": "tasks_completed_json",
990
+ "entityType": "columns",
991
+ "table": "sessions"
992
+ },
993
+ {
994
+ "type": "text",
995
+ "notNull": false,
996
+ "autoincrement": false,
997
+ "default": "'[]'",
998
+ "generated": null,
999
+ "name": "tasks_created_json",
1000
+ "entityType": "columns",
1001
+ "table": "sessions"
1002
+ },
1003
+ {
1004
+ "type": "text",
1005
+ "notNull": false,
1006
+ "autoincrement": false,
1007
+ "default": null,
1008
+ "generated": null,
1009
+ "name": "handoff_json",
1010
+ "entityType": "columns",
1011
+ "table": "sessions"
1012
+ },
1013
+ {
1014
+ "type": "text",
1015
+ "notNull": true,
1016
+ "autoincrement": false,
1017
+ "default": "(datetime('now'))",
1018
+ "generated": null,
1019
+ "name": "started_at",
1020
+ "entityType": "columns",
1021
+ "table": "sessions"
1022
+ },
1023
+ {
1024
+ "type": "text",
1025
+ "notNull": false,
1026
+ "autoincrement": false,
1027
+ "default": null,
1028
+ "generated": null,
1029
+ "name": "ended_at",
1030
+ "entityType": "columns",
1031
+ "table": "sessions"
1032
+ },
1033
+ {
1034
+ "type": "text",
1035
+ "notNull": false,
1036
+ "autoincrement": false,
1037
+ "default": null,
1038
+ "generated": null,
1039
+ "name": "previous_session_id",
1040
+ "entityType": "columns",
1041
+ "table": "sessions"
1042
+ },
1043
+ {
1044
+ "type": "text",
1045
+ "notNull": false,
1046
+ "autoincrement": false,
1047
+ "default": null,
1048
+ "generated": null,
1049
+ "name": "next_session_id",
1050
+ "entityType": "columns",
1051
+ "table": "sessions"
1052
+ },
1053
+ {
1054
+ "type": "text",
1055
+ "notNull": false,
1056
+ "autoincrement": false,
1057
+ "default": null,
1058
+ "generated": null,
1059
+ "name": "agent_identifier",
1060
+ "entityType": "columns",
1061
+ "table": "sessions"
1062
+ },
1063
+ {
1064
+ "type": "text",
1065
+ "notNull": false,
1066
+ "autoincrement": false,
1067
+ "default": null,
1068
+ "generated": null,
1069
+ "name": "handoff_consumed_at",
1070
+ "entityType": "columns",
1071
+ "table": "sessions"
1072
+ },
1073
+ {
1074
+ "type": "text",
1075
+ "notNull": false,
1076
+ "autoincrement": false,
1077
+ "default": null,
1078
+ "generated": null,
1079
+ "name": "handoff_consumed_by",
1080
+ "entityType": "columns",
1081
+ "table": "sessions"
1082
+ },
1083
+ {
1084
+ "type": "text",
1085
+ "notNull": false,
1086
+ "autoincrement": false,
1087
+ "default": null,
1088
+ "generated": null,
1089
+ "name": "debrief_json",
1090
+ "entityType": "columns",
1091
+ "table": "sessions"
1092
+ },
1093
+ {
1094
+ "type": "text",
1095
+ "notNull": false,
1096
+ "autoincrement": false,
1097
+ "default": null,
1098
+ "generated": null,
1099
+ "name": "stats_json",
1100
+ "entityType": "columns",
1101
+ "table": "sessions"
1102
+ },
1103
+ {
1104
+ "type": "integer",
1105
+ "notNull": false,
1106
+ "autoincrement": false,
1107
+ "default": null,
1108
+ "generated": null,
1109
+ "name": "resume_count",
1110
+ "entityType": "columns",
1111
+ "table": "sessions"
1112
+ },
1113
+ {
1114
+ "type": "integer",
1115
+ "notNull": false,
1116
+ "autoincrement": false,
1117
+ "default": null,
1118
+ "generated": null,
1119
+ "name": "grade_mode",
1120
+ "entityType": "columns",
1121
+ "table": "sessions"
1122
+ },
1123
+ {
1124
+ "type": "text",
1125
+ "notNull": true,
1126
+ "autoincrement": false,
1127
+ "default": null,
1128
+ "generated": null,
1129
+ "name": "name",
1130
+ "entityType": "columns",
1131
+ "table": "status_registry"
1132
+ },
1133
+ {
1134
+ "type": "text",
1135
+ "notNull": true,
1136
+ "autoincrement": false,
1137
+ "default": null,
1138
+ "generated": null,
1139
+ "name": "entity_type",
1140
+ "entityType": "columns",
1141
+ "table": "status_registry"
1142
+ },
1143
+ {
1144
+ "type": "text",
1145
+ "notNull": true,
1146
+ "autoincrement": false,
1147
+ "default": null,
1148
+ "generated": null,
1149
+ "name": "namespace",
1150
+ "entityType": "columns",
1151
+ "table": "status_registry"
1152
+ },
1153
+ {
1154
+ "type": "text",
1155
+ "notNull": true,
1156
+ "autoincrement": false,
1157
+ "default": null,
1158
+ "generated": null,
1159
+ "name": "description",
1160
+ "entityType": "columns",
1161
+ "table": "status_registry"
1162
+ },
1163
+ {
1164
+ "type": "integer",
1165
+ "notNull": true,
1166
+ "autoincrement": false,
1167
+ "default": "false",
1168
+ "generated": null,
1169
+ "name": "is_terminal",
1170
+ "entityType": "columns",
1171
+ "table": "status_registry"
1172
+ },
1173
+ {
1174
+ "type": "text",
1175
+ "notNull": true,
1176
+ "autoincrement": false,
1177
+ "default": null,
1178
+ "generated": null,
1179
+ "name": "task_id",
1180
+ "entityType": "columns",
1181
+ "table": "task_dependencies"
1182
+ },
1183
+ {
1184
+ "type": "text",
1185
+ "notNull": true,
1186
+ "autoincrement": false,
1187
+ "default": null,
1188
+ "generated": null,
1189
+ "name": "depends_on",
1190
+ "entityType": "columns",
1191
+ "table": "task_dependencies"
1192
+ },
1193
+ {
1194
+ "type": "text",
1195
+ "notNull": true,
1196
+ "autoincrement": false,
1197
+ "default": null,
1198
+ "generated": null,
1199
+ "name": "task_id",
1200
+ "entityType": "columns",
1201
+ "table": "task_relations"
1202
+ },
1203
+ {
1204
+ "type": "text",
1205
+ "notNull": true,
1206
+ "autoincrement": false,
1207
+ "default": null,
1208
+ "generated": null,
1209
+ "name": "related_to",
1210
+ "entityType": "columns",
1211
+ "table": "task_relations"
1212
+ },
1213
+ {
1214
+ "type": "text",
1215
+ "notNull": true,
1216
+ "autoincrement": false,
1217
+ "default": "'related'",
1218
+ "generated": null,
1219
+ "name": "relation_type",
1220
+ "entityType": "columns",
1221
+ "table": "task_relations"
1222
+ },
1223
+ {
1224
+ "type": "integer",
1225
+ "notNull": false,
1226
+ "autoincrement": true,
1227
+ "default": null,
1228
+ "generated": null,
1229
+ "name": "id",
1230
+ "entityType": "columns",
1231
+ "table": "task_work_history"
1232
+ },
1233
+ {
1234
+ "type": "text",
1235
+ "notNull": true,
1236
+ "autoincrement": false,
1237
+ "default": null,
1238
+ "generated": null,
1239
+ "name": "session_id",
1240
+ "entityType": "columns",
1241
+ "table": "task_work_history"
1242
+ },
1243
+ {
1244
+ "type": "text",
1245
+ "notNull": true,
1246
+ "autoincrement": false,
1247
+ "default": null,
1248
+ "generated": null,
1249
+ "name": "task_id",
1250
+ "entityType": "columns",
1251
+ "table": "task_work_history"
1252
+ },
1253
+ {
1254
+ "type": "text",
1255
+ "notNull": true,
1256
+ "autoincrement": false,
1257
+ "default": "(datetime('now'))",
1258
+ "generated": null,
1259
+ "name": "set_at",
1260
+ "entityType": "columns",
1261
+ "table": "task_work_history"
1262
+ },
1263
+ {
1264
+ "type": "text",
1265
+ "notNull": false,
1266
+ "autoincrement": false,
1267
+ "default": null,
1268
+ "generated": null,
1269
+ "name": "cleared_at",
1270
+ "entityType": "columns",
1271
+ "table": "task_work_history"
1272
+ },
1273
+ {
1274
+ "type": "text",
1275
+ "notNull": false,
1276
+ "autoincrement": false,
1277
+ "default": null,
1278
+ "generated": null,
1279
+ "name": "id",
1280
+ "entityType": "columns",
1281
+ "table": "tasks"
1282
+ },
1283
+ {
1284
+ "type": "text",
1285
+ "notNull": true,
1286
+ "autoincrement": false,
1287
+ "default": null,
1288
+ "generated": null,
1289
+ "name": "title",
1290
+ "entityType": "columns",
1291
+ "table": "tasks"
1292
+ },
1293
+ {
1294
+ "type": "text",
1295
+ "notNull": false,
1296
+ "autoincrement": false,
1297
+ "default": null,
1298
+ "generated": null,
1299
+ "name": "description",
1300
+ "entityType": "columns",
1301
+ "table": "tasks"
1302
+ },
1303
+ {
1304
+ "type": "text",
1305
+ "notNull": true,
1306
+ "autoincrement": false,
1307
+ "default": "'pending'",
1308
+ "generated": null,
1309
+ "name": "status",
1310
+ "entityType": "columns",
1311
+ "table": "tasks"
1312
+ },
1313
+ {
1314
+ "type": "text",
1315
+ "notNull": true,
1316
+ "autoincrement": false,
1317
+ "default": "'medium'",
1318
+ "generated": null,
1319
+ "name": "priority",
1320
+ "entityType": "columns",
1321
+ "table": "tasks"
1322
+ },
1323
+ {
1324
+ "type": "text",
1325
+ "notNull": false,
1326
+ "autoincrement": false,
1327
+ "default": null,
1328
+ "generated": null,
1329
+ "name": "type",
1330
+ "entityType": "columns",
1331
+ "table": "tasks"
1332
+ },
1333
+ {
1334
+ "type": "text",
1335
+ "notNull": false,
1336
+ "autoincrement": false,
1337
+ "default": null,
1338
+ "generated": null,
1339
+ "name": "parent_id",
1340
+ "entityType": "columns",
1341
+ "table": "tasks"
1342
+ },
1343
+ {
1344
+ "type": "text",
1345
+ "notNull": false,
1346
+ "autoincrement": false,
1347
+ "default": null,
1348
+ "generated": null,
1349
+ "name": "phase",
1350
+ "entityType": "columns",
1351
+ "table": "tasks"
1352
+ },
1353
+ {
1354
+ "type": "text",
1355
+ "notNull": false,
1356
+ "autoincrement": false,
1357
+ "default": null,
1358
+ "generated": null,
1359
+ "name": "size",
1360
+ "entityType": "columns",
1361
+ "table": "tasks"
1362
+ },
1363
+ {
1364
+ "type": "integer",
1365
+ "notNull": false,
1366
+ "autoincrement": false,
1367
+ "default": null,
1368
+ "generated": null,
1369
+ "name": "position",
1370
+ "entityType": "columns",
1371
+ "table": "tasks"
1372
+ },
1373
+ {
1374
+ "type": "integer",
1375
+ "notNull": false,
1376
+ "autoincrement": false,
1377
+ "default": "0",
1378
+ "generated": null,
1379
+ "name": "position_version",
1380
+ "entityType": "columns",
1381
+ "table": "tasks"
1382
+ },
1383
+ {
1384
+ "type": "text",
1385
+ "notNull": false,
1386
+ "autoincrement": false,
1387
+ "default": "'[]'",
1388
+ "generated": null,
1389
+ "name": "labels_json",
1390
+ "entityType": "columns",
1391
+ "table": "tasks"
1392
+ },
1393
+ {
1394
+ "type": "text",
1395
+ "notNull": false,
1396
+ "autoincrement": false,
1397
+ "default": "'[]'",
1398
+ "generated": null,
1399
+ "name": "notes_json",
1400
+ "entityType": "columns",
1401
+ "table": "tasks"
1402
+ },
1403
+ {
1404
+ "type": "text",
1405
+ "notNull": false,
1406
+ "autoincrement": false,
1407
+ "default": "'[]'",
1408
+ "generated": null,
1409
+ "name": "acceptance_json",
1410
+ "entityType": "columns",
1411
+ "table": "tasks"
1412
+ },
1413
+ {
1414
+ "type": "text",
1415
+ "notNull": false,
1416
+ "autoincrement": false,
1417
+ "default": "'[]'",
1418
+ "generated": null,
1419
+ "name": "files_json",
1420
+ "entityType": "columns",
1421
+ "table": "tasks"
1422
+ },
1423
+ {
1424
+ "type": "text",
1425
+ "notNull": false,
1426
+ "autoincrement": false,
1427
+ "default": null,
1428
+ "generated": null,
1429
+ "name": "origin",
1430
+ "entityType": "columns",
1431
+ "table": "tasks"
1432
+ },
1433
+ {
1434
+ "type": "text",
1435
+ "notNull": false,
1436
+ "autoincrement": false,
1437
+ "default": null,
1438
+ "generated": null,
1439
+ "name": "blocked_by",
1440
+ "entityType": "columns",
1441
+ "table": "tasks"
1442
+ },
1443
+ {
1444
+ "type": "text",
1445
+ "notNull": false,
1446
+ "autoincrement": false,
1447
+ "default": null,
1448
+ "generated": null,
1449
+ "name": "epic_lifecycle",
1450
+ "entityType": "columns",
1451
+ "table": "tasks"
1452
+ },
1453
+ {
1454
+ "type": "integer",
1455
+ "notNull": false,
1456
+ "autoincrement": false,
1457
+ "default": null,
1458
+ "generated": null,
1459
+ "name": "no_auto_complete",
1460
+ "entityType": "columns",
1461
+ "table": "tasks"
1462
+ },
1463
+ {
1464
+ "type": "text",
1465
+ "notNull": true,
1466
+ "autoincrement": false,
1467
+ "default": "(datetime('now'))",
1468
+ "generated": null,
1469
+ "name": "created_at",
1470
+ "entityType": "columns",
1471
+ "table": "tasks"
1472
+ },
1473
+ {
1474
+ "type": "text",
1475
+ "notNull": false,
1476
+ "autoincrement": false,
1477
+ "default": null,
1478
+ "generated": null,
1479
+ "name": "updated_at",
1480
+ "entityType": "columns",
1481
+ "table": "tasks"
1482
+ },
1483
+ {
1484
+ "type": "text",
1485
+ "notNull": false,
1486
+ "autoincrement": false,
1487
+ "default": null,
1488
+ "generated": null,
1489
+ "name": "completed_at",
1490
+ "entityType": "columns",
1491
+ "table": "tasks"
1492
+ },
1493
+ {
1494
+ "type": "text",
1495
+ "notNull": false,
1496
+ "autoincrement": false,
1497
+ "default": null,
1498
+ "generated": null,
1499
+ "name": "cancelled_at",
1500
+ "entityType": "columns",
1501
+ "table": "tasks"
1502
+ },
1503
+ {
1504
+ "type": "text",
1505
+ "notNull": false,
1506
+ "autoincrement": false,
1507
+ "default": null,
1508
+ "generated": null,
1509
+ "name": "cancellation_reason",
1510
+ "entityType": "columns",
1511
+ "table": "tasks"
1512
+ },
1513
+ {
1514
+ "type": "text",
1515
+ "notNull": false,
1516
+ "autoincrement": false,
1517
+ "default": null,
1518
+ "generated": null,
1519
+ "name": "archived_at",
1520
+ "entityType": "columns",
1521
+ "table": "tasks"
1522
+ },
1523
+ {
1524
+ "type": "text",
1525
+ "notNull": false,
1526
+ "autoincrement": false,
1527
+ "default": null,
1528
+ "generated": null,
1529
+ "name": "archive_reason",
1530
+ "entityType": "columns",
1531
+ "table": "tasks"
1532
+ },
1533
+ {
1534
+ "type": "integer",
1535
+ "notNull": false,
1536
+ "autoincrement": false,
1537
+ "default": null,
1538
+ "generated": null,
1539
+ "name": "cycle_time_days",
1540
+ "entityType": "columns",
1541
+ "table": "tasks"
1542
+ },
1543
+ {
1544
+ "type": "text",
1545
+ "notNull": false,
1546
+ "autoincrement": false,
1547
+ "default": null,
1548
+ "generated": null,
1549
+ "name": "verification_json",
1550
+ "entityType": "columns",
1551
+ "table": "tasks"
1552
+ },
1553
+ {
1554
+ "type": "text",
1555
+ "notNull": false,
1556
+ "autoincrement": false,
1557
+ "default": null,
1558
+ "generated": null,
1559
+ "name": "created_by",
1560
+ "entityType": "columns",
1561
+ "table": "tasks"
1562
+ },
1563
+ {
1564
+ "type": "text",
1565
+ "notNull": false,
1566
+ "autoincrement": false,
1567
+ "default": null,
1568
+ "generated": null,
1569
+ "name": "modified_by",
1570
+ "entityType": "columns",
1571
+ "table": "tasks"
1572
+ },
1573
+ {
1574
+ "type": "text",
1575
+ "notNull": false,
1576
+ "autoincrement": false,
1577
+ "default": null,
1578
+ "generated": null,
1579
+ "name": "session_id",
1580
+ "entityType": "columns",
1581
+ "table": "tasks"
1582
+ },
1583
+ {
1584
+ "columns": [
1585
+ "from_adr_id"
1586
+ ],
1587
+ "tableTo": "architecture_decisions",
1588
+ "columnsTo": [
1589
+ "id"
1590
+ ],
1591
+ "onUpdate": "NO ACTION",
1592
+ "onDelete": "CASCADE",
1593
+ "nameExplicit": false,
1594
+ "name": "fk_adr_relations_from_adr_id_architecture_decisions_id_fk",
1595
+ "entityType": "fks",
1596
+ "table": "adr_relations"
1597
+ },
1598
+ {
1599
+ "columns": [
1600
+ "to_adr_id"
1601
+ ],
1602
+ "tableTo": "architecture_decisions",
1603
+ "columnsTo": [
1604
+ "id"
1605
+ ],
1606
+ "onUpdate": "NO ACTION",
1607
+ "onDelete": "CASCADE",
1608
+ "nameExplicit": false,
1609
+ "name": "fk_adr_relations_to_adr_id_architecture_decisions_id_fk",
1610
+ "entityType": "fks",
1611
+ "table": "adr_relations"
1612
+ },
1613
+ {
1614
+ "columns": [
1615
+ "adr_id"
1616
+ ],
1617
+ "tableTo": "architecture_decisions",
1618
+ "columnsTo": [
1619
+ "id"
1620
+ ],
1621
+ "onUpdate": "NO ACTION",
1622
+ "onDelete": "CASCADE",
1623
+ "nameExplicit": false,
1624
+ "name": "fk_adr_task_links_adr_id_architecture_decisions_id_fk",
1625
+ "entityType": "fks",
1626
+ "table": "adr_task_links"
1627
+ },
1628
+ {
1629
+ "columns": [
1630
+ "stage_id"
1631
+ ],
1632
+ "tableTo": "lifecycle_stages",
1633
+ "columnsTo": [
1634
+ "id"
1635
+ ],
1636
+ "onUpdate": "NO ACTION",
1637
+ "onDelete": "CASCADE",
1638
+ "nameExplicit": false,
1639
+ "name": "fk_lifecycle_evidence_stage_id_lifecycle_stages_id_fk",
1640
+ "entityType": "fks",
1641
+ "table": "lifecycle_evidence"
1642
+ },
1643
+ {
1644
+ "columns": [
1645
+ "stage_id"
1646
+ ],
1647
+ "tableTo": "lifecycle_stages",
1648
+ "columnsTo": [
1649
+ "id"
1650
+ ],
1651
+ "onUpdate": "NO ACTION",
1652
+ "onDelete": "CASCADE",
1653
+ "nameExplicit": false,
1654
+ "name": "fk_lifecycle_gate_results_stage_id_lifecycle_stages_id_fk",
1655
+ "entityType": "fks",
1656
+ "table": "lifecycle_gate_results"
1657
+ },
1658
+ {
1659
+ "columns": [
1660
+ "task_id"
1661
+ ],
1662
+ "tableTo": "tasks",
1663
+ "columnsTo": [
1664
+ "id"
1665
+ ],
1666
+ "onUpdate": "NO ACTION",
1667
+ "onDelete": "CASCADE",
1668
+ "nameExplicit": false,
1669
+ "name": "fk_lifecycle_pipelines_task_id_tasks_id_fk",
1670
+ "entityType": "fks",
1671
+ "table": "lifecycle_pipelines"
1672
+ },
1673
+ {
1674
+ "columns": [
1675
+ "pipeline_id"
1676
+ ],
1677
+ "tableTo": "lifecycle_pipelines",
1678
+ "columnsTo": [
1679
+ "id"
1680
+ ],
1681
+ "onUpdate": "NO ACTION",
1682
+ "onDelete": "CASCADE",
1683
+ "nameExplicit": false,
1684
+ "name": "fk_lifecycle_stages_pipeline_id_lifecycle_pipelines_id_fk",
1685
+ "entityType": "fks",
1686
+ "table": "lifecycle_stages"
1687
+ },
1688
+ {
1689
+ "columns": [
1690
+ "pipeline_id"
1691
+ ],
1692
+ "tableTo": "lifecycle_pipelines",
1693
+ "columnsTo": [
1694
+ "id"
1695
+ ],
1696
+ "onUpdate": "NO ACTION",
1697
+ "onDelete": "CASCADE",
1698
+ "nameExplicit": false,
1699
+ "name": "fk_lifecycle_transitions_pipeline_id_lifecycle_pipelines_id_fk",
1700
+ "entityType": "fks",
1701
+ "table": "lifecycle_transitions"
1702
+ },
1703
+ {
1704
+ "columns": [
1705
+ "task_id"
1706
+ ],
1707
+ "tableTo": "tasks",
1708
+ "columnsTo": [
1709
+ "id"
1710
+ ],
1711
+ "onUpdate": "NO ACTION",
1712
+ "onDelete": "CASCADE",
1713
+ "nameExplicit": false,
1714
+ "name": "fk_task_dependencies_task_id_tasks_id_fk",
1715
+ "entityType": "fks",
1716
+ "table": "task_dependencies"
1717
+ },
1718
+ {
1719
+ "columns": [
1720
+ "depends_on"
1721
+ ],
1722
+ "tableTo": "tasks",
1723
+ "columnsTo": [
1724
+ "id"
1725
+ ],
1726
+ "onUpdate": "NO ACTION",
1727
+ "onDelete": "CASCADE",
1728
+ "nameExplicit": false,
1729
+ "name": "fk_task_dependencies_depends_on_tasks_id_fk",
1730
+ "entityType": "fks",
1731
+ "table": "task_dependencies"
1732
+ },
1733
+ {
1734
+ "columns": [
1735
+ "task_id"
1736
+ ],
1737
+ "tableTo": "tasks",
1738
+ "columnsTo": [
1739
+ "id"
1740
+ ],
1741
+ "onUpdate": "NO ACTION",
1742
+ "onDelete": "CASCADE",
1743
+ "nameExplicit": false,
1744
+ "name": "fk_task_relations_task_id_tasks_id_fk",
1745
+ "entityType": "fks",
1746
+ "table": "task_relations"
1747
+ },
1748
+ {
1749
+ "columns": [
1750
+ "related_to"
1751
+ ],
1752
+ "tableTo": "tasks",
1753
+ "columnsTo": [
1754
+ "id"
1755
+ ],
1756
+ "onUpdate": "NO ACTION",
1757
+ "onDelete": "CASCADE",
1758
+ "nameExplicit": false,
1759
+ "name": "fk_task_relations_related_to_tasks_id_fk",
1760
+ "entityType": "fks",
1761
+ "table": "task_relations"
1762
+ },
1763
+ {
1764
+ "columns": [
1765
+ "session_id"
1766
+ ],
1767
+ "tableTo": "sessions",
1768
+ "columnsTo": [
1769
+ "id"
1770
+ ],
1771
+ "onUpdate": "NO ACTION",
1772
+ "onDelete": "CASCADE",
1773
+ "nameExplicit": false,
1774
+ "name": "fk_task_work_history_session_id_sessions_id_fk",
1775
+ "entityType": "fks",
1776
+ "table": "task_work_history"
1777
+ },
1778
+ {
1779
+ "columns": [
1780
+ "parent_id"
1781
+ ],
1782
+ "tableTo": "tasks",
1783
+ "columnsTo": [
1784
+ "id"
1785
+ ],
1786
+ "onUpdate": "NO ACTION",
1787
+ "onDelete": "SET NULL",
1788
+ "nameExplicit": false,
1789
+ "name": "fk_tasks_parent_id_tasks_id_fk",
1790
+ "entityType": "fks",
1791
+ "table": "tasks"
1792
+ },
1793
+ {
1794
+ "columns": [
1795
+ "from_adr_id",
1796
+ "to_adr_id",
1797
+ "relation_type"
1798
+ ],
1799
+ "nameExplicit": false,
1800
+ "name": "adr_relations_pk",
1801
+ "entityType": "pks",
1802
+ "table": "adr_relations"
1803
+ },
1804
+ {
1805
+ "columns": [
1806
+ "adr_id",
1807
+ "task_id"
1808
+ ],
1809
+ "nameExplicit": false,
1810
+ "name": "adr_task_links_pk",
1811
+ "entityType": "pks",
1812
+ "table": "adr_task_links"
1813
+ },
1814
+ {
1815
+ "columns": [
1816
+ "name",
1817
+ "entity_type"
1818
+ ],
1819
+ "nameExplicit": false,
1820
+ "name": "status_registry_pk",
1821
+ "entityType": "pks",
1822
+ "table": "status_registry"
1823
+ },
1824
+ {
1825
+ "columns": [
1826
+ "task_id",
1827
+ "depends_on"
1828
+ ],
1829
+ "nameExplicit": false,
1830
+ "name": "task_dependencies_pk",
1831
+ "entityType": "pks",
1832
+ "table": "task_dependencies"
1833
+ },
1834
+ {
1835
+ "columns": [
1836
+ "task_id",
1837
+ "related_to"
1838
+ ],
1839
+ "nameExplicit": false,
1840
+ "name": "task_relations_pk",
1841
+ "entityType": "pks",
1842
+ "table": "task_relations"
1843
+ },
1844
+ {
1845
+ "columns": [
1846
+ "id"
1847
+ ],
1848
+ "nameExplicit": false,
1849
+ "name": "architecture_decisions_pk",
1850
+ "table": "architecture_decisions",
1851
+ "entityType": "pks"
1852
+ },
1853
+ {
1854
+ "columns": [
1855
+ "id"
1856
+ ],
1857
+ "nameExplicit": false,
1858
+ "name": "audit_log_pk",
1859
+ "table": "audit_log",
1860
+ "entityType": "pks"
1861
+ },
1862
+ {
1863
+ "columns": [
1864
+ "id"
1865
+ ],
1866
+ "nameExplicit": false,
1867
+ "name": "lifecycle_evidence_pk",
1868
+ "table": "lifecycle_evidence",
1869
+ "entityType": "pks"
1870
+ },
1871
+ {
1872
+ "columns": [
1873
+ "id"
1874
+ ],
1875
+ "nameExplicit": false,
1876
+ "name": "lifecycle_gate_results_pk",
1877
+ "table": "lifecycle_gate_results",
1878
+ "entityType": "pks"
1879
+ },
1880
+ {
1881
+ "columns": [
1882
+ "id"
1883
+ ],
1884
+ "nameExplicit": false,
1885
+ "name": "lifecycle_pipelines_pk",
1886
+ "table": "lifecycle_pipelines",
1887
+ "entityType": "pks"
1888
+ },
1889
+ {
1890
+ "columns": [
1891
+ "id"
1892
+ ],
1893
+ "nameExplicit": false,
1894
+ "name": "lifecycle_stages_pk",
1895
+ "table": "lifecycle_stages",
1896
+ "entityType": "pks"
1897
+ },
1898
+ {
1899
+ "columns": [
1900
+ "id"
1901
+ ],
1902
+ "nameExplicit": false,
1903
+ "name": "lifecycle_transitions_pk",
1904
+ "table": "lifecycle_transitions",
1905
+ "entityType": "pks"
1906
+ },
1907
+ {
1908
+ "columns": [
1909
+ "key"
1910
+ ],
1911
+ "nameExplicit": false,
1912
+ "name": "schema_meta_pk",
1913
+ "table": "schema_meta",
1914
+ "entityType": "pks"
1915
+ },
1916
+ {
1917
+ "columns": [
1918
+ "id"
1919
+ ],
1920
+ "nameExplicit": false,
1921
+ "name": "sessions_pk",
1922
+ "table": "sessions",
1923
+ "entityType": "pks"
1924
+ },
1925
+ {
1926
+ "columns": [
1927
+ "id"
1928
+ ],
1929
+ "nameExplicit": false,
1930
+ "name": "task_work_history_pk",
1931
+ "table": "task_work_history",
1932
+ "entityType": "pks"
1933
+ },
1934
+ {
1935
+ "columns": [
1936
+ "id"
1937
+ ],
1938
+ "nameExplicit": false,
1939
+ "name": "tasks_pk",
1940
+ "table": "tasks",
1941
+ "entityType": "pks"
1942
+ },
1943
+ {
1944
+ "columns": [
1945
+ {
1946
+ "value": "task_id",
1947
+ "isExpression": false
1948
+ }
1949
+ ],
1950
+ "isUnique": false,
1951
+ "where": null,
1952
+ "origin": "manual",
1953
+ "name": "idx_adr_task_links_task_id",
1954
+ "entityType": "indexes",
1955
+ "table": "adr_task_links"
1956
+ },
1957
+ {
1958
+ "columns": [
1959
+ {
1960
+ "value": "status",
1961
+ "isExpression": false
1962
+ }
1963
+ ],
1964
+ "isUnique": false,
1965
+ "where": null,
1966
+ "origin": "manual",
1967
+ "name": "idx_arch_decisions_status",
1968
+ "entityType": "indexes",
1969
+ "table": "architecture_decisions"
1970
+ },
1971
+ {
1972
+ "columns": [
1973
+ {
1974
+ "value": "task_id",
1975
+ "isExpression": false
1976
+ }
1977
+ ],
1978
+ "isUnique": false,
1979
+ "where": null,
1980
+ "origin": "manual",
1981
+ "name": "idx_audit_log_task_id",
1982
+ "entityType": "indexes",
1983
+ "table": "audit_log"
1984
+ },
1985
+ {
1986
+ "columns": [
1987
+ {
1988
+ "value": "action",
1989
+ "isExpression": false
1990
+ }
1991
+ ],
1992
+ "isUnique": false,
1993
+ "where": null,
1994
+ "origin": "manual",
1995
+ "name": "idx_audit_log_action",
1996
+ "entityType": "indexes",
1997
+ "table": "audit_log"
1998
+ },
1999
+ {
2000
+ "columns": [
2001
+ {
2002
+ "value": "timestamp",
2003
+ "isExpression": false
2004
+ }
2005
+ ],
2006
+ "isUnique": false,
2007
+ "where": null,
2008
+ "origin": "manual",
2009
+ "name": "idx_audit_log_timestamp",
2010
+ "entityType": "indexes",
2011
+ "table": "audit_log"
2012
+ },
2013
+ {
2014
+ "columns": [
2015
+ {
2016
+ "value": "domain",
2017
+ "isExpression": false
2018
+ }
2019
+ ],
2020
+ "isUnique": false,
2021
+ "where": null,
2022
+ "origin": "manual",
2023
+ "name": "idx_audit_log_domain",
2024
+ "entityType": "indexes",
2025
+ "table": "audit_log"
2026
+ },
2027
+ {
2028
+ "columns": [
2029
+ {
2030
+ "value": "request_id",
2031
+ "isExpression": false
2032
+ }
2033
+ ],
2034
+ "isUnique": false,
2035
+ "where": null,
2036
+ "origin": "manual",
2037
+ "name": "idx_audit_log_request_id",
2038
+ "entityType": "indexes",
2039
+ "table": "audit_log"
2040
+ },
2041
+ {
2042
+ "columns": [
2043
+ {
2044
+ "value": "stage_id",
2045
+ "isExpression": false
2046
+ }
2047
+ ],
2048
+ "isUnique": false,
2049
+ "where": null,
2050
+ "origin": "manual",
2051
+ "name": "idx_lifecycle_evidence_stage_id",
2052
+ "entityType": "indexes",
2053
+ "table": "lifecycle_evidence"
2054
+ },
2055
+ {
2056
+ "columns": [
2057
+ {
2058
+ "value": "stage_id",
2059
+ "isExpression": false
2060
+ }
2061
+ ],
2062
+ "isUnique": false,
2063
+ "where": null,
2064
+ "origin": "manual",
2065
+ "name": "idx_lifecycle_gate_results_stage_id",
2066
+ "entityType": "indexes",
2067
+ "table": "lifecycle_gate_results"
2068
+ },
2069
+ {
2070
+ "columns": [
2071
+ {
2072
+ "value": "task_id",
2073
+ "isExpression": false
2074
+ }
2075
+ ],
2076
+ "isUnique": false,
2077
+ "where": null,
2078
+ "origin": "manual",
2079
+ "name": "idx_lifecycle_pipelines_task_id",
2080
+ "entityType": "indexes",
2081
+ "table": "lifecycle_pipelines"
2082
+ },
2083
+ {
2084
+ "columns": [
2085
+ {
2086
+ "value": "status",
2087
+ "isExpression": false
2088
+ }
2089
+ ],
2090
+ "isUnique": false,
2091
+ "where": null,
2092
+ "origin": "manual",
2093
+ "name": "idx_lifecycle_pipelines_status",
2094
+ "entityType": "indexes",
2095
+ "table": "lifecycle_pipelines"
2096
+ },
2097
+ {
2098
+ "columns": [
2099
+ {
2100
+ "value": "pipeline_id",
2101
+ "isExpression": false
2102
+ }
2103
+ ],
2104
+ "isUnique": false,
2105
+ "where": null,
2106
+ "origin": "manual",
2107
+ "name": "idx_lifecycle_stages_pipeline_id",
2108
+ "entityType": "indexes",
2109
+ "table": "lifecycle_stages"
2110
+ },
2111
+ {
2112
+ "columns": [
2113
+ {
2114
+ "value": "stage_name",
2115
+ "isExpression": false
2116
+ }
2117
+ ],
2118
+ "isUnique": false,
2119
+ "where": null,
2120
+ "origin": "manual",
2121
+ "name": "idx_lifecycle_stages_stage_name",
2122
+ "entityType": "indexes",
2123
+ "table": "lifecycle_stages"
2124
+ },
2125
+ {
2126
+ "columns": [
2127
+ {
2128
+ "value": "status",
2129
+ "isExpression": false
2130
+ }
2131
+ ],
2132
+ "isUnique": false,
2133
+ "where": null,
2134
+ "origin": "manual",
2135
+ "name": "idx_lifecycle_stages_status",
2136
+ "entityType": "indexes",
2137
+ "table": "lifecycle_stages"
2138
+ },
2139
+ {
2140
+ "columns": [
2141
+ {
2142
+ "value": "pipeline_id",
2143
+ "isExpression": false
2144
+ }
2145
+ ],
2146
+ "isUnique": false,
2147
+ "where": null,
2148
+ "origin": "manual",
2149
+ "name": "idx_lifecycle_transitions_pipeline_id",
2150
+ "entityType": "indexes",
2151
+ "table": "lifecycle_transitions"
2152
+ },
2153
+ {
2154
+ "columns": [
2155
+ {
2156
+ "value": "status",
2157
+ "isExpression": false
2158
+ }
2159
+ ],
2160
+ "isUnique": false,
2161
+ "where": null,
2162
+ "origin": "manual",
2163
+ "name": "idx_sessions_status",
2164
+ "entityType": "indexes",
2165
+ "table": "sessions"
2166
+ },
2167
+ {
2168
+ "columns": [
2169
+ {
2170
+ "value": "previous_session_id",
2171
+ "isExpression": false
2172
+ }
2173
+ ],
2174
+ "isUnique": false,
2175
+ "where": null,
2176
+ "origin": "manual",
2177
+ "name": "idx_sessions_previous",
2178
+ "entityType": "indexes",
2179
+ "table": "sessions"
2180
+ },
2181
+ {
2182
+ "columns": [
2183
+ {
2184
+ "value": "agent_identifier",
2185
+ "isExpression": false
2186
+ }
2187
+ ],
2188
+ "isUnique": false,
2189
+ "where": null,
2190
+ "origin": "manual",
2191
+ "name": "idx_sessions_agent_identifier",
2192
+ "entityType": "indexes",
2193
+ "table": "sessions"
2194
+ },
2195
+ {
2196
+ "columns": [
2197
+ {
2198
+ "value": "entity_type",
2199
+ "isExpression": false
2200
+ }
2201
+ ],
2202
+ "isUnique": false,
2203
+ "where": null,
2204
+ "origin": "manual",
2205
+ "name": "idx_status_registry_entity_type",
2206
+ "entityType": "indexes",
2207
+ "table": "status_registry"
2208
+ },
2209
+ {
2210
+ "columns": [
2211
+ {
2212
+ "value": "namespace",
2213
+ "isExpression": false
2214
+ }
2215
+ ],
2216
+ "isUnique": false,
2217
+ "where": null,
2218
+ "origin": "manual",
2219
+ "name": "idx_status_registry_namespace",
2220
+ "entityType": "indexes",
2221
+ "table": "status_registry"
2222
+ },
2223
+ {
2224
+ "columns": [
2225
+ {
2226
+ "value": "depends_on",
2227
+ "isExpression": false
2228
+ }
2229
+ ],
2230
+ "isUnique": false,
2231
+ "where": null,
2232
+ "origin": "manual",
2233
+ "name": "idx_deps_depends_on",
2234
+ "entityType": "indexes",
2235
+ "table": "task_dependencies"
2236
+ },
2237
+ {
2238
+ "columns": [
2239
+ {
2240
+ "value": "session_id",
2241
+ "isExpression": false
2242
+ }
2243
+ ],
2244
+ "isUnique": false,
2245
+ "where": null,
2246
+ "origin": "manual",
2247
+ "name": "idx_work_history_session",
2248
+ "entityType": "indexes",
2249
+ "table": "task_work_history"
2250
+ },
2251
+ {
2252
+ "columns": [
2253
+ {
2254
+ "value": "status",
2255
+ "isExpression": false
2256
+ }
2257
+ ],
2258
+ "isUnique": false,
2259
+ "where": null,
2260
+ "origin": "manual",
2261
+ "name": "idx_tasks_status",
2262
+ "entityType": "indexes",
2263
+ "table": "tasks"
2264
+ },
2265
+ {
2266
+ "columns": [
2267
+ {
2268
+ "value": "parent_id",
2269
+ "isExpression": false
2270
+ }
2271
+ ],
2272
+ "isUnique": false,
2273
+ "where": null,
2274
+ "origin": "manual",
2275
+ "name": "idx_tasks_parent_id",
2276
+ "entityType": "indexes",
2277
+ "table": "tasks"
2278
+ },
2279
+ {
2280
+ "columns": [
2281
+ {
2282
+ "value": "phase",
2283
+ "isExpression": false
2284
+ }
2285
+ ],
2286
+ "isUnique": false,
2287
+ "where": null,
2288
+ "origin": "manual",
2289
+ "name": "idx_tasks_phase",
2290
+ "entityType": "indexes",
2291
+ "table": "tasks"
2292
+ },
2293
+ {
2294
+ "columns": [
2295
+ {
2296
+ "value": "type",
2297
+ "isExpression": false
2298
+ }
2299
+ ],
2300
+ "isUnique": false,
2301
+ "where": null,
2302
+ "origin": "manual",
2303
+ "name": "idx_tasks_type",
2304
+ "entityType": "indexes",
2305
+ "table": "tasks"
2306
+ },
2307
+ {
2308
+ "columns": [
2309
+ {
2310
+ "value": "priority",
2311
+ "isExpression": false
2312
+ }
2313
+ ],
2314
+ "isUnique": false,
2315
+ "where": null,
2316
+ "origin": "manual",
2317
+ "name": "idx_tasks_priority",
2318
+ "entityType": "indexes",
2319
+ "table": "tasks"
2320
+ }
2321
+ ],
2322
+ "renames": []
2323
+ }