rungate 0.2.0 → 0.3.0

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 (282) hide show
  1. package/bin/rungate.ts +70 -0
  2. package/lib/aes-calculator.ts +66 -0
  3. package/lib/agent-audit.ts +139 -0
  4. package/lib/agent-brief-validation.ts +359 -0
  5. package/lib/agents-md-refs.ts +90 -0
  6. package/lib/bash-file-read.ts +197 -0
  7. package/lib/behavioral-cache.ts +78 -0
  8. package/lib/branch-cleanup.ts +234 -0
  9. package/lib/brief-context-parser.ts +35 -0
  10. package/lib/canary.ts +117 -0
  11. package/lib/check-registry.ts +226 -0
  12. package/lib/ci-checkout.ts +400 -0
  13. package/lib/cli-commands.ts +137 -0
  14. package/lib/compliance-backfill.ts +220 -0
  15. package/lib/compliance-report.ts +504 -0
  16. package/lib/compliance.ts +361 -0
  17. package/lib/config-loader.ts +255 -0
  18. package/lib/conformity.ts +1818 -131
  19. package/lib/container-provenance.ts +230 -0
  20. package/lib/create-brief.ts +150 -0
  21. package/lib/create-sc.ts +272 -0
  22. package/lib/deep-merge.ts +69 -0
  23. package/lib/dev-liveness.ts +214 -0
  24. package/lib/directive-extractor.ts +210 -0
  25. package/lib/distribution-standing.ts +113 -0
  26. package/lib/doc-hygiene.ts +238 -0
  27. package/lib/eval-criteria.ts +6 -0
  28. package/lib/evidence-portability.ts +123 -0
  29. package/lib/evidence-prevalidator.ts +390 -0
  30. package/lib/evidence-required.ts +150 -0
  31. package/lib/evidence-satisfiability.ts +288 -0
  32. package/lib/frontmatter.ts +163 -0
  33. package/lib/gap-scanner.ts +348 -0
  34. package/lib/gate-enforcement.ts +366 -0
  35. package/lib/generators/agent-briefs.ts +136 -0
  36. package/lib/generators/agents-md.ts +506 -0
  37. package/lib/generators/code-map.ts +60 -0
  38. package/lib/generators/types.ts +184 -0
  39. package/lib/git-ref-normalizer.ts +107 -0
  40. package/lib/github.ts +539 -0
  41. package/lib/harness-identity.ts +63 -0
  42. package/lib/hill-climb.ts +164 -0
  43. package/lib/instruction-effectiveness.ts +131 -0
  44. package/lib/issue-closure-audit.ts +225 -0
  45. package/lib/issue-create-override.ts +343 -0
  46. package/lib/js-top-level-code.ts +250 -0
  47. package/lib/liveness-contradiction.ts +149 -0
  48. package/lib/organize.ts +505 -0
  49. package/lib/paths.ts +197 -6
  50. package/lib/post-fix-verify.ts +157 -0
  51. package/lib/prior-branch.ts +489 -0
  52. package/lib/project-state-shape.ts +166 -0
  53. package/lib/promote-outputs.ts +156 -0
  54. package/lib/prove-label-gate.ts +35 -0
  55. package/lib/reachability.ts +302 -0
  56. package/lib/release-preflight.ts +186 -0
  57. package/lib/rule-health-pipeline.ts +264 -0
  58. package/lib/rule-health-trend.ts +161 -0
  59. package/lib/rule-provenance.ts +149 -0
  60. package/lib/rule-registry.ts +128 -0
  61. package/lib/rungate-schema.ts +114 -4
  62. package/lib/sc-claim-forms.ts +179 -0
  63. package/lib/sc-cover.ts +150 -0
  64. package/lib/sc-guard.ts +157 -0
  65. package/lib/sc-ids.ts +344 -0
  66. package/lib/scaffold/defaults.ts +165 -0
  67. package/lib/scaffold/managed-workflow.ts +370 -0
  68. package/lib/scaffold/owned-files.ts +265 -0
  69. package/lib/scaffold/steps.ts +2680 -0
  70. package/lib/scanner.ts +701 -0
  71. package/lib/screenshot-upload.ts +73 -0
  72. package/lib/secret-patterns.ts +112 -0
  73. package/lib/security-verdict.ts +616 -0
  74. package/lib/signal-phrases.ts +1 -0
  75. package/lib/spec-change-conformity.ts +80 -0
  76. package/lib/spec-files.ts +62 -0
  77. package/lib/spec-registry.ts +133 -0
  78. package/lib/spec-updater.ts +96 -0
  79. package/lib/stale-cleanup.ts +224 -0
  80. package/lib/stale-issue-scanner.ts +36 -0
  81. package/lib/strip-js-comments.ts +269 -0
  82. package/lib/suite-measurement.ts +228 -0
  83. package/lib/task-completion-checks.ts +177 -0
  84. package/lib/test-suite-lock.ts +1136 -0
  85. package/lib/transcript-checker.ts +1140 -0
  86. package/lib/validators/spec-validators.ts +171 -0
  87. package/lib/verdict-capture.ts +73 -0
  88. package/lib/verified-push.ts +358 -0
  89. package/lib/workflow-security.ts +174 -0
  90. package/lib/worktree-cleanup.ts +250 -0
  91. package/lib/worktree-collect.ts +283 -0
  92. package/lib/worktree-isolation.ts +82 -0
  93. package/package.json +36 -3
  94. package/prompts/ac-adversary.md +14 -2
  95. package/prompts/aditi.md +5 -0
  96. package/prompts/blast-radius.md +5 -0
  97. package/prompts/container-verify.md +5 -0
  98. package/prompts/discovery.md +4 -0
  99. package/prompts/environment.md +5 -0
  100. package/prompts/evidence-hierarchy.md +5 -0
  101. package/prompts/evidence-validator.md +11 -0
  102. package/prompts/marcus.md +5 -0
  103. package/prompts/prevention.md +5 -0
  104. package/prompts/prove-reproducer.md +12 -0
  105. package/prompts/quinn-decision-tree.md +5 -0
  106. package/prompts/quinn-ui-brief.md +5 -0
  107. package/prompts/quinn.md +5 -0
  108. package/prompts/rca.md +5 -0
  109. package/prompts/read-before-write.md +4 -0
  110. package/prompts/regression.md +5 -0
  111. package/prompts/serena.md +5 -0
  112. package/scripts/audit-specs.ts +464 -0
  113. package/scripts/convert-spec.ts +293 -0
  114. package/scripts/create-sc.ts +92 -0
  115. package/scripts/create-spec.ts +166 -0
  116. package/scripts/extract-constraints.ts +4 -3
  117. package/scripts/generate-code-map.ts +1 -1
  118. package/scripts/scaffold-project.ts +138 -1426
  119. package/scripts/sync-spec-tests.ts +211 -126
  120. package/.claude/agents/aditi.md +0 -47
  121. package/.claude/agents/marcus.md +0 -50
  122. package/.claude/agents/quinn.md +0 -58
  123. package/.claude/agents/rook.md +0 -47
  124. package/.claude/agents/serena.md +0 -46
  125. package/.claude/rungate.json +0 -11
  126. package/.fallowrc.json +0 -28
  127. package/.github/copilot-instructions.md +0 -20
  128. package/.rungate/conformity-findings.json +0 -648
  129. package/AGENTS.md +0 -106
  130. package/CODE-MAP.md +0 -50
  131. package/HARNESS.md +0 -88
  132. package/bun.lock +0 -26
  133. package/bunfig.toml +0 -2
  134. package/config/brief-policies.json +0 -28
  135. package/config/ceremony-profiles.json +0 -212
  136. package/config/consumer-cascade-map.json +0 -24
  137. package/config/doc-cascade-map.json +0 -24
  138. package/config/eval.json +0 -84
  139. package/config/profiles/account-plan.yaml +0 -36
  140. package/config/profiles/campaign.yaml +0 -94
  141. package/config/prove-evidence.schema.json +0 -65
  142. package/config/spec-policies.json +0 -36
  143. package/config/workflow-schema.json +0 -281
  144. package/gates/SCHEMA-GUIDE.md +0 -121
  145. package/gates/ac-quality.test.ts +0 -106
  146. package/gates/adversarial.test.ts +0 -274
  147. package/gates/brief-assembler.test.ts +0 -429
  148. package/gates/brief-assembler.ts +0 -334
  149. package/gates/bunfig.toml +0 -2
  150. package/gates/chain.test.ts +0 -91
  151. package/gates/e2e-smoke.test.ts +0 -234
  152. package/gates/error-classifier.test.ts +0 -249
  153. package/gates/error-classifier.ts +0 -89
  154. package/gates/orchestrator.test.ts +0 -950
  155. package/gates/orchestrator.ts +0 -569
  156. package/gates/preload.ts +0 -77
  157. package/gates/prompts/ac-adversary.md +0 -20
  158. package/gates/prompts/evidence-validator.md +0 -22
  159. package/gates/prompts/prove-reproducer.md +0 -53
  160. package/gates/prove.test.ts +0 -164
  161. package/gates/run-gate.ts +0 -936
  162. package/gates/schema-parity.test.ts +0 -197
  163. package/gates/schema.ts +0 -362
  164. package/gates/self-heal.test.ts +0 -511
  165. package/gates/self-heal.ts +0 -121
  166. package/gates/ship-orchestrator.test.ts +0 -379
  167. package/gates/ship-orchestrator.ts +0 -363
  168. package/gates/test-fixtures/broken-no-environments.json +0 -60
  169. package/gates/test-fixtures/valid-standard.json +0 -54
  170. package/gates/test-utils.ts +0 -43
  171. package/gates/witness.ts +0 -220
  172. package/gates/workflow.test.ts +0 -1053
  173. package/hooks/AgentBriefGuard.hook.ts +0 -586
  174. package/hooks/AgentVerdictCapture.hook.ts +0 -134
  175. package/hooks/AutoVerifyGate.hook.ts +0 -76
  176. package/hooks/GateEnforcement.hook.ts +0 -273
  177. package/hooks/IssueCloseGuard.hook.ts +0 -116
  178. package/hooks/MergeGuard.hook.ts +0 -55
  179. package/hooks/StaleTTLCleanup.hook.ts +0 -133
  180. package/hooks/VerifyPhaseLock.hook.ts +0 -81
  181. package/hooks/WorkflowStateGuard.hook.ts +0 -37
  182. package/hooks/lib/agentDetection.ts +0 -70
  183. package/hooks/lib/findWorkflow.ts +0 -101
  184. package/hooks/lib/parseStdin.ts +0 -37
  185. package/hooks/lib/paths.ts +0 -111
  186. package/hooks/lib/utils.ts +0 -81
  187. package/reference/migration-manifest.json +0 -554
  188. package/reference/prompts/agent-aditi.md +0 -38
  189. package/reference/prompts/agent-marcus.md +0 -38
  190. package/reference/prompts/agent-quinn.md +0 -38
  191. package/reference/prompts/agent-rook.md +0 -37
  192. package/reference/prompts/agent-serena.md +0 -37
  193. package/reference/prompts/council-skill.md +0 -170
  194. package/reference/prompts/goal-skill.md +0 -235
  195. package/reference/prompts/prove-skill.md +0 -283
  196. package/reference/prompts/quinn-standard.md +0 -246
  197. package/reference/prompts/ship-convergence.md +0 -65
  198. package/reference/prompts/ship-escalation.md +0 -43
  199. package/reference/prompts/ship-iteration.md +0 -382
  200. package/reference/prompts/ship-pending-patches.md +0 -246
  201. package/reference/prompts/ship-reference.md +0 -250
  202. package/reference/prompts/ship-skill.md +0 -347
  203. package/reference/prompts/ship-templates.md +0 -215
  204. package/reference/scripts/batch-status.sh +0 -68
  205. package/reference/scripts/chain-compat-check.sh +0 -67
  206. package/reference/scripts/context-audit.sh +0 -314
  207. package/reference/scripts/dead-export-check.sh +0 -61
  208. package/reference/scripts/generate-qc-tables.sh +0 -92
  209. package/reference/scripts/harness-init.sh +0 -111
  210. package/reference/scripts/pai-054-baseline-check.sh +0 -40
  211. package/reference/scripts/prove-smoke-test.sh +0 -112
  212. package/reference/scripts/setup-keychain-salt.sh +0 -12
  213. package/reference/scripts/skill-optimizer-friday.sh +0 -88
  214. package/reference/scripts/skill-qc-test.sh +0 -351
  215. package/reference/scripts/skill-synthesize-tonight.sh +0 -66
  216. package/reference/specs/HARNESS-EXTRACTION-SPEC.md +0 -263
  217. package/reference/specs/harness-v3-bash-deletion-plan.md +0 -65
  218. package/reference/specs/harness-v3-migration-plan.md +0 -188
  219. package/scripts/decision-reconcile.sh +0 -74
  220. package/scripts/decision-reconcile.ts +0 -152
  221. package/scripts/git-hooks/pre-commit +0 -76
  222. package/scripts/git-hooks/pre-push +0 -271
  223. package/scripts/harness-skill-check.sh +0 -52
  224. package/scripts/lib/gap-emit.sh +0 -65
  225. package/scripts/lib/jq-update.sh +0 -30
  226. package/scripts/lib/resolve-slug.sh +0 -30
  227. package/scripts/lib/verify-spec-compliance.sh +0 -102
  228. package/scripts/prove-backfill.sh +0 -87
  229. package/scripts/scaffold-rungate-config.ts +0 -91
  230. package/scripts/self-containment-check.sh +0 -109
  231. package/scripts/skill-qc-validator.sh +0 -402
  232. package/scripts/slug-resolver.sh +0 -14
  233. package/specs/BOOTSTRAP-DATA-FLOW-SPEC.md +0 -2493
  234. package/specs/BOOTSTRAP-TEST-PLAN.md +0 -571
  235. package/specs/HARNESS-GATES.md +0 -256
  236. package/specs/HARNESS-SKILL-CHAIN.md +0 -286
  237. package/specs/HARNESS-SKILL-CONTRACT.md +0 -93
  238. package/specs/HARNESS-STANDARD.md +0 -488
  239. package/specs/SPEC-TEMPLATE.md +0 -53
  240. package/specs/bootstrap-data-flow.png +0 -0
  241. package/specs/harness-automation-matrix.md +0 -314
  242. package/specs/harness-automation-matrix.rules.json +0 -64
  243. package/test/anti.test.ts +0 -80
  244. package/test/contract-negative.test.ts +0 -86
  245. package/test/contract.test.ts +0 -158
  246. package/test/external-deps.test.ts +0 -48
  247. package/test/fixtures/golden-project/.env.example +0 -3
  248. package/test/fixtures/golden-project/Makefile +0 -7
  249. package/test/fixtures/golden-project/docs/adr/ADR-001-framework.md +0 -23
  250. package/test/fixtures/golden-project/docs/setup-guide.md +0 -10
  251. package/test/fixtures/golden-project/package.json +0 -10
  252. package/test/fixtures/golden-project/specs/api-spec.md +0 -20
  253. package/test/fixtures/golden-project/src/auth.ts +0 -8
  254. package/test/fixtures/golden-project/src/db.ts +0 -11
  255. package/test/fixtures/golden-project/src/index.ts +0 -19
  256. package/test/fixtures/golden-project/src/utils/format.ts +0 -3
  257. package/test/fixtures/golden-project/test/auth.test.ts +0 -15
  258. package/test/fixtures/golden-project/tsconfig.json +0 -12
  259. package/test/meta-sc-coverage.test.ts +0 -159
  260. package/test/phase-0.test.ts +0 -846
  261. package/test/phase-1.test.ts +0 -617
  262. package/test/phase-2.test.ts +0 -620
  263. package/test/phase-3.test.ts +0 -99
  264. package/test/scaffold-conformity.test.ts +0 -8
  265. package/test/schema-canary.test.ts +0 -51
  266. package/test/spec-compliance-auto.test.ts +0 -64
  267. package/test/spec-compliance.test.ts +0 -295
  268. package/test/spec-discovery.test.ts +0 -68
  269. package/test/spec-drift.test.ts +0 -5
  270. package/test/structure.test.ts +0 -165
  271. package/test/unit/agent-brief-guard-ship.test.ts +0 -293
  272. package/test/unit/extract-constraints.test.ts +0 -145
  273. package/test/unit/issue-close-guard.test.ts +0 -204
  274. package/test/unit/scaffold-project.test.ts +0 -417
  275. package/test/unit/skill-cooccurrence.test.ts +0 -177
  276. package/test/unit/skill-sequence-logger.test.ts +0 -244
  277. package/test/unit/workflow-state-guard.test.ts +0 -95
  278. package/workflows/batch-ship.js +0 -295
  279. package/workflows/council.js +0 -481
  280. package/workflows/prove.js +0 -560
  281. package/workflows/ship.js +0 -789
  282. package/workflows/verify.js +0 -236
@@ -1,554 +0,0 @@
1
- {
2
- "version": "1.0.0",
3
- "created": "2026-09-17",
4
- "description": "Maps every harness file from scattered ~/.claude/ locations to rungate/ target structure",
5
- "files": [
6
- {
7
- "source": "~/.claude/workflows/ship.js",
8
- "dest": "workflows/ship.js",
9
- "migrated": true
10
- },
11
- {
12
- "source": "~/.claude/workflows/prove.js",
13
- "dest": "workflows/prove.js",
14
- "migrated": true
15
- },
16
- {
17
- "source": "~/.claude/workflows/council.js",
18
- "dest": "workflows/council.js",
19
- "migrated": true
20
- },
21
- {
22
- "source": "~/.claude/workflows/batch-ship.js",
23
- "dest": "workflows/batch-ship.js",
24
- "migrated": true
25
- },
26
- {
27
- "source": "~/.claude/workflows/verify.js",
28
- "dest": "workflows/verify.js",
29
- "migrated": true
30
- },
31
- {
32
- "source": "~/.claude/gates/run-gate.ts",
33
- "dest": "gates/run-gate.ts",
34
- "migrated": true
35
- },
36
- {
37
- "source": "~/.claude/gates/schema.ts",
38
- "dest": "gates/schema.ts",
39
- "migrated": true
40
- },
41
- {
42
- "source": "~/.claude/gates/orchestrator.ts",
43
- "dest": "gates/orchestrator.ts",
44
- "migrated": true
45
- },
46
- {
47
- "source": "~/.claude/gates/witness.ts",
48
- "dest": "gates/witness.ts",
49
- "migrated": true
50
- },
51
- {
52
- "source": "~/.claude/gates/ship-orchestrator.ts",
53
- "dest": "gates/ship-orchestrator.ts",
54
- "migrated": true
55
- },
56
- {
57
- "source": "~/.claude/gates/brief-assembler.ts",
58
- "dest": "gates/brief-assembler.ts",
59
- "migrated": true
60
- },
61
- {
62
- "source": "~/.claude/gates/error-classifier.ts",
63
- "dest": "gates/error-classifier.ts",
64
- "migrated": true
65
- },
66
- {
67
- "source": "~/.claude/gates/self-heal.ts",
68
- "dest": "gates/self-heal.ts",
69
- "migrated": true
70
- },
71
- {
72
- "source": "~/.claude/gates/preload.ts",
73
- "dest": "gates/preload.ts",
74
- "migrated": true
75
- },
76
- {
77
- "source": "~/.claude/gates/test-utils.ts",
78
- "dest": "gates/test-utils.ts",
79
- "migrated": true
80
- },
81
- {
82
- "source": "~/.claude/gates/bunfig.toml",
83
- "dest": "gates/bunfig.toml",
84
- "migrated": true
85
- },
86
- {
87
- "source": "~/.claude/gates/SCHEMA-GUIDE.md",
88
- "dest": "gates/SCHEMA-GUIDE.md",
89
- "migrated": true
90
- },
91
- {
92
- "source": "~/.claude/gates/workflow.test.ts",
93
- "dest": "gates/workflow.test.ts",
94
- "migrated": true
95
- },
96
- {
97
- "source": "~/.claude/gates/e2e-smoke.test.ts",
98
- "dest": "gates/e2e-smoke.test.ts",
99
- "migrated": true
100
- },
101
- {
102
- "source": "~/.claude/gates/chain.test.ts",
103
- "dest": "gates/chain.test.ts",
104
- "migrated": true
105
- },
106
- {
107
- "source": "~/.claude/gates/schema-parity.test.ts",
108
- "dest": "gates/schema-parity.test.ts",
109
- "migrated": true
110
- },
111
- {
112
- "source": "~/.claude/gates/ship-orchestrator.test.ts",
113
- "dest": "gates/ship-orchestrator.test.ts",
114
- "migrated": true
115
- },
116
- {
117
- "source": "~/.claude/gates/orchestrator.test.ts",
118
- "dest": "gates/orchestrator.test.ts",
119
- "migrated": true
120
- },
121
- {
122
- "source": "~/.claude/gates/brief-assembler.test.ts",
123
- "dest": "gates/brief-assembler.test.ts",
124
- "migrated": true
125
- },
126
- {
127
- "source": "~/.claude/gates/error-classifier.test.ts",
128
- "dest": "gates/error-classifier.test.ts",
129
- "migrated": true
130
- },
131
- {
132
- "source": "~/.claude/gates/prove.test.ts",
133
- "dest": "gates/prove.test.ts",
134
- "migrated": true
135
- },
136
- {
137
- "source": "~/.claude/gates/self-heal.test.ts",
138
- "dest": "gates/self-heal.test.ts",
139
- "migrated": true
140
- },
141
- {
142
- "source": "~/.claude/gates/ac-quality.test.ts",
143
- "dest": "gates/ac-quality.test.ts",
144
- "migrated": true
145
- },
146
- {
147
- "source": "~/.claude/gates/adversarial.test.ts",
148
- "dest": "gates/adversarial.test.ts",
149
- "migrated": true
150
- },
151
- {
152
- "source": "~/.claude/gates/test-fixtures/broken-no-environments.json",
153
- "dest": "gates/test-fixtures/broken-no-environments.json",
154
- "migrated": true
155
- },
156
- {
157
- "source": "~/.claude/gates/test-fixtures/valid-standard.json",
158
- "dest": "gates/test-fixtures/valid-standard.json",
159
- "migrated": true
160
- },
161
- {
162
- "source": "~/.claude/gates/prompts/ac-adversary.md",
163
- "dest": "prompts/ac-adversary.md",
164
- "migrated": true
165
- },
166
- {
167
- "source": "~/.claude/gates/prompts/evidence-validator.md",
168
- "dest": "prompts/evidence-validator.md",
169
- "migrated": true
170
- },
171
- {
172
- "source": "~/.claude/gates/prompts/prove-reproducer.md",
173
- "dest": "prompts/prove-reproducer.md",
174
- "migrated": true
175
- },
176
- {
177
- "source": "~/.claude/gates/ceremony-profiles.json",
178
- "dest": "config/ceremony-profiles.json",
179
- "migrated": true,
180
- "note": "canonical copy — delete skills/ship/ duplicate"
181
- },
182
- {
183
- "source": "~/.claude/gates/workflow-schema.json",
184
- "dest": "config/workflow-schema.json",
185
- "migrated": true,
186
- "note": "canonical copy — delete skills/ship/ duplicate"
187
- },
188
- {
189
- "source": "~/.claude/gates/spec-policies.json",
190
- "dest": "config/spec-policies.json",
191
- "migrated": true,
192
- "note": "canonical copy — delete skills/ship/ duplicate"
193
- },
194
- {
195
- "source": "~/.claude/scripts/sync-spec-tests.ts",
196
- "dest": "scripts/sync-spec-tests.ts",
197
- "migrated": true
198
- },
199
- {
200
- "source": "~/.claude/scripts/scaffold-project-harness.ts",
201
- "dest": "scripts/scaffold-rungate-config.ts",
202
- "migrated": true
203
- },
204
- {
205
- "source": "~/.claude/scripts/batch-status.sh",
206
- "dest": "reference/scripts/batch-status.sh",
207
- "migrated": true
208
- },
209
- {
210
- "source": "~/.claude/scripts/chain-compat-check.sh",
211
- "dest": "reference/scripts/chain-compat-check.sh",
212
- "migrated": true
213
- },
214
- {
215
- "source": "~/.claude/scripts/context-audit.sh",
216
- "dest": "reference/scripts/context-audit.sh",
217
- "migrated": true
218
- },
219
- {
220
- "source": "~/.claude/scripts/dead-export-check.sh",
221
- "dest": "reference/scripts/dead-export-check.sh",
222
- "migrated": true
223
- },
224
- {
225
- "source": "~/.claude/scripts/gate-smoke-test-e2e.sh",
226
- "dest": "scripts/gate-smoke-test-e2e.sh",
227
- "migrated": false,
228
- "note": "deleted — dead script referenced nonexistent gate-runner.sh"
229
- },
230
- {
231
- "source": "~/.claude/scripts/generate-qc-tables.sh",
232
- "dest": "reference/scripts/generate-qc-tables.sh",
233
- "migrated": true
234
- },
235
- {
236
- "source": "~/.claude/scripts/harness-init.sh",
237
- "dest": "reference/scripts/harness-init.sh",
238
- "migrated": true
239
- },
240
- {
241
- "source": "~/.claude/scripts/harness-skill-check.sh",
242
- "dest": "scripts/harness-skill-check.sh",
243
- "migrated": true
244
- },
245
- {
246
- "source": "~/.claude/scripts/pai-054-baseline-check.sh",
247
- "dest": "reference/scripts/pai-054-baseline-check.sh",
248
- "migrated": true
249
- },
250
- {
251
- "source": "~/.claude/scripts/prove-backfill.sh",
252
- "dest": "scripts/prove-backfill.sh",
253
- "migrated": true
254
- },
255
- {
256
- "source": "~/.claude/scripts/skill-optimizer-friday.sh",
257
- "dest": "reference/scripts/skill-optimizer-friday.sh",
258
- "migrated": true
259
- },
260
- {
261
- "source": "~/.claude/scripts/skill-qc-test.sh",
262
- "dest": "reference/scripts/skill-qc-test.sh",
263
- "migrated": true
264
- },
265
- {
266
- "source": "~/.claude/scripts/skill-qc-validator.sh",
267
- "dest": "scripts/skill-qc-validator.sh",
268
- "migrated": true
269
- },
270
- {
271
- "source": "~/.claude/scripts/skill-synthesize-tonight.sh",
272
- "dest": "reference/scripts/skill-synthesize-tonight.sh",
273
- "migrated": true
274
- },
275
- {
276
- "source": "~/.claude/scripts/slug-resolver.sh",
277
- "dest": "scripts/slug-resolver.sh",
278
- "migrated": true
279
- },
280
- {
281
- "source": "~/.claude/scripts/decision-reconcile.sh",
282
- "dest": "scripts/decision-reconcile.sh",
283
- "migrated": true
284
- },
285
- {
286
- "source": "~/.claude/scripts/decision-reconcile.ts",
287
- "dest": "scripts/decision-reconcile.ts",
288
- "migrated": true
289
- },
290
- {
291
- "source": "~/.claude/scripts/setup-keychain-salt.sh",
292
- "dest": "reference/scripts/setup-keychain-salt.sh",
293
- "migrated": true
294
- },
295
- {
296
- "source": "~/.claude/scripts/git-hooks/pre-commit",
297
- "dest": "scripts/git-hooks/pre-commit",
298
- "migrated": true
299
- },
300
- {
301
- "source": "~/.claude/scripts/git-hooks/pre-push",
302
- "dest": "scripts/git-hooks/pre-push",
303
- "migrated": true
304
- },
305
- {
306
- "source": "~/.claude/scripts/lib/gap-emit.sh",
307
- "dest": "scripts/lib/gap-emit.sh",
308
- "migrated": true
309
- },
310
- {
311
- "source": "~/.claude/scripts/lib/jq-update.sh",
312
- "dest": "scripts/lib/jq-update.sh",
313
- "migrated": true
314
- },
315
- {
316
- "source": "~/.claude/scripts/lib/resolve-slug.sh",
317
- "dest": "scripts/lib/resolve-slug.sh",
318
- "migrated": true
319
- },
320
- {
321
- "source": "~/.claude/scripts/lib/verify-spec-compliance.sh",
322
- "dest": "scripts/lib/verify-spec-compliance.sh",
323
- "migrated": true
324
- },
325
- {
326
- "source": "~/.claude/test/spec-compliance.test.ts",
327
- "dest": "test/spec-compliance.test.ts",
328
- "migrated": true
329
- },
330
- {
331
- "source": "~/.claude/test/spec-compliance-auto.test.ts",
332
- "dest": "test/spec-compliance-auto.test.ts",
333
- "migrated": true
334
- },
335
- {
336
- "source": "~/.claude/test/spec-discovery.test.ts",
337
- "dest": "test/spec-discovery.test.ts",
338
- "migrated": true
339
- },
340
- {
341
- "source": "~/.claude/test/contract.test.ts",
342
- "dest": "test/contract.test.ts",
343
- "migrated": true
344
- },
345
- {
346
- "source": "~/.claude/test/unit/agent-brief-guard-ship.test.ts",
347
- "dest": "test/unit/agent-brief-guard-ship.test.ts",
348
- "migrated": true
349
- },
350
- {
351
- "source": "~/.claude/test/unit/issue-close-guard.test.ts",
352
- "dest": "test/unit/issue-close-guard.test.ts",
353
- "migrated": true
354
- },
355
- {
356
- "source": "~/.claude/test/unit/skill-cooccurrence.test.ts",
357
- "dest": "test/unit/skill-cooccurrence.test.ts",
358
- "migrated": true
359
- },
360
- {
361
- "source": "~/.claude/test/unit/skill-sequence-logger.test.ts",
362
- "dest": "test/unit/skill-sequence-logger.test.ts",
363
- "migrated": true
364
- },
365
- {
366
- "source": "~/.claude/lib/paths.ts",
367
- "dest": "lib/paths.ts",
368
- "migrated": true
369
- },
370
- {
371
- "source": "~/.claude/skills/ship/SKILL.md",
372
- "dest": "reference/prompts/ship-skill.md",
373
- "migrated": true
374
- },
375
- {
376
- "source": "~/.claude/skills/ship/TEMPLATES.md",
377
- "dest": "reference/prompts/ship-templates.md",
378
- "migrated": true
379
- },
380
- {
381
- "source": "~/.claude/skills/ship/REFERENCE.md",
382
- "dest": "reference/prompts/ship-reference.md",
383
- "migrated": true
384
- },
385
- {
386
- "source": "~/.claude/skills/ship/ITERATION.md",
387
- "dest": "reference/prompts/ship-iteration.md",
388
- "migrated": true
389
- },
390
- {
391
- "source": "~/.claude/skills/ship/PENDING-PATCHES.md",
392
- "dest": "reference/prompts/ship-pending-patches.md",
393
- "migrated": true
394
- },
395
- {
396
- "source": "~/.claude/skills/ship/convergence.md",
397
- "dest": "reference/prompts/ship-convergence.md",
398
- "migrated": true
399
- },
400
- {
401
- "source": "~/.claude/skills/ship/escalation.md",
402
- "dest": "reference/prompts/ship-escalation.md",
403
- "migrated": true
404
- },
405
- {
406
- "source": "~/.claude/skills/ship/brief-policies.json",
407
- "dest": "config/brief-policies.json",
408
- "migrated": true
409
- },
410
- {
411
- "source": "~/.claude/skills/ship/consumer-cascade-map.json",
412
- "dest": "config/consumer-cascade-map.json",
413
- "migrated": true
414
- },
415
- {
416
- "source": "~/.claude/skills/ship/doc-cascade-map.json",
417
- "dest": "config/doc-cascade-map.json",
418
- "migrated": true
419
- },
420
- {
421
- "source": "~/.claude/skills/ship/eval.json",
422
- "dest": "config/eval.json",
423
- "migrated": true
424
- },
425
- {
426
- "source": "~/.claude/skills/ship/profiles/account-plan.yaml",
427
- "dest": "config/profiles/account-plan.yaml",
428
- "migrated": true
429
- },
430
- {
431
- "source": "~/.claude/skills/ship/profiles/campaign.yaml",
432
- "dest": "config/profiles/campaign.yaml",
433
- "migrated": true
434
- },
435
- {
436
- "source": "~/.claude/skills/ship/ceremony-profiles.json",
437
- "dest": "DUPLICATE-DELETE",
438
- "migrated": true,
439
- "note": "duplicate of gates/ copy — delete, do not migrate"
440
- },
441
- {
442
- "source": "~/.claude/skills/ship/workflow-schema.json",
443
- "dest": "DUPLICATE-DELETE",
444
- "migrated": true,
445
- "note": "duplicate of gates/ copy — delete, do not migrate"
446
- },
447
- {
448
- "source": "~/.claude/skills/ship/spec-policies.json",
449
- "dest": "DUPLICATE-DELETE",
450
- "migrated": true,
451
- "note": "duplicate of gates/ copy — delete, do not migrate"
452
- },
453
- {
454
- "source": "~/.claude/skills/prove/SKILL.md",
455
- "dest": "reference/prompts/prove-skill.md",
456
- "migrated": true
457
- },
458
- {
459
- "source": "~/.claude/skills/prove/prove-evidence.schema.json",
460
- "dest": "config/prove-evidence.schema.json",
461
- "migrated": true
462
- },
463
- {
464
- "source": "~/.claude/skills/prove/prove-smoke-test.sh",
465
- "dest": "reference/scripts/prove-smoke-test.sh",
466
- "migrated": true
467
- },
468
- {
469
- "source": "~/.claude/skills/goal/SKILL.md",
470
- "dest": "reference/prompts/goal-skill.md",
471
- "migrated": true
472
- },
473
- {
474
- "source": "~/.claude/skills/council/SKILL.md",
475
- "dest": "reference/prompts/council-skill.md",
476
- "migrated": true
477
- },
478
- {
479
- "source": "~/.claude/PAI/specs/HARNESS-SKILL-CHAIN.md",
480
- "dest": "specs/HARNESS-SKILL-CHAIN.md",
481
- "migrated": true
482
- },
483
- {
484
- "source": "~/.claude/PAI/specs/HARNESS-EXTRACTION-SPEC.md",
485
- "dest": "reference/specs/HARNESS-EXTRACTION-SPEC.md",
486
- "migrated": true
487
- },
488
- {
489
- "source": "~/.claude/PAI/specs/harness-automation-matrix.md",
490
- "dest": "specs/harness-automation-matrix.md",
491
- "migrated": true
492
- },
493
- {
494
- "source": "~/.claude/PAI/specs/harness-automation-matrix.rules.json",
495
- "dest": "specs/harness-automation-matrix.rules.json",
496
- "migrated": true
497
- },
498
- {
499
- "source": "~/.claude/PAI/specs/HARNESS-SKILL-CONTRACT.md",
500
- "dest": "specs/HARNESS-SKILL-CONTRACT.md",
501
- "migrated": true
502
- },
503
- {
504
- "source": "~/.claude/PAI/specs/harness-v3-bash-deletion-plan.md",
505
- "dest": "reference/specs/harness-v3-bash-deletion-plan.md",
506
- "migrated": true
507
- },
508
- {
509
- "source": "~/.claude/PAI/specs/harness-v3-migration-plan.md",
510
- "dest": "reference/specs/harness-v3-migration-plan.md",
511
- "migrated": true
512
- },
513
- {
514
- "source": "~/.claude/PAI/HARNESS-STANDARD.md",
515
- "dest": "specs/HARNESS-STANDARD.md",
516
- "migrated": true
517
- },
518
- {
519
- "source": "~/.claude/PAI/HARNESS-GATES.md",
520
- "dest": "specs/HARNESS-GATES.md",
521
- "migrated": true
522
- },
523
- {
524
- "source": "~/.claude/PAI/Testing/QUINN-STANDARD.md",
525
- "dest": "reference/prompts/quinn-standard.md",
526
- "migrated": true
527
- },
528
- {
529
- "source": "~/.claude/templates/harness-v3/agents/marcus.md",
530
- "dest": "reference/prompts/agent-marcus.md",
531
- "migrated": true
532
- },
533
- {
534
- "source": "~/.claude/templates/harness-v3/agents/quinn.md",
535
- "dest": "reference/prompts/agent-quinn.md",
536
- "migrated": true
537
- },
538
- {
539
- "source": "~/.claude/templates/harness-v3/agents/rook.md",
540
- "dest": "reference/prompts/agent-rook.md",
541
- "migrated": true
542
- },
543
- {
544
- "source": "~/.claude/templates/harness-v3/agents/aditi.md",
545
- "dest": "reference/prompts/agent-aditi.md",
546
- "migrated": true
547
- },
548
- {
549
- "source": "~/.claude/templates/harness-v3/agents/serena.md",
550
- "dest": "reference/prompts/agent-serena.md",
551
- "migrated": true
552
- }
553
- ]
554
- }
@@ -1,38 +0,0 @@
1
- ---
2
- doc-type: reference
3
- status: active
4
- owner: jason
5
- updated: 2026-09-08
6
- ---
7
-
8
- # Aditi Sharma — UX/UI Design
9
-
10
- You are Aditi Sharma, UX/UI designer. You design component specs and review UI implementations.
11
-
12
- ## What you do
13
-
14
- 1. Review proposed UI changes against design principles
15
- 2. Create component specs with layout, spacing, typography, color
16
- 3. Assess visual hierarchy and information density
17
- 4. Evaluate accessibility (contrast, focus order, screen reader labels)
18
- 5. Review responsive behavior across breakpoints
19
-
20
- ## Design principles
21
-
22
- - shadcn/ui component library as the base
23
- - Consistent spacing scale (4px base)
24
- - Clear visual hierarchy — primary action obvious
25
- - Information density appropriate for the use case
26
- - Accessible: WCAG 2.1 AA minimum
27
-
28
- ## How you report
29
-
30
- - APPROVED or REVISION_NEEDED with specific changes
31
- - Mockups as HTML when proposing new layouts
32
- - Annotated screenshots when reviewing existing UI
33
- - Specific CSS values, not vague directions
34
-
35
- ## What you do NOT do
36
-
37
- - Never modify source code directly — provide specs for Marcus
38
- - Never run builds or tests
@@ -1,38 +0,0 @@
1
- ---
2
- doc-type: reference
3
- status: active
4
- owner: jason
5
- updated: 2026-09-08
6
- ---
7
-
8
- # Marcus Webb — Implementation
9
-
10
- You are Marcus Webb, principal engineer. You implement code changes, write tests, and commit.
11
-
12
- ## Before writing code
13
-
14
- 1. Read every file listed in the brief's **Files** section
15
- 2. Read the **Governing Spec** if one is cited — extract design decisions
16
- 3. Run existing tests to establish baseline: `bun test --isolate test/unit/`
17
-
18
- ## While coding
19
-
20
- - TDD: write the failing test first, then the implementation
21
- - Follow the spec constraints listed in the brief — these are checkboxes, not suggestions
22
- - Deep modules, thin consumers: shared logic in lib/, consumers call one function
23
- - No hardcoded values — use config files or environment variables
24
- - All thresholds configurable, not magic numbers in source
25
-
26
- ## Before reporting done
27
-
28
- 1. Run `bun test --isolate test/unit/` — all tests pass
29
- 2. Run `bunx tsc --noEmit` — no type errors
30
- 3. Commit all changes with descriptive message referencing the issue number
31
- 4. Report: files changed, tests added, test results, type check results
32
-
33
- ## What you do NOT do
34
-
35
- - Never run `make rebuild` — the DA handles deployment
36
- - Never modify `.claude/` files
37
- - Never close GitHub issues
38
- - Never skip the test step
@@ -1,38 +0,0 @@
1
- ---
2
- doc-type: reference
3
- status: active
4
- owner: jason
5
- updated: 2026-09-08
6
- ---
7
-
8
- # Quinn Torres — QA & Verification
9
-
10
- You are Quinn Torres, QA engineer. You test as a brand-new user who has never seen this app before.
11
-
12
- ## What you test
13
-
14
- 1. Navigate to the affected page/feature in the browser
15
- 2. Test the golden path — does the fix work as described?
16
- 3. Test edge cases — what breaks with unusual inputs?
17
- 4. Compare against the visual spec if one is provided (sourceSpec paths in the brief)
18
- 5. Take screenshots of before/after states
19
-
20
- ## How you test
21
-
22
- - Use Playwright CLI for browser automation
23
- - Test on the dev server: http://localhost:5173 (UI) / http://localhost:7776 (API)
24
- - Never test on port 7777 — that's the live container
25
- - Verify the fix commit is deployed before testing
26
-
27
- ## What you report
28
-
29
- - PASS or FAIL with evidence
30
- - Screenshots of the tested state
31
- - Edge cases attempted and results
32
- - Any regressions noticed in surrounding features
33
-
34
- ## What you do NOT do
35
-
36
- - Never modify source code
37
- - Never run `make rebuild`
38
- - Never close issues