@hxp-tools/godplans 0.0.0-stage → 2.0.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 (144) hide show
  1. package/CHANGELOG.md +1176 -0
  2. package/LICENSE +21 -0
  3. package/PROMPT.md +4006 -0
  4. package/README.md +201 -2
  5. package/assets/README.md +11 -0
  6. package/assets/hero.svg +44 -0
  7. package/assets/plan-loop.svg +62 -0
  8. package/assets/quest-map.svg +80 -0
  9. package/bin/godplans.js +93 -0
  10. package/docs/ARCHITECTURE.md +136 -0
  11. package/docs/RELEASING.md +107 -0
  12. package/evals/README.md +295 -0
  13. package/evals/cases/brownfield-cli/EXPECTATIONS +15 -0
  14. package/evals/cases/brownfield-cli/INPUT/package.json +9 -0
  15. package/evals/cases/brownfield-cli/INPUT/src/cli.js +4 -0
  16. package/evals/cases/brownfield-cli/INPUT/src/format.js +3 -0
  17. package/evals/cases/brownfield-cli/INPUT/test/cli.test.js +7 -0
  18. package/evals/cases/brownfield-cli/REQUEST.baseline.md +10 -0
  19. package/evals/cases/brownfield-cli/REQUEST.md +10 -0
  20. package/evals/cases/compliance-refusal/EXPECTATIONS +4 -0
  21. package/evals/cases/compliance-refusal/REQUEST.baseline.md +9 -0
  22. package/evals/cases/compliance-refusal/REQUEST.md +8 -0
  23. package/evals/cases/greenfield-saas/EXPECTATIONS +21 -0
  24. package/evals/cases/greenfield-saas/REQUEST.baseline.md +11 -0
  25. package/evals/cases/greenfield-saas/REQUEST.md +11 -0
  26. package/evals/cases/nested-pillars/EXPECTATIONS +12 -0
  27. package/evals/cases/nested-pillars/REQUEST.baseline.md +10 -0
  28. package/evals/cases/nested-pillars/REQUEST.md +11 -0
  29. package/evals/cases/observability-evidence/EXPECTATIONS +10 -0
  30. package/evals/cases/observability-evidence/REQUEST.baseline.md +10 -0
  31. package/evals/cases/observability-evidence/REQUEST.md +11 -0
  32. package/evals/cases/product-business/EXPECTATIONS +18 -0
  33. package/evals/cases/product-business/REQUEST.baseline.md +13 -0
  34. package/evals/cases/product-business/REQUEST.md +14 -0
  35. package/evals/cases/product-form-routing/EXPECTATIONS +13 -0
  36. package/evals/cases/product-form-routing/REQUEST.baseline.md +11 -0
  37. package/evals/cases/product-form-routing/REQUEST.md +11 -0
  38. package/evals/cases/prose-integrity/EXPECTATIONS +19 -0
  39. package/evals/cases/prose-integrity/REQUEST.baseline.md +19 -0
  40. package/evals/cases/prose-integrity/REQUEST.md +20 -0
  41. package/evals/cases/replan-preserves-history/EXPECTATIONS +9 -0
  42. package/evals/cases/replan-preserves-history/INPUT/.godplans/PLAN.mdx +115 -0
  43. package/evals/cases/replan-preserves-history/INPUT/package.json +5 -0
  44. package/evals/cases/replan-preserves-history/REQUEST.baseline.md +10 -0
  45. package/evals/cases/replan-preserves-history/REQUEST.md +10 -0
  46. package/evals/cases/stale-prepublication/EXPECTATIONS +10 -0
  47. package/evals/cases/stale-prepublication/REQUEST.baseline.md +12 -0
  48. package/evals/cases/stale-prepublication/REQUEST.md +13 -0
  49. package/evals/cases/stale-source-evidence/EXPECTATIONS +10 -0
  50. package/evals/cases/stale-source-evidence/INPUT/package.json +8 -0
  51. package/evals/cases/stale-source-evidence/REQUEST.baseline.md +11 -0
  52. package/evals/cases/stale-source-evidence/REQUEST.md +12 -0
  53. package/evals/cases/weekend-library/EXPECTATIONS +19 -0
  54. package/evals/cases/weekend-library/REQUEST.baseline.md +10 -0
  55. package/evals/cases/weekend-library/REQUEST.md +11 -0
  56. package/evals/cases-roster.txt +19 -0
  57. package/evals/external/GRADE.schema.json +39 -0
  58. package/evals/external/README.md +42 -0
  59. package/evals/external/RUBRIC.md +32 -0
  60. package/evals/metrics/context-cost.json +154 -0
  61. package/evals/outcomes/README.md +65 -0
  62. package/evals/outcomes/cases/tenant-notes-api/REQUEST.baseline.md +14 -0
  63. package/evals/outcomes/cases/tenant-notes-api/REQUEST.md +13 -0
  64. package/evals/outcomes/cases/tenant-notes-api/VERIFY.sh +13 -0
  65. package/evals/outcomes/results/2026-07-23-tenant-notes-api-codex/README.md +93 -0
  66. package/evals/outcomes/results/2026-07-23-tenant-notes-api-codex/treatment/plan/PLAN.json +547 -0
  67. package/evals/runners/claude-baseline.sh +4 -0
  68. package/evals/runners/claude-grade.sh +3 -0
  69. package/evals/runners/claude.sh +4 -0
  70. package/evals/runners/codex-baseline.sh +181 -0
  71. package/evals/runners/codex-builder.sh +96 -0
  72. package/evals/runners/codex-godaudits.sh +84 -0
  73. package/evals/runners/codex.sh +147 -0
  74. package/evals/runners/gemini-baseline.sh +4 -0
  75. package/evals/runners/gemini-grade.sh +3 -0
  76. package/evals/runners/gemini.sh +4 -0
  77. package/evals/runners/vendor-cli.sh +257 -0
  78. package/evals/runners/vendor-grade.sh +82 -0
  79. package/install.sh +323 -0
  80. package/package.json +92 -4
  81. package/requirements/skills-ref.txt +2 -0
  82. package/scripts/build-catalog.js +114 -0
  83. package/scripts/build-prompt.sh +257 -0
  84. package/scripts/context-metrics.js +118 -0
  85. package/scripts/eval-external.js +226 -0
  86. package/scripts/eval-matrix.sh +172 -0
  87. package/scripts/eval-outcome.js +143 -0
  88. package/scripts/eval.sh +321 -0
  89. package/scripts/lint-parity.js +331 -0
  90. package/scripts/lint.sh +743 -0
  91. package/scripts/outcome-summary.js +126 -0
  92. package/scripts/release-check.sh +108 -0
  93. package/scripts/release-prepare.js +41 -0
  94. package/scripts/summarize-eval.js +91 -0
  95. package/scripts/summarize-matrix.js +101 -0
  96. package/scripts/version-sync.js +65 -0
  97. package/skills/godplans/SKILL.md +192 -0
  98. package/skills/godplans/references/agent-memory.md +168 -0
  99. package/skills/godplans/references/architecture.md +189 -0
  100. package/skills/godplans/references/build.md +130 -0
  101. package/skills/godplans/references/business.md +252 -0
  102. package/skills/godplans/references/code-quality.md +165 -0
  103. package/skills/godplans/references/compliance.md +59 -0
  104. package/skills/godplans/references/database.md +157 -0
  105. package/skills/godplans/references/deploy.md +146 -0
  106. package/skills/godplans/references/discovery.md +297 -0
  107. package/skills/godplans/references/doc-set.md +243 -0
  108. package/skills/godplans/references/exemplar.md +228 -0
  109. package/skills/godplans/references/launch.md +162 -0
  110. package/skills/godplans/references/llm.md +132 -0
  111. package/skills/godplans/references/observe.md +178 -0
  112. package/skills/godplans/references/plan-format.md +340 -0
  113. package/skills/godplans/references/product.md +130 -0
  114. package/skills/godplans/references/repo.md +184 -0
  115. package/skills/godplans/references/roadmap.md +158 -0
  116. package/skills/godplans/references/security.md +156 -0
  117. package/skills/godplans/references/seo.md +133 -0
  118. package/skills/godplans/references/stack.md +133 -0
  119. package/skills/godplans/references/style-genome.md +198 -0
  120. package/skills/godplans/references/ui.md +153 -0
  121. package/skills/godplans/references/ux.md +150 -0
  122. package/skills/godplans/schemas/PLAN.schema.json +275 -0
  123. package/skills/godplans/schemas/PLAN.v1.schema.json +258 -0
  124. package/skills/godplans/scripts/plan-halflife.sh +76 -0
  125. package/skills/godplans/scripts/style-stats.py +630 -0
  126. package/skills/godplans/scripts/validate-plan.sh +1709 -0
  127. package/skills/godplans/templates/PLAN.template.mdx +269 -0
  128. package/tests/agent-memory-guidance.sh +32 -0
  129. package/tests/build-catalog.sh +81 -0
  130. package/tests/codex-runner.sh +139 -0
  131. package/tests/eval-harness.sh +377 -0
  132. package/tests/evidence-harnesses.sh +243 -0
  133. package/tests/fixtures/plan-json-v1-1.13.0.json +472 -0
  134. package/tests/install-regression.sh +246 -0
  135. package/tests/lib/plan-schema-check.js +163 -0
  136. package/tests/lint-selftest.sh +582 -0
  137. package/tests/package-contents.sh +140 -0
  138. package/tests/portable-prompt.test.sh +261 -0
  139. package/tests/release-tooling.sh +204 -0
  140. package/tests/run.sh +14 -0
  141. package/tests/script-usage.sh +37 -0
  142. package/tests/style-stats.sh +170 -0
  143. package/tests/validate-plan.sh +1970 -0
  144. package/tests/vendor-runner.sh +291 -0
@@ -0,0 +1,547 @@
1
+ {
2
+ "applicability" : [
3
+ {
4
+ "domain" : "agent-memory",
5
+ "reason" : "A thin loader and three small pillars keep execution aligned without a full program",
6
+ "status" : "applicable"
7
+ },
8
+ {
9
+ "domain" : "architecture",
10
+ "reason" : "Tenant storage, authentication, public ids, wire format, and trust boundaries are load-bearing",
11
+ "status" : "applicable"
12
+ },
13
+ {
14
+ "domain" : "build",
15
+ "reason" : "Authenticated CRUD must be delivered as a real vertical slice",
16
+ "status" : "applicable"
17
+ },
18
+ {
19
+ "domain" : "code-quality",
20
+ "reason" : "Deterministic tests and a six-hour handoff require a small enforced quality baseline",
21
+ "status" : "applicable"
22
+ },
23
+ {
24
+ "domain" : "database",
25
+ "reason" : "Notes and identities must persist across restart with tenant constraints",
26
+ "status" : "applicable"
27
+ },
28
+ {
29
+ "domain" : "deploy",
30
+ "reason" : "The evaluation runs as a local Node process and explicitly excludes cloud deployment",
31
+ "status" : "excluded"
32
+ },
33
+ {
34
+ "domain" : "launch",
35
+ "reason" : "The evaluation ends at local verification and has no public activation",
36
+ "status" : "excluded"
37
+ },
38
+ {
39
+ "domain" : "llm",
40
+ "reason" : "The API performs deterministic note CRUD and makes no model calls",
41
+ "status" : "excluded"
42
+ },
43
+ {
44
+ "domain" : "observe",
45
+ "reason" : "Trigger: before the first non-evaluator user or uptime promise. Local logs and health ship now; backend, SLO, paging, and runbook infrastructure remain reversible without service commitments",
46
+ "status" : "deferred"
47
+ },
48
+ {
49
+ "domain" : "product",
50
+ "reason" : "The six-hour gate needs an explicit user, outcome, cut policy, and negative scope",
51
+ "status" : "applicable"
52
+ },
53
+ {
54
+ "domain" : "repo",
55
+ "reason" : "The evaluator needs a reproducible local repository and one verification command",
56
+ "status" : "applicable"
57
+ },
58
+ {
59
+ "domain" : "roadmap",
60
+ "reason" : "The six-hour appetite requires dependency order and hard cut rules",
61
+ "status" : "applicable"
62
+ },
63
+ {
64
+ "domain" : "security",
65
+ "reason" : "Bearer authentication and multi-tenant CRUD create an IDOR boundary",
66
+ "status" : "applicable"
67
+ },
68
+ {
69
+ "domain" : "seo",
70
+ "reason" : "There is no crawlable page or public discovery surface",
71
+ "status" : "excluded"
72
+ },
73
+ {
74
+ "domain" : "stack",
75
+ "reason" : "Offline runtime, Node.js 22, and the time cap eliminate service-backed choices",
76
+ "status" : "applicable"
77
+ },
78
+ {
79
+ "domain" : "style-genome",
80
+ "reason" : "Greenfield naming and error conventions must be fixed before the first handler",
81
+ "status" : "applicable"
82
+ },
83
+ {
84
+ "domain" : "ui",
85
+ "reason" : "The deliverable is an HTTP contract with no rendered pixels",
86
+ "status" : "excluded"
87
+ },
88
+ {
89
+ "domain" : "ux",
90
+ "reason" : "The developer-facing contract needs predictable recovery-oriented errors",
91
+ "status" : "applicable"
92
+ }
93
+ ],
94
+ "archetype" : "api-service",
95
+ "created" : "2026-07-23",
96
+ "decisions" : [
97
+ {
98
+ "falsifier" : {
99
+ "failure_boundary" : "a third organization is required or opening configured stores consumes more than 100 ms p95",
100
+ "replan_action" : "return to planning and evaluate replacing fixed tenant files with a local authorization directory plus dynamic tenant registry or a shared PostgreSQL design with forced row-level security",
101
+ "signal" : "organization count and store-open duration from startup validation"
102
+ },
103
+ "id" : "D1",
104
+ "title" : "Use one relational database file per organization"
105
+ },
106
+ {
107
+ "falsifier" : {
108
+ "failure_boundary" : "the credential requirement changes to create, rotate, revoke, or recover a credential through the API",
109
+ "replan_action" : "return to planning and redesign authentication around a bounded identity lifecycle before adding any credential endpoint",
110
+ "signal" : "evaluator setup attempts and authentication failures from redacted security logs"
111
+ },
112
+ "id" : "D2",
113
+ "title" : "Use opaque bearer tokens mapped to immutable seeded principals"
114
+ },
115
+ {
116
+ "falsifier" : {
117
+ "failure_boundary" : "a required operation cannot be expressed without breaking an existing `/v1` request or response",
118
+ "replan_action" : "return to planning and redesign the breaking surface as `/v2` with an explicit compatibility and retirement path",
119
+ "signal" : "contract change log and consumer fixture failures"
120
+ },
121
+ "id" : "D3",
122
+ "title" : "Use REST JSON under `/v1` with UUID public ids"
123
+ },
124
+ {
125
+ "falsifier" : {
126
+ "failure_boundary" : "any mounted route is absent from `openapi.json` or any error escapes in another shape",
127
+ "replan_action" : "return to planning and replace the drifting generator or handler so one contract generator and one root error handler remain",
128
+ "signal" : "contract test diffs and responses not matching the Problem Details schema"
129
+ },
130
+ "id" : "D4",
131
+ "title" : "Generate one OpenAPI contract from runtime schemas and emit one error envelope"
132
+ },
133
+ {
134
+ "falsifier" : {
135
+ "failure_boundary" : "package acquisition is forbidden, a second process writes the same files, or sustained demand exceeds 10 requests per second",
136
+ "replan_action" : "return to planning and switch to the native runner-up for no-package setup or adopt a service database for multi-writer demand",
137
+ "signal" : "`npm run verify`, store lock errors, and the measured organization and writer counts"
138
+ },
139
+ "id" : "D5",
140
+ "title" : "Pin a small Node.js 22 stack with no runtime service"
141
+ }
142
+ ],
143
+ "format" : "godplans/plan-json@1",
144
+ "input_digest" : "sha256:108cd9f004f8eb0a427ecd6a51f2e06dd95032e63ff496d9f22aa26f7176f061",
145
+ "metrics" : {
146
+ "domains" : [
147
+ {
148
+ "active" : 2,
149
+ "domain" : "agent-memory",
150
+ "historical" : 2,
151
+ "superseded" : 0,
152
+ "supersession_rate" : 0
153
+ },
154
+ {
155
+ "active" : 3,
156
+ "domain" : "architecture",
157
+ "historical" : 3,
158
+ "superseded" : 0,
159
+ "supersession_rate" : 0
160
+ },
161
+ {
162
+ "active" : 6,
163
+ "domain" : "build",
164
+ "historical" : 6,
165
+ "superseded" : 0,
166
+ "supersession_rate" : 0
167
+ },
168
+ {
169
+ "active" : 6,
170
+ "domain" : "code-quality",
171
+ "historical" : 6,
172
+ "superseded" : 0,
173
+ "supersession_rate" : 0
174
+ },
175
+ {
176
+ "active" : 2,
177
+ "domain" : "database",
178
+ "historical" : 2,
179
+ "superseded" : 0,
180
+ "supersession_rate" : 0
181
+ },
182
+ {
183
+ "active" : 7,
184
+ "domain" : "product",
185
+ "historical" : 7,
186
+ "superseded" : 0,
187
+ "supersession_rate" : 0
188
+ },
189
+ {
190
+ "active" : 3,
191
+ "domain" : "repo",
192
+ "historical" : 3,
193
+ "superseded" : 0,
194
+ "supersession_rate" : 0
195
+ },
196
+ {
197
+ "active" : 1,
198
+ "domain" : "roadmap",
199
+ "historical" : 1,
200
+ "superseded" : 0,
201
+ "supersession_rate" : 0
202
+ },
203
+ {
204
+ "active" : 5,
205
+ "domain" : "security",
206
+ "historical" : 5,
207
+ "superseded" : 0,
208
+ "supersession_rate" : 0
209
+ },
210
+ {
211
+ "active" : 1,
212
+ "domain" : "stack",
213
+ "historical" : 1,
214
+ "superseded" : 0,
215
+ "supersession_rate" : 0
216
+ },
217
+ {
218
+ "active" : 1,
219
+ "domain" : "style-genome",
220
+ "historical" : 1,
221
+ "superseded" : 0,
222
+ "supersession_rate" : 0
223
+ },
224
+ {
225
+ "active" : 1,
226
+ "domain" : "ux",
227
+ "historical" : 1,
228
+ "superseded" : 0,
229
+ "supersession_rate" : 0
230
+ }
231
+ ],
232
+ "task_history" : {
233
+ "active" : 7,
234
+ "historical" : 7,
235
+ "superseded" : 0,
236
+ "supersession_rate" : 0,
237
+ "survival_rate" : 1
238
+ }
239
+ },
240
+ "mode" : "greenfield",
241
+ "name" : "tenant-notes-api",
242
+ "phases" : [
243
+ {
244
+ "name" : "Contract and isolated persistence",
245
+ "number" : 1,
246
+ "tasks" : [
247
+ "GP-101",
248
+ "GP-102",
249
+ "GP-103"
250
+ ]
251
+ },
252
+ {
253
+ "name" : "Note CRUD and adversarial isolation",
254
+ "number" : 2,
255
+ "tasks" : [
256
+ "GP-201",
257
+ "GP-202",
258
+ "GP-203"
259
+ ]
260
+ },
261
+ {
262
+ "name" : "Verification",
263
+ "number" : 3,
264
+ "tasks" : [
265
+ "GP-301"
266
+ ]
267
+ }
268
+ ],
269
+ "plan_digest" : "sha256:a7a21f366124e70865204928efbaace90a3ede8e5e689f8ea33a9bf010c6982f",
270
+ "plan_version" : 1,
271
+ "product_form" : "api-or-service",
272
+ "progress" : {
273
+ "phases_done" : 0,
274
+ "phases_total" : 3,
275
+ "tasks_done" : 0,
276
+ "tasks_total" : 7
277
+ },
278
+ "public_release" : false,
279
+ "source_revision" : "none",
280
+ "status" : "planning",
281
+ "superseded_tasks" : [],
282
+ "tasks" : [
283
+ {
284
+ "acceptance" : "package scripts pin Node 22 and exact dependencies from D5; Biome, AST budgets, and strict TypeScript are the only quality tools; dependency intake records registry, publisher, downloads, license, and advisory evidence before install and produces a lockfile; ADR contains `Flip point:`, `Blast radius:`, and two rejected alternatives; loader, pillars, routing fixtures, root attributes, and Tier 1 inventory match the plan",
285
+ "depends_on" : [],
286
+ "done" : false,
287
+ "files" : "package.json, package-lock.json, tsconfig.json, biome.json, .npmrc, .editorconfig, .gitattributes, .gitignore, AGENTS.md, agents/context.md, agents/repo.md, agents/quality.md, CODEDNA.md, docs/adr/001-local-tenant-isolation.md, scripts/check-source-budgets.ts, scripts/check-dependencies.ts, scripts/hollow-check.ts, scripts/validate-pillars.mjs, tests/pillars-routing.json",
288
+ "id" : "GP-101",
289
+ "phase" : 1,
290
+ "requirements" : [
291
+ "R-1.4",
292
+ "R-PRD-1",
293
+ "R-PRD-2",
294
+ "R-PRD-8",
295
+ "R-PRD-11",
296
+ "R-PRD-15",
297
+ "R-STACK-1",
298
+ "R-STACK-4",
299
+ "R-STACK-8",
300
+ "R-STACK-12",
301
+ "R-STACK-14",
302
+ "R-CODE-1",
303
+ "R-CODE-5",
304
+ "R-CODE-6",
305
+ "R-CODE-17",
306
+ "R-DNA-1",
307
+ "R-DNA-14",
308
+ "R-DNA-16",
309
+ "R-DNA-18",
310
+ "R-MEM-1",
311
+ "R-MEM-2",
312
+ "R-MEM-5",
313
+ "R-MEM-16",
314
+ "R-MEM-18",
315
+ "R-MEM-21",
316
+ "R-REPO-1",
317
+ "R-REPO-3",
318
+ "R-REPO-4",
319
+ "R-REPO-10",
320
+ "R-REPO-11",
321
+ "R-REPO-14",
322
+ "R-REPO-17",
323
+ "R-REPO-18",
324
+ "R-REPO-20",
325
+ "R-BUILD-14"
326
+ ],
327
+ "reuses" : "D1 through D5, the glossary, the style genome, and the agent-memory contract in this plan",
328
+ "verify" : "`npm ci --ignore-scripts && npm run format:check && npm run lint && npm run typecheck && npm run pillars:check && npm run supply-chain`",
329
+ "wave" : "W1.1"
330
+ },
331
+ {
332
+ "acceptance" : "seed requires four generated token values, stores only hashes with eight-hour expiry, and documents rotate-by-reseed in README; each store contains one organization and two users with mode `0600`; all DDL CHECK, foreign-key child indexes, composite owner-organization integrity, and list index exist; migration up/down and duplicate-token startup failure are deterministic tests",
333
+ "depends_on" : [
334
+ "GP-101"
335
+ ],
336
+ "done" : false,
337
+ "files" : "config/identities.json, src/config.ts, src/db/migrations/0001-init.sql, src/db/migrate.ts, src/db/open-store.ts, src/db/seed.ts, tests/db.test.ts, tests/helpers/stores.ts",
338
+ "id" : "GP-102",
339
+ "phase" : 1,
340
+ "requirements" : [
341
+ "R-1.1",
342
+ "R-1.5",
343
+ "R-PRD-7",
344
+ "R-DB-1",
345
+ "R-DB-2",
346
+ "R-DB-5",
347
+ "R-DB-6",
348
+ "R-DB-8",
349
+ "R-DB-10",
350
+ "R-DB-17",
351
+ "R-DB-19",
352
+ "R-DB-22",
353
+ "R-SEC-8",
354
+ "R-SEC-12",
355
+ "R-SEC-13",
356
+ "R-BUILD-3"
357
+ ],
358
+ "reuses" : "physical tenant choice D1, token choice D2, and database invariants in `## Architecture`",
359
+ "verify" : "`npm test -- tests/db.test.ts`",
360
+ "wave" : "W1.1"
361
+ },
362
+ {
363
+ "acceptance" : "every protected route passes constant-time token verification and the failed-auth limiter; missing, expired, and invalid tokens return the documented Problem Details; POST plus GET persists and rereads one real note while rejecting identity fields and bodies above 16 KiB; generated `openapi.json` matches mounted routes and the phase-one smoke passes with external network calls disabled",
364
+ "depends_on" : [
365
+ "GP-102"
366
+ ],
367
+ "done" : false,
368
+ "files" : "src/app.ts, src/auth.ts, src/errors.ts, src/schemas.ts, src/routes/contract.ts, src/notes/repository.ts, src/notes/service.ts, src/notes/routes.ts, scripts/generate-openapi.ts, scripts/offline-smoke.ts, openapi.json, README.md, tests/auth.test.ts, tests/contract.test.ts, tests/phase1-smoke.test.ts",
369
+ "id" : "GP-103",
370
+ "phase" : 1,
371
+ "requirements" : [
372
+ "R-1.1",
373
+ "R-1.2",
374
+ "R-1.4",
375
+ "R-PRD-3",
376
+ "R-PRD-4",
377
+ "R-PRD-5",
378
+ "R-PRD-6",
379
+ "R-PRD-10",
380
+ "R-PRD-13",
381
+ "R-ARCH-13",
382
+ "R-ARCH-20",
383
+ "R-SEC-1",
384
+ "R-SEC-3",
385
+ "R-SEC-4",
386
+ "R-SEC-5",
387
+ "R-SEC-13",
388
+ "R-SEC-16",
389
+ "R-SEC-19",
390
+ "R-SEC-24",
391
+ "R-UX-1",
392
+ "R-UX-2",
393
+ "R-UX-6",
394
+ "R-UX-7",
395
+ "R-UX-20",
396
+ "R-CODE-2",
397
+ "R-CODE-8",
398
+ "R-CODE-9",
399
+ "R-CODE-10",
400
+ "R-CODE-12",
401
+ "R-BUILD-4",
402
+ "R-BUILD-5",
403
+ "R-BUILD-10",
404
+ "R-BUILD-13"
405
+ ],
406
+ "reuses" : "canonical endpoint shape, D2 bearer lookup, D3 versioning, D4 envelope, and GP-102 store opener",
407
+ "verify" : "`npm run contract:check && npm test -- tests/auth.test.ts tests/contract.test.ts tests/phase1-smoke.test.ts && npm run smoke:offline -- --phase1`",
408
+ "wave" : "W1.1"
409
+ },
410
+ {
411
+ "acceptance" : "POST, list, GET, PATCH, and DELETE return the statuses and DTOs in `openapi.json`; owner and organization are derived and immutable; every load and mutation includes organization id in prepared SQL; cursor pagination is stable and same-organization peers can read and update while owner remains the creator; contract and README examples change in the same task",
412
+ "depends_on" : [
413
+ "GP-103"
414
+ ],
415
+ "done" : false,
416
+ "files" : "src/notes/repository.ts, src/notes/service.ts, src/notes/routes.ts, src/notes/cursor.ts, openapi.json, README.md, tests/notes-crud.test.ts",
417
+ "id" : "GP-201",
418
+ "phase" : 2,
419
+ "requirements" : [
420
+ "R-1.2",
421
+ "R-1.6",
422
+ "R-PRD-6",
423
+ "R-ARCH-5",
424
+ "R-ARCH-6",
425
+ "R-DB-10",
426
+ "R-DB-12",
427
+ "R-DB-14",
428
+ "R-SEC-3",
429
+ "R-SEC-4",
430
+ "R-CODE-3",
431
+ "R-CODE-8",
432
+ "R-CODE-9",
433
+ "R-CODE-10",
434
+ "R-CODE-14",
435
+ "R-CODE-15",
436
+ "R-CODE-18",
437
+ "R-BUILD-4",
438
+ "R-BUILD-5",
439
+ "R-BUILD-10",
440
+ "R-BUILD-13",
441
+ "R-BUILD-16"
442
+ ],
443
+ "reuses" : "canonical route shape from GP-103, prepared store access from GP-102, root error mapping, injected clock, and injected id source",
444
+ "verify" : "`npm test -- tests/notes-crud.test.ts && npm run contract:check && npm run hollow:check`",
445
+ "wave" : "W2.1"
446
+ },
447
+ {
448
+ "acceptance" : "the five exact cases in `## Trust boundaries and threat model` execute through HTTP injection; patch and delete denial each re-read B's note and assert every original field; restart closes all connections, reconstructs the app from the same directory, and rereads the same public note; tests perform no external network call and pass in either file order",
449
+ "depends_on" : [
450
+ "GP-201"
451
+ ],
452
+ "done" : false,
453
+ "files" : "tests/tenant-isolation.test.ts, tests/restart.test.ts, tests/helpers/fakes.ts",
454
+ "id" : "GP-202",
455
+ "phase" : 2,
456
+ "requirements" : [
457
+ "R-1.3",
458
+ "R-1.5",
459
+ "R-PRD-9",
460
+ "R-SEC-3",
461
+ "R-SEC-25",
462
+ "R-CODE-8",
463
+ "R-CODE-10",
464
+ "R-CODE-24",
465
+ "R-BUILD-13"
466
+ ],
467
+ "reuses" : "mounted app fixture, deterministic clock and UUID source, and GP-201 public HTTP routes",
468
+ "verify" : "`npm test -- tests/tenant-isolation.test.ts tests/restart.test.ts`",
469
+ "wave" : "W2.1"
470
+ },
471
+ {
472
+ "acceptance" : "`/healthz` returns 503 Problem Details when either store cannot answer `SELECT 1`; API responses carry no-store and nosniff with no wildcard CORS, and 31 failed auth attempts from one IP produce 429 Problem Details; security logs redact credentials and content, then emit a local spike event at 10 denials per minute; locked install, high-advisory audit, CycloneDX SBOM, and tracked-secret scan pass; README reaches token generation, seed, start, CRUD, and `npm run verify` in at most five Quick Start commands",
473
+ "depends_on" : [
474
+ "GP-202"
475
+ ],
476
+ "done" : false,
477
+ "files" : "src/health.ts, src/logger.ts, src/security-headers.ts, README.md, docs/runbook.md, artifacts/sbom.cdx.json, scripts/scan-secrets.ts, tests/health.test.ts, tests/logging.test.ts, tests/hardening.test.ts",
478
+ "id" : "GP-203",
479
+ "phase" : 2,
480
+ "requirements" : [
481
+ "R-1.7",
482
+ "R-PRD-7",
483
+ "R-SEC-12",
484
+ "R-SEC-13",
485
+ "R-SEC-15",
486
+ "R-SEC-16",
487
+ "R-SEC-17",
488
+ "R-SEC-20",
489
+ "R-SEC-24",
490
+ "R-CODE-17",
491
+ "R-CODE-18",
492
+ "R-CODE-19",
493
+ "R-CODE-20",
494
+ "R-REPO-7",
495
+ "R-REPO-16",
496
+ "R-REPO-19",
497
+ "R-REPO-21",
498
+ "R-BUILD-15"
499
+ ],
500
+ "reuses" : "D5 local process, GP-102 store checks, GP-103 root logger, and GP-201 CRUD fixture",
501
+ "verify" : "`npm test -- tests/health.test.ts tests/logging.test.ts tests/hardening.test.ts && npm run supply-chain && npm run secrets:check && npm run smoke:offline`",
502
+ "wave" : "W2.1"
503
+ },
504
+ {
505
+ "acceptance" : "format, AST budgets, strict typecheck, build, contract, supply-chain, secret, Pillars, unit, integration, and end-to-end checks all pass twice; offline smoke succeeds with external network calls disabled; hollow scan finds no unowned marker, placeholder route, raw console log, identity field binding, or direct SQL in route files; runtime components, single writers, and tenant boundaries match `## Architecture`",
506
+ "depends_on" : [
507
+ "GP-203"
508
+ ],
509
+ "done" : false,
510
+ "files" : "none",
511
+ "id" : "GP-301",
512
+ "phase" : 3,
513
+ "requirements" : [
514
+ "R-1.1",
515
+ "R-1.2",
516
+ "R-1.3",
517
+ "R-1.4",
518
+ "R-1.5",
519
+ "R-1.6",
520
+ "R-1.7",
521
+ "R-PRD-5",
522
+ "R-PRD-9",
523
+ "R-ARCH-17",
524
+ "R-CODE-7",
525
+ "R-CODE-21",
526
+ "R-CODE-22",
527
+ "R-CODE-24",
528
+ "R-MEM-16",
529
+ "R-MEM-17",
530
+ "R-MEM-22",
531
+ "R-REPO-3",
532
+ "R-REPO-14",
533
+ "R-REPO-17",
534
+ "R-REPO-19",
535
+ "R-REPO-20",
536
+ "R-ROAD-15",
537
+ "R-ROAD-17",
538
+ "R-ROAD-20"
539
+ ],
540
+ "reuses" : "every local check, test fixture, contract generator, offline smoke, and phase checkpoint",
541
+ "verify" : "`npm run verify && npm run verify`",
542
+ "wave" : "W3.1"
543
+ }
544
+ ],
545
+ "updated" : "2026-07-23",
546
+ "validated_at" : "2026-07-23T05:04:00Z"
547
+ }
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env bash
2
+ set -eu
3
+ GODPLANS_VENDOR_PROVIDER=claude GODPLANS_VENDOR_ARM=baseline \
4
+ exec "$(dirname "$0")/vendor-cli.sh" "$@"
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env bash
2
+ set -eu
3
+ GODPLANS_GRADE_PROVIDER=claude exec "$(dirname "$0")/vendor-grade.sh" "$@"
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env bash
2
+ set -eu
3
+ GODPLANS_VENDOR_PROVIDER=claude GODPLANS_VENDOR_ARM=skill \
4
+ exec "$(dirname "$0")/vendor-cli.sh" "$@"