@open-agent-toolkit/cli 0.1.54 → 0.1.59

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 (45) hide show
  1. package/assets/agents/oat-phase-implementer.md +195 -238
  2. package/assets/docs/cli-utilities/configuration.md +7 -6
  3. package/assets/docs/contributing/index.md +1 -0
  4. package/assets/docs/contributing/smoke-testing.md +284 -0
  5. package/assets/docs/provider-sync/providers.md +11 -11
  6. package/assets/docs/provider-sync/scope-and-surface.md +2 -2
  7. package/assets/docs/workflows/projects/dispatch-ceiling.md +29 -26
  8. package/assets/docs/workflows/projects/evidence-layers.md +123 -0
  9. package/assets/docs/workflows/projects/implementation-execution.md +160 -406
  10. package/assets/docs/workflows/projects/index.md +8 -0
  11. package/assets/docs/workflows/projects/orchestration-model.md +190 -0
  12. package/assets/docs/workflows/projects/programmatic-execution.md +137 -0
  13. package/assets/docs/workflows/projects/review-flavors.md +129 -0
  14. package/assets/docs/workflows/skills/repo-improve.md +14 -0
  15. package/assets/public-package-versions.json +4 -4
  16. package/assets/skills/oat-agent-instructions-analyze/references/docs/provider-reference.md +5 -4
  17. package/assets/skills/oat-agent-instructions-apply/references/docs/provider-reference.md +5 -4
  18. package/assets/skills/oat-dispatch-subagents/SKILL.md +6 -1
  19. package/assets/skills/oat-dispatch-subagents/references/record-schema.md +5 -0
  20. package/assets/skills/oat-project-dispatch-subagents/SKILL.md +37 -15
  21. package/assets/skills/oat-project-implement/SKILL.md +63 -1904
  22. package/assets/skills/oat-project-implement/references/completion-and-closeout.md +431 -0
  23. package/assets/skills/oat-project-implement/references/dispatch-and-dry-run.md +715 -0
  24. package/assets/skills/oat-project-implement/references/phase-execution.md +270 -0
  25. package/assets/skills/oat-project-implement/references/plan-and-resume.md +279 -0
  26. package/assets/skills/oat-project-import-plan/SKILL.md +16 -8
  27. package/assets/skills/oat-project-plan/SKILL.md +15 -7
  28. package/assets/skills/oat-project-plan-writing/SKILL.md +74 -40
  29. package/assets/skills/oat-project-quick-start/SKILL.md +16 -8
  30. package/assets/skills/oat-project-review-provide/SKILL.md +8 -5
  31. package/assets/skills/oat-repo-improve/SKILL.md +17 -2
  32. package/assets/skills/oat-repo-improve/references/audit-playbook.md +6 -0
  33. package/assets/skills/oat-worktree-bootstrap/SKILL.md +22 -12
  34. package/assets/skills/oat-worktree-bootstrap/references/worktree-conventions.md +8 -8
  35. package/assets/skills/oat-worktree-bootstrap-auto/SKILL.md +233 -44
  36. package/dist/commands/docs/index-generate/index.d.ts.map +1 -1
  37. package/dist/commands/docs/index-generate/index.js +10 -5
  38. package/dist/commands/doctor/index.d.ts.map +1 -1
  39. package/dist/commands/doctor/index.js +7 -4
  40. package/dist/commands/gate/index.d.ts +9 -1
  41. package/dist/commands/gate/index.d.ts.map +1 -1
  42. package/dist/commands/gate/index.js +62 -2
  43. package/dist/commands/project/dispatch-ceiling/index.js +2 -2
  44. package/package.json +4 -4
  45. package/assets/skills/oat-worktree-bootstrap-auto/scripts/bootstrap.sh +0 -236
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: oat-project-dispatch-subagents
3
- version: 1.1.0
3
+ version: 1.1.2
4
4
  description: Use when an OAT project lifecycle skill needs to translate project state, phase or task scope, gates, and write authority into a provider-neutral subagent dispatch.
5
5
  disable-model-invocation: true
6
6
  user-invocable: false
@@ -108,19 +108,25 @@ conversational approval are never project policy.
108
108
 
109
109
  Map each lifecycle role to a generic baseline class and add project policy:
110
110
 
111
- | Lifecycle role | Generic class | Project-specific contract |
112
- | -------------------------- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
113
- | Phase coordinator | `coordinator` | Own one phase dossier. Prefer an explicit suitable native target; inherit only when the root/session target is deliberately suitable. |
114
- | Task worker | `worker` | Own one task and bounded files. Use an explicit native or pre-selected alternate target; never silently inherit an expensive root model. |
115
- | Fix worker | `worker` | Own listed findings and bounded files. Preserve retry/fix-loop limits and original task context. |
116
- | Planning self-review | `reviewer` | Inherit the planning parent by default unless the plan-writing contract requires an exact independent reviewer. |
117
- | Implementation self-review | `reviewer` | Target the resolved reviewer ceiling; inherit only when the review-owning dispatcher is known to satisfy it. |
118
- | Phase gate | `reviewer` | Use the configured independent target and fail closed when unavailable. |
119
- | Lifecycle gate | `reviewer` | Stay independent of producer context and fail closed rather than substituting same-context self-review. |
111
+ | Lifecycle role | Generic class | Project-specific contract |
112
+ | -------------------------------------- | ------------------- | ----------------------------------------------------------------------------------------------------------------------- |
113
+ | Phase implementer | `worker` | Own one complete phase, execute tasks directly in order, preserve per-task commits, and return phase verification. |
114
+ | Optional task/recon/specialist child | `worker` or `recon` | Launch only when benefit justifies nesting; keep objective, files, authority, target, output, and verification bounded. |
115
+ | Phase fix continuation | `worker` | Resume the original phase handle when possible; preserve retry limits, phase context, and original request linkage. |
116
+ | Planning self-review | `reviewer` | Inherit the planning parent by default unless the plan-writing contract requires an exact independent reviewer. |
117
+ | Root-owned implementation phase review | `reviewer` | Target the resolved reviewer ceiling independently of the phase producer. |
118
+ | Phase gate | `reviewer` | Use the configured independent target and fail closed when unavailable. |
119
+ | Lifecycle gate | `reviewer` | Stay independent of producer context and fail closed rather than substituting same-context self-review. |
120
120
 
121
121
  The calling lifecycle skill remains authoritative when its reviewed contract
122
122
  is stricter than this table.
123
123
 
124
+ The root owns implementation phase-review selection. A native catalog that
125
+ cannot satisfy the resolved review ceiling must use a policy-resolved
126
+ pre-start CLI reviewer route when available. Record the native mismatch, exact
127
+ target, selection reason, and ordered candidates; never delegate reviewer
128
+ selection to a below-ceiling phase implementer or silently downgrade.
129
+
124
130
  ## Adapt the Request
125
131
 
126
132
  For every lifecycle dispatch:
@@ -171,12 +177,22 @@ project:
171
177
  worktree: root
172
178
  ```
173
179
 
174
- ## Coordinator and Worker Topology
180
+ ## Phase-Agent Topology
181
+
182
+ The default implementation topology is root → phase implementer plus
183
+ root → phase reviewer. The phase implementer directly owns the planned phase
184
+ tasks. Per-task dispatch is not required.
185
+
186
+ Optional nested workers or recon agents are benefit-driven and remain subject
187
+ to exact bounded scopes and launcher-owned evidence. They must not widen task
188
+ boundaries, alter plan sequencing, take over phase commits, dispatch the phase
189
+ reviewer, or own user checkpoints.
175
190
 
176
- Use a phase coordinator only when the lifecycle workflow declares that
177
- topology. A coordinator may dispatch task workers when nesting and authority
178
- permit it, but it must not widen task boundaries, alter plan sequencing, or
179
- take over user checkpoints.
191
+ When review findings require fixes, resume the original phase request when the
192
+ host supports continuation. If a completed phase handle is unavailable, allow
193
+ at most one fresh same-target phase implementer for the bounded fix scope and
194
+ link its generic record to the original `request_id` through existing
195
+ `continuation_events`.
180
196
 
181
197
  For parallel groups, preserve plan-declared isolation. Each worktree receives
182
198
  only its assigned phase/task boundaries and must not mutate sibling worktrees.
@@ -229,6 +245,12 @@ fields inside the lifecycle extension.
229
245
  engine.
230
246
  - Accepted child failure: return the terminal outcome to the lifecycle caller;
231
247
  do not select a replacement automatically.
248
+ - A tracked smoke marker makes containment, ownership registration, expected
249
+ base, and fixture readiness run-validity conditions. Failure of any condition
250
+ triggers `invalid-run-abort`: terminate accepted child and gate handles owned
251
+ by that run, preserve the invalidating evidence, clean only journal-owned
252
+ resources, and stop before any later launch. Never replace an aborted handle
253
+ or degrade the invalid smoke run to sequential execution.
232
254
  - Required gate target unavailable: fail closed.
233
255
  - Verification or commit failure after worker completion: lifecycle caller owns
234
256
  repair and bookkeeping; do not falsify the child outcome.