@open-agent-toolkit/cli 0.2.29 → 0.2.30

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 (33) hide show
  1. package/assets/bundle-metadata.json +1 -1
  2. package/assets/docs/cli-utilities/configuration.md +11 -1
  3. package/assets/docs/workflows/projects/artifacts.md +5 -0
  4. package/assets/docs/workflows/projects/index.md +1 -0
  5. package/assets/docs/workflows/projects/lifecycle.md +23 -0
  6. package/assets/docs/workflows/projects/retro.md +261 -0
  7. package/assets/docs/workflows/skills/index.md +6 -0
  8. package/assets/public-package-versions.json +4 -4
  9. package/assets/skills/oat-project-autonomous/references/gate-inventory.md +38 -38
  10. package/assets/skills/oat-project-complete/SKILL.md +42 -6
  11. package/assets/skills/oat-project-document/references/docs/autonomy-contract.md +38 -38
  12. package/assets/skills/oat-project-implement/SKILL.md +1 -1
  13. package/assets/skills/oat-project-implement/references/completion-and-closeout.md +20 -6
  14. package/assets/skills/oat-project-implement/references/docs/autonomy-contract.md +38 -38
  15. package/assets/skills/oat-project-pr-final/references/docs/autonomy-contract.md +38 -38
  16. package/assets/skills/oat-project-quick-start/references/docs/autonomy-contract.md +38 -38
  17. package/assets/skills/oat-project-retro/SKILL.md +310 -0
  18. package/assets/skills/oat-project-retro/references/apply-procedure.md +212 -0
  19. package/assets/skills/oat-project-retro/references/evidence-and-lanes.md +91 -0
  20. package/assets/skills/oat-project-retro/references/retro-quality-bar.md +100 -0
  21. package/assets/skills/oat-project-retro-file/SKILL.md +387 -0
  22. package/assets/templates/project-retro.md +236 -0
  23. package/dist/commands/config/index.d.ts.map +1 -1
  24. package/dist/commands/config/index.js +81 -0
  25. package/dist/commands/init/tools/shared/skill-manifest.d.ts +2 -2
  26. package/dist/commands/init/tools/shared/skill-manifest.d.ts.map +1 -1
  27. package/dist/commands/init/tools/shared/skill-manifest.js +3 -0
  28. package/dist/config/oat-config.d.ts +12 -1
  29. package/dist/config/oat-config.d.ts.map +1 -1
  30. package/dist/config/oat-config.js +38 -2
  31. package/dist/config/resolve.d.ts.map +1 -1
  32. package/dist/config/resolve.js +8 -0
  33. package/package.json +2 -2
@@ -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: [summary, document, pr]
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 `pr`, dispatch respectively
723
- `oat-project-summary`, `oat-project-document`, or `oat-project-pr-final`.
724
- Every `summary`, `document`, and `pr` child receives the authoritative snapshot
725
- and must merge state updates without replacing `oat_post_implement_sequence`.
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