@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
@@ -0,0 +1,77 @@
1
+ ---
2
+ title: Brainstorm Before Choosing a Workflow
3
+ description: Explore a problem conversationally, compare approaches, and choose an explicit destination without starting implementation.
4
+ ---
5
+
6
+ # Brainstorm Before Choosing a Workflow
7
+
8
+ ## oat-brainstorm
9
+
10
+ **Invocation:** `/oat-brainstorm` is the reliable way to start it, or ask,
11
+ “Let's brainstorm how to make large imports easier to recover without changing
12
+ the UI yet.” These are agent instructions; Codex can use `$oat-brainstorm`. An
13
+ explicit request to brainstorm activates the mode; an ordinary review,
14
+ debugging session, or status check should not be taken over automatically.
15
+ Looser phrasing such as “I've been thinking about…” gets an ordinary
16
+ conversational answer; after two such exploratory turns the agent offers once
17
+ to switch into structured brainstorm mode. If your opening request says the
18
+ work should become several projects, the skill frames the conversation around
19
+ the child projects and then hands off to `oat-project-split`, which creates
20
+ them.
21
+
22
+ **Prerequisites:** A topic worth exploring. Needs an active OAT project:
23
+ optional. No OAT project (a tracked unit of work under `.oat/projects/`) or
24
+ repository setup is required to start the conversation; if a project is
25
+ active, the skill can offer to fold the result into it. Installed tool packs
26
+ (groups of OAT skills you install with `oat tools install`) and repository
27
+ capabilities determine which destinations are available later.
28
+
29
+ **Example scenario:** Support keeps helping customers recover failed uploads,
30
+ but the team does not yet know whether to improve resumability, error
31
+ messages, or operating procedures. Explore the constraints and compare a few
32
+ approaches before deciding whether this needs a project at all. When you say
33
+ you are done, the skill offers the destinations available in your setup; you
34
+ might pick “Doc-to-path,” confirm `docs/brainstorms/import-recovery.md`, and
35
+ get a Markdown write-up of the approaches, the chosen direction, and the open
36
+ questions at that path, with nothing committed.
37
+
38
+ The skill asks focused questions, presents alternatives with trade-offs, and
39
+ helps establish a recommended direction. It does not treat brainstorming as
40
+ approval to implement code or scaffold a specification. If an active project
41
+ is relevant, it can offer to fold the result into that project or preserve it
42
+ as a reference; an independent idea remains an option. Fold-back writes the
43
+ synthesis into the project's design, discovery, or plan file and commits that
44
+ one file on your current branch (for a synced project, one whose files live in
45
+ a separate project checkout, it pushes that checkout with `oat project push`
46
+ instead). Saving a brainstorming reference file under the active project also
47
+ commits or pushes that file. Promoting to a new project runs
48
+ `oat project new`, which scaffolds the project and makes it your active
49
+ project, and then writes a completed `discovery.md` (or, for a lite project,
50
+ fills in its `plan.md`). Capturing a new idea also sets it as your active
51
+ idea in local OAT config. Each destination is confirmed before anything is
52
+ written.
53
+
54
+ **What it does without asking:** During the conversation it only reads: it
55
+ checks which tool packs are installed and whether a project is active. If the
56
+ topic is visual it offers, as a separate question, to start a local
57
+ browser-based visual companion; nothing starts unless you accept, and once
58
+ accepted it runs a small local Node server and keeps its session files under
59
+ `.oat/brainstorm/` (or `~/.oat/brainstorm/` at user scope). Nothing else is
60
+ written until you choose a destination and confirm its name, path, or target
61
+ file. After that confirmation the skill writes the destination and, for
62
+ fold-back or a project reference file, commits (or pushes, for a synced
63
+ project) without a further prompt. It does not write code or start the next
64
+ project phase.
65
+
66
+ **Expected output:** A shared understanding of the problem, candidate
67
+ approaches, and a confirmed next step. Depending on installed packs and your
68
+ choice, the result can be a closing summary in the conversation (no file), a
69
+ Markdown document at a path you name, a new or extended idea (`ideas` pack), a
70
+ backlog item (`project-management` pack), a new OAT project, or an update to
71
+ the active project (`workflows` pack). The destination is confirmed, not
72
+ selected merely because a pack is installed.
73
+
74
+ **Next step:** Choose where the result belongs and approve that handoff. For
75
+ an unresolved technical assumption, use [research](research.md) first. For a
76
+ direction ready to plan, choose the appropriate project workflow rather than
77
+ treating the brainstorming conversation as an executable plan.
@@ -0,0 +1,56 @@
1
+ ---
2
+ title: Diagnose Your OAT Setup
3
+ description: Inspect OAT configuration, repository adoption, instructions, documentation, and installed tools before choosing a repair.
4
+ ---
5
+
6
+ # Diagnose Your OAT Setup
7
+
8
+ ## oat-doctor
9
+
10
+ **Invocation:** `/oat-doctor` for the diagnostic sweep, or
11
+ `/oat-doctor --summary` for the compact tools/dashboard view. These are agent
12
+ instructions rather than shell commands; Codex uses `$oat-doctor`. The skill
13
+ is explicit-invocation only, so use the slash or `$` form rather than relying
14
+ on the agent to pick it when you describe the problem. Summary mode is not a
15
+ shortened run of every diagnostic area.
16
+
17
+ **Prerequisites:** Access to the repository and the OAT CLI available as
18
+ `oat` on your PATH. Needs an active OAT project: no. An uninitialized
19
+ repository can still receive bootstrap guidance; missing adoption (the
20
+ repository has not been set up for that OAT feature yet) is a finding, not
21
+ evidence that all checks passed.
22
+
23
+ **Example scenario:** A teammate installed a tool pack but cannot see its
24
+ skills in their provider. Run the full doctor sweep to distinguish installed
25
+ tools, configuration, and provider-instruction issues before reinstalling
26
+ anything. Pick the tools area when the report asks which area to explore, then
27
+ approve or run the fix it names. Use summary mode
28
+ later when you only need the tools/dashboard snapshot.
29
+
30
+ The full sweep covers configuration, project-management adoption, agent
31
+ instructions, documentation, and tools. The skill interprets diagnostic
32
+ findings rather than assuming a nonzero diagnostic exit means the entire tool
33
+ is broken. After the report, it asks which area to explore further (an area,
34
+ `all`, or `done`) and repeats until you choose `done`. Inspection is read-only
35
+ by default. In an interactive run, a specifically approved, supported repair
36
+ command can be executed once; a general request to diagnose is not approval
37
+ for updates, installation, or synchronization. Non-interactive and report-only
38
+ runs stop at the report.
39
+
40
+ **What it does without asking:** It runs read-only `oat` commands with JSON
41
+ output and reads configuration and instruction files. It writes, deletes, and
42
+ commits nothing, and starts no subagents. It runs a repair only after you
43
+ approve that exact command, and only if the command is one of `oat config set`,
44
+ `oat config unset`, `oat config adopt`, `oat pjm init`,
45
+ `oat instructions sync`, `oat tools update`, or `oat tools install`. It never
46
+ runs any other command, such as `oat sync` to refresh provider views; those
47
+ commands, and hand-offs to other skills, are yours to run.
48
+
49
+ **Expected output:** A diagnostic report explaining what is healthy, what is
50
+ missing or inconsistent, and which bounded action could address it. A report
51
+ does not itself establish that a proposed repair ran or that the provider has
52
+ reloaded the result.
53
+
54
+ **Next step:** Approve the exact repair you want, or investigate the reported
55
+ area separately. After a repair, rerun the relevant check and verify the
56
+ original symptom rather than relying only on command completion.
@@ -192,3 +192,124 @@ oat tools install workflows
192
192
 
193
193
  The adapter checks the installed canonical core path and compatible version
194
194
  before reading OAT configuration. It never falls back to a source checkout.
195
+
196
+ ## explainer-kit
197
+
198
+ **Invocation:** `/explainer-kit` is the reliable way to start it (Codex:
199
+ `$explainer-kit`); asking for the skill by name usually works too. Then give
200
+ it a recipe, inputs, and an output folder, for example: “Use explainer-kit
201
+ with the engineer-tour recipe,
202
+ `--inputs /abs/path/docs/architecture.md /abs/path/docs/api-flows.md`, and
203
+ `--out /abs/path/explainers/api-tour`.” Use absolute paths: the core's
204
+ scripts run from the installed skill directory, so a relative path would
205
+ resolve there instead of in your repository. This is an agent instruction,
206
+ not a shell command. The core requires explicit inputs and an output
207
+ destination: choose one source mode, `--project`, `--inputs`, or
208
+ `--fact-base`, rather than relying on an OAT active-project pointer.
209
+
210
+ **Prerequisites:** Node.js on your PATH (every stage runs the bundled `.mjs`
211
+ scripts) and the core installed from the `utility` tool pack
212
+ (`oat tools install utility --scope user`), plus accessible inputs, a
213
+ recipe, and a writable output destination. Needs an active OAT project: no.
214
+ `--inputs` reads only `.md`, `.txt`, `.html`, and `.json` files; any other
215
+ file in an input directory, such as `.ts` or `.py` source, is skipped without
216
+ a warning, and a directory holding only source code fails bundling because no
217
+ facts were collected. If you supply a fact base, it must be an explainer-kit fact-base
218
+ JSON file that passes the bundled schema and contains the evidence the
219
+ explainer needs; the renderer is not a substitute for missing research. Theme
220
+ selection is resolved before the artifact bundle is materialized; with no
221
+ theme, the skill writes the default `clean-neutral` theme file first.
222
+
223
+ **Example scenario:** A teammate will take over an API module next week. Give
224
+ the skill the module's architecture and design documents (Markdown, text,
225
+ HTML, or JSON) so it can produce an engineer tour grounded in those
226
+ documents. `--inputs` reads only `.md`, `.txt`, `.html`, and `.json` files;
227
+ source-code files in a directory are skipped, so describe the code in
228
+ documents or supply a prepared fact base. Choose an output folder you can
229
+ review before sharing; generating an HTML file is not permission to publish
230
+ it.
231
+
232
+ **What it does without asking:** It writes everything into the run folder you
233
+ named with `--out`: the fact base and claim ledger under `source/`, the
234
+ resolved theme, the authored `site/index.html`, verification results under
235
+ `qa/`, and finally `manifest.json`. After bundling, it shows a short summary
236
+ of the prepared facts so you can correct the scope before it writes the page.
237
+ Verification uses a host browser or the bundled Playwright probe when one is
238
+ available, to take screenshots. If bundling reports that a satisfied run
239
+ already exists (`reuse: true`), it returns that run unchanged. It does not
240
+ publish, commit, or push anything.
241
+
242
+ **Expected output:** A self-contained HTML explainer and its supporting fact
243
+ base, claim ledger, resolved theme, and verification record. Inspect the
244
+ verification outcome, not just whether the file opens. `built` means the
245
+ browser and visual checks passed; `built-needs-review` means
246
+ the usable artifact still needs review. Missing visual capability or a
247
+ failed verification must not be reported as a visual pass.
248
+
249
+ **Next step:** Review the content and available verification evidence, resolve
250
+ remaining issues, then share the artifact through an explicitly chosen
251
+ channel. For OAT artifact binding and repository defaults, use the adapter
252
+ below rather than making the core infer local configuration.
253
+
254
+ ## oat-explainer-kit
255
+
256
+ **Invocation:** `/oat-explainer-kit` is the reliable way to start it (Codex:
257
+ `$oat-explainer-kit`), for example: “/oat-explainer-kit generate a project
258
+ explainer from this project's approved planning artifacts.” Asking for the
259
+ skill by name usually works too. Name the recipe you want:
260
+ `project-explainer` (after planning), `project-recap` (after
261
+ implementation), or `program-recap` (for a multi-wave program). This request
262
+ is not a terminal command or a promise of a particular CLI flag. OAT
263
+ lifecycle skills also call the adapter automatically at the points listed in
264
+ [OAT lifecycle callers](#oat-lifecycle-callers).
265
+
266
+ **Prerequisites:** Node.js on your PATH, a compatible `explainer-kit` core
267
+ from the `utility` tool pack (`oat tools install utility --scope user`), and
268
+ this adapter from the `workflows` pack. If the core is missing or too old,
269
+ the adapter stops and prints the install or update command. Needs an active
270
+ OAT project: for `project-explainer` and `project-recap`, yes. Those recipes
271
+ require the project to be the active OAT project (`oat project open <name>`)
272
+ and read its lifecycle artifacts (planning files such as `plan.md`,
273
+ `design.md`, and `spec.md`; for a recap also the completion, summary, and
274
+ project-log records). A repository-level run with a fact base you supply needs no active
275
+ project; its output goes to `.oat/repo/reference/explainers/`.
276
+
277
+ **Example scenario:** A project has approved planning artifacts, and you need
278
+ to explain the chosen scope and approach to a teammate before implementation
279
+ starts. Make it the active project with `oat project open <name>`, then ask
280
+ for the `project-explainer` recipe. Let the adapter bind those OAT artifacts
281
+ and repository defaults, then use the core to generate the explainer; open
282
+ the resulting `site/index.html` under `<project>/explainers/<run-slug>/` and
283
+ check its verification outcome before sharing it. Do not ask it to present
284
+ planned capabilities as already shipped.
285
+
286
+ The adapter checks the installed core before resolving OAT configuration.
287
+ It owns source binding, intent, output placement, and defaults; the core owns
288
+ the reusable artifact-generation pipeline. This boundary keeps a project
289
+ explainer grounded in its planning evidence and a recap grounded in its
290
+ actual implementation evidence rather than treating the two as equivalent.
291
+
292
+ **What it does without asking:** It checks the installed core, then resolves
293
+ whether to generate. With the `workflow.explainers.*` preference set to
294
+ `always` or `never` it decides without asking; with the default `ask` it asks
295
+ once in an interactive run. Before generating, it records that generate or
296
+ skip decision in the project's `state.md` (the project's status file);
297
+ later runs reuse the recorded decision instead of asking again. It then
298
+ writes the run folder (fact base, page, verification results, and manifest)
299
+ under the output path below. If a run fails, an interactive run asks you to
300
+ retry or skip and records a skip in `state.md`. Lifecycle calls never prompt.
301
+ It does not commit, push, or publish the explainer.
302
+
303
+ **Expected output:** The core explainer bundle under
304
+ `<project>/explainers/<run-slug>/` (project recipes) or
305
+ `.oat/repo/reference/explainers/` (program or repository runs), with its
306
+ verification outcome preserved. The adapter also records the generate or
307
+ skip decision in the project's `state.md`; later runs reuse that decision
308
+ instead of asking again. A lifecycle call can produce it without an
309
+ interactive prompt, but unattended generation does not erase missing
310
+ evidence or upgrade a needs-review outcome.
311
+
312
+ **Next step:** Inspect the explainer and verification record, then return to
313
+ the relevant planning, implementation, or closeout workflow. An explainer
314
+ helps communicate a decision or outcome; it does not itself approve a plan,
315
+ complete a project, or publish a recap.