@open-agent-toolkit/cli 0.3.13 → 0.3.15

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 (124) hide show
  1. package/README.md +1 -1
  2. package/assets/bundle-metadata.json +1 -1
  3. package/assets/docs/contributing/index.md +14 -1
  4. package/assets/docs/contributing/markdown-features.md +38 -0
  5. package/assets/docs/contributing/skills.md +64 -2
  6. package/assets/docs/contributing/smoke-testing.md +23 -16
  7. package/assets/docs/contributing/updating-model-guidance.md +2 -2
  8. package/assets/docs/contributing/verifying-cursor-pins.md +1 -1
  9. package/assets/docs/docs-tooling/add-docs-to-a-repo.md +32 -0
  10. package/assets/docs/docs-tooling/agent-instructions.md +131 -0
  11. package/assets/docs/docs-tooling/index.md +1 -0
  12. package/assets/docs/docs-tooling/meta.json +1 -1
  13. package/assets/docs/docs-tooling/workflows.md +338 -2
  14. package/assets/docs/{cli-utilities → getting-started}/bootstrap.md +60 -5
  15. package/assets/docs/getting-started/concepts.md +120 -0
  16. package/assets/docs/getting-started/index.md +68 -0
  17. package/assets/docs/getting-started/meta.json +4 -0
  18. package/assets/docs/getting-started/quickstart.md +174 -0
  19. package/assets/docs/{cli-utilities → getting-started}/tool-packs.md +142 -14
  20. package/assets/docs/index.md +47 -48
  21. package/assets/docs/meta.json +6 -7
  22. package/assets/docs/provider-sync/commands.md +25 -2
  23. package/assets/docs/provider-sync/config.md +60 -1
  24. package/assets/docs/provider-sync/index.md +31 -15
  25. package/assets/docs/provider-sync/instruction-sync.md +32 -1
  26. package/assets/docs/provider-sync/manifest-and-drift.md +92 -0
  27. package/assets/docs/provider-sync/meta.json +1 -0
  28. package/assets/docs/provider-sync/pilot-with-a-team.md +236 -0
  29. package/assets/docs/provider-sync/scope-and-surface.md +37 -3
  30. package/assets/docs/reference/cli-reference.md +33 -33
  31. package/assets/docs/{cli-utilities → reference}/config-and-local-state.md +25 -9
  32. package/assets/docs/{cli-utilities → reference}/configuration.md +151 -34
  33. package/assets/docs/reference/file-locations.md +4 -1
  34. package/assets/docs/reference/index.md +13 -1
  35. package/assets/docs/reference/meta.json +7 -1
  36. package/assets/docs/reference/oat-directory-structure.md +1 -1
  37. package/assets/docs/{workflows/projects/artifacts.md → reference/project-artifacts.md} +4 -4
  38. package/assets/docs/{workflows/projects/state-machine.md → reference/project-state-machine.md} +28 -21
  39. package/assets/docs/{workflows/projects/repo-analysis.md → reference/repository-pr-comments.md} +2 -2
  40. package/assets/docs/reference/troubleshooting.md +125 -10
  41. package/assets/docs/reference/what-oat-writes.md +410 -0
  42. package/assets/docs/skills/brainstorm.md +77 -0
  43. package/assets/docs/skills/diagnostics.md +56 -0
  44. package/assets/docs/{workflows/skills → skills}/explainer-kit.md +121 -0
  45. package/assets/docs/skills/index.md +416 -0
  46. package/assets/docs/{workflows/skills → skills}/meta.json +4 -2
  47. package/assets/docs/{workflows/skills → skills}/recon.md +49 -0
  48. package/assets/docs/skills/repo-improve.md +254 -0
  49. package/assets/docs/skills/research.md +237 -0
  50. package/assets/docs/skills/session-closeout.md +61 -0
  51. package/assets/docs/workflows/advanced/autonomy.md +344 -0
  52. package/assets/docs/workflows/{projects → advanced}/cursor-cloud.md +69 -1
  53. package/assets/docs/workflows/{projects → advanced}/dispatch-ceiling.md +163 -18
  54. package/assets/docs/workflows/{projects → advanced}/evidence-layers.md +20 -13
  55. package/assets/docs/workflows/advanced/index.md +19 -0
  56. package/assets/docs/workflows/advanced/meta.json +13 -0
  57. package/assets/docs/workflows/{projects → advanced}/orchestration-model.md +108 -35
  58. package/assets/docs/workflows/{projects → advanced}/programmatic-execution.md +4 -4
  59. package/assets/docs/{cli-utilities → workflows/advanced}/workflow-gates.md +162 -8
  60. package/assets/docs/workflows/advanced/worktree-bootstrap.md +83 -0
  61. package/assets/docs/workflows/approvals-and-automation.md +261 -0
  62. package/assets/docs/workflows/backlog-and-planning/backlog-lifecycle.md +348 -0
  63. package/assets/docs/workflows/backlog-and-planning/index.md +13 -0
  64. package/assets/docs/workflows/backlog-and-planning/meta.json +4 -0
  65. package/assets/docs/workflows/backlog-and-planning/remote-project-management.md +303 -0
  66. package/assets/docs/workflows/choose-workflow.md +114 -0
  67. package/assets/docs/workflows/ideas/index.md +3 -3
  68. package/assets/docs/workflows/ideas/lifecycle.md +225 -1
  69. package/assets/docs/workflows/index.md +11 -62
  70. package/assets/docs/workflows/meta.json +10 -2
  71. package/assets/docs/workflows/projects/closeout/closeout-skills.md +538 -0
  72. package/assets/docs/workflows/projects/closeout/index.md +14 -0
  73. package/assets/docs/workflows/projects/closeout/meta.json +4 -0
  74. package/assets/docs/workflows/projects/{pr-flow.md → closeout/pr-flow.md} +1 -1
  75. package/assets/docs/workflows/projects/{retro.md → closeout/retro.md} +1 -1
  76. package/assets/docs/workflows/projects/execution/execution-skills.md +258 -0
  77. package/assets/docs/workflows/projects/{implementation-execution.md → execution/implementation-execution.md} +52 -38
  78. package/assets/docs/workflows/projects/execution/index.md +15 -0
  79. package/assets/docs/workflows/projects/execution/meta.json +9 -0
  80. package/assets/docs/workflows/projects/execution/picking-up-projects.md +376 -0
  81. package/assets/docs/{cli-utilities → workflows/projects/execution}/project-log.md +1 -1
  82. package/assets/docs/workflows/projects/index.md +38 -49
  83. package/assets/docs/workflows/projects/lifecycle.md +159 -74
  84. package/assets/docs/workflows/projects/meta.json +2 -23
  85. package/assets/docs/workflows/projects/{design-modes.md → planning/design-modes.md} +29 -0
  86. package/assets/docs/workflows/projects/planning/hill-checkpoints.md +167 -0
  87. package/assets/docs/workflows/projects/planning/index.md +16 -0
  88. package/assets/docs/workflows/projects/planning/meta.json +10 -0
  89. package/assets/docs/workflows/projects/planning/planning-skills.md +381 -0
  90. package/assets/docs/workflows/projects/{splitting.md → planning/splitting.md} +3 -3
  91. package/assets/docs/workflows/projects/planning/starting-projects.md +511 -0
  92. package/assets/docs/workflows/projects/{reviews.md → reviews/index.md} +51 -5
  93. package/assets/docs/workflows/projects/reviews/meta.json +4 -0
  94. package/assets/docs/workflows/projects/reviews/review-flavors.md +650 -0
  95. package/assets/docs/workflows/projects/{reviewing-oat-prs.md → reviews/reviewing-oat-prs.md} +3 -3
  96. package/assets/docs/workflows/waves/index.md +12 -0
  97. package/assets/docs/workflows/waves/meta.json +4 -0
  98. package/assets/docs/workflows/waves/wave-workflows.md +206 -0
  99. package/assets/public-package-versions.json +4 -4
  100. package/assets/skills/oat-docs/SKILL.md +19 -19
  101. package/assets/skills/oat-docs-analyze/SKILL.md +1 -1
  102. package/assets/skills/oat-docs-apply/SKILL.md +1 -1
  103. package/assets/skills/oat-docs-authoring/SKILL.md +1 -1
  104. package/assets/skills/oat-docs-bootstrap/SKILL.md +1 -1
  105. package/assets/skills/oat-doctor/SKILL.md +25 -25
  106. package/assets/templates/docs-app-fuma/app/[[...slug]]/page.tsx +14 -2
  107. package/assets/templates/docs-app-fuma/app/globals.css +1 -0
  108. package/dist/release/public-package-contract.js +1 -1
  109. package/package.json +2 -2
  110. package/assets/docs/cli-utilities/backlog-lifecycle.md +0 -80
  111. package/assets/docs/cli-utilities/index.md +0 -74
  112. package/assets/docs/cli-utilities/meta.json +0 -13
  113. package/assets/docs/cli-utilities/remote-project-management.md +0 -191
  114. package/assets/docs/guide/concepts.md +0 -88
  115. package/assets/docs/guide/index.md +0 -31
  116. package/assets/docs/guide/meta.json +0 -4
  117. package/assets/docs/quickstart.md +0 -88
  118. package/assets/docs/workflows/projects/autonomy.md +0 -196
  119. package/assets/docs/workflows/projects/hill-checkpoints.md +0 -93
  120. package/assets/docs/workflows/projects/picking-up-projects.md +0 -124
  121. package/assets/docs/workflows/projects/review-flavors.md +0 -138
  122. package/assets/docs/workflows/skills/index.md +0 -184
  123. package/assets/docs/workflows/skills/repo-improve.md +0 -89
  124. package/assets/docs/workflows/wave-workflows.md +0 -77
@@ -1,184 +0,0 @@
1
- ---
2
- title: Skills
3
- description: 'User-facing guide to OAT skill families, recommended entry points, and where contributor-facing skill authoring docs live.'
4
- ---
5
-
6
- # Skills
7
-
8
- Use this section when you want to choose the right OAT skill for a task. If you are writing or changing skills, jump to the contributor docs instead.
9
-
10
- ## Contents
11
-
12
- - [Writing Skills](../../contributing/skills.md) - Contributor guide to skill authoring, contracts, and governance.
13
- - [Docs Workflows](../../docs-tooling/workflows.md) - How docs CLI helpers and docs skills work together.
14
- - [Explainer Kit](explainer-kit.md) - Agent-authored generation flow, direct and lifecycle callers, verification ladder, run package, and outcomes.
15
- - [Repo Improve](repo-improve.md) - Source modes, external-plan boundaries, optional tracking, and OAT import handoff.
16
- - [Recon Evidence Packets](recon.md) - Approved worker profiles, validated claim states, packet layout, partial outcomes, and directory-only handoff.
17
-
18
- ## Key Skills by Use Case
19
-
20
- - Start a new tracked project: `oat-project-new`, `oat-project-quick-start`, or `oat-project-lite` for a single-sitting change with one batched interview and one approval (quick start accepts a project name plus optional description; if you omit the description it should ask before discovery begins)
21
- - Resume an existing project: `oat-project-open` and `oat-project-progress`
22
- - Execute a ready plan: `oat-project-implement`
23
- - Import an existing plan: `oat-project-import-plan`
24
- - Split a broad discovery or brainstorm into child projects: `oat-project-split`
25
- - Retroactively capture existing work: `oat-project-capture`
26
- - Run or receive reviews: `oat-project-review-provide`, `oat-project-review-receive`, or the non-project review variants
27
- - Generate an evidence-grounded project retrospective, apply approved repo
28
- improvements, or file tracker feedback: `oat-project-retro` and
29
- `oat-project-retro-file`. See
30
- [Project Retrospectives](../projects/retro.md).
31
- - Capture a scoped, shippable backlog item: `oat-pjm-add-backlog-item` directly when the work is already scoped, or `oat-brainstorm` when the thought hasn't converged yet — the brainstorm dispatcher's "scoped backlog item" destination pre-fills the title / description / acceptance criteria / scope estimate / priority from the conversation and then runs `oat-pjm-add-backlog-item` with confirmed inputs
32
- - Manage the repo backlog and reference docs: `oat-pjm-update-repo-reference`, `oat-pjm-review-backlog`
33
- - Operate an explicit GitHub, Linear, or Jira planning-record binding through a
34
- live host capability: `oat-pjm-remote`. The OAT CLI retains policy, preview,
35
- approval, journal, and verification authority; the skill discovers and
36
- invokes only the exact host action emitted for one durable operation.
37
- - Turn a repo audit, maintainability review, backlog review, backlog directory, or backlog item into standalone external implementation plans: `oat-repo-improve`. Plans land under `.oat/repo/reference/external-plans/`; execute them directly or optionally pass one to `oat-project-import-plan` for tracked OAT execution.
38
- - Choose what to delegate and route bounded work by task class across Codex, Claude, or Cursor: `subagent-orchestration`. It is self-contained and usable without OAT; live catalogs and current instructions take precedence over its dated provider examples.
39
- - Build visual project explainers and final project recaps: `oat-explainer-kit`, backed by the destination-neutral `explainer-kit` core. See [Explainer Kit](explainer-kit.md).
40
- - Work on docs surfaces: `authoring-docs` (general documentation baseline), `oat-docs-authoring` (targeted OAT/Fumadocs authoring), `oat-docs-bootstrap` (guided bootstrap of a new docs app), `oat-docs-analyze`, `oat-docs-apply`, and `oat-project-document`
41
- - Generate a shipping digest or scheduled recap: `oat-wrap-up`
42
- - Run a wave program over a corpus of external plans: `oat-wave-program` (durable program artifact: new/refresh/wave-close) and `oat-wave-execute` (one wave as a wrapper project) — see [Wave Workflows](../wave-workflows.md)
43
- - Research a topic in depth: `deep-research`
44
- - Acquire and validate bounded evidence for another workflow: `recon`
45
- - Analyze an artifact, codebase, or document: `analyze`
46
- - Compare options with domain-aware dimensions: `compare`
47
- - Verify a claim adversarially: `skeptic`
48
- - Merge multiple analysis artifacts: `synthesize`
49
- - Capture or refine ideas: `oat-idea-new` (capture a new idea), `oat-idea-ideate` (resume an existing tracked idea or expand a scratchpad seed — not for blank-slate brainstorms; use `oat-brainstorm` for those), `oat-idea-scratchpad`, `oat-idea-summarize`
50
- - Run a project-independent brainstorming conversation: `oat-brainstorm` — entry point with an explicit activation contract. Hard Activation fires only on the `brainstorm` verb ("let's brainstorm", "brainstorm this", "can we brainstorm X", "help me brainstorm X", or `/oat-brainstorm`); ambiguous exploratory phrasing answers conversationally without the banner and offers structured mode only after sustained exploration. Once entered, runs a structured design conversation (one question at a time, 2-3 approaches with a recommendation) and routes to inline / doc-to-path / idea / backlog item / project handoffs based on installed packs. See [Tool Packs](../../cli-utilities/tool-packs.md) for the brainstorm pack details.
51
-
52
- ## Remote host execution loop
53
-
54
- Use `oat-pjm-remote` only for an explicit remote lifecycle request. Its loop is
55
- deliberately narrow:
56
-
57
- 1. Before the first provider-contacting command, inspect currently granted MCP
58
- or connector descriptions for a semantic and exact-context match.
59
- 2. If no capable connector is available, inspect an already configured
60
- provider CLI's live help before the first attempt. Do not install a tool,
61
- retain its dialect, or switch execution surfaces mid-attempt.
62
- 3. Construct only bounded provider-neutral capability evidence and pass it to
63
- the requested command with `--capability-evidence-stdin`. Treat the CLI's
64
- policy, preview, approval, safety, and durable state as authoritative.
65
- 4. When the CLI returns `pending` with `externalAction`, execute that exact
66
- semantic action at most once and submit one bounded,
67
- sanitized observation with `oat pjm remote operation continue`.
68
- 5. Continue only when the CLI emits another exact action for the same durable
69
- operation. Stop on its terminal envelope.
70
-
71
- The skill cannot broaden the normalized projection, bypass effective policy,
72
- binding clamps, purpose field grants, hard approval floors, or caller-owned
73
- authority evidence, read credential values, persist native provider data, or
74
- declare remote success. A connector result, process exit, or visible remote
75
- change is only evidence. Success requires an OAT `ok` envelope after
76
- authoritative read-back.
77
- See [Remote Project Management](../../cli-utilities/remote-project-management.md)
78
- for policy, storage, approval, and recovery details.
79
-
80
- ## If You Are Trying To...
81
-
82
- - choose the right skill for a task, stay in this guide page
83
- - write or update a skill, use [Writing Skills](../../contributing/skills.md)
84
- - understand how docs-specific skills fit with docs commands, use [Docs Workflows](../../docs-tooling/workflows.md)
85
-
86
- ## Full Catalog
87
-
88
- === "Project lifecycle"
89
-
90
- - `oat-project-new`
91
- - `oat-project-quick-start`
92
- - `oat-project-lite`
93
- - `oat-project-import-plan`
94
- - `oat-project-promote-spec-driven`
95
- - `oat-project-open`
96
- - `oat-project-clear-active`
97
- - `oat-project-discover`
98
- - `oat-project-spec`
99
- - `oat-project-design`
100
- - `oat-project-plan`
101
- - `oat-project-plan-writing`
102
- - `oat-project-split`
103
- - `oat-project-implement`
104
- - `oat-project-progress`
105
- - `oat-project-next`
106
- - `oat-project-capture`
107
- - `oat-project-reconcile`
108
- - `oat-project-review-provide`
109
- - `oat-project-review-provide-remote`
110
- - `oat-project-review-receive`
111
- - `oat-project-review-receive-remote`
112
- - `oat-project-pr-progress`
113
- - `oat-project-pr-final`
114
- - `oat-project-document`
115
- - `oat-project-retro`
116
- - `oat-project-retro-file`
117
- - `oat-explainer-kit`
118
- - `oat-wrap-up`
119
- - `oat-project-complete`
120
- - `oat-wave-program`
121
- - `oat-wave-execute`
122
-
123
- === "Ideas"
124
-
125
- - `oat-idea-new`
126
- - `oat-idea-ideate`
127
- - `oat-idea-scratchpad`
128
- - `oat-idea-summarize`
129
-
130
- === "Brainstorming"
131
-
132
- - `oat-brainstorm`
133
-
134
- === "Docs and instructions"
135
-
136
- - `authoring-docs`
137
- - `oat-docs-authoring`
138
- - `oat-docs-bootstrap`
139
- - `oat-docs-analyze`
140
- - `oat-docs-apply`
141
- - `oat-agent-instructions-analyze`
142
- - `oat-agent-instructions-apply`
143
-
144
- === "Review, backlog, and maintenance"
145
-
146
- - `oat-review-provide`
147
- - `oat-review-provide-remote`
148
- - `oat-review-receive`
149
- - `oat-review-receive-remote`
150
- - `oat-repo-knowledge-index`
151
- - `oat-repo-maintainability-review`
152
- - `oat-repo-improve`
153
- - `oat-pjm-add-backlog-item`
154
- - `oat-pjm-update-repo-reference`
155
- - `oat-pjm-review-backlog`
156
- - `oat-pjm-remote`
157
- - `docs-completed-projects-gap-review`
158
-
159
- === "Research"
160
-
161
- - `recon`
162
- - `deep-research`
163
- - `analyze`
164
- - `compare`
165
- - `skeptic`
166
- - `synthesize`
167
-
168
- === "Scaffolding and utility"
169
-
170
- - `subagent-orchestration`
171
- - `explainer-kit`
172
- - `oat-worktree-bootstrap`
173
- - `oat-worktree-bootstrap-auto`
174
- - `create-oat-skill`
175
- - `create-agnostic-skill`
176
- - `create-pr-description`
177
- - `create-ticket`
178
- - `codex-skill`
179
-
180
- ## Discovery Source
181
-
182
- `AGENTS.md` is the session-facing registry. It should stay aligned with skill frontmatter and the canonical skill directories under `.agents/skills/`.
183
-
184
- Legacy compatibility note: `review-backlog` and `update-repo-reference` may still exist in some environments, but prefer the `oat-pjm-*` family for the current file-backed backlog/reference workflow.
@@ -1,89 +0,0 @@
1
- ---
2
- title: Repo Improve
3
- description: 'Turn repository audits, maintainability reviews, and backlog sources into standalone external implementation plans.'
4
- ---
5
-
6
- # Repo Improve
7
-
8
- Use `oat-repo-improve` when the desired output is an executable implementation plan rather than another analysis report. Every successful run writes one or more standalone plans under `.oat/repo/reference/external-plans/`.
9
-
10
- ## Choose a source
11
-
12
- | Source | Use it when |
13
- | ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
14
- | Repo audit | You need fresh repository reconnaissance and vetted improvement findings. |
15
- | Maintainability review | A file-backed `oat-repo-maintainability-review` already identifies candidates. Improve verifies selected evidence without repeating the broad audit. |
16
- | Backlog review | A living backlog review and optional priority alignment already establish value, dependencies, and sequencing. |
17
- | Backlog directory | You want to start from active items. Substantive backlogs should pass through backlog review and alignment before plan generation. |
18
- | Backlog item | One existing item needs enough repository investigation to become executable. |
19
-
20
- With no source argument, the skill probes for available review and backlog artifacts, annotates all five options, and asks which source to use.
21
-
22
- ## Set repo-audit boundaries
23
-
24
- Fresh repo audits exclude agent-configuration directories from findings and plan candidates by default. The canonical default directory names are `.agents/`, `.claude/`, `.codex/`, and `.cursor/` at any depth. These locations commonly contain provider configuration, generated views, or externally sourced skills rather than the product surfaces being reviewed.
25
-
26
- Before reconnaissance, improve shows that default and asks whether to:
27
-
28
- - Keep all four exclusions.
29
- - Include selected directory names.
30
- - Include all four directory names.
31
-
32
- It then asks whether any other repo-relative directories should be excluded and suggests other recognizable provider directories when present. The resolved scope is shown before work begins and is applied consistently to direct searches and delegated audit lanes.
33
-
34
- These are findings exclusions, not absolute read prohibitions. Improve may read bounded instruction, convention, or intent files inside an excluded directory to understand the repository, but it does not turn those files into findings or plan candidates unless the user includes or explicitly targets that directory. A file cited by an artifact-backed source can still be verified after scope confirmation; symlinked provider views are never followed outside the repository.
35
-
36
- ## Output boundary
37
-
38
- External plans are not canonical OAT project `plan.md` files. They contain self-contained context, scope, steps, verification, done criteria, and STOP conditions, but no canonical OAT phase/task IDs or lifecycle bookkeeping. External execution-readiness metadata is a separate thing and is carried deliberately: it describes whether the plan's own prerequisites have merged, not how an OAT project is moving through phases.
39
-
40
- After generation, choose either execution path:
41
-
42
- - Execute a plan directly as a standalone handoff.
43
- - Run `oat-project-import-plan <external-plan-path>` to preserve and normalize one plan for tracked OAT execution.
44
-
45
- Project-sized candidates are split when possible. If inseparable work needs multiple design decisions or lacks one coherent verification boundary, improve recommends an OAT project workflow instead of emitting a mega-plan.
46
-
47
- ## Plan readiness and execution readiness
48
-
49
- Improve scores candidates on two independent axes. A candidate is plan-ready when it is understood well enough to write a self-contained executable plan, and execution-ready when every hard dependency it names has already merged.
50
-
51
- A blocked candidate is still planned. Rather than dropping work whose prerequisite has not landed, improve writes the plan and records the block:
52
-
53
- - `oat_execution_status` is `READY` or `BLOCKED` in plan frontmatter.
54
- - A typed `## Dependencies` table marks each row `Hard`, `Soft`, or `Satisfied`, and every `Hard` row names the state that would unblock it.
55
- - `## Landing-event impact` records what to re-anchor when a named PR or project lands, and `## Revalidation Before Execution` records when the plan must be re-checked against live state.
56
-
57
- Plan provenance is recorded as two separate SHAs: `oat_external_plan_commit` is the full SHA of the `HEAD` whose content was actually inspected, and `oat_external_plan_main_commit` is the fetched `origin/main` or merge-base used only for comparison. They may differ, and normally do when planning happens on a branch.
58
-
59
- Plans written before this contract landed are read in legacy mode: a short SHA, a missing comparison SHA, missing sections, and a missing status (read as `READY`) are all accepted, and those plans are never rewritten.
60
-
61
- ## Optional tracking
62
-
63
- Plans are always the primary output. Tracking is optional and source-aware:
64
-
65
- - `--backlog-items` creates missing PJM items for repo-audit or maintainability-review plans. Backlog-backed sources reuse their existing items and add `external_plans` reverse links.
66
- - `--issues` previews one GitHub issue per plan, checks repository visibility and sensitive content, and requires explicit confirmation before publication. It is useful as a fallback when PJM is not installed.
67
- - Request both modifiers explicitly to create both forms. Neither implies the other.
68
-
69
- Failure to publish a backlog item or issue does not invalidate a successfully written plan; the skill reports partial tracking results precisely.
70
-
71
- ## Orchestration
72
-
73
- Full repository audits use bounded read-only reconnaissance while the root
74
- agent retains classification, vetting, prioritization, cross-lane synthesis,
75
- and plan writing. Plan writes never move below the caller's model class — a
76
- parallelized author runs on the caller's model and every plan is
77
- caller-reviewed before publication or wave composition; the
78
- `keeps external-plan writes on the caller's model class` case in
79
- `skills-bundled-docs-contract.test.ts` is the backstop. Before launch, the
80
- caller loads the durable task classes and model-selection principles from
81
- `subagent-orchestration` plus exactly one active-provider selection reference.
82
-
83
- The internal `oat-dispatch-subagents` skill then owns capability checks, live
84
- catalog intersection, exact route selection, launch acceptance, recovery, and
85
- dispatch records. It loads exactly one matching provider mechanics reference;
86
- selection and mechanics references are not merged into one universal provider
87
- contract. Dispatch is native-first. Configured project/workflow policy may
88
- authorize required CLI or cross-runtime routes; an agent-improvised alternate
89
- route requires explicit current-run approval.
@@ -1,77 +0,0 @@
1
- ---
2
- title: Wave Workflows
3
- description: How OAT coordinates a corpus of external plans into waves while preserving project-lifecycle ownership and human judgment.
4
- ---
5
-
6
- # Wave Workflows
7
-
8
- A wave is a program layer above the per-project OAT lifecycle. It groups external implementation plans into an ordered delivery unit, then runs that unit as a wrapper OAT project. The wrapper uses the normal project lifecycle rather than replacing it.
9
-
10
- Use wave workflows when a plan corpus is too large to execute as one project and needs durable sequencing across multiple projects, worktree groups, and merges.
11
-
12
- ## The Two Wave Skills
13
-
14
- The workflow pack provides two complementary skills:
15
-
16
- - `oat-wave-program` 1.1.0 maintains the durable execution-program artifact over the full plan corpus. Its `new` mode inventories the corpus, verifies the coverage invariant, and records the orchestrator-composed, operator-approved first program; `refresh` adds newly landed plans to the artifact and records the orchestrator's re-composition of waves not yet started; and `wave-close` records a completed wave. Composing waves is the orchestrating agent's judgment; the skill records the result.
17
- - `oat-wave-execute` 1.5.0 runs one wave. It owns the repeatable mechanical layer: wrapper-project scaffolding, branch conventions, worktree bootstrap, briefs, gates, merge choreography, bookkeeping cadence, and closeout order.
18
-
19
- `oat-wave-program` records which plans belong to each wave. `oat-wave-execute` consumes that mapping and executes one wave through the project lifecycle.
20
-
21
- ## Mechanical Work and Judgment
22
-
23
- The ownership split is load-bearing. The skills automate mechanics, but the orchestrator retains judgment.
24
-
25
- The skills own:
26
-
27
- - integration and phase branch naming
28
- - wrapper-project scaffolding
29
- - worktree bootstrap
30
- - merge choreography
31
- - artifact and ledger bookkeeping
32
- - repeatable verification and closeout sequencing
33
-
34
- The orchestrator owns:
35
-
36
- - wave and parallel-group composition
37
- - review-finding dispositions
38
- - verification of load-bearing worker claims
39
- - merge-order decisions under live drift
40
- - cross-lane and end-of-run synthesis
41
- - all user checkpoints
42
-
43
- Do not treat a generated grouping or a mechanically successful lane as a substitute for these decisions.
44
-
45
- ## Composition With Project Implementation
46
-
47
- Each wave is scaffolded as a quick-mode wrapper project. Its plan points to the source plans while preserving their requirements, and `oat-project-implement` remains the lifecycle owner for phase execution, independent review, bounded fixes, checkpoints, and project state.
48
-
49
- For plan-declared parallel groups, `oat-wave-execute` invokes its bundled `scripts/bootstrap-group.sh` helper. The helper wraps the standard worktree bootstrap flow, creates phase worktrees at an explicit base, initializes each worktree, checks provider-view parity, and reports structured status. `oat-project-implement` then dispatches and verifies each phase in its assigned worktree. The wave layer owns the serialized fan-in and integration gates after those phases pass.
50
-
51
- This composition keeps the responsibilities separate:
52
-
53
- 1. `oat-wave-program` records the program and wave membership.
54
- 2. `oat-wave-execute` scaffolds and coordinates one wrapper project.
55
- 3. `oat-project-implement` executes that project's phases.
56
- 4. `oat-wave-program wave-close` updates the durable program after the wave merges.
57
-
58
- ## Execution-Program Artifact Format
59
-
60
- The execution-program artifact is durable reference material under `.oat/repo/reference/external-plans/`. It is not an executable plan or an `oat-project-import-plan` target.
61
-
62
- The current format contains:
63
-
64
- - **Wave table:** one row per source plan, including its link, source index, assigned wave, ordering or dependency notes, and status (`pending`, `in-wave`, `done`, `deferred`, or `dropped`).
65
- - **Coverage invariant:** every plan in every source plan index appears in exactly one row. A deferred or dropped plan includes a reason and re-entry trigger; an omitted plan is an error.
66
- - **Wave sections:** the theme, lane list, intra-wave ordering, and cross-wave prerequisites for each wave.
67
- - **Status ledger:** each wave advances from composed to in-progress to merged, with the wrapper-project link, PR, merge SHA, and completion-record link recorded as they become available.
68
-
69
- > **Important:** This format is documented as a description, not a stable contract. Contract work is deferred in **BL-260718-document-execution-program — Document execution-program artifact as stable OAT contract**, grouped with **BL-260718-add-oat-wave-lifecycle-cli — Add oat wave lifecycle CLI command family**.
70
-
71
- Until that grouped work ships, consumers should follow the bundled skill and template rather than depending on an independently versioned schema.
72
-
73
- ## Related
74
-
75
- - [Project lifecycle](projects/lifecycle.md)
76
- - [Implementation execution](projects/implementation-execution.md)
77
- - [Project artifacts](projects/artifacts.md)