@open-agent-toolkit/cli 0.2.29 → 0.2.31
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.
- package/assets/bundle-metadata.json +1 -1
- package/assets/docs/cli-utilities/configuration.md +52 -1
- package/assets/docs/contributing/code.md +19 -7
- package/assets/docs/contributing/explainer-kit-verification.md +9 -1
- package/assets/docs/contributing/skills.md +9 -0
- package/assets/docs/workflows/projects/artifacts.md +5 -0
- package/assets/docs/workflows/projects/index.md +1 -0
- package/assets/docs/workflows/projects/lifecycle.md +23 -0
- package/assets/docs/workflows/projects/retro.md +261 -0
- package/assets/docs/workflows/skills/explainer-kit-providers.md +16 -5
- package/assets/docs/workflows/skills/explainer-kit.md +98 -38
- package/assets/docs/workflows/skills/index.md +6 -0
- package/assets/public-package-versions.json +4 -4
- package/assets/skills/explainer-kit/SKILL.md +33 -8
- package/assets/skills/explainer-kit/briefs/project-recap.md +25 -7
- package/assets/skills/explainer-kit/recipes/project-recap.v2.json +72 -0
- package/assets/skills/explainer-kit/references/contracts.md +49 -17
- package/assets/skills/explainer-kit/references/destination-contract.md +141 -25
- package/assets/skills/explainer-kit/references/extension-contract.md +19 -10
- package/assets/skills/explainer-kit/references/visual-authoring.md +24 -0
- package/assets/skills/explainer-kit/references/visual-review.md +19 -5
- package/assets/skills/explainer-kit/schemas/author-request.v3.schema.json +241 -0
- package/assets/skills/explainer-kit/schemas/publish-receipt.v2.schema.json +215 -0
- package/assets/skills/explainer-kit/schemas/publish-request.v2.schema.json +34 -0
- package/assets/skills/explainer-kit/schemas/run-request.schema.json +4 -1
- package/assets/skills/explainer-kit/schemas/terminal-evidence.v1.schema.json +81 -0
- package/assets/skills/explainer-kit/schemas/visual-review-evidence.v1.schema.json +66 -0
- package/assets/skills/explainer-kit/scripts/lib/catalog.mjs +109 -3
- package/assets/skills/explainer-kit/scripts/lib/contracts.mjs +550 -17
- package/assets/skills/explainer-kit/scripts/lib/durability.mjs +90 -8
- package/assets/skills/explainer-kit/scripts/lib/fs-safe.mjs +5 -0
- package/assets/skills/explainer-kit/scripts/lib/internal-references.mjs +538 -0
- package/assets/skills/explainer-kit/scripts/lib/package-coverage.mjs +129 -11
- package/assets/skills/explainer-kit/scripts/lib/publication-policy.mjs +54 -0
- package/assets/skills/explainer-kit/scripts/lib/recipes.mjs +2 -1
- package/assets/skills/explainer-kit/scripts/lib/records.mjs +139 -22
- package/assets/skills/explainer-kit/scripts/lib/s3-roots.mjs +353 -0
- package/assets/skills/explainer-kit/scripts/lib/s3-static.mjs +237 -107
- package/assets/skills/explainer-kit/scripts/lib/set-plan.mjs +1 -0
- package/assets/skills/explainer-kit/scripts/lib/terminal-evidence.mjs +157 -0
- package/assets/skills/explainer-kit/scripts/lib/visual-review.mjs +26 -6
- package/assets/skills/explainer-kit/scripts/run.mjs +1006 -144
- package/assets/skills/oat-explainer-kit/SKILL.md +16 -3
- package/assets/skills/oat-explainer-kit/references/config-contract.md +13 -8
- package/assets/skills/oat-explainer-kit/references/lifecycle-contract.md +50 -6
- package/assets/skills/oat-explainer-kit/references/migration.md +2 -1
- package/assets/skills/oat-explainer-kit/references/visual-review-callback.md +11 -0
- package/assets/skills/oat-explainer-kit/scripts/bind-project-sources.mjs +37 -15
- package/assets/skills/oat-explainer-kit/scripts/check-terminal-outcome.mjs +83 -0
- package/assets/skills/oat-explainer-kit/scripts/derive-destination.mjs +91 -0
- package/assets/skills/oat-explainer-kit/scripts/finalize-tracked-run.mjs +66 -10
- package/assets/skills/oat-explainer-kit/scripts/resolve-config.mjs +60 -21
- package/assets/skills/oat-explainer-kit/scripts/resolve-paths.mjs +52 -8
- package/assets/skills/oat-explainer-kit/scripts/run.mjs +271 -36
- package/assets/skills/oat-project-autonomous/references/gate-inventory.md +38 -38
- package/assets/skills/oat-project-complete/SKILL.md +60 -8
- package/assets/skills/oat-project-document/references/docs/autonomy-contract.md +38 -38
- package/assets/skills/oat-project-implement/SKILL.md +1 -1
- package/assets/skills/oat-project-implement/references/completion-and-closeout.md +28 -6
- package/assets/skills/oat-project-implement/references/docs/autonomy-contract.md +38 -38
- package/assets/skills/oat-project-pr-final/references/docs/autonomy-contract.md +38 -38
- package/assets/skills/oat-project-quick-start/references/docs/autonomy-contract.md +38 -38
- package/assets/skills/oat-project-retro/SKILL.md +310 -0
- package/assets/skills/oat-project-retro/references/apply-procedure.md +212 -0
- package/assets/skills/oat-project-retro/references/evidence-and-lanes.md +91 -0
- package/assets/skills/oat-project-retro/references/retro-quality-bar.md +100 -0
- package/assets/skills/oat-project-retro-file/SKILL.md +387 -0
- package/assets/templates/project-retro.md +236 -0
- package/dist/commands/config/index.d.ts.map +1 -1
- package/dist/commands/config/index.js +99 -0
- package/dist/commands/init/tools/shared/skill-manifest.d.ts +2 -2
- package/dist/commands/init/tools/shared/skill-manifest.d.ts.map +1 -1
- package/dist/commands/init/tools/shared/skill-manifest.js +3 -0
- package/dist/commands/project/archive/archive-utils.d.ts.map +1 -1
- package/dist/commands/project/archive/archive-utils.js +57 -7
- package/dist/commands/project/archive/explainer-terminal-evidence.d.ts +29 -0
- package/dist/commands/project/archive/explainer-terminal-evidence.d.ts.map +1 -0
- package/dist/commands/project/archive/explainer-terminal-evidence.js +37 -0
- package/dist/config/oat-config.d.ts +14 -1
- package/dist/config/oat-config.d.ts.map +1 -1
- package/dist/config/oat-config.js +42 -2
- package/dist/config/resolve.d.ts.map +1 -1
- package/dist/config/resolve.js +9 -0
- package/package.json +2 -2
- /package/assets/skills/explainer-kit/recipes/{project-recap.json → project-recap.v1.json} +0 -0
- /package/assets/skills/explainer-kit/schemas/{publish-receipt.schema.json → publish-receipt.v1.schema.json} +0 -0
- /package/assets/skills/explainer-kit/schemas/{publish-request.schema.json → publish-request.v1.schema.json} +0 -0
|
@@ -47,6 +47,10 @@ When all plan tasks are complete (i.e., there is no next incomplete `pNN-tNN` ta
|
|
|
47
47
|
- Verification performed (tests/lint/typecheck/build/manual)
|
|
48
48
|
- Design deltas (if any)
|
|
49
49
|
- This should reflect **what was actually implemented**, including any deviations from design and any review-fix work.
|
|
50
|
+
- Reconcile `"$PROJECT_PATH/state.md"`, `"$PROJECT_PATH/implementation.md"`,
|
|
51
|
+
and `"$PROJECT_PATH/plan.md"` so task totals, phase statuses, current-task
|
|
52
|
+
pointers, the final summary, and test results describe the same terminal
|
|
53
|
+
evidence. Stale interim markers block closeout until corrected.
|
|
50
54
|
|
|
51
55
|
Keep implementation in progress while clearing the completed task pointer:
|
|
52
56
|
|
|
@@ -678,6 +682,8 @@ legacy or structured preference, normalize legacy values before snapshotting:
|
|
|
678
682
|
`{ preApproval: ["summary"], postApproval: [] }`, `pr` → `{ preApproval:
|
|
679
683
|
["summary", "pr"], postApproval: [] }`, and `docs-pr` → `{ preApproval:
|
|
680
684
|
["summary", "document", "pr"], postApproval: [] }`.
|
|
685
|
+
These legacy mappings remain unchanged. Structured preferences additionally
|
|
686
|
+
accept `retro` in `postApproval`; `retro` is invalid in `preApproval`.
|
|
681
687
|
|
|
682
688
|
If `OAT_AUTONOMOUS=1` and the preference is unset, use the inventory's
|
|
683
689
|
autonomous lifecycle-tail default:
|
|
@@ -692,6 +698,8 @@ sequence snapshot as a configured structured value. Add
|
|
|
692
698
|
`source: autonomous-default` to that snapshot. A configured legacy or
|
|
693
699
|
structured preference remains authoritative and uses `source: configured`;
|
|
694
700
|
preserve its normalized arrays and stored order exactly.
|
|
701
|
+
The autonomous lifecycle-tail default remains unchanged and does not include
|
|
702
|
+
`retro`; retro runs autonomously only when explicitly configured.
|
|
695
703
|
|
|
696
704
|
Persist this immutable state before dispatching a child:
|
|
697
705
|
|
|
@@ -700,11 +708,11 @@ oat_post_implement_sequence:
|
|
|
700
708
|
status: pre_approval # pre_approval | awaiting_approval | post_approval | failed | complete
|
|
701
709
|
source: configured # configured | autonomous-default
|
|
702
710
|
final_phase: pNN
|
|
703
|
-
pre_approval: [
|
|
711
|
+
pre_approval: [] # replace with the exact normalized resolved array
|
|
704
712
|
pre_approval_completed: []
|
|
705
713
|
approval: pending # pending | approved | not_required
|
|
706
714
|
approval_source: null # null | user | oat-autonomous
|
|
707
|
-
post_approval: []
|
|
715
|
+
post_approval: [] # exact resolved array; add retro only when explicitly configured
|
|
708
716
|
post_approval_completed: []
|
|
709
717
|
failure: null
|
|
710
718
|
```
|
|
@@ -712,6 +720,10 @@ oat_post_implement_sequence:
|
|
|
712
720
|
`source` and `approval_source` are additive provenance fields. A resumable
|
|
713
721
|
snapshot created by an older skill version remains valid when either field is
|
|
714
722
|
absent; do not rewrite its stored pre/post arrays merely to backfill provenance.
|
|
723
|
+
The empty arrays above are consent-safe schema placeholders, not permission to
|
|
724
|
+
discard a nonempty preference. Replace both with the exact normalized arrays
|
|
725
|
+
resolved above. Never add `retro` unless the configured `postApproval` array
|
|
726
|
+
explicitly contains it; the autonomous default remains `postApproval: []`.
|
|
715
727
|
|
|
716
728
|
The snapshot is immutable for this closeout: never re-resolve
|
|
717
729
|
`workflow.postImplementSequence` while it is incomplete. Iterate
|
|
@@ -719,10 +731,12 @@ The snapshot is immutable for this closeout: never re-resolve
|
|
|
719
731
|
substitute a vocabulary order. Resume from the first incomplete stored step,
|
|
720
732
|
including a partially completed noncanonical order.
|
|
721
733
|
|
|
722
|
-
For every pending `summary`, `document`, or `
|
|
723
|
-
`oat-project-summary`, `oat-project-document`,
|
|
724
|
-
|
|
725
|
-
|
|
734
|
+
For every pending `summary`, `document`, `pr`, or `retro`, dispatch respectively
|
|
735
|
+
`oat-project-summary`, `oat-project-document`, `oat-project-pr-final`, or
|
|
736
|
+
`oat-project-retro`. Dispatch `retro` in generate mode; apply and filing
|
|
737
|
+
behavior remains config-gated inside that skill. Every `summary`, `document`,
|
|
738
|
+
`pr`, and `retro` child receives the authoritative snapshot and must merge state
|
|
739
|
+
updates without replacing `oat_post_implement_sequence`.
|
|
726
740
|
Re-read and verify the snapshot after every child returns before recording step
|
|
727
741
|
success. If a child removed or altered it, restore the authoritative snapshot,
|
|
728
742
|
record that step as failed, and stop with the boundary, failed step, and exact
|
|
@@ -765,6 +779,14 @@ single concise `Explainer Outcome` section using the manifest and build record;
|
|
|
765
779
|
never append a second outcome section. If no recap was attempted or reused,
|
|
766
780
|
leave the summary unchanged.
|
|
767
781
|
|
|
782
|
+
Before recording final approval, invoke the shared
|
|
783
|
+
`oat-explainer-kit/scripts/check-terminal-outcome.mjs` guard with the resolved
|
|
784
|
+
intent and, for `generate`, the selected or attempted manifest. The only
|
|
785
|
+
terminal generated outcomes are `built-durable`, `built-not-durable`,
|
|
786
|
+
`built-needs-review`, and `failed`. Missing records and `incomplete` block
|
|
787
|
+
approval; do not substitute a warning or infer an outcome from filesystem
|
|
788
|
+
presence. A `skip` intent requires no manifest.
|
|
789
|
+
|
|
768
790
|
1. Dispatch incomplete `pre_approval` steps in stored order.
|
|
769
791
|
2. When they succeed and a final checkpoint exists, commit `status:
|
|
770
792
|
awaiting_approval` with `approval: pending` before asking for final HiLL
|