@open-agent-toolkit/cli 0.2.73 → 0.2.75

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 (149) hide show
  1. package/assets/bundle-metadata.json +1 -1
  2. package/assets/docs/cli-utilities/configuration.md +3 -56
  3. package/assets/docs/cli-utilities/tool-packs.md +4 -4
  4. package/assets/docs/contributing/code.md +2 -2
  5. package/assets/docs/contributing/index.md +0 -1
  6. package/assets/docs/reference/cli-reference.md +1 -1
  7. package/assets/docs/reference/troubleshooting.md +17 -40
  8. package/assets/docs/workflows/projects/artifacts.md +16 -34
  9. package/assets/docs/workflows/projects/lifecycle.md +20 -19
  10. package/assets/docs/workflows/skills/explainer-kit.md +180 -440
  11. package/assets/docs/workflows/skills/index.md +1 -2
  12. package/assets/public-package-versions.json +4 -4
  13. package/assets/skills/explainer-kit/SKILL.md +96 -171
  14. package/assets/skills/explainer-kit/recipes/engineer-tour.json +1 -22
  15. package/assets/skills/explainer-kit/recipes/program-recap.json +1 -29
  16. package/assets/skills/explainer-kit/recipes/project-explainer.json +1 -22
  17. package/assets/skills/explainer-kit/recipes/project-recap.v2.json +1 -43
  18. package/assets/skills/explainer-kit/references/fact-base-contract.md +76 -101
  19. package/assets/skills/explainer-kit/references/recap-authoring.md +99 -0
  20. package/assets/skills/explainer-kit/schemas/manifest.schema.json +13 -135
  21. package/assets/skills/explainer-kit/scripts/bundle.mjs +712 -0
  22. package/assets/skills/explainer-kit/scripts/lib/claim-subject.mjs +40 -0
  23. package/assets/skills/explainer-kit/scripts/lib/contracts.mjs +113 -1504
  24. package/assets/skills/explainer-kit/scripts/lib/failure.mjs +13 -0
  25. package/assets/skills/explainer-kit/scripts/lib/package-coverage.mjs +57 -403
  26. package/assets/skills/explainer-kit/scripts/lib/qa-result.mjs +168 -0
  27. package/assets/skills/explainer-kit/scripts/lib/qa.mjs +90 -488
  28. package/assets/skills/explainer-kit/scripts/lib/recipes.mjs +28 -545
  29. package/assets/skills/explainer-kit/scripts/lib/run-package.mjs +120 -0
  30. package/assets/skills/explainer-kit/scripts/lib/sanitize.mjs +42 -0
  31. package/assets/skills/explainer-kit/scripts/record.mjs +335 -0
  32. package/assets/skills/explainer-kit/scripts/verify.mjs +648 -0
  33. package/assets/skills/oat-explainer-kit/SKILL.md +57 -117
  34. package/assets/skills/oat-explainer-kit/references/config-contract.md +20 -64
  35. package/assets/skills/oat-explainer-kit/references/lifecycle-contract.md +85 -237
  36. package/assets/skills/oat-explainer-kit/scripts/bind-project-sources.mjs +18 -10
  37. package/assets/skills/oat-explainer-kit/scripts/check-core.mjs +1 -0
  38. package/assets/skills/oat-explainer-kit/scripts/check-terminal-outcome.mjs +256 -21
  39. package/assets/skills/oat-explainer-kit/scripts/persist-intent.mjs +82 -3
  40. package/assets/skills/oat-explainer-kit/scripts/resolve-config.mjs +0 -162
  41. package/assets/skills/oat-explainer-kit/scripts/resolve-intent.mjs +57 -123
  42. package/assets/skills/oat-project-autonomous/SKILL.md +14 -13
  43. package/assets/skills/oat-project-autonomous/references/gate-inventory.md +165 -165
  44. package/assets/skills/oat-project-complete/SKILL.md +168 -349
  45. package/assets/skills/oat-project-complete/scripts/consume-persisted-recap-intent.mjs +125 -0
  46. package/assets/skills/oat-project-complete/scripts/execute-synced-archive-entry.mjs +0 -30
  47. package/assets/skills/oat-project-complete/scripts/parse-completion-retry-fields.mjs +4 -37
  48. package/assets/skills/oat-project-complete/scripts/parse-synced-archive-resume-fields.mjs +17 -16
  49. package/assets/skills/oat-project-complete/scripts/recover-completion-receipts.mjs +9 -174
  50. package/assets/skills/oat-project-complete/scripts/resolve-completion-retry.mjs +1 -2
  51. package/assets/skills/oat-project-document/SKILL.md +1 -1
  52. package/assets/skills/oat-project-document/references/docs/autonomy-contract.md +165 -165
  53. package/assets/skills/oat-project-implement/SKILL.md +1 -1
  54. package/assets/skills/oat-project-implement/references/completion-and-closeout.md +44 -56
  55. package/assets/skills/oat-project-implement/references/docs/autonomy-contract.md +165 -165
  56. package/assets/skills/oat-project-lite/SKILL.md +1 -1
  57. package/assets/skills/oat-project-lite/references/docs/autonomy-contract.md +165 -165
  58. package/assets/skills/oat-project-plan/SKILL.md +5 -6
  59. package/assets/skills/oat-project-pr-final/SKILL.md +1 -1
  60. package/assets/skills/oat-project-pr-final/references/docs/autonomy-contract.md +165 -165
  61. package/assets/skills/oat-project-quick-start/SKILL.md +1 -1
  62. package/assets/skills/oat-project-quick-start/references/docs/autonomy-contract.md +165 -165
  63. package/assets/skills/oat-project-summary/SKILL.md +35 -25
  64. package/assets/skills/oat-wave-execute/SKILL.md +11 -36
  65. package/assets/skills/oat-wave-program/SKILL.md +13 -37
  66. package/dist/commands/config/index.d.ts.map +1 -1
  67. package/dist/commands/config/index.js +9 -113
  68. package/dist/commands/project/archive/archive-utils.d.ts.map +1 -1
  69. package/dist/commands/project/archive/archive-utils.js +32 -184
  70. package/dist/commands/project/archive/explainer-package-coverage.d.ts +3 -8
  71. package/dist/commands/project/archive/explainer-package-coverage.d.ts.map +1 -1
  72. package/dist/commands/project/archive/explainer-package-coverage.js +1 -1
  73. package/dist/config/oat-config.d.ts +0 -11
  74. package/dist/config/oat-config.d.ts.map +1 -1
  75. package/dist/config/oat-config.js +0 -34
  76. package/dist/config/resolve.d.ts.map +1 -1
  77. package/dist/config/resolve.js +0 -8
  78. package/dist/release/public-package-contract.d.ts.map +1 -1
  79. package/dist/release/public-package-contract.js +2 -10
  80. package/dist/validation/project-state.d.ts.map +1 -1
  81. package/dist/validation/project-state.js +42 -3
  82. package/package.json +2 -2
  83. package/assets/docs/contributing/explainer-kit-verification.md +0 -133
  84. package/assets/docs/workflows/skills/explainer-kit-providers.md +0 -155
  85. package/assets/skills/explainer-kit/briefs/deep-dive.md +0 -35
  86. package/assets/skills/explainer-kit/briefs/project-page.md +0 -38
  87. package/assets/skills/explainer-kit/briefs/supporting-diagram.md +0 -28
  88. package/assets/skills/explainer-kit/briefs/walkthrough-deck.md +0 -35
  89. package/assets/skills/explainer-kit/examples/project-explainer/content.md +0 -31
  90. package/assets/skills/explainer-kit/examples/project-explainer/fact-base.md +0 -22
  91. package/assets/skills/explainer-kit/examples/project-recap/content.md +0 -77
  92. package/assets/skills/explainer-kit/examples/project-recap/fact-base.json +0 -104
  93. package/assets/skills/explainer-kit/examples/project-recap/fact-base.md +0 -44
  94. package/assets/skills/explainer-kit/examples/theme-bundle.json +0 -87
  95. package/assets/skills/explainer-kit/recipes/project-recap.v1.json +0 -93
  96. package/assets/skills/explainer-kit/references/contracts.md +0 -324
  97. package/assets/skills/explainer-kit/references/destination-contract.md +0 -210
  98. package/assets/skills/explainer-kit/references/extension-contract.md +0 -80
  99. package/assets/skills/explainer-kit/references/golden-conformance.md +0 -80
  100. package/assets/skills/explainer-kit/references/visual-review.md +0 -71
  101. package/assets/skills/explainer-kit/schemas/author-request.v2.schema.json +0 -212
  102. package/assets/skills/explainer-kit/schemas/author-request.v3.schema.json +0 -241
  103. package/assets/skills/explainer-kit/schemas/author-result.v2.schema.json +0 -52
  104. package/assets/skills/explainer-kit/schemas/build-record.schema.json +0 -98
  105. package/assets/skills/explainer-kit/schemas/durability-evidence.schema.json +0 -53
  106. package/assets/skills/explainer-kit/schemas/publish-receipt.v1.schema.json +0 -97
  107. package/assets/skills/explainer-kit/schemas/publish-receipt.v2.schema.json +0 -215
  108. package/assets/skills/explainer-kit/schemas/publish-request.v1.schema.json +0 -32
  109. package/assets/skills/explainer-kit/schemas/publish-request.v2.schema.json +0 -34
  110. package/assets/skills/explainer-kit/schemas/run-request.schema.json +0 -147
  111. package/assets/skills/explainer-kit/schemas/set-plan.v1.schema.json +0 -149
  112. package/assets/skills/explainer-kit/schemas/terminal-evidence.v1.schema.json +0 -81
  113. package/assets/skills/explainer-kit/schemas/visual-review-evidence.v1.schema.json +0 -66
  114. package/assets/skills/explainer-kit/schemas/visual-review-request.v1.schema.json +0 -117
  115. package/assets/skills/explainer-kit/schemas/visual-review-result.v1.schema.json +0 -80
  116. package/assets/skills/explainer-kit/scripts/lib/catalog.mjs +0 -349
  117. package/assets/skills/explainer-kit/scripts/lib/content-approval.mjs +0 -418
  118. package/assets/skills/explainer-kit/scripts/lib/diagram.mjs +0 -514
  119. package/assets/skills/explainer-kit/scripts/lib/durability.mjs +0 -643
  120. package/assets/skills/explainer-kit/scripts/lib/fact-base.mjs +0 -664
  121. package/assets/skills/explainer-kit/scripts/lib/internal-references.mjs +0 -538
  122. package/assets/skills/explainer-kit/scripts/lib/markdown.mjs +0 -414
  123. package/assets/skills/explainer-kit/scripts/lib/publication-policy.mjs +0 -54
  124. package/assets/skills/explainer-kit/scripts/lib/records.mjs +0 -954
  125. package/assets/skills/explainer-kit/scripts/lib/render.mjs +0 -703
  126. package/assets/skills/explainer-kit/scripts/lib/s3-roots.mjs +0 -353
  127. package/assets/skills/explainer-kit/scripts/lib/s3-static.mjs +0 -759
  128. package/assets/skills/explainer-kit/scripts/lib/set-plan.mjs +0 -209
  129. package/assets/skills/explainer-kit/scripts/lib/source-backlinks.mjs +0 -218
  130. package/assets/skills/explainer-kit/scripts/lib/terminal-evidence.mjs +0 -157
  131. package/assets/skills/explainer-kit/scripts/lib/visual-review.mjs +0 -400
  132. package/assets/skills/explainer-kit/scripts/publish.mjs +0 -76
  133. package/assets/skills/explainer-kit/scripts/record-durability.mjs +0 -64
  134. package/assets/skills/explainer-kit/scripts/render-qa.mjs +0 -461
  135. package/assets/skills/explainer-kit/scripts/run.mjs +0 -3038
  136. package/assets/skills/explainer-kit/scripts/validate.mjs +0 -59
  137. package/assets/skills/oat-explainer-kit/references/author-callback.md +0 -53
  138. package/assets/skills/oat-explainer-kit/references/migration.md +0 -144
  139. package/assets/skills/oat-explainer-kit/references/visual-review-callback.md +0 -83
  140. package/assets/skills/oat-explainer-kit/scripts/derive-destination.mjs +0 -91
  141. package/assets/skills/oat-explainer-kit/scripts/finalize-tracked-run.mjs +0 -531
  142. package/assets/skills/oat-explainer-kit/scripts/probe-recap-seams.mjs +0 -371
  143. package/assets/skills/oat-explainer-kit/scripts/run.mjs +0 -905
  144. package/dist/commands/project/archive/explainer-source-backlinks.d.ts +0 -18
  145. package/dist/commands/project/archive/explainer-source-backlinks.d.ts.map +0 -1
  146. package/dist/commands/project/archive/explainer-source-backlinks.js +0 -27
  147. package/dist/commands/project/archive/explainer-terminal-evidence.d.ts +0 -29
  148. package/dist/commands/project/archive/explainer-terminal-evidence.d.ts.map +0 -1
  149. package/dist/commands/project/archive/explainer-terminal-evidence.js +0 -37
@@ -5,7 +5,7 @@ disable-model-invocation: false
5
5
  user-invocable: true
6
6
  allowed-tools: Read, Write, Bash(git:*), Bash(jq:*), Bash(oat config:*), Bash(oat decision:*), Bash(oat pjm:*), Bash(oat project log:*), Bash(oat project push:*), Bash(oat project scope:*), Bash(oat tools:*), Glob, Grep, AskUserQuestion
7
7
  metadata:
8
- version: 1.5.5
8
+ version: 1.5.6
9
9
  ---
10
10
 
11
11
  # Project Summary
@@ -258,21 +258,21 @@ spec, or design artifacts.
258
258
 
259
259
  **Non-lite section sources:**
260
260
 
261
- | Section | Primary Sources |
262
- | ------------------------------ | --------------------------------------------------------------------------------- |
263
- | Overview | discovery.md initial request, spec.md problem statement |
264
- | What Was Implemented | implementation.md task outcomes, plan.md phase structure |
265
- | Key Decisions | design.md decisions, implementation.md notes/decisions |
266
- | Design Deltas | implementation.md deviations table; review-received design drift notes |
267
- | Notable Challenges | implementation.md issues/blockers in task notes |
268
- | Tradeoffs Made | implementation.md decisions, design.md tradeoff sections |
269
- | Integration Notes | implementation.md notes about cross-cutting concerns |
270
- | Revision History | plan.md p-revN phases, implementation.md revision notes |
271
- | Follow-up Items | implementation.md deferred findings, plan.md deferred items |
272
- | Associated Issues | state.md `associated_issues` field |
273
- | Workflow Observations | project-log.md via `oat project log rollup` only |
274
- | Autonomous Execution Learnings | oat-execution-learnings.md dated entries |
275
- | Explainer Outcome | project-recap `manifest.json` and `build-record.json`, or the recorded recap skip |
261
+ | Section | Primary Sources |
262
+ | ------------------------------ | ------------------------------------------------------------------------------ |
263
+ | Overview | discovery.md initial request, spec.md problem statement |
264
+ | What Was Implemented | implementation.md task outcomes, plan.md phase structure |
265
+ | Key Decisions | design.md decisions, implementation.md notes/decisions |
266
+ | Design Deltas | implementation.md deviations table; review-received design drift notes |
267
+ | Notable Challenges | implementation.md issues/blockers in task notes |
268
+ | Tradeoffs Made | implementation.md decisions, design.md tradeoff sections |
269
+ | Integration Notes | implementation.md notes about cross-cutting concerns |
270
+ | Revision History | plan.md p-revN phases, implementation.md revision notes |
271
+ | Follow-up Items | implementation.md deferred findings, plan.md deferred items |
272
+ | Associated Issues | state.md `associated_issues` field |
273
+ | Workflow Observations | project-log.md via `oat project log rollup` only |
274
+ | Autonomous Execution Learnings | oat-execution-learnings.md dated entries |
275
+ | Explainer Outcome | project-recap `manifest.json` and `qa/result.json`, or the recorded recap skip |
276
276
 
277
277
  **Explainer Outcome (conditional):**
278
278
 
@@ -282,11 +282,11 @@ section with exactly one item. A run that happened uses the first form:
282
282
  ```markdown
283
283
  ## Explainer Outcome
284
284
 
285
- - **project-recap:** {generated | degraded} {outcome} — `{run path}`{optional warning or recovery note}
285
+ - **project-recap:** {generated | generated — needs review | failed} — `{run path}`{optional reason or cause}
286
286
  ```
287
287
 
288
- A recap that never ran because a required seam was unavailable uses the second
289
- form, which has a reason and no run path:
288
+ A recap that did not run because persisted intent records a skip uses the
289
+ second form, which has a reason and no run path:
290
290
 
291
291
  ```markdown
292
292
  ## Explainer Outcome
@@ -294,11 +294,21 @@ form, which has a reason and no run path:
294
294
  - **project-recap:** skipped — {skip reason}
295
295
  ```
296
296
 
297
- Include exactly one concise item with its recipe, state (`generated`, `degraded`, or `skipped`), and either its outcome (`built-durable`, `built-not-durable`, `built-needs-review`, or `failed`) with run path, or its skip reason. Add a warning or recovery note when applicable. Use `generated` for `built-durable`, `degraded` for any other terminal outcome, and `skipped` only for a recap whose intent resolved to skip.
297
+ Include exactly one concise item with its recipe and run path or skip reason:
298
298
 
299
- Use `manifest.json` and `build-record.json` as the source of truth for a run, and the recorded recap intent for a skip; refresh the existing item instead of appending a duplicate.
299
+ - `generated` for manifest outcome `built`;
300
+ - `generated — needs review` for `built-needs-review`, including the reason
301
+ from `qa/result.json`;
302
+ - `failed` for `failed` or `incomplete`, including the sanitized cause; and
303
+ - `skipped` only when persisted recap intent resolves to skip.
300
304
 
301
- Omit `Explainer Outcome` only when no project-recap attempt and no recorded recap skip exist. A degraded or skipped recap remains visible as its own product outcome; do not reinterpret either as project implementation failure. A `capability_probe` skip means the host had no provider configured for a required seam, not that the recap failed.
305
+ Use `manifest.json` and `qa/result.json` as the source of truth for a run, and
306
+ the persisted recap intent for a skip. Refresh the existing item instead of
307
+ appending a duplicate.
308
+
309
+ Omit `Explainer Outcome` only when no project-recap attempt and no persisted
310
+ recap skip exist. A failed or skipped recap remains visible as its own product
311
+ outcome; do not reinterpret it as project implementation failure.
302
312
 
303
313
  **Autonomous Execution Learnings (conditional):**
304
314
 
@@ -652,6 +662,6 @@ Summary tracks: last task {task_id}, {N} revision phases
652
662
  ledger graduation
653
663
  - When the PJM tool pack is available, each Key Decision is promoted to a canonical `reference/decisions/DR-YYMMDD-slug` record via `oat decision new` (status `accepted`), deduped on the date-independent slug so re-runs never create duplicate records
654
664
  - When the PJM tool pack is unavailable, decision promotion is skipped silently with no prompt
655
- - A project-recap attempt or recorded capability skip appears once in a concise
656
- Explainer Outcome section sourced from its manifest and build record, or from
657
- the recorded recap intent
665
+ - A project-recap attempt or recorded skip appears once in a concise Explainer
666
+ Outcome section sourced from `manifest.json` and `qa/result.json`, or from the
667
+ persisted recap intent
@@ -6,7 +6,7 @@ disable-model-invocation: false
6
6
  user-invocable: true
7
7
  allowed-tools: Read, Write, Edit, Bash, Grep, Glob, Task
8
8
  metadata:
9
- version: 1.9.3
9
+ version: 1.9.4
10
10
  ---
11
11
 
12
12
  # Execute a Wave of External Plans
@@ -460,41 +460,16 @@ archive anything first.
460
460
 
461
461
  #### Program-close recap explainer caller
462
462
 
463
- The orchestrator owns fact-base synthesis. At program close it synthesizes an
464
- `explainer-kit.fact-base/v1` document from the reconciled execution-program
465
- artifact, ALL wave summaries, and ALL completion records. Its required keys are
466
- exactly:
467
- `schemaVersion, generatedAt, mode, freshnessPolicy, sources, claims, unresolvedClaims, overrides`.
468
-
469
- The caller also owns CONTENT AUTHORING, exactly as it owns critic execution and
470
- fact-base synthesis: the kit validates structure and fact consistency, but
471
- nothing in it owns prose quality. Every recap run requires exactly one
472
- provider-neutral author seam — in-process callers supply an `author(request)`
473
- callback; JSON/CLI callers supply `authorModulePath` naming a module with an
474
- `author` function export. The core invokes it for every floor and accepted
475
- expansion artifact with `author-request/v2`: the artifact brief is inlined,
476
- the fact base is attached, and artistic requests include the resolved theme
477
- and hash-pinned shell. Authors may propose only recipe-declared expansion
478
- profiles and return `author-result/v2`; runs fail on absent or invalid author
479
- results or excessive verbatim source copying. Callbacks and module paths never
480
- enter persisted run requests.
481
-
482
- The mechanical caller constructs an `explainer-kit.run-request/v1` document whose
483
- required keys are exactly:
484
- `schemaVersion, recipe, slug, outputRoot, factBase, mode`. Set `recipe` to
485
- `{ "id": "program-recap", "version": "1" }`; this is an object with exactly
486
- `id` and `version`. Set `outputRoot` to
487
- `.oat/repo/reference/explainers/<slug>/`. Bind the
488
- synthesized fact-base file through `factBase` with the required keys
489
- `mode, freshnessPolicy`, set `mode` to `"supplied"`, set `freshnessPolicy` to
490
- `"live-wins"`, and set `path` to that file.
491
-
492
- After the run, read the `explainer-kit.manifest/v1` document. Its required keys
493
- are exactly:
494
- `schemaVersion, runId, slug, recipe, createdAt, source, theme, artifacts, immutableHashes, outcome, buildRecord, warnings`.
495
- Record the default program recap's manifest `runId` and `outcome` in the
496
- program ledger; use a wave ledger row only for an explicitly requested per-wave
497
- recap. Publishing is human-gated; this caller never invokes publish.
463
+ At program close, invoke `oat-explainer-kit` § Generate with recipe
464
+ `program-recap` over the reconciled execution-program artifact and the selected
465
+ wave summaries and completion records. The adapter resolves approved inputs,
466
+ theme, and the repository output root, then runs bundle, host-agent authoring,
467
+ verification, and recording in unattended mode.
468
+
469
+ Record the resulting manifest `runId` and `outcome` in the program ledger; use
470
+ a wave ledger row only for an explicitly requested per-wave recap. If the flow
471
+ fails before recording, preserve the sanitized cause and record the explicit
472
+ retry or skip disposition.
498
473
 
499
474
  ## Success Criteria
500
475
 
@@ -6,7 +6,7 @@ disable-model-invocation: false
6
6
  user-invocable: true
7
7
  allowed-tools: Read, Write, Edit, Bash, Grep, Glob, Task
8
8
  metadata:
9
- version: 1.5.2
9
+ version: 1.5.3
10
10
  ---
11
11
 
12
12
  # Program a Corpus of External Plans into Waves
@@ -129,46 +129,22 @@ target (same disclaimer as the plan indexes).
129
129
  `SKILL.md` as a document until then, and flip every
130
130
  `completion tail: deferred to program close` ledger disposition to `done`. On
131
131
  no or defer, record the standing deferral and its owner in the program ledger.
132
- This is the program completion gate and mirrors the recap publish gate; never
133
- answer it autonomously or repeat it once per wave.
132
+ This is the program completion gate; never answer it autonomously or repeat
133
+ it once per wave.
134
134
 
135
135
  ### Program-close explainer caller
136
136
 
137
137
  At program close by default, or for a per-wave recap explicitly requested by the
138
- operator, the orchestrator owns fact-base synthesis. For the default program
139
- recap it synthesizes an `explainer-kit.fact-base/v1` document from the reconciled
140
- execution-program artifact, ALL wave summaries, and ALL completion records. Its
141
- required keys are exactly:
142
- `schemaVersion, generatedAt, mode, freshnessPolicy, sources, claims, unresolvedClaims, overrides`.
143
-
144
- The caller also owns CONTENT AUTHORING, exactly as it owns critic execution and
145
- fact-base synthesis: the kit validates structure and fact consistency, but
146
- nothing in it owns prose quality. Every recap run requires exactly one
147
- provider-neutral author seam — in-process callers supply an `author(request)`
148
- callback; JSON/CLI callers supply `authorModulePath` naming a module with an
149
- `author` function export. The core invokes it for every floor and accepted
150
- expansion artifact with `author-request/v2`: the artifact brief is inlined,
151
- the fact base is attached, and artistic requests include the resolved theme
152
- and hash-pinned shell. Authors may propose only recipe-declared expansion
153
- profiles and return `author-result/v2`; runs fail on absent or invalid author
154
- results or excessive verbatim source copying. Callbacks and module paths never
155
- enter persisted run requests.
156
-
157
- The mechanical caller constructs an `explainer-kit.run-request/v1` document whose
158
- required keys are exactly:
159
- `schemaVersion, recipe, slug, outputRoot, factBase, mode`. Set `recipe` to
160
- `{ "id": "program-recap", "version": "1" }`; this is an object with exactly
161
- `id` and `version`. Set `outputRoot` to
162
- `.oat/repo/reference/explainers/<slug>/`. Bind the
163
- synthesized fact-base file through `factBase` with the required keys
164
- `mode, freshnessPolicy`, set `mode` to `"supplied"`, set `freshnessPolicy` to
165
- `"live-wins"`, and set `path` to that file.
166
-
167
- After the run, read the `explainer-kit.manifest/v1` document. Its required keys
168
- are exactly:
169
- `schemaVersion, runId, slug, recipe, createdAt, source, theme, artifacts, immutableHashes, outcome, buildRecord, warnings`.
170
- Record the manifest's `runId` and `outcome` in the wave or program ledger row.
171
- Publishing is human-gated; this caller never invokes publish.
138
+ operator, invoke `oat-explainer-kit` § Generate with recipe `program-recap`
139
+ over the reconciled execution-program artifact and the selected wave summaries
140
+ and completion records. The adapter resolves the approved inputs, theme, and
141
+ repository output root, then runs bundle, host-agent authoring, verification,
142
+ and recording in unattended mode.
143
+
144
+ Record the resulting manifest `runId` and `outcome` in the program ledger. Use
145
+ a wave ledger row only for an explicitly requested per-wave recap. If the flow
146
+ fails before recording, preserve the sanitized cause and record the explicit
147
+ retry or skip disposition.
172
148
 
173
149
  ## Integration with `oat-wave-execute`
174
150
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/config/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAIhF,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,iCAAiC,CAAC;AAoBzC,OAAO,EAML,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,cAAc,EAQnB,KAAK,UAAU,EAmBhB,MAA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,CAAM,GACjD,OAAO,CAqLT"}
@@ -76,12 +76,6 @@ const KEY_ORDER = [
76
76
  'explainers.defaults.palette',
77
77
  'explainers.defaults.visualProfile',
78
78
  'explainers.defaults.themeBundlePath',
79
- 'explainers.publish.provider',
80
- 'explainers.publish.s3Uri',
81
- 'explainers.publish.publicBaseUrl',
82
- 'explainers.publish.awsRegion',
83
- 'explainers.publish.publicAccess',
84
- 'explainers.publish.awsProfile',
85
79
  'git.defaultBranch',
86
80
  'projects.root',
87
81
  'projects.defaultScope',
@@ -480,72 +474,6 @@ const CONFIG_CATALOG = [
480
474
  owningCommand: 'oat config set explainers.defaults.themeBundlePath <path> [--local|--shared]',
481
475
  description: 'Theme bundle path; shared values must be repository-relative and local values may be absolute.',
482
476
  },
483
- {
484
- key: 'explainers.publish.provider',
485
- group: 'Explainer Publish (shared)',
486
- file: '.oat/config.json',
487
- scope: 'shared repo',
488
- type: 's3-static',
489
- defaultValue: 'unset',
490
- mutability: 'read/write',
491
- owningCommand: 'oat config set explainers.publish.provider s3-static --shared',
492
- description: 'Static publishing provider for explainer artifacts.',
493
- },
494
- {
495
- key: 'explainers.publish.s3Uri',
496
- group: 'Explainer Publish (shared)',
497
- file: '.oat/config.json',
498
- scope: 'shared repo',
499
- type: 's3:// URI',
500
- defaultValue: 'unset',
501
- mutability: 'read/write',
502
- owningCommand: 'oat config set explainers.publish.s3Uri <s3://bucket/prefix> --shared',
503
- description: 'Shared S3 destination root for explainer publishing.',
504
- },
505
- {
506
- key: 'explainers.publish.publicBaseUrl',
507
- group: 'Explainer Publish (shared)',
508
- file: '.oat/config.json',
509
- scope: 'shared repo',
510
- type: 'https:// URL',
511
- defaultValue: 'unset',
512
- mutability: 'read/write',
513
- owningCommand: 'oat config set explainers.publish.publicBaseUrl <https://url> --shared',
514
- description: 'Shared public URL root for published explainer artifacts.',
515
- },
516
- {
517
- key: 'explainers.publish.awsRegion',
518
- group: 'Explainer Publish (shared)',
519
- file: '.oat/config.json',
520
- scope: 'shared repo',
521
- type: 'non-empty string',
522
- defaultValue: 'unset',
523
- mutability: 'read/write',
524
- owningCommand: 'oat config set explainers.publish.awsRegion <region> --shared',
525
- description: 'AWS region used for explainer publishing.',
526
- },
527
- {
528
- key: 'explainers.publish.publicAccess',
529
- group: 'Explainer Publish (shared)',
530
- file: '.oat/config.json',
531
- scope: 'shared repo',
532
- type: 'public | protected',
533
- defaultValue: 'public',
534
- mutability: 'read/write',
535
- owningCommand: 'oat config set explainers.publish.publicAccess <public|protected> --shared',
536
- description: 'Declares whether published explainer URLs support anonymous access; it does not authorize publication.',
537
- },
538
- {
539
- key: 'explainers.publish.awsProfile',
540
- group: 'Explainer Publish Credentials (local > user)',
541
- file: '.oat/config.local.json | ~/.oat/config.json',
542
- scope: 'local or user',
543
- type: 'non-empty string',
544
- defaultValue: 'unset',
545
- mutability: 'read/write',
546
- owningCommand: 'oat config set explainers.publish.awsProfile <profile> [--local|--user]',
547
- description: 'Checkout- or user-specific AWS profile used for explainer publishing.',
548
- },
549
477
  {
550
478
  key: 'workflow.explainers.projectExplainer',
551
479
  group: 'Workflow Preferences (3-layer: local > shared > user)',
@@ -1092,30 +1020,6 @@ function parseExplainerValue(key, rawValue, surface) {
1092
1020
  }
1093
1021
  return value;
1094
1022
  }
1095
- if (key === 'explainers.publish.provider') {
1096
- if (value !== 's3-static') {
1097
- throw new Error(`Invalid value for ${key}: expected 's3-static', got '${rawValue}'.`);
1098
- }
1099
- return value;
1100
- }
1101
- if (key === 'explainers.publish.s3Uri') {
1102
- if (!/^s3:\/\/[^/\s]+(?:\/.*)?$/.test(value)) {
1103
- throw new Error(`Invalid value for ${key}: expected an s3:// URI, got '${rawValue}'.`);
1104
- }
1105
- return value.replace(/\/+$/, '');
1106
- }
1107
- if (key === 'explainers.publish.publicBaseUrl') {
1108
- if (!/^https:\/\/[^/\s]+(?:\/.*)?$/.test(value)) {
1109
- throw new Error(`Invalid value for ${key}: expected an https:// URL, got '${rawValue}'.`);
1110
- }
1111
- return value.replace(/\/+$/, '');
1112
- }
1113
- if (key === 'explainers.publish.publicAccess') {
1114
- if (value !== 'public' && value !== 'protected') {
1115
- throw new Error(`Invalid value for ${key}: expected 'public' or 'protected', got '${rawValue}'.`);
1116
- }
1117
- return value;
1118
- }
1119
1023
  return value;
1120
1024
  }
1121
1025
  const WORKFLOW_ENUM_VALUES = {
@@ -1201,11 +1105,7 @@ function validateSurfaceForKey(key, surface) {
1201
1105
  key === 'explainers.defaults.palette' ||
1202
1106
  key === 'explainers.defaults.visualProfile'
1203
1107
  ? ['shared', 'local', 'user']
1204
- : key === 'explainers.defaults.themeBundlePath'
1205
- ? ['shared', 'local']
1206
- : key === 'explainers.publish.awsProfile'
1207
- ? ['local', 'user']
1208
- : ['shared'];
1108
+ : ['shared', 'local'];
1209
1109
  if (!allowed.includes(surface)) {
1210
1110
  throw new Error(`Cannot set '${key}' at '${surface}' scope. Allowed scopes: ${allowed.join(', ')}.`);
1211
1111
  }
@@ -1248,8 +1148,7 @@ function defaultSurfaceForKey(key) {
1248
1148
  if (key === 'explainers.defaults.style' ||
1249
1149
  key === 'explainers.defaults.palette' ||
1250
1150
  key === 'explainers.defaults.visualProfile' ||
1251
- key === 'explainers.defaults.themeBundlePath' ||
1252
- key === 'explainers.publish.awsProfile') {
1151
+ key === 'explainers.defaults.themeBundlePath') {
1253
1152
  return 'local';
1254
1153
  }
1255
1154
  if (isWorkflowKey(key) || isStateKey(key)) {
@@ -1873,18 +1772,15 @@ async function setConfigValue(repoRoot, userConfigDir, key, rawValue, surface, d
1873
1772
  }
1874
1773
  if (key.startsWith('explainers.')) {
1875
1774
  const nextValue = parseExplainerValue(key, rawValue, effectiveSurface);
1876
- const section = key.startsWith('explainers.defaults.')
1877
- ? 'defaults'
1878
- : 'publish';
1879
- const field = key.slice(`explainers.${section}.`.length);
1775
+ const field = key.slice('explainers.defaults.'.length);
1880
1776
  if (effectiveSurface === 'user') {
1881
1777
  const userConfig = await dependencies.readUserConfig(userConfigDir);
1882
1778
  await dependencies.writeUserConfig(userConfigDir, {
1883
1779
  ...userConfig,
1884
1780
  explainers: {
1885
1781
  ...userConfig.explainers,
1886
- [section]: {
1887
- ...userConfig.explainers?.[section],
1782
+ defaults: {
1783
+ ...userConfig.explainers?.defaults,
1888
1784
  [field]: nextValue,
1889
1785
  },
1890
1786
  },
@@ -1897,8 +1793,8 @@ async function setConfigValue(repoRoot, userConfigDir, key, rawValue, surface, d
1897
1793
  ...localConfig,
1898
1794
  explainers: {
1899
1795
  ...localConfig.explainers,
1900
- [section]: {
1901
- ...localConfig.explainers?.[section],
1796
+ defaults: {
1797
+ ...localConfig.explainers?.defaults,
1902
1798
  [field]: nextValue,
1903
1799
  },
1904
1800
  },
@@ -1910,8 +1806,8 @@ async function setConfigValue(repoRoot, userConfigDir, key, rawValue, surface, d
1910
1806
  ...sharedConfig,
1911
1807
  explainers: {
1912
1808
  ...sharedConfig.explainers,
1913
- [section]: {
1914
- ...sharedConfig.explainers?.[section],
1809
+ defaults: {
1810
+ ...sharedConfig.explainers?.defaults,
1915
1811
  [field]: nextValue,
1916
1812
  },
1917
1813
  },
@@ -1 +1 @@
1
- {"version":3,"file":"archive-utils.d.ts","sourceRoot":"","sources":["../../../../src/commands/project/archive/archive-utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAKL,MAAM,EAGP,MAAM,kBAAkB,CAAC;AAa1B,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EACL,gBAAgB,EAEhB,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,kBAAkB,EAClB,uBAAuB,EACvB,oBAAoB,EACpB,eAAe,EACf,KAAK,0BAA0B,EAChC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAEL,KAAK,YAAY,EAIlB,MAAM,gCAAgC,CAAC;AAExC,OAAO,EACL,aAAa,EACb,cAAc,EACd,SAA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,CAAC;IACrB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B,CA4BA;AAED,wBAAgB,8BAA8B,CAC5C,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,GAClB,MAAM,CAIR;AA2ID,wBAAsB,sBAAsB,CAC1C,QAAQ,EAAE,MAAM,EAChB,YAAY,GAAE,kCAAuC,GACpD,OAAO,CAAC,MAAM,CAAC,CAMjB;AAmGD,wBAAsB,2BAA2B,CAC/C,OAAO,EAAE,kCAAkC,EAC3C,YAAY,GAAE,uCAA4C,GACzD,OAAO,CAAC,oBAAoB,CAAC,CA2E/B;AAED,wBAAgB,iCAAiC,CAC/C,MAAM,EAAE,oBAAoB,GAC3B,IAAI,CAIN;AAqvBD,wBAAsB,oCAAoC,CACxD,WAAW,EAAE,MAAM,EACnB,eAAe,EAAE,MAAM,GACtB,OAAO,CAAC,IAAI,CAAC,CAEf;AA8JD,wBAAsB,0BAA0B,CAC9C,OAAO,EAAE,iCAAiC,EAC1C,YAAY,GAAE,sCAA2C,GACxD,OAAO,CAAC,gCAAgC,CAAC,CAua3C;AA+FD,wBAAsB,qBAAqB,CACzC,OAAO,EAAE,4BAA4B,EACrC,YAAY,GAAE,iCAAsC,GACnD,OAAO,CAAC,2BAA2B,CAAC,CA+CtC"}
1
+ {"version":3,"file":"archive-utils.d.ts","sourceRoot":"","sources":["../../../../src/commands/project/archive/archive-utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAKL,MAAM,EAGP,MAAM,kBAAkB,CAAC;AAa1B,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EACL,gBAAgB,EAEhB,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,kBAAkB,EAClB,uBAAuB,EACvB,oBAAoB,EACpB,eAAe,EACf,KAAK,0BAA0B,EAChC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,C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