@open-agent-toolkit/cli 0.2.62 → 0.2.63

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 (62) hide show
  1. package/assets/bundle-metadata.json +1 -1
  2. package/assets/docs/cli-utilities/config-and-local-state.md +1 -0
  3. package/assets/docs/cli-utilities/configuration.md +10 -8
  4. package/assets/docs/cli-utilities/project-log.md +16 -0
  5. package/assets/docs/cli-utilities/workflow-gates.md +124 -16
  6. package/assets/docs/provider-sync/commands.md +3 -0
  7. package/assets/docs/provider-sync/instruction-sync.md +107 -0
  8. package/assets/docs/reference/cli-reference.md +16 -6
  9. package/assets/docs/reference/oat-directory-structure.md +32 -31
  10. package/assets/docs/workflows/projects/lifecycle.md +45 -0
  11. package/assets/docs/workflows/projects/picking-up-projects.md +14 -0
  12. package/assets/docs/workflows/skills/explainer-kit.md +10 -4
  13. package/assets/docs/workflows/skills/repo-improve.md +15 -1
  14. package/assets/public-package-versions.json +4 -4
  15. package/assets/skills/oat-explainer-kit/SKILL.md +14 -1
  16. package/assets/skills/oat-explainer-kit/references/config-contract.md +12 -0
  17. package/assets/skills/oat-explainer-kit/references/lifecycle-contract.md +57 -10
  18. package/assets/skills/oat-explainer-kit/scripts/check-terminal-outcome.mjs +28 -5
  19. package/assets/skills/oat-explainer-kit/scripts/probe-recap-seams.mjs +371 -0
  20. package/assets/skills/oat-explainer-kit/scripts/resolve-intent.mjs +123 -1
  21. package/assets/skills/oat-project-autonomous/SKILL.md +10 -1
  22. package/assets/skills/oat-project-autonomous/references/gate-inventory.md +121 -121
  23. package/assets/skills/oat-project-complete/SKILL.md +134 -4
  24. package/assets/skills/oat-project-document/references/docs/autonomy-contract.md +121 -121
  25. package/assets/skills/oat-project-implement/SKILL.md +1 -1
  26. package/assets/skills/oat-project-implement/references/completion-and-closeout.md +38 -6
  27. package/assets/skills/oat-project-implement/references/docs/autonomy-contract.md +121 -121
  28. package/assets/skills/oat-project-lite/references/docs/autonomy-contract.md +121 -121
  29. package/assets/skills/oat-project-next/SKILL.md +62 -19
  30. package/assets/skills/oat-project-plan/SKILL.md +31 -5
  31. package/assets/skills/oat-project-pr-final/references/docs/autonomy-contract.md +121 -121
  32. package/assets/skills/oat-project-progress/SKILL.md +12 -3
  33. package/assets/skills/oat-project-quick-start/SKILL.md +264 -4
  34. package/assets/skills/oat-project-quick-start/references/docs/autonomy-contract.md +121 -121
  35. package/assets/skills/oat-project-summary/SKILL.md +34 -23
  36. package/assets/skills/oat-repo-improve/SKILL.md +40 -5
  37. package/assets/skills/oat-repo-improve/references/plan-template.md +84 -7
  38. package/dist/commands/config/index.d.ts +1 -0
  39. package/dist/commands/config/index.d.ts.map +1 -1
  40. package/dist/commands/config/index.js +401 -18
  41. package/dist/commands/gate/index.d.ts +3 -1
  42. package/dist/commands/gate/index.d.ts.map +1 -1
  43. package/dist/commands/gate/index.js +699 -211
  44. package/dist/commands/init/tools/shared/skill-script-references.d.ts +126 -0
  45. package/dist/commands/init/tools/shared/skill-script-references.d.ts.map +1 -0
  46. package/dist/commands/init/tools/shared/skill-script-references.js +311 -0
  47. package/dist/commands/instructions/instructions.types.d.ts +63 -0
  48. package/dist/commands/instructions/instructions.types.d.ts.map +1 -1
  49. package/dist/commands/instructions/instructions.utils.d.ts +51 -2
  50. package/dist/commands/instructions/instructions.utils.d.ts.map +1 -1
  51. package/dist/commands/instructions/instructions.utils.js +201 -4
  52. package/dist/commands/instructions/sync/sync.d.ts.map +1 -1
  53. package/dist/commands/instructions/sync/sync.js +12 -1
  54. package/dist/commands/instructions/validate/validate.d.ts.map +1 -1
  55. package/dist/commands/instructions/validate/validate.js +12 -1
  56. package/dist/commands/project/log/append.d.ts +195 -0
  57. package/dist/commands/project/log/append.d.ts.map +1 -1
  58. package/dist/commands/project/log/append.js +1034 -11
  59. package/dist/config/oat-config.d.ts +41 -0
  60. package/dist/config/oat-config.d.ts.map +1 -1
  61. package/dist/config/oat-config.js +111 -0
  62. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: oat-project-implement
3
- version: 2.3.5
3
+ version: 2.3.6
4
4
  description: Use when plan.md is ready for execution. Dispatches one phase implementer per phase, owns independent phase review and bounded fix routing, and supports plan-declared worktree-isolated parallel phases.
5
5
  oat_gateable: true
6
6
  argument-hint: '[--retry-limit <N>] [--dry-run]'
@@ -892,7 +892,36 @@ sequence completion.
892
892
 
893
893
  Before generating, inspect the active project's explainer runs. A fresh `project-recap` manifest for the current completed implementation deduplicates the lifecycle-tail run: reuse it and do not invoke the adapter again. Fresh means the manifest identifies recipe `project-recap`, belongs to this project, has a terminal outcome, and its recorded source hashes match the current approved implementation inputs. A merely present, incomplete, wrong-recipe, or stale manifest does not satisfy this check.
894
894
 
895
- Resolve recap intent through `oat-explainer-kit`. When `OAT_AUTONOMOUS=1` and no fresh recap exists, attempt `project-recap` exactly once; missing or stale persisted intent cannot suppress this autonomous attempt. Interactive mode honors the adapter's resolved persisted or workflow intent.
895
+ Probe seam availability before resolving intent. Call
896
+ `oat-explainer-kit/scripts/probe-recap-seams.mjs#probeRecapSeams` in
897
+ `mode: unattended` with the exact seam inputs this tail would pass. The probe is
898
+ pure and covers all five required seams — author, fact critic, browser session,
899
+ visual critic, and set planner — so a host missing only the set planner is
900
+ detected here instead of at the adapter's `E_SET_PLANNER_REQUIRED`. Pass the
901
+ result to autonomous intent resolution as `seamProbe`. The resolver accepts a
902
+ `seamProbe` only for autonomous `projectRecap`, so interactive resolution keeps
903
+ its existing inputs and its recorded human decision.
904
+
905
+ Resolve recap intent through `oat-explainer-kit`. When `OAT_AUTONOMOUS=1` and no fresh recap exists, run this recap gate exactly once; missing or stale persisted intent cannot suppress this autonomous gate. In autonomy, attempt the adapter run exactly once and only when the seam probe resolves every required seam and intent resolves to `generate`; an interactive `generate` still attempts the run regardless of the probe result, and a seam-less interactive attempt is still the `failed` outcome it is today. The autonomy gate and the interactive rule are two separate rules and are never read as one. Interactive mode honors the adapter's resolved persisted or workflow intent.
906
+
907
+ In autonomy, a probe result of `seams-unavailable` means no provider is
908
+ configured for a required seam. Autonomous resolution then returns a recordable
909
+ `skip` with source `capability_probe`: record it with the warning, do not invoke
910
+ the adapter, and continue closeout. That probe-driven skip record supersedes the
911
+ intent resolved and persisted earlier in this run for the remainder of the run:
912
+ persist it through the same `oat-explainer-kit` intent-persistence helper with a
913
+ freshly captured state hash, and pass the skip — not the earlier `generate` — to
914
+ the terminal-outcome guard as `--intent skip --skip-reason capability_probe`.
915
+ Passing the superseded `generate` with no manifest raises `E_RECAP_OUTCOME` and
916
+ blocks approval, which is the exact failure this gate exists to prevent. Interactive closeout is unchanged: a
917
+ recorded interactive `generate` still attempts the recap and a run that fails
918
+ for a missing seam is still the `failed` outcome it is today. An unattended completion on a host with no explainer seams
919
+ configured never blocks final HiLL approval on a missing recap, and this skip is
920
+ resolved before any run, never from a failed one. A probe result of
921
+ `seams-invalid` means a seam is supplied but violates a resolution rule: report
922
+ the configuration error and fail closed exactly as an invalid seam does today.
923
+ Never convert a configured-but-invalid seam, or a run that failed after a
924
+ passing probe, into a skip; that run stays `failed`.
896
925
 
897
926
  Invoke the `oat-explainer-kit` adapter first, then run its shared tracked-run finalizer in `dedicated` mode for a successful build. Use the adapter result and finalizer result as returned; do not improvise commits, durability evidence, or reruns. Outcomes `failed` and `built-not-durable` are recorded warnings, never blockers for final HiLL approval, completion reporting, or later PR steps.
898
927
  For an adapter invocation, construct exactly one brief-aware,
@@ -904,10 +933,12 @@ alongside the existing `critic` callback (or validated
904
933
  `mode: unattended`.
905
934
 
906
935
  Always include the selected or attempted recap's outcome and run path in the
907
- implementation completion report. If `summary.md` exists, append or refresh its
908
- single concise `Explainer Outcome` section using the manifest and build record;
909
- never append a second outcome section. If no recap was attempted or reused,
910
- leave the summary unchanged.
936
+ implementation completion report. Report a probe-driven skip as `skipped` with
937
+ its reason and the unavailable seams instead of an outcome and run path. If
938
+ `summary.md` exists, append or refresh its single concise `Explainer Outcome`
939
+ section using the manifest and build record, or the recorded skip when no run
940
+ exists; never append a second outcome section. If no recap was attempted,
941
+ reused, or recorded as skipped, leave the summary unchanged.
911
942
 
912
943
  Before recording final approval, invoke the shared
913
944
  `oat-explainer-kit/scripts/check-terminal-outcome.mjs` guard with the resolved
@@ -915,7 +946,8 @@ intent and, for `generate`, the selected or attempted manifest. The only
915
946
  terminal generated outcomes are `built-durable`, `built-not-durable`,
916
947
  `built-needs-review`, and `failed`. Missing records and `incomplete` block
917
948
  approval; do not substitute a warning or infer an outcome from filesystem
918
- presence. A `skip` intent requires no manifest.
949
+ presence. A `skip` intent requires no manifest; pass its recorded source as
950
+ `--skip-reason` so the receipt states why no recap exists.
919
951
 
920
952
  **Lite completion algorithm:** Dispatch incomplete `pre_approval` steps in
921
953
  stored order, retain `approval: not_required`, keep both approval reachability