@punks/cli 4.0.4 → 5.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 (110) hide show
  1. package/dist/BASELINE_CHANGELOG.md +20 -1
  2. package/dist/CHANGELOG.md +33 -0
  3. package/dist/baseline/scaffold-baseline/baseline.json +563 -5
  4. package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/authoring.d.mts +23 -0
  5. package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/authoring.mjs +84 -0
  6. package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/authoring.test.ts +79 -0
  7. package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/lint-feedback.test.ts +60 -28
  8. package/dist/baseline/scaffold-baseline/data/scripts/sync-subagents.mjs +166 -3
  9. package/dist/baseline/scaffold-baseline/data/shared-agents.md +55 -0
  10. package/dist/baseline/scaffold-baseline/skills/agnostic/cli/hi-cli/references/post-command-flow.md +12 -0
  11. package/dist/baseline/scaffold-baseline/skills/agnostic/generic/handoff/SKILL.md +18 -5
  12. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/SKILL.md +10 -2
  13. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/references/plan-schema.md +28 -8
  14. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/references/planner-task-graph.md +7 -3
  15. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-verification-skill/SKILL.md +66 -0
  16. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-verification-skill/references/upstream.md +20 -0
  17. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/SKILL.md +16 -41
  18. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/assets/IMPLEMENTATION-NOTES-TEMPLATE.md +14 -0
  19. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/references/architecture-conformance.md +10 -6
  20. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/references/lifecycle.md +47 -7
  21. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/references/parallel-orchestration.md +102 -134
  22. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/references/parallel-worker-brief.md +77 -67
  23. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/references/parallel.md +19 -39
  24. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/references/runtime-product-validation.md +27 -0
  25. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/swarm-planner/SKILL.md +27 -2
  26. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/update-verification-skill/SKILL.md +81 -0
  27. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/verify-behavior/SKILL.md +105 -65
  28. package/dist/baseline/scaffold-baseline/skills/agnostic/quality/autoreview/SKILL.md +17 -4
  29. package/dist/baseline/scaffold-baseline/skills/agnostic/quality/autoreview/scripts/autoreview +102 -5
  30. package/dist/baseline/scaffold-baseline/skills/agnostic/subagents/swarm-planner/SKILL.md +27 -2
  31. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/SKILL.md +11 -13
  32. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/backlog.md +4 -0
  33. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/closeout.md +12 -4
  34. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/debug.md +11 -5
  35. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/docs-ingest.md +4 -0
  36. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/handback.md +6 -2
  37. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/implement.md +12 -7
  38. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/plan.md +7 -1
  39. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/review.md +61 -22
  40. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/router.md +45 -91
  41. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/spec.md +4 -0
  42. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/references/artifact-state.md +21 -9
  43. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/references/context-continuity.md +109 -0
  44. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/references/failure-continuity.md +27 -0
  45. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/references/phase-handoff.md +32 -20
  46. package/dist/baseline/scaffold-baseline/skills/phases/docs-ingest-phase/SKILL.md +4 -0
  47. package/dist/baseline/scaffold-baseline/skills/phases/docs-ingest-phase/references/wiki-ingest.md +4 -0
  48. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/phases/prepare-review.md +41 -8
  49. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/phases/retain-report.md +13 -4
  50. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/phases/router.md +1 -1
  51. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/phases/run-review.md +24 -18
  52. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/references/durable-report.md +40 -6
  53. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/references/review-packet.md +72 -0
  54. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/references/runtime-handoff.md +3 -0
  55. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/references/state-graph.md +51 -42
  56. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/scripts/review-contract.mjs +239 -4
  57. package/dist/baseline/scaffold-baseline.json +5 -5
  58. package/dist/baseline/scaffold-baseline.tgz +0 -0
  59. package/dist/data/scripts/harness-projection/authoring.d.mts +23 -0
  60. package/dist/data/scripts/harness-projection/authoring.mjs +84 -0
  61. package/dist/data/scripts/sync-subagents.mjs +129 -3
  62. package/dist/index.js +1412 -1396
  63. package/dist/skills/agnostic/cli/hi-cli/references/post-command-flow.md +12 -0
  64. package/dist/skills/agnostic/generic/handoff/SKILL.md +18 -5
  65. package/dist/skills/agnostic/planning/create-plan/SKILL.md +10 -2
  66. package/dist/skills/agnostic/planning/create-plan/references/plan-schema.md +28 -8
  67. package/dist/skills/agnostic/planning/create-plan/references/planner-task-graph.md +7 -3
  68. package/dist/skills/agnostic/planning/create-verification-skill/SKILL.md +66 -0
  69. package/dist/skills/agnostic/planning/create-verification-skill/references/upstream.md +20 -0
  70. package/dist/skills/agnostic/planning/implement-spec/SKILL.md +16 -41
  71. package/dist/skills/agnostic/planning/implement-spec/assets/IMPLEMENTATION-NOTES-TEMPLATE.md +14 -0
  72. package/dist/skills/agnostic/planning/implement-spec/references/architecture-conformance.md +10 -6
  73. package/dist/skills/agnostic/planning/implement-spec/references/lifecycle.md +47 -7
  74. package/dist/skills/agnostic/planning/implement-spec/references/parallel-orchestration.md +102 -134
  75. package/dist/skills/agnostic/planning/implement-spec/references/parallel-worker-brief.md +77 -67
  76. package/dist/skills/agnostic/planning/implement-spec/references/parallel.md +19 -39
  77. package/dist/skills/agnostic/planning/implement-spec/references/runtime-product-validation.md +27 -0
  78. package/dist/skills/agnostic/planning/swarm-planner/SKILL.md +27 -2
  79. package/dist/skills/agnostic/planning/update-verification-skill/SKILL.md +81 -0
  80. package/dist/skills/agnostic/planning/verify-behavior/SKILL.md +105 -65
  81. package/dist/skills/agnostic/quality/autoreview/SKILL.md +17 -4
  82. package/dist/skills/agnostic/quality/autoreview/scripts/autoreview +102 -5
  83. package/dist/skills/agnostic/subagents/swarm-planner/SKILL.md +27 -2
  84. package/dist/skills/phases/delivery-phase/SKILL.md +11 -13
  85. package/dist/skills/phases/delivery-phase/phases/backlog.md +4 -0
  86. package/dist/skills/phases/delivery-phase/phases/closeout.md +12 -4
  87. package/dist/skills/phases/delivery-phase/phases/debug.md +11 -5
  88. package/dist/skills/phases/delivery-phase/phases/docs-ingest.md +4 -0
  89. package/dist/skills/phases/delivery-phase/phases/handback.md +6 -2
  90. package/dist/skills/phases/delivery-phase/phases/implement.md +12 -7
  91. package/dist/skills/phases/delivery-phase/phases/plan.md +7 -1
  92. package/dist/skills/phases/delivery-phase/phases/review.md +61 -22
  93. package/dist/skills/phases/delivery-phase/phases/router.md +45 -91
  94. package/dist/skills/phases/delivery-phase/phases/spec.md +4 -0
  95. package/dist/skills/phases/delivery-phase/references/artifact-state.md +21 -9
  96. package/dist/skills/phases/delivery-phase/references/context-continuity.md +109 -0
  97. package/dist/skills/phases/delivery-phase/references/failure-continuity.md +27 -0
  98. package/dist/skills/phases/delivery-phase/references/phase-handoff.md +32 -20
  99. package/dist/skills/phases/docs-ingest-phase/SKILL.md +4 -0
  100. package/dist/skills/phases/docs-ingest-phase/references/wiki-ingest.md +4 -0
  101. package/dist/skills/phases/review-phase/phases/prepare-review.md +40 -8
  102. package/dist/skills/phases/review-phase/phases/retain-report.md +13 -4
  103. package/dist/skills/phases/review-phase/phases/router.md +1 -1
  104. package/dist/skills/phases/review-phase/phases/run-review.md +24 -18
  105. package/dist/skills/phases/review-phase/references/durable-report.md +40 -6
  106. package/dist/skills/phases/review-phase/references/review-packet.md +72 -0
  107. package/dist/skills/phases/review-phase/references/runtime-handoff.md +3 -0
  108. package/dist/skills/phases/review-phase/references/state-graph.md +21 -12
  109. package/dist/skills/phases/review-phase/scripts/review-contract.mjs +137 -4
  110. package/package.json +4 -1
@@ -2,10 +2,19 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
- Compatibility: `>=4.0.0 <5`
5
+ Compatibility: `>=5.0.0 <5.1.0`
6
6
 
7
7
  ### Fixed
8
8
 
9
+ - Materialize Commit Gate setup from the selected nested package root in
10
+ repositories without a root `package.json`.
11
+ - Persist independently completed reconciliation receipt entries when Commit
12
+ Gate setup is deferred.
13
+ - Leave user-owned Lefthook configuration unpinned when Commit Gate is disabled
14
+ and no managed gate command exists.
15
+ - Reject wrapped formatter commands that enable write mode, including short
16
+ `-w` flags, from read-only Commit Gate format checks.
17
+
9
18
  - Make the globally scaffolded `.agents/AGENTS.md` prompt exactly match the canonical shared scaffold guidance.
10
19
 
11
20
  - Accept valid Commit Gate `lint` and `formatCheck` Quality Command Contracts before projection skip (#193).
@@ -28,6 +37,16 @@ Compatibility: `>=4.0.0 <5`
28
37
 
29
38
  ### Added
30
39
 
40
+ - Add explicit artifact obligations to scaffold, update, and check; preserve
41
+ planned workspace topology during isolated validation; recover interrupted
42
+ adoption and coupled publication; refresh only affected guidance scopes; and
43
+ install planned quality Commit Gate setup.
44
+ - Add compact pointer-based delivery context, dependency-ready task gates,
45
+ active write-scope ownership, project-owned executable verification, a frozen
46
+ review epoch, and bounded repair validation. V4.3 acceptance retains 170
47
+ satisfied criteria and four `excepted_not_passed` benchmark criteria
48
+ (AC-044–AC-047).
49
+
31
50
  - Distribute managed post-edit lint feedback with safe file-scoped formatting,
32
51
  normalized diagnostics, provider-specific delivery, and bounded retry
33
52
  protection.
package/dist/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.0.0 - 2026-09-10
4
+
5
+ ### Added
6
+
7
+ - Add explicit scaffold artifact obligations, baseline-delivered shared-agent
8
+ guidance, planned Commit Gate setup, and recovery for interrupted adoption
9
+ and coupled publication.
10
+ - Add dependency-ready delivery task gates, active write-scope ownership,
11
+ project-owned executable verification, a frozen review epoch, and bounded
12
+ repair validation.
13
+
14
+ ### Changed
15
+
16
+ - Preserve planned workspace topology during isolated scaffold validation,
17
+ refresh only affected guidance scopes, and retain project-owned verifier
18
+ references across scaffold and update flows.
19
+ - Use compact pointer-based worker context and durable handoff evidence while
20
+ keeping V4.3 acceptance at 170 satisfied criteria and four
21
+ `excepted_not_passed` benchmark criteria (AC-044–AC-047).
22
+
23
+ ### Fixed
24
+
25
+ - Inherit the process environment when generated JavaScript files run without
26
+ an explicit environment, while preserving explicitly supplied environments.
27
+ - Materialize Commit Gate setup from the selected nested package root in
28
+ repositories without a root `package.json`.
29
+ - Persist independently completed reconciliation receipt entries when Commit
30
+ Gate setup is deferred.
31
+ - Leave user-owned Lefthook configuration unpinned when Commit Gate is disabled
32
+ and no managed gate command exists.
33
+ - Reject wrapped formatter commands that enable write mode, including short
34
+ `-w` flags, from read-only Commit Gate format checks.
35
+
3
36
  ## 4.0.4 - 2026-09-03
4
37
 
5
38
  ### Fixed
@@ -1,12 +1,570 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "channel": "stable",
4
- "version": "2026.09.04-b9bb213d",
5
- "tag": "baseline/stable/2026.09.04-b9bb213d",
6
- "commit": "b9bb213dc490753020501ef81f42978d1caee89e",
4
+ "version": "2026.09.10-2742715b",
5
+ "tag": "baseline/stable/2026.09.10-2742715b",
6
+ "commit": "2742715b851c533aff245e27182e671cb9f99911",
7
7
  "sha256": null,
8
8
  "compatibility": {
9
- "cliVersionRange": ">=4.0.4 <4.1.0"
9
+ "cliVersionRange": ">=5.0.0 <5.1.0"
10
10
  },
11
- "generatedAt": "2026-09-04T01:28:29.000Z"
11
+ "generatedAt": "2026-09-10T09:52:11.000Z",
12
+ "capabilities": {
13
+ "scopedAuthoring": {
14
+ "revision": "1",
15
+ "skills": [
16
+ {
17
+ "activationRevision": "1",
18
+ "authoringRevision": "1",
19
+ "id": "agent-browser"
20
+ },
21
+ {
22
+ "activationRevision": "1",
23
+ "authoringRevision": "1",
24
+ "id": "backend-domain-structure"
25
+ },
26
+ {
27
+ "activationRevision": "1",
28
+ "authoringRevision": "1",
29
+ "id": "backend-recoverable-actions"
30
+ },
31
+ {
32
+ "activationRevision": "1",
33
+ "authoringRevision": "1",
34
+ "id": "logging-best-practices"
35
+ },
36
+ {
37
+ "activationRevision": "1",
38
+ "authoringRevision": "1",
39
+ "id": "architect-pipeline"
40
+ },
41
+ {
42
+ "activationRevision": "1",
43
+ "authoringRevision": "1",
44
+ "id": "audit-cicd-security"
45
+ },
46
+ {
47
+ "activationRevision": "1",
48
+ "authoringRevision": "1",
49
+ "id": "security-best-practices"
50
+ },
51
+ {
52
+ "activationRevision": "1",
53
+ "authoringRevision": "1",
54
+ "id": "better-auth-best-practices"
55
+ },
56
+ {
57
+ "activationRevision": "1",
58
+ "authoringRevision": "1",
59
+ "id": "better-auth-security-best-practices"
60
+ },
61
+ {
62
+ "activationRevision": "1",
63
+ "authoringRevision": "1",
64
+ "id": "create-plan"
65
+ },
66
+ {
67
+ "activationRevision": "1",
68
+ "authoringRevision": "1",
69
+ "id": "create-spec"
70
+ },
71
+ {
72
+ "activationRevision": "1",
73
+ "authoringRevision": "1",
74
+ "id": "delivery-phase"
75
+ },
76
+ {
77
+ "activationRevision": "1",
78
+ "authoringRevision": "1",
79
+ "id": "design-phase"
80
+ },
81
+ {
82
+ "activationRevision": "1",
83
+ "authoringRevision": "1",
84
+ "id": "debug-agent"
85
+ },
86
+ {
87
+ "activationRevision": "1",
88
+ "authoringRevision": "1",
89
+ "id": "debugging-phase"
90
+ },
91
+ {
92
+ "activationRevision": "1",
93
+ "authoringRevision": "1",
94
+ "id": "bug-discovery-phase"
95
+ },
96
+ {
97
+ "activationRevision": "1",
98
+ "authoringRevision": "1",
99
+ "id": "bug-resolution-phase"
100
+ },
101
+ {
102
+ "activationRevision": "1",
103
+ "authoringRevision": "1",
104
+ "id": "docs-ingest-phase"
105
+ },
106
+ {
107
+ "activationRevision": "1",
108
+ "authoringRevision": "1",
109
+ "id": "docs-onboarding"
110
+ },
111
+ {
112
+ "activationRevision": "1",
113
+ "authoringRevision": "1",
114
+ "id": "writing-fragments"
115
+ },
116
+ {
117
+ "activationRevision": "1",
118
+ "authoringRevision": "1",
119
+ "id": "writing-beats"
120
+ },
121
+ {
122
+ "activationRevision": "1",
123
+ "authoringRevision": "1",
124
+ "id": "writing-shape"
125
+ },
126
+ {
127
+ "activationRevision": "1",
128
+ "authoringRevision": "1",
129
+ "id": "effect-backend-structure"
130
+ },
131
+ {
132
+ "activationRevision": "1",
133
+ "authoringRevision": "1",
134
+ "id": "effect"
135
+ },
136
+ {
137
+ "activationRevision": "1",
138
+ "authoringRevision": "1",
139
+ "id": "effect-recoverable-actions"
140
+ },
141
+ {
142
+ "activationRevision": "1",
143
+ "authoringRevision": "1",
144
+ "id": "effect-service-design"
145
+ },
146
+ {
147
+ "activationRevision": "1",
148
+ "authoringRevision": "1",
149
+ "id": "sqlalchemy-schema-design"
150
+ },
151
+ {
152
+ "activationRevision": "1",
153
+ "authoringRevision": "1",
154
+ "id": "elysiajs"
155
+ },
156
+ {
157
+ "activationRevision": "1",
158
+ "authoringRevision": "1",
159
+ "id": "add-app-clip"
160
+ },
161
+ {
162
+ "activationRevision": "1",
163
+ "authoringRevision": "1",
164
+ "id": "animate-expo"
165
+ },
166
+ {
167
+ "activationRevision": "1",
168
+ "authoringRevision": "1",
169
+ "id": "building-native-ui"
170
+ },
171
+ {
172
+ "activationRevision": "1",
173
+ "authoringRevision": "1",
174
+ "id": "eas-simulator"
175
+ },
176
+ {
177
+ "activationRevision": "1",
178
+ "authoringRevision": "1",
179
+ "id": "eas-update-insights"
180
+ },
181
+ {
182
+ "activationRevision": "1",
183
+ "authoringRevision": "1",
184
+ "id": "expo-api-routes"
185
+ },
186
+ {
187
+ "activationRevision": "1",
188
+ "authoringRevision": "1",
189
+ "id": "expo-brownfield"
190
+ },
191
+ {
192
+ "activationRevision": "1",
193
+ "authoringRevision": "1",
194
+ "id": "expo-cicd-workflows"
195
+ },
196
+ {
197
+ "activationRevision": "1",
198
+ "authoringRevision": "1",
199
+ "id": "expo-deployment"
200
+ },
201
+ {
202
+ "activationRevision": "1",
203
+ "authoringRevision": "1",
204
+ "id": "expo-dev-client"
205
+ },
206
+ {
207
+ "activationRevision": "1",
208
+ "authoringRevision": "1",
209
+ "id": "expo-examples"
210
+ },
211
+ {
212
+ "activationRevision": "1",
213
+ "authoringRevision": "1",
214
+ "id": "expo-module"
215
+ },
216
+ {
217
+ "activationRevision": "1",
218
+ "authoringRevision": "1",
219
+ "id": "expo-observe"
220
+ },
221
+ {
222
+ "activationRevision": "1",
223
+ "authoringRevision": "1",
224
+ "id": "expo-skill-eval"
225
+ },
226
+ {
227
+ "activationRevision": "1",
228
+ "authoringRevision": "1",
229
+ "id": "expo-tailwind-setup"
230
+ },
231
+ {
232
+ "activationRevision": "1",
233
+ "authoringRevision": "1",
234
+ "id": "expo-ui"
235
+ },
236
+ {
237
+ "activationRevision": "1",
238
+ "authoringRevision": "1",
239
+ "id": "native-data-fetching"
240
+ },
241
+ {
242
+ "activationRevision": "1",
243
+ "authoringRevision": "1",
244
+ "id": "upgrading-expo"
245
+ },
246
+ {
247
+ "activationRevision": "1",
248
+ "authoringRevision": "1",
249
+ "id": "use-dom"
250
+ },
251
+ {
252
+ "activationRevision": "1",
253
+ "authoringRevision": "1",
254
+ "id": "web-to-native"
255
+ },
256
+ {
257
+ "activationRevision": "1",
258
+ "authoringRevision": "1",
259
+ "id": "pulumi-overview"
260
+ },
261
+ {
262
+ "activationRevision": "1",
263
+ "authoringRevision": "1",
264
+ "id": "pulumi-best-practices"
265
+ },
266
+ {
267
+ "activationRevision": "1",
268
+ "authoringRevision": "1",
269
+ "id": "pulumi-component"
270
+ },
271
+ {
272
+ "activationRevision": "1",
273
+ "authoringRevision": "1",
274
+ "id": "pulumi-automation-api"
275
+ },
276
+ {
277
+ "activationRevision": "1",
278
+ "authoringRevision": "1",
279
+ "id": "pulumi-esc"
280
+ },
281
+ {
282
+ "activationRevision": "1",
283
+ "authoringRevision": "1",
284
+ "id": "provider-upgrade"
285
+ },
286
+ {
287
+ "activationRevision": "1",
288
+ "authoringRevision": "1",
289
+ "id": "package-usage"
290
+ },
291
+ {
292
+ "activationRevision": "1",
293
+ "authoringRevision": "1",
294
+ "id": "animate"
295
+ },
296
+ {
297
+ "activationRevision": "1",
298
+ "authoringRevision": "1",
299
+ "id": "design-taste-frontend"
300
+ },
301
+ {
302
+ "activationRevision": "1",
303
+ "authoringRevision": "1",
304
+ "id": "imagegen-frontend-mobile"
305
+ },
306
+ {
307
+ "activationRevision": "1",
308
+ "authoringRevision": "1",
309
+ "id": "imagegen-frontend-web"
310
+ },
311
+ {
312
+ "activationRevision": "1",
313
+ "authoringRevision": "1",
314
+ "id": "frontend-domain-structure"
315
+ },
316
+ {
317
+ "activationRevision": "1",
318
+ "authoringRevision": "1",
319
+ "id": "improve-mobile-frontend"
320
+ },
321
+ {
322
+ "activationRevision": "1",
323
+ "authoringRevision": "1",
324
+ "id": "review-animations"
325
+ },
326
+ {
327
+ "activationRevision": "1",
328
+ "authoringRevision": "1",
329
+ "id": "business-finder"
330
+ },
331
+ {
332
+ "activationRevision": "1",
333
+ "authoringRevision": "1",
334
+ "id": "finder-phase"
335
+ },
336
+ {
337
+ "activationRevision": "1",
338
+ "authoringRevision": "1",
339
+ "id": "functional-finder"
340
+ },
341
+ {
342
+ "activationRevision": "1",
343
+ "authoringRevision": "1",
344
+ "id": "goalify"
345
+ },
346
+ {
347
+ "activationRevision": "1",
348
+ "authoringRevision": "1",
349
+ "id": "grilling"
350
+ },
351
+ {
352
+ "activationRevision": "1",
353
+ "authoringRevision": "1",
354
+ "id": "handoff"
355
+ },
356
+ {
357
+ "activationRevision": "1",
358
+ "authoringRevision": "1",
359
+ "id": "handback"
360
+ },
361
+ {
362
+ "activationRevision": "1",
363
+ "authoringRevision": "1",
364
+ "id": "improve-codebase-architecture"
365
+ },
366
+ {
367
+ "activationRevision": "1",
368
+ "authoringRevision": "1",
369
+ "id": "implement-spec"
370
+ },
371
+ {
372
+ "activationRevision": "1",
373
+ "authoringRevision": "1",
374
+ "id": "verify-behavior"
375
+ },
376
+ {
377
+ "activationRevision": "1",
378
+ "authoringRevision": "1",
379
+ "id": "repo-asset-management"
380
+ },
381
+ {
382
+ "activationRevision": "1",
383
+ "authoringRevision": "1",
384
+ "id": "wayfinder"
385
+ },
386
+ {
387
+ "activationRevision": "1",
388
+ "authoringRevision": "1",
389
+ "id": "next-best-practices"
390
+ },
391
+ {
392
+ "activationRevision": "1",
393
+ "authoringRevision": "1",
394
+ "id": "next-cache-components"
395
+ },
396
+ {
397
+ "activationRevision": "1",
398
+ "authoringRevision": "1",
399
+ "id": "parallel-research"
400
+ },
401
+ {
402
+ "activationRevision": "1",
403
+ "authoringRevision": "1",
404
+ "id": "prototype"
405
+ },
406
+ {
407
+ "activationRevision": "1",
408
+ "authoringRevision": "1",
409
+ "id": "prototype-phase"
410
+ },
411
+ {
412
+ "activationRevision": "1",
413
+ "authoringRevision": "1",
414
+ "id": "async-python-patterns"
415
+ },
416
+ {
417
+ "activationRevision": "1",
418
+ "authoringRevision": "1",
419
+ "id": "python-code-style"
420
+ },
421
+ {
422
+ "activationRevision": "1",
423
+ "authoringRevision": "1",
424
+ "id": "python-design-patterns"
425
+ },
426
+ {
427
+ "activationRevision": "1",
428
+ "authoringRevision": "1",
429
+ "id": "python-backend-structure"
430
+ },
431
+ {
432
+ "activationRevision": "1",
433
+ "authoringRevision": "1",
434
+ "id": "python-testing-patterns"
435
+ },
436
+ {
437
+ "activationRevision": "1",
438
+ "authoringRevision": "1",
439
+ "id": "quality-types"
440
+ },
441
+ {
442
+ "activationRevision": "1",
443
+ "authoringRevision": "1",
444
+ "id": "codebase-design"
445
+ },
446
+ {
447
+ "activationRevision": "1",
448
+ "authoringRevision": "1",
449
+ "id": "async-react-patterns"
450
+ },
451
+ {
452
+ "activationRevision": "1",
453
+ "authoringRevision": "1",
454
+ "id": "react-doctor"
455
+ },
456
+ {
457
+ "activationRevision": "1",
458
+ "authoringRevision": "1",
459
+ "id": "domain-modeling"
460
+ },
461
+ {
462
+ "activationRevision": "1",
463
+ "authoringRevision": "1",
464
+ "id": "requirements-grill"
465
+ },
466
+ {
467
+ "activationRevision": "1",
468
+ "authoringRevision": "1",
469
+ "id": "requirements-phase"
470
+ },
471
+ {
472
+ "activationRevision": "1",
473
+ "authoringRevision": "1",
474
+ "id": "resolve-debt-phase"
475
+ },
476
+ {
477
+ "activationRevision": "1",
478
+ "authoringRevision": "1",
479
+ "id": "review-phase"
480
+ },
481
+ {
482
+ "activationRevision": "1",
483
+ "authoringRevision": "1",
484
+ "id": "review"
485
+ },
486
+ {
487
+ "activationRevision": "1",
488
+ "authoringRevision": "1",
489
+ "id": "autoreview"
490
+ },
491
+ {
492
+ "activationRevision": "1",
493
+ "authoringRevision": "1",
494
+ "id": "make-tsuite"
495
+ },
496
+ {
497
+ "activationRevision": "1",
498
+ "authoringRevision": "1",
499
+ "id": "simplify"
500
+ },
501
+ {
502
+ "activationRevision": "1",
503
+ "authoringRevision": "1",
504
+ "id": "swarm-planner"
505
+ },
506
+ {
507
+ "activationRevision": "1",
508
+ "authoringRevision": "1",
509
+ "id": "tanstack-query"
510
+ },
511
+ {
512
+ "activationRevision": "1",
513
+ "authoringRevision": "1",
514
+ "id": "tdd"
515
+ },
516
+ {
517
+ "activationRevision": "1",
518
+ "authoringRevision": "1",
519
+ "id": "wait-what"
520
+ },
521
+ {
522
+ "activationRevision": "1",
523
+ "authoringRevision": "1",
524
+ "id": "rule-authoring"
525
+ },
526
+ {
527
+ "activationRevision": "1",
528
+ "authoringRevision": "1",
529
+ "id": "show-me"
530
+ },
531
+ {
532
+ "activationRevision": "1",
533
+ "authoringRevision": "1",
534
+ "id": "writing-for-agents"
535
+ },
536
+ {
537
+ "activationRevision": "1",
538
+ "authoringRevision": "1",
539
+ "id": "write-graph-based-skills"
540
+ },
541
+ {
542
+ "activationRevision": "1",
543
+ "authoringRevision": "1",
544
+ "id": "turborepo"
545
+ },
546
+ {
547
+ "activationRevision": "1",
548
+ "authoringRevision": "1",
549
+ "id": "vercel-composition-patterns"
550
+ },
551
+ {
552
+ "activationRevision": "1",
553
+ "authoringRevision": "1",
554
+ "id": "vercel-react-best-practices"
555
+ },
556
+ {
557
+ "activationRevision": "1",
558
+ "authoringRevision": "1",
559
+ "id": "write-backlog"
560
+ }
561
+ ],
562
+ "version": 1
563
+ },
564
+ "sharedPrompt": {
565
+ "path": "data/shared-agents.md",
566
+ "sha256": "aeb2f6e427d67c64e78fba04b36fd5c90d1e2db03b39d6c23327a697304214da",
567
+ "version": 1
568
+ }
569
+ }
12
570
  }
@@ -0,0 +1,23 @@
1
+ import type { ContextPlan } from "@punks/scaffold/context-plan";
2
+
3
+ export interface ScopedAuthoringProof {
4
+ readonly scopeId: string;
5
+ readonly inputIdentity: string;
6
+ readonly status: "verified";
7
+ }
8
+
9
+ export interface ScopedAuthoringAction {
10
+ readonly scopeId: string;
11
+ readonly inputIdentity: string;
12
+ readonly trigger: "compatibility-unknown" | "unverified" | "inputs-changed";
13
+ readonly allowedOutputs: readonly string[];
14
+ readonly allowedAgentIds: readonly string[];
15
+ readonly completionEvidence: "validated-authored-output-and-native-projection";
16
+ }
17
+
18
+ export function scopeAuthoringIdentity(scope: ContextPlan["scopes"][number]): string;
19
+ export function readScopedAuthoringProofs(receipt: unknown): readonly ScopedAuthoringProof[];
20
+ export function assessScopedAuthoring(input: {
21
+ readonly contextPlan: ContextPlan;
22
+ readonly proofs: readonly ScopedAuthoringProof[];
23
+ }): readonly ScopedAuthoringAction[];