@open-agent-toolkit/cli 0.2.63 → 0.2.65

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 (165) hide show
  1. package/assets/bundle-metadata.json +1 -1
  2. package/assets/docs/cli-utilities/tool-packs.md +83 -0
  3. package/assets/docs/contributing/skills.md +52 -7
  4. package/assets/docs/provider-sync/manifest-and-drift.md +105 -0
  5. package/assets/public-package-versions.json +4 -4
  6. package/assets/skills/analyze/SKILL.md +2 -1
  7. package/assets/skills/authoring-docs/SKILL.md +2 -1
  8. package/assets/skills/compare/SKILL.md +2 -1
  9. package/assets/skills/create-agnostic-skill/SKILL.md +10 -7
  10. package/assets/skills/create-agnostic-skill/references/skill-template.md +9 -7
  11. package/assets/skills/deep-research/SKILL.md +2 -1
  12. package/assets/skills/explainer-kit/SKILL.md +2 -1
  13. package/assets/skills/oat-agent-instructions-analyze/SKILL.md +2 -1
  14. package/assets/skills/oat-agent-instructions-apply/SKILL.md +2 -1
  15. package/assets/skills/oat-brainstorm/SKILL.md +2 -1
  16. package/assets/skills/oat-cursor-cloud-projects/SKILL.md +2 -1
  17. package/assets/skills/oat-dispatch-subagents/SKILL.md +2 -1
  18. package/assets/skills/oat-docs/SKILL.md +2 -1
  19. package/assets/skills/oat-docs-analyze/SKILL.md +2 -1
  20. package/assets/skills/oat-docs-apply/SKILL.md +2 -1
  21. package/assets/skills/oat-docs-authoring/SKILL.md +2 -1
  22. package/assets/skills/oat-docs-bootstrap/SKILL.md +2 -1
  23. package/assets/skills/oat-doctor/SKILL.md +2 -1
  24. package/assets/skills/oat-explainer-kit/SKILL.md +2 -1
  25. package/assets/skills/oat-explainer-kit/scripts/check-core.mjs +322 -2
  26. package/assets/skills/oat-idea-ideate/SKILL.md +2 -1
  27. package/assets/skills/oat-idea-new/SKILL.md +2 -1
  28. package/assets/skills/oat-idea-scratchpad/SKILL.md +2 -1
  29. package/assets/skills/oat-idea-summarize/SKILL.md +2 -1
  30. package/assets/skills/oat-pjm-add-backlog-item/SKILL.md +2 -1
  31. package/assets/skills/oat-pjm-decision/SKILL.md +2 -1
  32. package/assets/skills/oat-pjm-review-backlog/SKILL.md +2 -1
  33. package/assets/skills/oat-pjm-update-repo-reference/SKILL.md +2 -1
  34. package/assets/skills/oat-project-autonomous/SKILL.md +2 -1
  35. package/assets/skills/oat-project-autonomous/references/gate-inventory.md +1 -0
  36. package/assets/skills/oat-project-capture/SKILL.md +2 -1
  37. package/assets/skills/oat-project-clear-active/SKILL.md +2 -1
  38. package/assets/skills/oat-project-complete/SKILL.md +2 -1
  39. package/assets/skills/oat-project-design/SKILL.md +2 -1
  40. package/assets/skills/oat-project-discover/SKILL.md +2 -1
  41. package/assets/skills/oat-project-dispatch-subagents/SKILL.md +2 -1
  42. package/assets/skills/oat-project-document/SKILL.md +2 -1
  43. package/assets/skills/oat-project-document/references/docs/autonomy-contract.md +1 -0
  44. package/assets/skills/oat-project-implement/SKILL.md +2 -1
  45. package/assets/skills/oat-project-implement/references/docs/autonomy-contract.md +1 -0
  46. package/assets/skills/oat-project-import-plan/SKILL.md +2 -1
  47. package/assets/skills/oat-project-lite/SKILL.md +2 -1
  48. package/assets/skills/oat-project-lite/references/docs/autonomy-contract.md +1 -0
  49. package/assets/skills/oat-project-new/SKILL.md +2 -1
  50. package/assets/skills/oat-project-next/SKILL.md +2 -1
  51. package/assets/skills/oat-project-open/SKILL.md +2 -1
  52. package/assets/skills/oat-project-plan/SKILL.md +2 -1
  53. package/assets/skills/oat-project-plan-writing/SKILL.md +2 -1
  54. package/assets/skills/oat-project-pr-final/SKILL.md +282 -6
  55. package/assets/skills/oat-project-pr-final/references/docs/autonomy-contract.md +1 -0
  56. package/assets/skills/oat-project-pr-progress/SKILL.md +2 -1
  57. package/assets/skills/oat-project-progress/SKILL.md +2 -1
  58. package/assets/skills/oat-project-promote-spec-driven/SKILL.md +2 -1
  59. package/assets/skills/oat-project-quick-start/SKILL.md +2 -1
  60. package/assets/skills/oat-project-quick-start/references/docs/autonomy-contract.md +1 -0
  61. package/assets/skills/oat-project-reconcile/SKILL.md +2 -1
  62. package/assets/skills/oat-project-retro/SKILL.md +2 -1
  63. package/assets/skills/oat-project-retro-file/SKILL.md +2 -1
  64. package/assets/skills/oat-project-review-provide/SKILL.md +2 -1
  65. package/assets/skills/oat-project-review-provide-remote/SKILL.md +2 -1
  66. package/assets/skills/oat-project-review-receive/SKILL.md +2 -1
  67. package/assets/skills/oat-project-review-receive-remote/SKILL.md +2 -1
  68. package/assets/skills/oat-project-revise/SKILL.md +2 -1
  69. package/assets/skills/oat-project-spec/SKILL.md +2 -1
  70. package/assets/skills/oat-project-split/SKILL.md +2 -1
  71. package/assets/skills/oat-project-summary/SKILL.md +2 -1
  72. package/assets/skills/oat-repo-improve/SKILL.md +1 -1
  73. package/assets/skills/oat-repo-knowledge-index/SKILL.md +2 -1
  74. package/assets/skills/oat-repo-maintainability-review/SKILL.md +2 -1
  75. package/assets/skills/oat-review-provide/SKILL.md +2 -1
  76. package/assets/skills/oat-review-provide-remote/SKILL.md +2 -1
  77. package/assets/skills/oat-review-receive/SKILL.md +2 -1
  78. package/assets/skills/oat-review-receive-remote/SKILL.md +2 -1
  79. package/assets/skills/oat-wave-execute/SKILL.md +2 -1
  80. package/assets/skills/oat-wave-program/SKILL.md +2 -1
  81. package/assets/skills/oat-worktree-bootstrap/SKILL.md +2 -1
  82. package/assets/skills/oat-worktree-bootstrap-auto/SKILL.md +2 -1
  83. package/assets/skills/oat-wrap-up/SKILL.md +2 -1
  84. package/assets/skills/recon/SKILL.md +2 -1
  85. package/assets/skills/skeptic/SKILL.md +2 -1
  86. package/assets/skills/subagent-orchestration/SKILL.md +2 -1
  87. package/assets/skills/synthesize/SKILL.md +2 -1
  88. package/dist/agents/canonical/resolve.d.ts.map +1 -1
  89. package/dist/agents/canonical/resolve.js +25 -4
  90. package/dist/commands/doctor/index.d.ts +7 -0
  91. package/dist/commands/doctor/index.d.ts.map +1 -1
  92. package/dist/commands/doctor/index.js +10 -2
  93. package/dist/commands/init/tools/index.d.ts.map +1 -1
  94. package/dist/commands/init/tools/index.js +68 -36
  95. package/dist/commands/shared/frontmatter.d.ts +51 -0
  96. package/dist/commands/shared/frontmatter.d.ts.map +1 -1
  97. package/dist/commands/shared/frontmatter.js +118 -6
  98. package/dist/commands/status/index.d.ts.map +1 -1
  99. package/dist/commands/status/index.js +5 -3
  100. package/dist/commands/sync/index.d.ts +14 -0
  101. package/dist/commands/sync/index.d.ts.map +1 -1
  102. package/dist/commands/sync/index.js +21 -0
  103. package/dist/commands/tools/info/index.d.ts.map +1 -1
  104. package/dist/commands/tools/info/index.js +14 -1
  105. package/dist/commands/tools/info/info-tool.d.ts +12 -0
  106. package/dist/commands/tools/info/info-tool.d.ts.map +1 -1
  107. package/dist/commands/tools/info/info-tool.js +54 -6
  108. package/dist/commands/tools/info/skill-views.d.ts +86 -0
  109. package/dist/commands/tools/info/skill-views.d.ts.map +1 -0
  110. package/dist/commands/tools/info/skill-views.js +383 -0
  111. package/dist/commands/tools/install/index.d.ts.map +1 -1
  112. package/dist/commands/tools/install/index.js +3 -25
  113. package/dist/commands/tools/list/list-tools.d.ts +2 -0
  114. package/dist/commands/tools/list/list-tools.d.ts.map +1 -1
  115. package/dist/commands/tools/list/list-tools.js +23 -4
  116. package/dist/commands/tools/remove/index.d.ts.map +1 -1
  117. package/dist/commands/tools/remove/index.js +35 -42
  118. package/dist/commands/tools/remove/remove-tools.d.ts +3 -2
  119. package/dist/commands/tools/remove/remove-tools.d.ts.map +1 -1
  120. package/dist/commands/tools/remove/remove-tools.js +14 -4
  121. package/dist/commands/tools/shared/auto-sync.d.ts +12 -1
  122. package/dist/commands/tools/shared/auto-sync.d.ts.map +1 -1
  123. package/dist/commands/tools/shared/auto-sync.js +20 -4
  124. package/dist/commands/tools/shared/format-pack-inventory.d.ts +12 -1
  125. package/dist/commands/tools/shared/format-pack-inventory.d.ts.map +1 -1
  126. package/dist/commands/tools/shared/format-pack-inventory.js +48 -6
  127. package/dist/commands/tools/shared/in-process-sync.d.ts +11 -0
  128. package/dist/commands/tools/shared/in-process-sync.d.ts.map +1 -0
  129. package/dist/commands/tools/shared/in-process-sync.js +79 -0
  130. package/dist/commands/tools/shared/pack-evidence.d.ts +78 -2
  131. package/dist/commands/tools/shared/pack-evidence.d.ts.map +1 -1
  132. package/dist/commands/tools/shared/pack-evidence.js +96 -2
  133. package/dist/commands/tools/shared/pack-lifecycle-outcome.d.ts +11 -0
  134. package/dist/commands/tools/shared/pack-lifecycle-outcome.d.ts.map +1 -1
  135. package/dist/commands/tools/shared/pack-lifecycle-outcome.js +24 -3
  136. package/dist/commands/tools/shared/pack-provider-evidence.d.ts +73 -0
  137. package/dist/commands/tools/shared/pack-provider-evidence.d.ts.map +1 -0
  138. package/dist/commands/tools/shared/pack-provider-evidence.js +161 -0
  139. package/dist/commands/tools/shared/provider-context.d.ts +88 -0
  140. package/dist/commands/tools/shared/provider-context.d.ts.map +1 -0
  141. package/dist/commands/tools/shared/provider-context.js +77 -0
  142. package/dist/commands/tools/shared/provider-reachability.d.ts +93 -0
  143. package/dist/commands/tools/shared/provider-reachability.d.ts.map +1 -0
  144. package/dist/commands/tools/shared/provider-reachability.js +358 -0
  145. package/dist/commands/tools/shared/sync-evidence.d.ts +57 -0
  146. package/dist/commands/tools/shared/sync-evidence.d.ts.map +1 -0
  147. package/dist/commands/tools/shared/sync-evidence.js +147 -0
  148. package/dist/commands/tools/update/index.d.ts +0 -4
  149. package/dist/commands/tools/update/index.d.ts.map +1 -1
  150. package/dist/commands/tools/update/index.js +22 -40
  151. package/dist/commands/tools/update/update-tools.d.ts.map +1 -1
  152. package/dist/commands/tools/update/update-tools.js +23 -8
  153. package/dist/config/json.d.ts +36 -0
  154. package/dist/config/json.d.ts.map +1 -1
  155. package/dist/config/json.js +135 -3
  156. package/dist/drift/index.d.ts +2 -0
  157. package/dist/drift/index.d.ts.map +1 -1
  158. package/dist/drift/index.js +1 -0
  159. package/dist/drift/skill-view-diagnostic.d.ts +197 -0
  160. package/dist/drift/skill-view-diagnostic.d.ts.map +1 -0
  161. package/dist/drift/skill-view-diagnostic.js +343 -0
  162. package/dist/validation/skills.d.ts +1 -0
  163. package/dist/validation/skills.d.ts.map +1 -1
  164. package/dist/validation/skills.js +181 -19
  165. package/package.json +2 -2
@@ -1,12 +1,13 @@
1
1
  ---
2
2
  name: oat-project-lite
3
- version: 1.1.1
4
3
  description: Use when a single-sitting change needs a critical interview, an approved single-phase plan, and resumable OAT implementation with minimal ceremony.
5
4
  argument-hint: '<project-name> ["project description"]'
6
5
  oat_gateable: true
7
6
  disable-model-invocation: true
8
7
  user-invocable: true
9
8
  allowed-tools: Read, Write, Bash, Glob, Grep, AskUserQuestion
9
+ metadata:
10
+ version: 1.1.2
10
11
  ---
11
12
 
12
13
  # Lite Project
@@ -193,6 +193,7 @@ remains.
193
193
  | PRFINAL-02 | `oat-project-pr-final` | Missing title/base | Ask for title and resolve base | Use the documented ticket/conventional-title and base-branch resolution chains | `auto-resolve` | PR artifact frontmatter and command |
194
194
  | PRFINAL-03 | `oat-project-pr-final` | Final review not passed | Ask whether to proceed anyway | Never proceed in autonomy; stop and route to final review/re-review | `boundary:unresolved-critical-findings` | Final review row and blocker report |
195
195
  | PRFINAL-04 | `oat-project-pr-final` | Push/PR policy or credentials | Ask operator to authorize or authenticate | Stop when repository policy or missing credentials prevent push/PR creation | `boundary:repository-policy-approval` / `boundary:missing-credentials` | PR state and redacted command error |
196
+ | PRFINAL-05 | `oat-project-pr-final` | Unresolved review-ledger artifact path | Report the offending row and stop | Stop before push and PR creation; a `## Reviews` artifact path that does not resolve to a regular file inside the project is never auto-resolved, and repairing the row is the only route forward | `boundary:unresolved-critical-findings` | Offending ledger row (scope, type, artifact) |
196
197
  | COMPLETE-01 | `oat-project-complete` | Batched completion/archive/summary/PR choices | Confirm completion and choose optional actions | Confirm only after gates pass; honor explicit config, refresh missing/stale summary, avoid duplicate PR, and archive only when configured | `auto-resolve` | Completion state and summary |
197
198
  | COMPLETE-02 | `oat-project-complete` | Required documentation missing | Run document or explicitly skip | Run autonomous documentation; do not silently skip a required gate | `auto-resolve` / `boundary:repository-policy-approval` | Documentation state |
198
199
  | COMPLETE-03 | `oat-project-complete` | Unsatisfied completion gates | Continue anyway | Never continue silently; unresolved final review is a review boundary and other hard policies remain boundaries | `boundary:unresolved-critical-findings` / `boundary:repository-policy-approval` | Combined gate report |
@@ -1,11 +1,12 @@
1
1
  ---
2
2
  name: oat-project-new
3
- version: 1.4.0
4
3
  description: Use when starting a spec-driven OAT project from scratch. Scaffolds a new project under PROJECTS_ROOT and sets it active.
5
4
  argument-hint: '<project-name> [--scope shared|local|synced] [--force]'
6
5
  disable-model-invocation: true
7
6
  user-invocable: true
8
7
  allowed-tools: Read, Write, Bash, Glob, Grep, AskUserQuestion
8
+ metadata:
9
+ version: 1.4.1
9
10
  ---
10
11
 
11
12
  # New OAT Project
@@ -1,10 +1,11 @@
1
1
  ---
2
2
  name: oat-project-next
3
- version: 1.1.1
4
3
  description: Use when continuing work on the active OAT project. Reads project state, determines the next lifecycle action, and invokes the appropriate skill automatically.
5
4
  disable-model-invocation: true
6
5
  user-invocable: true
7
6
  allowed-tools: Read, Glob, Grep, Bash(git:*), Bash(oat:*), Skill
7
+ metadata:
8
+ version: 1.1.2
8
9
  ---
9
10
 
10
11
  # Project Next
@@ -1,10 +1,11 @@
1
1
  ---
2
2
  name: oat-project-open
3
3
  description: Use when switching to or resuming a specific OAT project. Delegates to `oat project open` for validation and activation.
4
- version: 1.2.0
5
4
  disable-model-invocation: true
6
5
  user-invocable: true
7
6
  allowed-tools: Read, Write, Bash, AskUserQuestion
7
+ metadata:
8
+ version: 1.2.1
8
9
  ---
9
10
 
10
11
  # Open Project
@@ -1,11 +1,12 @@
1
1
  ---
2
2
  name: oat-project-plan
3
- version: 1.4.10
4
3
  description: Use when design.md is complete and executable implementation tasks are needed. Breaks design into bite-sized TDD tasks in canonical plan.md format.
5
4
  oat_gateable: true
6
5
  disable-model-invocation: true
7
6
  user-invocable: true
8
7
  allowed-tools: Read, Write, Bash(git:*), Glob, Grep, AskUserQuestion
8
+ metadata:
9
+ version: 1.4.11
9
10
  ---
10
11
 
11
12
  # Planning Phase
@@ -1,10 +1,11 @@
1
1
  ---
2
2
  name: oat-project-plan-writing
3
- version: 1.2.23
4
3
  description: Use when authoring or mutating plan.md in any OAT workflow. Defines canonical format invariants — stable task IDs, required sections, review table rules, and resume guardrails.
5
4
  disable-model-invocation: true
6
5
  user-invocable: false
7
6
  allowed-tools: Read, Write, Glob, Grep
7
+ metadata:
8
+ version: 1.2.24
8
9
  ---
9
10
 
10
11
  # Plan Writing Contract
@@ -1,10 +1,11 @@
1
1
  ---
2
2
  name: oat-project-pr-final
3
- version: 1.6.2
4
3
  description: Use when the user requests or confirms opening the final PR for an active OAT project — e.g. "open the final PR", "ship it", "run oat-project-pr-final", or confirms a previously offered final-PR step. Do NOT auto-invoke when phases are marked complete. Generates the final lifecycle PR description from artifacts and creates the PR.
5
4
  disable-model-invocation: false
6
5
  user-invocable: true
7
6
  allowed-tools: Read, Write, Bash(awk:*), Bash(gh:*), Bash(git:*), Bash(mktemp:*), Bash(oat:*), Bash(rm:*), Glob, Grep, AskUserQuestion
7
+ metadata:
8
+ version: 1.6.4
8
9
  ---
9
10
 
10
11
  # Project PR (Final)
@@ -131,17 +132,30 @@ Before generating the final PR, detect any leftover active review artifacts in t
131
132
  find "$PROJECT_PATH/reviews" -maxdepth 1 -type f -name "*.md" 2>/dev/null
132
133
  ```
133
134
 
134
- If any active review artifacts exist:
135
+ **Archive eligibility is its own predicate.** An artifact is archive-eligible only when the `## Reviews` event that binds it — matched by `Scope` + `Type` + `Artifact` filename — has Status `passed` or `fixes_completed`. Those are the two processed statuses in `oat-project-review-receive`; `fixes_completed` still awaits re-review, and archiving it keeps the artifact discoverable without treating that re-review as done. A `pending`, `received`, or `fixes_added` event is still being consumed: leave its artifact in the top level of `reviews/` and report it. Leave a top-level artifact that no ledger event binds in place and report it too.
136
+
137
+ Archive eligibility is not the Step 2 final-review gate. Step 2 still requires the latest `final`/`code` event to be `passed`, so an archived `fixes_completed` final row still stops autonomous finalization at `PRFINAL-03`.
138
+
139
+ For each archive-eligible artifact:
135
140
 
136
141
  1. Create `"$PROJECT_PATH/reviews/archived"` if needed.
137
- 2. Rewrite any plan/implementation/state references touched during this preflight from `reviews/{filename}.md` to `reviews/archived/{filename}.md`.
138
- 3. Move each review artifact into `reviews/archived/`, adding a timestamp suffix when needed to avoid collisions.
139
- 4. Report the archived paths before continuing.
142
+ 2. Resolve the destination filename before anything is rewritten or moved: keep `{filename}.md` when `reviews/archived/{filename}.md` is free; otherwise `{stem}-$(date -u +%Y-%m-%dT%H%M%SZ).md`, then a `-2`, `-3`, … index while that name is also taken. Never overwrite an existing archive destination. This is the same collision-free identity rule as `oat-project-review-receive` Step 1, per DR-260706.
143
+ 3. Rewrite references from `reviews/{filename}.md` to `reviews/archived/{destination}` in exactly these files:
144
+ - `"$PROJECT_PATH/plan.md"`
145
+ - `"$PROJECT_PATH/implementation.md"`
146
+ - `"$PROJECT_PATH/state.md"`
147
+
148
+ In `plan.md`, select the ledger event by `Scope` + `Type` + `Artifact` filename and rewrite only that event's Artifact cell. Duplicate scope/type rows keep their own identity; never rewrite a sibling row that merely shares the scope and type.
149
+
150
+ 4. Move the review artifact to `reviews/archived/{destination}` only after those references are rewritten.
151
+ 5. Report the archived paths before continuing.
140
152
 
141
153
  Rules:
142
154
 
143
155
  - Only archive top-level active review artifacts. Leave `reviews/archived/` untouched.
144
156
  - Keep archive destinations inside the project so worktree runs do not depend on the shared-project archive flow.
157
+ - Step 0.5 is idempotent. A re-run re-derives eligibility from the ledger: an event whose Artifact cell already points inside `reviews/archived/` and whose top-level file is gone is already archived, so skip it — never rewrite its cell a second time and never write a second archived copy. Re-running over the same artifact set therefore neither duplicates nor clobbers an archived artifact.
158
+ - If a rewritten reference names an archived destination that does not exist while the source artifact is still in the top level, a previous run stopped between the rewrite and the move: complete the move to that exact destination rather than deriving a second name.
145
159
 
146
160
  ### Step 1: Validate Required Artifacts (Mode-Aware)
147
161
 
@@ -396,6 +410,267 @@ Only include links to artifacts that actually exist in the project. Omit any tha
396
410
 
397
411
  After writing the PR artifact, push and create the PR automatically.
398
412
 
413
+ **Ledger-path guard (both PR paths).** Before either `gh pr create` path runs, validate every artifact path in the project's `## Reviews` ledger. Parse each row's Artifact cell rather than grepping the section as free text, and skip a `-` placeholder. The ledger is the table rows of `## Reviews`: the scan starts at the first exact `## Reviews` heading and ends at the next level-two heading — a `###` subsection inside that section is still scanned, exactly as Step 2 reads the ledger — and a blockquoted line or a fenced block inside the section is a note or an event example, never an event. Columns are split on `|`, so an escaped `\|` anywhere in a ledger header or ledger row stops rather than shifting the Artifact column onto a neighbouring cell: no ledger value needs a literal pipe, and reading one cell while naming another is exactly the silent skip this gate exists to prevent. Every other cell must normalize — `..` segments and symlinks resolved physically — to a regular file inside `$PROJECT_PATH`. The ledger is the table inside `## Reviews` whose header carries `Scope`, `Type`, and `Artifact` columns, matched after emphasis is stripped and in whatever order the header declares; a section that holds table rows but no such header, or an unclosed fenced block, stops rather than validating nothing. Processed review artifacts live in the gitignored `reviews/archived/`, so when that directory does not exist in this checkout at all — a fresh clone, a remote workspace, or a lane worktree — an absent path inside it is a local-only artifact: report it and continue. Once `reviews/archived/` exists, a file missing from it is a dangling row, usually an archive interrupted between the reference rewrite and the move, and it stops like any other absent path. That excuse covers a location that was never materialized, so it requires the path to be absent outright: a regular file, a dangling symlink, or any other non-directory at `reviews/archived` is an anomaly, not a fresh checkout, and it stops rather than excusing the row. Every other absent path fails, in every project scope — git ignores whole project directories for `local`, `synced`, and `archived` projects, so ignore state says nothing about whether a row resolves. A missing file in a tracked location, a directory, a path that escapes the project, a non-directory at `reviews/archived`, an unreadable ledger, a plan with no `## Reviews` section, an escaped pipe in a ledger header or row, a row the parser cannot read, or a ledger the guard could not check row for row stops this skill at gate `PRFINAL-05`, naming the offending row by scope, type, and artifact filename. Every stop fails closed. Both the synced flow below and the non-synced flow run after this block, so no PR is created from a ledger whose artifact paths do not resolve.
414
+
415
+ ````bash
416
+ LEDGER_PROJECT_ROOT=$(cd -P "$PROJECT_PATH" 2>/dev/null && pwd -P) || {
417
+ echo "PRFINAL-05: project path does not resolve: $PROJECT_PATH" >&2
418
+ exit 1
419
+ }
420
+ if [ ! -r "$PROJECT_PATH/plan.md" ]; then
421
+ echo "PRFINAL-05: cannot read the review ledger: $PROJECT_PATH/plan.md" >&2
422
+ exit 1
423
+ fi
424
+ LEDGER_ARCHIVE_DIR="$LEDGER_PROJECT_ROOT/reviews/archived"
425
+ # Classify the archive location before excusing an absent artifact under it.
426
+ # `[ ! -d ]` is also true for a regular file and for a dangling symlink, so
427
+ # keying the "never materialized" excuse on it re-opens the dangling row this
428
+ # gate exists to catch. Absent means absent: `-e` alone still misses a dangling
429
+ # symlink, which is why `-L` is tested too.
430
+ classify_absent_ledger_artifact() {
431
+ LEDGER_ABSENT_CLASS=missing
432
+ case "$1" in
433
+ "$LEDGER_ARCHIVE_DIR"/*) ;;
434
+ *) return 0 ;;
435
+ esac
436
+ if [ -d "$LEDGER_ARCHIVE_DIR" ]; then
437
+ return 0
438
+ fi
439
+ if [ -e "$LEDGER_ARCHIVE_DIR" ] || [ -L "$LEDGER_ARCHIVE_DIR" ]; then
440
+ LEDGER_ABSENT_CLASS=not-a-directory
441
+ return 0
442
+ fi
443
+ LEDGER_ABSENT_CLASS=local-only
444
+ }
445
+ LEDGER_ROWS=$(awk -F'|' '
446
+ !in_fence && /^[[:space:]]*(```|~~~)/ {
447
+ marker = $0
448
+ sub(/^[[:space:]]*/, "", marker)
449
+ fence_char = substr(marker, 1, 1)
450
+ fence_length = 0
451
+ while (substr(marker, fence_length + 1, 1) == fence_char) fence_length++
452
+ in_fence = 1
453
+ next
454
+ }
455
+ in_fence {
456
+ marker = $0
457
+ sub(/^[[:space:]]*/, "", marker)
458
+ close_length = 0
459
+ while (substr(marker, close_length + 1, 1) == fence_char) close_length++
460
+ if (close_length >= fence_length && substr(marker, close_length + 1) ~ /^[[:space:]]*$/) in_fence = 0
461
+ next
462
+ }
463
+ /^## Reviews[[:space:]]*$/ { in_reviews = 1; at_table_start = 1; next }
464
+ !in_reviews { next }
465
+ /^##[[:space:]]/ { exit }
466
+ /^#+[[:space:]]/ { at_table_start = 1; in_ledger_table = 0; next }
467
+ /^[[:space:]]*>/ { next }
468
+ /^[[:space:]]*$/ { at_table_start = 1; in_ledger_table = 0; next }
469
+ $0 !~ /^[[:space:]]*\|/ {
470
+ if ($0 ~ /\|/) {
471
+ print "PRFINAL-05: unsupported review-ledger row (a row must start with |): " $0 > "/dev/stderr"
472
+ exit 3
473
+ }
474
+ next
475
+ }
476
+ {
477
+ escaped_pipe_row = $0
478
+ for (i = 1; i <= NF; i++) {
479
+ gsub(/^[[:space:]]+|[[:space:]]+$/, "", $i)
480
+ }
481
+ }
482
+ at_table_start {
483
+ if (index(escaped_pipe_row, "\\|") > 0) {
484
+ print "PRFINAL-05: review-ledger table header contains an escaped |; its columns cannot be identified: " escaped_pipe_row > "/dev/stderr"
485
+ exit 3
486
+ }
487
+ at_table_start = 0
488
+ saw_table = 1
489
+ scope_column = 0
490
+ type_column = 0
491
+ artifact_column = 0
492
+ last_cell = ($NF == "") ? NF - 1 : NF
493
+ for (i = 2; i <= last_cell; i++) {
494
+ header_cell = tolower($i)
495
+ gsub(/[*_`]/, "", header_cell)
496
+ gsub(/^[[:space:]]+|[[:space:]]+$/, "", header_cell)
497
+ if (header_cell == "scope") scope_column = i
498
+ if (header_cell == "type") type_column = i
499
+ if (header_cell == "artifact") artifact_column = i
500
+ }
501
+ in_ledger_table = (scope_column > 0 && type_column > 0 && artifact_column > 0)
502
+ if (in_ledger_table) {
503
+ recognized_ledger = 1
504
+ } else if (scope_column > 0 && type_column > 0) {
505
+ print "PRFINAL-05: review-ledger table has no Artifact column; its rows cannot be validated" > "/dev/stderr"
506
+ exit 3
507
+ }
508
+ next
509
+ }
510
+ !in_ledger_table { next }
511
+ index(escaped_pipe_row, "\\|") > 0 {
512
+ print "PRFINAL-05: unsupported review-ledger row (an escaped | cannot be assigned to a column): " escaped_pipe_row > "/dev/stderr"
513
+ exit 3
514
+ }
515
+ {
516
+ last_cell = ($NF == "") ? NF - 1 : NF
517
+ is_separator = (last_cell >= 2)
518
+ for (i = 2; i <= last_cell; i++) {
519
+ if ($i !~ /^:?-+:?$/) is_separator = 0
520
+ }
521
+ }
522
+ is_separator { next }
523
+ {
524
+ artifact_value = $artifact_column
525
+ unwrapping = 1
526
+ while (unwrapping) {
527
+ unwrapping = 0
528
+ if (length(artifact_value) > 2 && artifact_value ~ /^`.*`$/) {
529
+ artifact_value = substr(artifact_value, 2, length(artifact_value) - 2)
530
+ unwrapping = 1
531
+ } else if (length(artifact_value) > 4 && artifact_value ~ /^\*\*.*\*\*$/) {
532
+ artifact_value = substr(artifact_value, 3, length(artifact_value) - 4)
533
+ unwrapping = 1
534
+ } else if (length(artifact_value) > 2 && artifact_value ~ /^\*.*\*$/) {
535
+ artifact_value = substr(artifact_value, 2, length(artifact_value) - 2)
536
+ unwrapping = 1
537
+ } else if (length(artifact_value) > 2 && artifact_value ~ /^_.*_$/) {
538
+ artifact_value = substr(artifact_value, 2, length(artifact_value) - 2)
539
+ unwrapping = 1
540
+ }
541
+ }
542
+ print $scope_column "\t" $type_column "\t" artifact_value
543
+ }
544
+ END {
545
+ if (in_fence) {
546
+ print "PRFINAL-05: unclosed fenced block; the review ledger was never scanned" > "/dev/stderr"
547
+ exit 3
548
+ }
549
+ if (!in_reviews) {
550
+ print "PRFINAL-05: no ## Reviews section; the review ledger was never scanned" > "/dev/stderr"
551
+ exit 3
552
+ }
553
+ if (saw_table && !recognized_ledger) {
554
+ print "PRFINAL-05: unrecognized review-ledger header; no table in ## Reviews carries Scope, Type, and Artifact columns" > "/dev/stderr"
555
+ exit 3
556
+ }
557
+ }
558
+ ' "$PROJECT_PATH/plan.md") || {
559
+ echo "PRFINAL-05: cannot parse the review ledger: $PROJECT_PATH/plan.md" >&2
560
+ exit 1
561
+ }
562
+ LEDGER_ROW_COUNT=$(printf '%s\n' "$LEDGER_ROWS" | grep -c '[^[:space:]]') || LEDGER_ROW_COUNT=0
563
+ LEDGER_ROWS_SEEN=0
564
+ LEDGER_PATH_FAILURES=0
565
+ while IFS="$(printf '\t')" read -r ROW_SCOPE ROW_TYPE ROW_ARTIFACT; do
566
+ [ -n "$ROW_SCOPE$ROW_TYPE$ROW_ARTIFACT" ] || continue
567
+ LEDGER_ROWS_SEEN=$((LEDGER_ROWS_SEEN + 1))
568
+ if [ "$ROW_ARTIFACT" = "-" ]; then continue; fi
569
+ ROW_REASON=""
570
+ if [ -z "$ROW_ARTIFACT" ]; then
571
+ ROW_REASON="artifact cell is empty"
572
+ else
573
+ ROW_TARGET="$PROJECT_PATH/$ROW_ARTIFACT"
574
+ ROW_DIR=$(cd -P "$(dirname "$ROW_TARGET")" 2>/dev/null && pwd -P) || ROW_DIR=""
575
+ ROW_RESOLVED=""
576
+ if [ -n "$ROW_DIR" ]; then
577
+ ROW_RESOLVED="$ROW_DIR/$(basename "$ROW_TARGET")"
578
+ ROW_HOPS=0
579
+ while [ -L "$ROW_RESOLVED" ] && [ "$ROW_HOPS" -lt 16 ]; do
580
+ ROW_LINK=$(readlink "$ROW_RESOLVED")
581
+ ROW_DIR=$(cd -P "$(dirname "$ROW_RESOLVED")" 2>/dev/null && cd -P "$(dirname "$ROW_LINK")" 2>/dev/null && pwd -P) || ROW_DIR=""
582
+ if [ -z "$ROW_DIR" ]; then
583
+ ROW_RESOLVED=""
584
+ break
585
+ fi
586
+ ROW_RESOLVED="$ROW_DIR/$(basename "$ROW_LINK")"
587
+ ROW_HOPS=$((ROW_HOPS + 1))
588
+ done
589
+ fi
590
+ ROW_MATERIALIZED=1
591
+ if [ -z "$ROW_RESOLVED" ]; then
592
+ ROW_MATERIALIZED=0
593
+ ROW_RESOLVED=$(printf '%s\n' "$LEDGER_PROJECT_ROOT/$ROW_ARTIFACT" | awk -F'/' '{
594
+ depth = 0
595
+ for (i = 1; i <= NF; i++) {
596
+ if ($i == "" || $i == ".") continue
597
+ if ($i == "..") { if (depth > 0) depth--; continue }
598
+ segment[++depth] = $i
599
+ }
600
+ normalized = ""
601
+ for (i = 1; i <= depth; i++) normalized = normalized "/" segment[i]
602
+ print (normalized == "" ? "/" : normalized)
603
+ }')
604
+ fi
605
+ ROW_CONTAINED=0
606
+ case "$ROW_RESOLVED" in
607
+ "$LEDGER_PROJECT_ROOT"/*) ROW_CONTAINED=1 ;;
608
+ esac
609
+ if [ "$ROW_CONTAINED" -eq 1 ] && [ "$ROW_MATERIALIZED" -eq 0 ]; then
610
+ ROW_ANCESTOR="$ROW_RESOLVED"
611
+ while [ ! -e "$ROW_ANCESTOR" ] && [ "$ROW_ANCESTOR" != "/" ]; do
612
+ ROW_ANCESTOR=$(dirname "$ROW_ANCESTOR")
613
+ done
614
+ if [ ! -d "$ROW_ANCESTOR" ]; then
615
+ ROW_ANCESTOR=$(dirname "$ROW_ANCESTOR")
616
+ fi
617
+ ROW_ANCESTOR_REAL=$(cd -P "$ROW_ANCESTOR" 2>/dev/null && pwd -P) || ROW_ANCESTOR_REAL=""
618
+ case "$ROW_ANCESTOR_REAL" in
619
+ "$LEDGER_PROJECT_ROOT" | "$LEDGER_PROJECT_ROOT"/*) ;;
620
+ *) ROW_CONTAINED=0 ;;
621
+ esac
622
+ fi
623
+ if [ "$ROW_CONTAINED" -eq 0 ]; then
624
+ ROW_REASON="artifact resolves outside the project: $ROW_RESOLVED"
625
+ elif [ "$ROW_MATERIALIZED" -eq 0 ]; then
626
+ classify_absent_ledger_artifact "$ROW_RESOLVED"
627
+ case "$LEDGER_ABSENT_CLASS" in
628
+ local-only)
629
+ echo "oat: local-only review artifact; reviews/archived/ was never materialized in this checkout | scope=$ROW_SCOPE type=$ROW_TYPE artifact=$ROW_ARTIFACT"
630
+ ;;
631
+ not-a-directory)
632
+ ROW_REASON="reviews/archived exists but is not a directory"
633
+ ;;
634
+ *)
635
+ ROW_REASON="artifact file does not exist"
636
+ ;;
637
+ esac
638
+ elif [ -L "$ROW_RESOLVED" ]; then
639
+ ROW_REASON="artifact symlink chain does not resolve within 16 hops"
640
+ elif [ -d "$ROW_RESOLVED" ]; then
641
+ ROW_REASON="artifact path is a directory"
642
+ elif [ ! -e "$ROW_RESOLVED" ]; then
643
+ classify_absent_ledger_artifact "$ROW_RESOLVED"
644
+ case "$LEDGER_ABSENT_CLASS" in
645
+ local-only)
646
+ echo "oat: local-only review artifact; reviews/archived/ was never materialized in this checkout | scope=$ROW_SCOPE type=$ROW_TYPE artifact=$ROW_ARTIFACT"
647
+ ;;
648
+ not-a-directory)
649
+ ROW_REASON="reviews/archived exists but is not a directory"
650
+ ;;
651
+ *)
652
+ ROW_REASON="artifact file does not exist"
653
+ ;;
654
+ esac
655
+ elif [ ! -f "$ROW_RESOLVED" ]; then
656
+ ROW_REASON="artifact is not a regular file"
657
+ fi
658
+ fi
659
+ [ -n "$ROW_REASON" ] || continue
660
+ echo "PRFINAL-05: unresolved review-ledger artifact | scope=$ROW_SCOPE type=$ROW_TYPE artifact=$ROW_ARTIFACT | $ROW_REASON" >&2
661
+ LEDGER_PATH_FAILURES=$((LEDGER_PATH_FAILURES + 1))
662
+ done <<LEDGER
663
+ $LEDGER_ROWS
664
+ LEDGER
665
+ if [ "$LEDGER_ROWS_SEEN" -ne "$LEDGER_ROW_COUNT" ]; then
666
+ echo "PRFINAL-05: validated $LEDGER_ROWS_SEEN of $LEDGER_ROW_COUNT review-ledger rows; the ledger was not fully checked" >&2
667
+ exit 1
668
+ fi
669
+ [ "$LEDGER_PATH_FAILURES" -eq 0 ] || exit 1
670
+ ````
671
+
672
+ On `PRFINAL-05`, stop and repair the offending ledger row — usually a `reviews/` path whose artifact Step 0.5 moved into `reviews/archived/` — then re-run. Never create the PR with an unresolved ledger path.
673
+
399
674
  For a synced project, use this ordered flow; do not reorder it:
400
675
 
401
676
  1. Finish or refresh `summary.md` and the PR artifact.
@@ -482,7 +757,8 @@ If `state.md` is missing, skip with a warning.
482
757
 
483
758
  ## Success Criteria
484
759
 
485
- - Residual active review artifacts are archived before final PR generation continues
760
+ - Residual review artifacts whose ledger event is `passed` or `fixes_completed` are archived before final PR generation continues, with their ledger event rewritten; other rows keep their active path
761
+ - Every `## Reviews` artifact path resolves to a regular file inside the project before `gh pr create` runs
486
762
  - Final PR description artifact written to `{PROJECT_PATH}/pr/`
487
763
  - Final review status checked and referenced
488
764
  - User has clear next step to open PR (manual or gh)
@@ -193,6 +193,7 @@ remains.
193
193
  | PRFINAL-02 | `oat-project-pr-final` | Missing title/base | Ask for title and resolve base | Use the documented ticket/conventional-title and base-branch resolution chains | `auto-resolve` | PR artifact frontmatter and command |
194
194
  | PRFINAL-03 | `oat-project-pr-final` | Final review not passed | Ask whether to proceed anyway | Never proceed in autonomy; stop and route to final review/re-review | `boundary:unresolved-critical-findings` | Final review row and blocker report |
195
195
  | PRFINAL-04 | `oat-project-pr-final` | Push/PR policy or credentials | Ask operator to authorize or authenticate | Stop when repository policy or missing credentials prevent push/PR creation | `boundary:repository-policy-approval` / `boundary:missing-credentials` | PR state and redacted command error |
196
+ | PRFINAL-05 | `oat-project-pr-final` | Unresolved review-ledger artifact path | Report the offending row and stop | Stop before push and PR creation; a `## Reviews` artifact path that does not resolve to a regular file inside the project is never auto-resolved, and repairing the row is the only route forward | `boundary:unresolved-critical-findings` | Offending ledger row (scope, type, artifact) |
196
197
  | COMPLETE-01 | `oat-project-complete` | Batched completion/archive/summary/PR choices | Confirm completion and choose optional actions | Confirm only after gates pass; honor explicit config, refresh missing/stale summary, avoid duplicate PR, and archive only when configured | `auto-resolve` | Completion state and summary |
197
198
  | COMPLETE-02 | `oat-project-complete` | Required documentation missing | Run document or explicitly skip | Run autonomous documentation; do not silently skip a required gate | `auto-resolve` / `boundary:repository-policy-approval` | Documentation state |
198
199
  | COMPLETE-03 | `oat-project-complete` | Unsatisfied completion gates | Continue anyway | Never continue silently; unresolved final review is a review boundary and other hard policies remain boundaries | `boundary:unresolved-critical-findings` / `boundary:repository-policy-approval` | Combined gate report |
@@ -1,10 +1,11 @@
1
1
  ---
2
2
  name: oat-project-pr-progress
3
- version: 1.3.1
4
3
  description: Use when an active OAT project needs a mid-project PR for a completed phase (pNN). Generates a phase-scoped progress PR description from OAT artifacts and commit history, with optional PR creation.
5
4
  disable-model-invocation: true
6
5
  user-invocable: true
7
6
  allowed-tools: Read, Write, Bash(awk:*), Bash(gh:*), Bash(git:*), Bash(mktemp:*), Bash(oat:*), Bash(rm:*), Glob, Grep, AskUserQuestion
7
+ metadata:
8
+ version: 1.3.2
8
9
  ---
9
10
 
10
11
  # Progress PR
@@ -1,10 +1,11 @@
1
1
  ---
2
2
  name: oat-project-progress
3
- version: 1.4.1
4
3
  description: Use when the user explicitly asks to check OAT project progress — e.g. "check progress", "what's next", "where are we", or confirms a previously offered progress check. Do NOT auto-invoke just because a workflow step completed. Reads project status and offers the next route.
5
4
  disable-model-invocation: false
6
5
  user-invocable: true
7
6
  allowed-tools: Read, Glob, Grep, Bash(git:*), Bash(oat:*), AskUserQuestion
7
+ metadata:
8
+ version: 1.4.2
8
9
  ---
9
10
 
10
11
  # Progress Router
@@ -1,11 +1,12 @@
1
1
  ---
2
2
  name: oat-project-promote-spec-driven
3
- version: 1.2.2
4
3
  description: Use when a quick or imported project now needs Spec-Driven lifecycle rigor. Backfills missing discovery, spec, and design artifacts in place.
5
4
  argument-hint: '[--project <name>]'
6
5
  disable-model-invocation: true
7
6
  user-invocable: true
8
7
  allowed-tools: Read, Write, Bash, Glob, Grep, AskUserQuestion
8
+ metadata:
9
+ version: 1.2.3
9
10
  ---
10
11
 
11
12
  # Promote Project To Spec-Driven Lifecycle
@@ -1,12 +1,13 @@
1
1
  ---
2
2
  name: oat-project-quick-start
3
- version: 2.3.10
4
3
  description: Use when a task is small enough for quick mode or rapid iteration is preferred. Scaffolds a lightweight OAT project from discovery directly to a runnable plan, with optional brainstorming and lightweight design.
5
4
  argument-hint: '<project-name> ["project description"]'
6
5
  oat_gateable: true
7
6
  disable-model-invocation: true
8
7
  user-invocable: true
9
8
  allowed-tools: Read, Write, Bash, Glob, Grep, AskUserQuestion
9
+ metadata:
10
+ version: 2.3.11
10
11
  ---
11
12
 
12
13
  # Quick Start Project
@@ -193,6 +193,7 @@ remains.
193
193
  | PRFINAL-02 | `oat-project-pr-final` | Missing title/base | Ask for title and resolve base | Use the documented ticket/conventional-title and base-branch resolution chains | `auto-resolve` | PR artifact frontmatter and command |
194
194
  | PRFINAL-03 | `oat-project-pr-final` | Final review not passed | Ask whether to proceed anyway | Never proceed in autonomy; stop and route to final review/re-review | `boundary:unresolved-critical-findings` | Final review row and blocker report |
195
195
  | PRFINAL-04 | `oat-project-pr-final` | Push/PR policy or credentials | Ask operator to authorize or authenticate | Stop when repository policy or missing credentials prevent push/PR creation | `boundary:repository-policy-approval` / `boundary:missing-credentials` | PR state and redacted command error |
196
+ | PRFINAL-05 | `oat-project-pr-final` | Unresolved review-ledger artifact path | Report the offending row and stop | Stop before push and PR creation; a `## Reviews` artifact path that does not resolve to a regular file inside the project is never auto-resolved, and repairing the row is the only route forward | `boundary:unresolved-critical-findings` | Offending ledger row (scope, type, artifact) |
196
197
  | COMPLETE-01 | `oat-project-complete` | Batched completion/archive/summary/PR choices | Confirm completion and choose optional actions | Confirm only after gates pass; honor explicit config, refresh missing/stale summary, avoid duplicate PR, and archive only when configured | `auto-resolve` | Completion state and summary |
197
198
  | COMPLETE-02 | `oat-project-complete` | Required documentation missing | Run document or explicitly skip | Run autonomous documentation; do not silently skip a required gate | `auto-resolve` / `boundary:repository-policy-approval` | Documentation state |
198
199
  | COMPLETE-03 | `oat-project-complete` | Unsatisfied completion gates | Continue anyway | Never continue silently; unresolved final review is a review boundary and other hard policies remain boundaries | `boundary:unresolved-critical-findings` / `boundary:repository-policy-approval` | Combined gate report |
@@ -1,10 +1,11 @@
1
1
  ---
2
2
  name: oat-project-reconcile
3
- version: 1.0.2
4
3
  description: Use when human-implemented commits need to be mapped back to planned tasks. Reconciles implementation.md and state.md after manual work outside the OAT workflow.
5
4
  disable-model-invocation: true
6
5
  user-invocable: true
7
6
  allowed-tools: Read, Write, Bash(git:*), Glob, Grep, AskUserQuestion
7
+ metadata:
8
+ version: 1.0.3
8
9
  ---
9
10
 
10
11
  # Reconcile Manual Implementation
@@ -1,10 +1,11 @@
1
1
  ---
2
2
  name: oat-project-retro
3
- version: 1.0.4
4
3
  description: Use when the user requests or confirms a project retrospective — e.g. "run the project retro", "write project-retro.md", "retrospective this project", or confirms a previously offered retro. Do NOT auto-invoke merely because implementation or summary completed. Produces references/project-retro.md from project logs, execution learnings, and session/transcript evidence, with repo improvements and OAT upstream feedback.
5
4
  disable-model-invocation: false
6
5
  user-invocable: true
7
6
  allowed-tools: Read, Write, Bash(git:*), Bash(jq:*), Bash(pnpm:*), Bash(oat config:*), Bash(oat decision:*), Bash(oat project log:*), Bash(oat project push:*), Bash(oat project scope:*), Bash(oat tools:*), Glob, Grep, AskUserQuestion
7
+ metadata:
8
+ version: 1.0.5
8
9
  ---
9
10
 
10
11
  # Project Retrospective
@@ -1,10 +1,11 @@
1
1
  ---
2
2
  name: oat-project-retro-file
3
- version: 1.0.2
4
3
  description: Use when the user requests or confirms filing proposed feedback from a project retro into repository or upstream GitHub issues and OAT backlog items. Runs destination capability, duplicate, approval, and sanitization checks before filing, then writes destinations and statuses back to the retro artifact.
5
4
  disable-model-invocation: false
6
5
  user-invocable: true
7
6
  allowed-tools: Read, Write, Bash(git:*), Bash(jq:*), Bash(pnpm:*), Bash(gh:*), Bash(oat backlog:*), Bash(oat config:*), Bash(oat project push:*), Bash(oat project scope:*), Glob, Grep, AskUserQuestion
7
+ metadata:
8
+ version: 1.0.3
8
9
  ---
9
10
 
10
11
  # File Project Retro Feedback
@@ -1,10 +1,11 @@
1
1
  ---
2
2
  name: oat-project-review-provide
3
- version: 1.5.5
4
3
  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
4
  disable-model-invocation: false
6
5
  user-invocable: true
7
6
  allowed-tools: Read, Glob, Grep, Write, Edit, Bash(git:*), Bash(oat:*), Bash(pnpm:*), Bash(mkdir:*), Bash(date:*), Bash(realpath:*), Bash(awk:*), AskUserQuestion
7
+ metadata:
8
+ version: 1.5.6
8
9
  ---
9
10
 
10
11
  # Request Review
@@ -1,10 +1,11 @@
1
1
  ---
2
2
  name: oat-project-review-provide-remote
3
- version: 1.1.3
4
3
  description: Use when reviewing a GitHub PR opened on another machine for an active OAT project and posting findings back as a single PR review. Resolves the project from the PR diff, reads project artifacts for mode-aware review, and posts via gh api.
5
4
  disable-model-invocation: true
6
5
  user-invocable: true
7
6
  allowed-tools: Read, Write, Bash, Glob, Grep, Task, AskUserQuestion
7
+ metadata:
8
+ version: 1.1.4
8
9
  ---
9
10
 
10
11
  # Remote Review Provide (Project-Scoped GitHub PR)
@@ -1,10 +1,11 @@
1
1
  ---
2
2
  name: oat-project-review-receive
3
- version: 1.6.2
4
3
  description: Use when the user explicitly asks to receive review findings for an OAT project — e.g. "receive review", "process review", "process the project review", or confirms a previously offered review-receive step. Do NOT auto-invoke merely because a review file exists. Resolves the latest review and offers before acting.
5
4
  disable-model-invocation: false
6
5
  user-invocable: true
7
6
  allowed-tools: Read, Write, Bash(git:*), Bash(oat:*), Glob, Grep, AskUserQuestion
7
+ metadata:
8
+ version: 1.6.3
8
9
  ---
9
10
 
10
11
  # Receive Review
@@ -1,10 +1,11 @@
1
1
  ---
2
2
  name: oat-project-review-receive-remote
3
- version: 1.5.1
4
3
  description: Use when processing GitHub PR review comments within project context. Fetches PR comments, creates plan tasks, and updates project artifacts.
5
4
  disable-model-invocation: true
6
5
  user-invocable: true
7
6
  allowed-tools: Read, Write, Bash, Glob, Grep, AskUserQuestion
7
+ metadata:
8
+ version: 1.5.2
8
9
  ---
9
10
 
10
11
  # Project Remote Review Receive
@@ -1,10 +1,11 @@
1
1
  ---
2
2
  name: oat-project-revise
3
- version: 1.0.2
4
3
  description: Use when a project has an open PR and human feedback needs to be incorporated. Creates revision tasks and re-enters implementation.
5
4
  disable-model-invocation: true
6
5
  user-invocable: true
7
6
  allowed-tools: Read, Write, Bash(git:*), Glob, Grep, AskUserQuestion
7
+ metadata:
8
+ version: 1.0.3
8
9
  ---
9
10
 
10
11
  # Project Revise