@open-agent-toolkit/cli 0.2.2 → 0.2.4

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/agents/oat-reviewer.md +59 -3
  2. package/assets/docs/cli-utilities/project-log.md +16 -0
  3. package/assets/docs/cli-utilities/workflow-gates.md +69 -8
  4. package/assets/docs/workflows/projects/autonomy.md +20 -6
  5. package/assets/docs/workflows/projects/implementation-execution.md +46 -0
  6. package/assets/docs/workflows/projects/lifecycle.md +29 -6
  7. package/assets/docs/workflows/projects/reviews.md +88 -1
  8. package/assets/public-package-versions.json +4 -4
  9. package/assets/skills/oat-dispatch-subagents/SKILL.md +90 -15
  10. package/assets/skills/oat-dispatch-subagents/references/provider-claude.md +21 -0
  11. package/assets/skills/oat-dispatch-subagents/references/provider-codex.md +22 -0
  12. package/assets/skills/oat-dispatch-subagents/references/provider-cursor.md +66 -15
  13. package/assets/skills/oat-dispatch-subagents/references/record-schema.md +63 -2
  14. package/assets/skills/oat-project-autonomous/references/gate-inventory.md +147 -139
  15. package/assets/skills/oat-project-document/references/docs/autonomy-contract.md +147 -139
  16. package/assets/skills/oat-project-implement/SKILL.md +17 -6
  17. package/assets/skills/oat-project-implement/references/completion-and-closeout.md +387 -58
  18. package/assets/skills/oat-project-implement/references/docs/autonomy-contract.md +147 -139
  19. package/assets/skills/oat-project-implement/references/phase-execution.md +35 -2
  20. package/assets/skills/oat-project-next/SKILL.md +59 -18
  21. package/assets/skills/oat-project-pr-final/references/docs/autonomy-contract.md +147 -139
  22. package/assets/skills/oat-project-quick-start/references/docs/autonomy-contract.md +147 -139
  23. package/assets/skills/oat-project-review-provide/SKILL.md +38 -2
  24. package/assets/skills/oat-wave-execute/SKILL.md +16 -1
  25. package/assets/skills/oat-wave-program/SKILL.md +16 -1
  26. package/assets/templates/state.md +32 -0
  27. package/dist/commands/gate/index.d.ts +1 -0
  28. package/dist/commands/gate/index.d.ts.map +1 -1
  29. package/dist/commands/gate/index.js +5 -1
  30. package/dist/commands/shared/frontmatter.d.ts +1 -1
  31. package/dist/commands/shared/frontmatter.d.ts.map +1 -1
  32. package/dist/commands/shared/frontmatter.js +1 -0
  33. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: oat-project-review-provide
3
- version: 1.3.21
3
+ version: 1.3.22
4
4
  description: Use when the user explicitly asks to review an OAT project — e.g. "review project", "review the project", "run project review", or confirms a previously offered review. Do NOT auto-invoke on completed work alone. Resolves a project review scope and offers before running.
5
5
  disable-model-invocation: false
6
6
  user-invocable: true
@@ -732,7 +732,8 @@ After the subagent completes:
732
732
  blocks the review; do not invoke fallback and do not infer a pass from a
733
733
  missing review artifact or absent findings.
734
734
  - Verify the review artifact was written to the expected path
735
- - Continue with Step 9 (plan update) and Step 9.5 (commit)
735
+ - Continue with Step 8.5 (artifact/orchestration validation), Step 9 (plan
736
+ update), and Step 9.5 (commit)
736
737
 
737
738
  **Step 6c: Tier 2 — Fresh Session (recommended fallback)**
738
739
 
@@ -907,6 +908,41 @@ Run the `oat-project-review-receive` skill to convert findings into plan tasks.
907
908
 
908
909
  ```
909
910
 
911
+ ### Step 8.5: Validate Review Orchestration and Append Root Log
912
+
913
+ If `INLINE_ONLY=true`, skip this step because no review artifact or
914
+ artifact-mode confirmation exists.
915
+
916
+ Before validating the review artifact or updating project bookkeeping, consume
917
+ the reviewer's brief artifact-mode confirmation. It must contain exactly one of
918
+ these exact lines:
919
+
920
+ - `**Reconnaissance:** attempted`
921
+ - `**Reconnaissance:** not-attempted`
922
+
923
+ A missing, duplicate, or invalid reconnaissance signal is an
924
+ incomplete-artifact error: stop and fail closed without updating bookkeeping or
925
+ appending a project-log entry.
926
+
927
+ Use the valid signal to validate the review artifact's orchestration evidence:
928
+
929
+ - For `attempted`, require a complete `## Review Orchestration` section with
930
+ one compact account of every attempted wave: task class, classification
931
+ rationale, selected target, acceptance/outcome, floor satisfaction, fallback,
932
+ and primary reconciliation. Missing or incomplete evidence is an
933
+ incomplete-artifact error. After successful validation, append exactly once
934
+ through `oat project log append`, creating one concise structural entry that
935
+ references the review artifact path.
936
+ - For `not-attempted`, the artifact must not contain
937
+ `## Review Orchestration`; treat a present section as an inconsistent,
938
+ incomplete artifact. Do not append a log entry and do not invoke
939
+ `oat project log append`.
940
+
941
+ For the attempted branch, do not duplicate individual worker records. Defer
942
+ flags and entry format to `oat project log append --help`; never pre-check
943
+ project-log configuration because the helper no-ops when logging is disabled.
944
+ The reviewer and workers never write `project-log.md` or append this entry.
945
+
910
946
  ### Step 9: Update Plan Reviews Section
911
947
 
912
948
  After review artifact is written, update `plan.md` `## Reviews` table _if plan.md exists_.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: oat-wave-execute
3
- version: 1.6.0
3
+ version: 1.6.1
4
4
  description: Use when executing a wave of external implementation plans as a wrapper OAT project — scaffolding, drift refresh, parallel worktree groups, briefs, gates, merge choreography, and closeout.
5
5
  argument-hint: '<wave-id> [plan-names...] (e.g. wave-2 http-listener-before-indexing ...)'
6
6
  disable-model-invocation: false
@@ -24,6 +24,21 @@ Historical `DR-*` and `BL-*` slugs in this skill (including the provenance
24
24
  record above) are evidence citations in the source program's repository; they
25
25
  are not required artifacts in the consuming repo.
26
26
 
27
+ ## Progress Indicators (User-Facing)
28
+
29
+ Print this banner once when execution starts:
30
+
31
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
32
+ OAT ▸ WAVE EXECUTE
33
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
34
+
35
+ - Before each major boundary, report the current step: preflight, drift refresh,
36
+ wrapper scaffold, group dispatch, integration gate, or closeout.
37
+ - For parallel groups, report accepted lane IDs once, then summarize outcomes
38
+ after all lanes return; do not stream every worker action.
39
+ - Surface STOP conditions immediately with the blocked lane, durable evidence,
40
+ and exact resume action.
41
+
27
42
  ## Ownership Boundary
28
43
 
29
44
  **This skill owns (mechanical):** integration/phase branch naming, worktree
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: oat-wave-program
3
- version: 1.2.0
3
+ version: 1.2.1
4
4
  description: Use when decomposing a corpus of external implementation plans into an ordered wave program — coverage inventory, dependency mapping, wave composition, and the durable execution-program artifact that oat-wave-execute consumes and updates.
5
5
  argument-hint: '[new|refresh|wave-close <wave-id>] (default: refresh against the current artifact)'
6
6
  disable-model-invocation: false
@@ -16,6 +16,21 @@ waves, and keep that mapping durable and current as waves complete.
16
16
  `oat-wave-execute` runs ONE wave; this skill records and maintains the
17
17
  orchestrator-composed, operator-approved mapping of WHICH plans form each wave.
18
18
 
19
+ ## Progress Indicators (User-Facing)
20
+
21
+ Print this banner once when the selected mode starts:
22
+
23
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
24
+ OAT ▸ WAVE PROGRAM
25
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
26
+
27
+ - Report the active boundary: inventory, dependency mapping, composition
28
+ checkpoint, coverage validation, or wave-close ledger update.
29
+ - Present the composed wave map before its required operator checkpoint; do not
30
+ narrate every file read.
31
+ - Surface missing plans, coverage mismatches, and frozen-wave conflicts
32
+ immediately with the exact artifact or row that blocks progress.
33
+
19
34
  ## Ownership Boundary
20
35
 
21
36
  **This skill owns (mechanical):** the execution-program artifact contract and its
@@ -29,6 +29,38 @@ oat_phase_status: in_progress # Status: in_progress | complete | pr_open
29
29
  # oat_dispatch_ceiling: # legacy compatibility alias for capped managed provider targets
30
30
  oat_workflow_mode: { OAT_WORKFLOW_MODE } # spec-driven | quick | import
31
31
  oat_workflow_origin: native # native | imported
32
+ # oat_implement_exit_gate: # optional; durable configured implementation exit-gate state
33
+ # status: pending # pending | allowed | blocked | stale
34
+ # resolution: configured # configured | no_gate
35
+ # disposition: null # null | passed | warned | prompt_approved | no_gate
36
+ # config_fingerprint: '<stable hash of resolved gate declaration>'
37
+ # resolved_command: null
38
+ # resolved_description: null
39
+ # on_failure: block # block | prompt | warn | null
40
+ # max_attempts: 2
41
+ # attempts_completed: 0
42
+ # reviewed_head: null
43
+ # implementation_fingerprint: null
44
+ # launch_state: not_started # not_started | intent_persisted | accepted | result_persisted | not_accepted
45
+ # launch_attempt_id: null
46
+ # launch_started_at: null
47
+ # launch_result_receipt: null
48
+ # gate_run_marker: null
49
+ # gate_run_id: null
50
+ # envelope_status: null # ok | blocked | review_failed | other terminal status
51
+ # artifact: null
52
+ # handoff: null
53
+ # receive_state: not_started # not_started | intent_persisted | completed | reconciliation_required
54
+ # receive_correlation: null
55
+ # receive_source_artifact: null
56
+ # receive_archived_artifact: null
57
+ # receive_event_identity: null
58
+ # receive_pre_head: null
59
+ # receive_commit: null
60
+ # receive_eligible: false
61
+ # receive_completed: false
62
+ # failure: null
63
+ # updated_at: '2026-07-18T00:00:00Z'
32
64
  oat_docs_updated: null # null | skipped | complete — documentation sync status
33
65
  oat_pr_status: null # null | ready | open | closed | merged — actual PR state for the current project
34
66
  oat_pr_url: null # null | string — tracked PR URL when a PR exists
@@ -40,6 +40,7 @@ interface ProcessRunOptions {
40
40
  purpose: 'host-detection' | 'availability' | 'execute';
41
41
  stdin: 'ignore' | 'inherit';
42
42
  stdio: 'ignore' | 'inherit' | 'pipe';
43
+ stdoutDestination?: 'stdout' | 'stderr';
43
44
  timeoutMs: number;
44
45
  }
45
46
  interface ProcessRunResult {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/gate/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,aAAa,EACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAShE,OAAO,EAWL,KAAK,UAAU,EAIf,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,UAAU,EAEhB,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, chunk);
283
283
  recordActivity();
284
- process.stdout.write(chunk);
284
+ const destination = options.stdoutDestination === 'stderr'
285
+ ? process.stderr
286
+ : process.stdout;
287
+ destination.write(chunk);
285
288
  });
286
289
  child.stderr?.on('data', (chunk) => {
287
290
  stderrBytes += chunk.byteLength;
@@ -1190,6 +1193,7 @@ async function executeTarget(selected, prompt, context, dependencies, timeout) {
1190
1193
  purpose: 'execute',
1191
1194
  stdin: 'ignore',
1192
1195
  stdio: 'pipe',
1196
+ stdoutDestination: context.json ? 'stderr' : 'stdout',
1193
1197
  timeoutMs: timeout.timeoutMs,
1194
1198
  });
1195
1199
  }
@@ -1,6 +1,6 @@
1
1
  export declare const PROJECT_STATE_KINDS: readonly ["implementation", "coordination"];
2
2
  export declare const PROJECT_STATE_PHASES: readonly ["discovery", "spec", "design", "plan", "implement", "decomposition"];
3
- export declare const PROJECT_STATE_FRONTMATTER_FIELDS: readonly ["oat_kind", "oat_parent", "oat_siblings", "oat_depends_on", "oat_children", "oat_inherited_context_revalidated", "oat_phase", "oat_phase_status", "oat_status", "oat_workflow_mode", "oat_lifecycle", "oat_current_task", "oat_last_commit", "oat_blockers", "oat_hill_checkpoints", "oat_hill_completed", "oat_parallel_execution", "oat_pr_status", "oat_pr_url", "oat_project_created", "oat_project_completed", "oat_project_state_updated", "oat_docs_updated", "oat_generated", "oat_template", "oat_template_name"];
3
+ export declare const PROJECT_STATE_FRONTMATTER_FIELDS: readonly ["oat_kind", "oat_parent", "oat_siblings", "oat_depends_on", "oat_children", "oat_inherited_context_revalidated", "oat_phase", "oat_phase_status", "oat_status", "oat_workflow_mode", "oat_lifecycle", "oat_current_task", "oat_last_commit", "oat_blockers", "oat_hill_checkpoints", "oat_hill_completed", "oat_parallel_execution", "oat_implement_exit_gate", "oat_pr_status", "oat_pr_url", "oat_project_created", "oat_project_completed", "oat_project_state_updated", "oat_docs_updated", "oat_generated", "oat_template", "oat_template_name"];
4
4
  export type ProjectStateKind = (typeof PROJECT_STATE_KINDS)[number];
5
5
  export type ProjectStatePhase = (typeof PROJECT_STATE_PHASES)[number];
6
6
  export type ProjectStateFrontmatterField = (typeof PROJECT_STATE_FRONTMATTER_FIELDS)[number];
@@ -1 +1 @@
1
- {"version":3,"file":"frontmatter.d.ts","sourceRoot":"","sources":["../../../src/commands/shared/frontmatter.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,mBAAmB,6CAA8C,CAAC;AAE/E,eAAO,MAAM,oBAAoB,gFAOvB,CAAC;AAEX,eAAO,MAAM,gCAAgC,sgBA2BnC,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AACpE,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AACtE,MAAM,MAAM,4BAA4B,GACtC,CAAC,OAAO,gCAAgC,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAE3E;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAE7E;AAED,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,MAAM,GACZ,KAAK,IAAI,4BAA4B,CAIvC;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAGlE;AAED,wBAAgB,mBAAmB,CACjC,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,GACZ,MAAM,GAAG,IAAI,CAKf;AAED,wBAAgB,4BAA4B,CAC1C,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,SAAS,MAAM,EAAE,GACxB;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,CA4BpD;AAED;;;;;;;;;GASG;AACH,wBAA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,wBAAgB,4BAA4B,CAC1C,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,SAAS,MAAM,EAAE,GACxB;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,CA4BpD;AAED;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAIxD;AAED,wBAAsB,qBAAqB,CACzC,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,MAAM,CAAC,CASjB;AAED,wBAAsB,eAAe,CACnC,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAQxB;AAED,wBAAsB,eAAe,CACnC,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAGxB"}
@@ -28,6 +28,7 @@ export const PROJECT_STATE_FRONTMATTER_FIELDS = [
28
28
  'oat_hill_checkpoints',
29
29
  'oat_hill_completed',
30
30
  'oat_parallel_execution',
31
+ 'oat_implement_exit_gate',
31
32
  'oat_pr_status',
32
33
  'oat_pr_url',
33
34
  'oat_project_created',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-agent-toolkit/cli",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "private": false,
5
5
  "description": "Open Agent Toolkit CLI",
6
6
  "homepage": "https://github.com/voxmedia/open-agent-toolkit/tree/main/packages/cli",
@@ -34,7 +34,7 @@
34
34
  "ora": "^9.0.0",
35
35
  "yaml": "2.8.2",
36
36
  "zod": "^3.25.76",
37
- "@open-agent-toolkit/control-plane": "0.2.2"
37
+ "@open-agent-toolkit/control-plane": "0.2.4"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/node": "^22.10.0",