@open-agent-toolkit/cli 0.3.15 → 0.3.16

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 (97) hide show
  1. package/assets/NOTICES.md +48 -0
  2. package/assets/bundle-metadata.json +1 -1
  3. package/assets/docs/provider-sync/commands.md +21 -0
  4. package/assets/docs/reference/cli-reference.md +2 -1
  5. package/assets/docs/reference/configuration.md +10 -2
  6. package/assets/docs/skills/index.md +1 -0
  7. package/assets/docs/skills/recon.md +8 -5
  8. package/assets/docs/workflows/advanced/autonomy.md +10 -0
  9. package/assets/docs/workflows/advanced/workflow-gates.md +109 -10
  10. package/assets/docs/workflows/approvals-and-automation.md +3 -1
  11. package/assets/docs/workflows/projects/closeout/closeout-skills.md +62 -1
  12. package/assets/docs/workflows/projects/execution/implementation-execution.md +23 -3
  13. package/assets/docs/workflows/projects/execution/project-log.md +6 -0
  14. package/assets/docs/workflows/projects/lifecycle.md +7 -0
  15. package/assets/docs/workflows/projects/reviews/index.md +63 -1
  16. package/assets/docs/workflows/waves/wave-workflows.md +11 -3
  17. package/assets/public-package-versions.json +4 -4
  18. package/assets/skills/oat-project-autonomous/SKILL.md +1 -1
  19. package/assets/skills/oat-project-autonomous/references/gate-inventory.md +172 -165
  20. package/assets/skills/oat-project-complete-auto/SKILL.md +388 -0
  21. package/assets/skills/oat-project-document/SKILL.md +1 -1
  22. package/assets/skills/oat-project-document/references/docs/autonomy-contract.md +172 -165
  23. package/assets/skills/oat-project-implement/SKILL.md +6 -1
  24. package/assets/skills/oat-project-implement/references/completion-and-closeout.md +28 -1
  25. package/assets/skills/oat-project-implement/references/docs/autonomy-contract.md +172 -165
  26. package/assets/skills/oat-project-implement/references/docs/complexity-review-fallback.md +262 -0
  27. package/assets/skills/oat-project-implement/references/docs/gate-approval-record.md +80 -0
  28. package/assets/skills/oat-project-implement/references/phase-execution.md +18 -0
  29. package/assets/skills/oat-project-lite/SKILL.md +1 -1
  30. package/assets/skills/oat-project-lite/references/docs/autonomy-contract.md +172 -165
  31. package/assets/skills/oat-project-next/SKILL.md +19 -2
  32. package/assets/skills/oat-project-next/references/docs/gate-approval-record.md +80 -0
  33. package/assets/skills/oat-project-pr-final/SKILL.md +4 -3
  34. package/assets/skills/oat-project-pr-final/references/docs/autonomy-contract.md +172 -165
  35. package/assets/skills/oat-project-progress/SKILL.md +15 -1
  36. package/assets/skills/oat-project-progress/references/docs/gate-approval-record.md +80 -0
  37. package/assets/skills/oat-project-quick-start/SKILL.md +31 -3
  38. package/assets/skills/oat-project-quick-start/references/docs/autonomy-contract.md +172 -165
  39. package/assets/skills/oat-project-quick-start/references/docs/complexity-review-fallback.md +262 -0
  40. package/assets/skills/oat-project-quick-start/references/docs/gate-approval-record.md +80 -0
  41. package/assets/skills/oat-project-review-receive/SKILL.md +21 -3
  42. package/assets/skills/oat-project-review-receive/references/docs/complexity-review-fallback.md +262 -0
  43. package/assets/skills/oat-wave-execute/SKILL.md +49 -28
  44. package/assets/skills/oat-wave-program/SKILL.md +15 -6
  45. package/assets/skills/oat-wrap-up/SKILL.md +9 -3
  46. package/assets/skills/oat-wrap-up/references/report-template.md +1 -1
  47. package/assets/skills/recon/SKILL.md +1 -1
  48. package/assets/skills/recon/references/packet-contract.md +18 -3
  49. package/assets/skills/recon/scripts/lib/contracts.mjs +16 -2
  50. package/assets/skills/recon/scripts/reconcile-ledger.mjs +20 -10
  51. package/assets/skills/recon/scripts/render-packet.mjs +31 -3
  52. package/assets/skills/recon/scripts/validate-packet.mjs +5 -5
  53. package/assets/templates/state.md +7 -0
  54. package/dist/commands/config/index.d.ts.map +1 -1
  55. package/dist/commands/config/index.js +13 -0
  56. package/dist/commands/gate/index.d.ts +5 -0
  57. package/dist/commands/gate/index.d.ts.map +1 -1
  58. package/dist/commands/gate/index.js +270 -9
  59. package/dist/commands/shared/frontmatter.d.ts +1 -1
  60. package/dist/commands/shared/frontmatter.d.ts.map +1 -1
  61. package/dist/commands/shared/frontmatter.js +1 -0
  62. package/dist/commands/state/generate.d.ts +1 -1
  63. package/dist/commands/state/generate.d.ts.map +1 -1
  64. package/dist/commands/state/generate.js +87 -8
  65. package/dist/commands/sync/apply.d.ts.map +1 -1
  66. package/dist/commands/sync/apply.js +31 -5
  67. package/dist/commands/sync/dry-run.d.ts.map +1 -1
  68. package/dist/commands/sync/dry-run.js +28 -11
  69. package/dist/commands/sync/sync.utils.d.ts +13 -0
  70. package/dist/commands/sync/sync.utils.d.ts.map +1 -1
  71. package/dist/commands/sync/sync.utils.js +21 -1
  72. package/dist/commands/tools/shared/pack-manifest.d.ts.map +1 -1
  73. package/dist/commands/tools/shared/pack-manifest.js +1 -0
  74. package/dist/config/oat-config.d.ts +1 -0
  75. package/dist/config/oat-config.d.ts.map +1 -1
  76. package/dist/config/oat-config.js +3 -0
  77. package/dist/config/resolve.d.ts.map +1 -1
  78. package/dist/config/resolve.js +1 -0
  79. package/dist/drift/detector.js +6 -6
  80. package/dist/engine/compute-plan.d.ts.map +1 -1
  81. package/dist/engine/compute-plan.js +87 -2
  82. package/dist/engine/engine.types.d.ts +10 -1
  83. package/dist/engine/engine.types.d.ts.map +1 -1
  84. package/dist/engine/engine.types.js +4 -0
  85. package/dist/engine/execute-plan.d.ts.map +1 -1
  86. package/dist/engine/execute-plan.js +42 -5
  87. package/dist/engine/managed-copy-hash.d.ts +4 -3
  88. package/dist/engine/managed-copy-hash.d.ts.map +1 -1
  89. package/dist/engine/managed-copy-hash.js +4 -3
  90. package/dist/fs/assets.d.ts.map +1 -1
  91. package/dist/fs/assets.js +7 -1
  92. package/dist/manifest/hash.d.ts +8 -10
  93. package/dist/manifest/hash.d.ts.map +1 -1
  94. package/dist/ui/output.js +1 -1
  95. package/dist/validation/skills.d.ts.map +1 -1
  96. package/dist/validation/skills.js +13 -0
  97. package/package.json +2 -2
@@ -7,7 +7,7 @@ disable-model-invocation: true
7
7
  user-invocable: true
8
8
  allowed-tools: Read, Write, Bash(git:*), Bash(oat:*), Bash(oat project log:*), Glob, Grep, AskUserQuestion, Task
9
9
  metadata:
10
- version: 2.3.16
10
+ version: 2.3.17
11
11
  ---
12
12
 
13
13
  # Implementation Phase
@@ -74,6 +74,11 @@ to be clean; each append is committed by the bookkeeping that owns it.
74
74
  entry with the verdict and fix-loop count.
75
75
  - After every parallel-group merge attempt, invoke `oat project log append` for
76
76
  a structural entry with the merge result.
77
+ - Append root-judgment entries through `oat project log append` for breaks,
78
+ surprises, workarounds, or notable successes, including observations relayed
79
+ from subagent reports; queue one that surfaces while a child owns the worktree
80
+ until the next bookkeeping boundary. Phase implementers and dispatched
81
+ subagents have no logging duties.
77
82
 
78
83
  ## Autonomy Policy
79
84
 
@@ -294,6 +294,15 @@ To run in a separate session use: oat-project-review-provide code final
294
294
  - If Critical/High findings: Fix tasks added, re-run the `oat-project-implement` skill
295
295
  - Loop until final review passes (max 3 cycles per oat-project-review-receive)
296
296
 
297
+ **Final review cap.** When the final review reaches the three-cycle cap,
298
+ dispatch the complexity review that
299
+ `references/docs/complexity-review-fallback.md` defines for the final loop,
300
+ then show its decision message; under `OAT_AUTONOMOUS=1`, put the same content
301
+ in the boundary report instead. Record the operator's choice with the report
302
+ path in `implementation.md`. Agents never select the disposition. One exhausted
303
+ loop gets one review: follow that doc's reuse rule, so a report the receive
304
+ step's cycle cap already produced for this final loop serves here too.
305
+
297
306
  **After final review is marked `passed`:**
298
307
 
299
308
  - Record the passed final review and keep the project in implementation closeout.
@@ -311,7 +320,11 @@ or satisfies this configured exit gate.
311
320
  **Persisted transition contract:**
312
321
 
313
322
  `"$PROJECT_PATH/state.md"` is the routing source of truth. Store one closeout
314
- generation as a sibling of `oat_post_implement_sequence`:
323
+ generation as a sibling of `oat_post_implement_sequence`. Its `status`,
324
+ `disposition`, `config_fingerprint`, `reviewed_head`, and `decided_at` fields
325
+ are the shared lifecycle gate record core defined in
326
+ `references/docs/gate-approval-record.md`; the additional values and fields
327
+ below, and the freshness rules in this step, belong to this carrier:
315
328
 
316
329
  ```yaml
317
330
  oat_implement_exit_gate:
@@ -351,6 +364,7 @@ oat_implement_exit_gate:
351
364
  receive_completed: false
352
365
  failure: null
353
366
  updated_at: '2026-07-18T00:00:00Z'
367
+ decided_at: null # ISO 8601 UTC; set with every allowed or blocked outcome
354
368
  ```
355
369
 
356
370
  At the start of a new closeout generation, require a current passed final
@@ -550,6 +564,9 @@ disposition.
550
564
  - An explicit prompt continuation persists `allowed/prompt_approved`; defer or
551
565
  no response persists `blocked` and stops. A warn continuation persists
552
566
  `allowed/warned` before closeout proceeds.
567
+ - Every write that sets `status` to `allowed` or `blocked` also sets
568
+ `decided_at` to the current ISO 8601 UTC time; `pending` and `stale` writes
569
+ leave it unchanged.
553
570
 
554
571
  **Interruption, resume, and freshness:**
555
572
 
@@ -790,6 +807,16 @@ completion, or success output, run the configured gate:
790
807
  correlation failures, and receive failures cannot continue to sequencing,
791
808
  final HiLL, completion, or success output regardless of `on_failure`.
792
809
 
810
+ **Complexity review at `maxAttempts`.** When the gate ends in `block` after
811
+ attempts are exhausted, dispatch the complexity review that
812
+ `references/docs/complexity-review-fallback.md` defines for this exhausted
813
+ gate loop before escalating, then show its decision message with the
814
+ accumulated feedback; under `OAT_AUTONOMOUS=1`, put the same content in the
815
+ boundary report instead. Record the operator's choice with the report path
816
+ in `implementation.md`. Agents never select the disposition. A single
817
+ unresolved policy boundary that consumed no remediation attempt is not a
818
+ budget exhaustion and does not trigger the review.
819
+
793
820
  When the gate ends in `block` after attempts are exhausted or remains at an
794
821
  unresolved `prompt` boundary, the completion steps below MUST NOT run. The
795
822
  project stays `in_progress` and resumable through `oat-project-implement`.