@open-agent-toolkit/cli 0.3.38 → 0.3.39

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 (61) hide show
  1. package/README.md +2 -2
  2. package/assets/bundle-metadata.json +1 -1
  3. package/assets/docs/getting-started/bootstrap.md +15 -16
  4. package/assets/docs/getting-started/tool-packs.md +15 -14
  5. package/assets/docs/provider-sync/commands.md +6 -5
  6. package/assets/docs/provider-sync/manifest-and-drift.md +26 -19
  7. package/assets/docs/provider-sync/pilot-with-a-team.md +17 -17
  8. package/assets/docs/provider-sync/providers.md +4 -4
  9. package/assets/docs/provider-sync/scope-and-surface.md +5 -5
  10. package/assets/docs/reference/cli-reference.md +5 -2
  11. package/assets/docs/reference/oat-directory-structure.md +1 -1
  12. package/assets/docs/reference/troubleshooting.md +4 -5
  13. package/assets/docs/reference/what-oat-writes.md +54 -59
  14. package/assets/docs/workflows/projects/closeout/closeout-skills.md +6 -5
  15. package/assets/docs/workflows/projects/execution/execution-skills.md +1 -2
  16. package/assets/docs/workflows/projects/execution/implementation-execution.md +3 -2
  17. package/assets/public-package-versions.json +4 -4
  18. package/assets/skills/oat-project-complete/SKILL.md +17 -7
  19. package/assets/skills/oat-project-implement/SKILL.md +2 -2
  20. package/assets/skills/oat-project-pr-final/SKILL.md +2 -2
  21. package/dist/commands/doctor/index.d.ts.map +1 -1
  22. package/dist/commands/doctor/index.js +5 -2
  23. package/dist/commands/init/index.d.ts.map +1 -1
  24. package/dist/commands/init/index.js +10 -5
  25. package/dist/commands/init/tools/index.d.ts.map +1 -1
  26. package/dist/commands/init/tools/index.js +106 -28
  27. package/dist/commands/init/tools/project-guidance.js +1 -1
  28. package/dist/commands/project/new/index.d.ts.map +1 -1
  29. package/dist/commands/project/new/index.js +1 -0
  30. package/dist/commands/project/new/scaffold.d.ts +1 -1
  31. package/dist/commands/project/new/scaffold.d.ts.map +1 -1
  32. package/dist/commands/project/new/scaffold.js +1 -1
  33. package/dist/commands/providers/codex/materialize.d.ts +5 -1
  34. package/dist/commands/providers/codex/materialize.d.ts.map +1 -1
  35. package/dist/commands/providers/codex/materialize.js +6 -1
  36. package/dist/commands/shared/exact-path-commit.d.ts.map +1 -1
  37. package/dist/commands/shared/exact-path-commit.js +11 -1
  38. package/dist/commands/shared/scope-option.d.ts +3 -1
  39. package/dist/commands/shared/scope-option.d.ts.map +1 -1
  40. package/dist/commands/shared/scope-option.js +4 -2
  41. package/dist/commands/status/index.d.ts.map +1 -1
  42. package/dist/commands/status/index.js +4 -1
  43. package/dist/commands/tools/install/index.d.ts.map +1 -1
  44. package/dist/commands/tools/install/index.js +1 -1
  45. package/dist/commands/tools/shared/pack-lifecycle-outcome.d.ts +11 -0
  46. package/dist/commands/tools/shared/pack-lifecycle-outcome.d.ts.map +1 -1
  47. package/dist/commands/tools/shared/pack-lifecycle-outcome.js +16 -0
  48. package/dist/config/oat-config.d.ts +6 -1
  49. package/dist/config/oat-config.d.ts.map +1 -1
  50. package/dist/config/oat-config.js +14 -22
  51. package/dist/index.d.ts +6 -0
  52. package/dist/index.d.ts.map +1 -1
  53. package/dist/index.js +16 -0
  54. package/dist/providers/codex/codec/config-merge.d.ts +19 -0
  55. package/dist/providers/codex/codec/config-merge.d.ts.map +1 -1
  56. package/dist/providers/codex/codec/config-merge.js +75 -8
  57. package/dist/providers/codex/codec/sync-extension.d.ts.map +1 -1
  58. package/dist/providers/codex/codec/sync-extension.js +84 -38
  59. package/dist/providers/cursor/codec/materialize.d.ts.map +1 -1
  60. package/dist/providers/cursor/codec/materialize.js +17 -1
  61. package/package.json +3 -3
@@ -8,7 +8,8 @@ description: 'Every file, link and Git ref that OAT commands create in your repo
8
8
  This page lists what each OAT command writes in your repository, under your
9
9
  home directory and on your shared `origin` remote, which of those files belong
10
10
  in Git, and how to back out of OAT completely. Everything here was observed by
11
- running OAT CLI version 0.3.14 on macOS. The removal procedure in
11
+ running OAT CLI version 0.3.14 on macOS, except statements marked with a later
12
+ version, which describe what changed in that version. The removal procedure in
12
13
  [Remove everything](#remove-everything) was run end to end twice, once
13
14
  originally and once in an independent re-run, and both times it returned the
14
15
  repository and the home directory to their pre-OAT state.
@@ -23,11 +24,11 @@ agents, templates and scripts that `oat tools install` adds.
23
24
 
24
25
  ## The short version
25
26
 
26
- - With `--scope project`, `oat init`, `oat sync` and `oat tools install <pack>`
27
- write only inside the repository. Two forms are exceptions:
28
- `oat tools install --scope project` without a pack name also installs the
29
- `core` pack under your home directory, and `oat init --scope project --setup`
30
- installs every pack there.
27
+ - With `--scope project`, `oat init`, `oat sync` and `oat tools install`
28
+ write only inside the repository. `oat tools install --scope project`
29
+ without a pack name and `oat init --scope project --setup` skip the
30
+ user-only `core` pack and say so, and `oat tools install core --scope project`
31
+ exits 1 (0.3.39 and later).
31
32
  - Without `--scope`, `oat init` and `oat sync` use scope `all`, so they can
32
33
  also write under your home directory, and `oat tools install <pack>` installs
33
34
  a pack that is not yet installed under your home directory (user scope).
@@ -47,11 +48,12 @@ agents, templates and scripts that `oat tools install` adds.
47
48
  Where a file already existed, OAT appended its own marked block instead of
48
49
  replacing it. This held for `.gitignore`, `.gitattributes` and an existing
49
50
  `pre-commit` hook. From version 0.3.37, an existing `.codex/config.toml` is
50
- edited in place: OAT changes only `multi_agent`, `max_depth` and its own
51
- `[agents.<name>]` tables, and comments, blank lines, table order and your other
52
- settings stay as they were (see the
51
+ edited in place: OAT changes only its own `[agents.<name>]` tables and adds
52
+ `multi_agent` and `max_depth` when they are missing, and comments, blank lines,
53
+ table order and your other settings stay as they were (see the
53
54
  [provider table](#syncing-provider-views)). Earlier versions rewrote the whole
54
- file and dropped its comments. A pre-existing
55
+ file and dropped its comments, and versions before 0.3.39 also changed a
56
+ `multi_agent` or `max_depth` value you had set. A pre-existing
55
57
  `~/.claude/settings.json` was left untouched.
56
58
 
57
59
  ### Setting up
@@ -85,13 +87,13 @@ views OAT manages. A provider does not have to be enabled: an existing
85
87
  `.claude/` directory in the repository, or `~/.claude/` in your home directory,
86
88
  is enough for `oat sync` to create Claude views.
87
89
 
88
- | Provider | Repository views created by `oat sync --scope project` |
89
- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
90
- | Claude | `.claude/skills/<name>` and `.claude/agents/<name>.md`, relative symlinks into `.agents/` |
91
- | Cursor | `.cursor/agents/`: relative symlinks for agents, plus generated model-variant files marked `# oat-managed: true` |
92
- | Copilot | `.github/agents/`, relative symlinks |
93
- | Codex | `.codex/agents/*.toml` and `.codex/config.toml`, generated files. In an existing `config.toml`, OAT adds its `[agents.<name>]` tables and sets `[features] multi_agent = true` and `[agents] max_depth` to at least 2, changing those two values if you had set them lower; your other settings and comments stay byte for byte (0.3.37 and later). |
94
- | Gemini | Nothing |
90
+ | Provider | Repository views created by `oat sync --scope project` |
91
+ | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
92
+ | Claude | `.claude/skills/<name>` and `.claude/agents/<name>.md`, relative symlinks into `.agents/` |
93
+ | Cursor | `.cursor/agents/`: relative symlinks for agents, plus generated model-variant files marked `# oat-managed: true` |
94
+ | Copilot | `.github/agents/`, relative symlinks |
95
+ | Codex | `.codex/agents/*.toml` and `.codex/config.toml`, generated files. In an existing `config.toml`, OAT adds its `[agents.<name>]` tables; your other settings and comments stay byte for byte (0.3.37 and later). It adds `[features] multi_agent = true` and `[agents] max_depth` only when they are missing and names each key it added; a value you set is kept, and sync reports a conflict when OAT needs a different one (0.3.39 and later). |
96
+ | Gemini | Nothing |
95
97
 
96
98
  OAT creates skill views only for Claude. It reports the other providers' skill
97
99
  support as `native-read` and creates no skill views for them. No generated
@@ -107,7 +109,7 @@ file contained an absolute path.
107
109
  | Command | In the repository | Under your home directory |
108
110
  | ------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
109
111
  | `oat tools install <pack> --scope project` | The pack's skills in `.agents/skills/`, plus any agents in `.agents/agents/`, templates in `.oat/templates/` and scripts in `.oat/scripts/` it ships; `tools.<pack>: true` in `.oat/config.json`. Views for enabled providers, unless you pass `--no-sync`. | Nothing |
110
- | `oat tools install --scope user` | Nothing, unless the workflows pack is already installed at project scope (see [surprises](#known-surprises-in-0314)) | `~/.agents/skills/`, `~/.agents/agents/`, `~/.oat/config.json`, `~/.oat/docs/`, `~/.oat/ideas/`, `~/.oat/scripts/`, `~/.oat/templates/`. Provider links only if a provider is detected. |
112
+ | `oat tools install --scope user` | Nothing, even when a pack is already installed at project scope (0.3.39 and later) | `~/.agents/skills/`, `~/.agents/agents/`, `~/.oat/config.json`, `~/.oat/docs/`, `~/.oat/ideas/`, `~/.oat/scripts/`, `~/.oat/templates/`. Provider links only if a provider is detected. |
111
113
  | `oat tools install core` | Nothing | `~/.oat/config.json`, `~/.agents/skills/oat-docs`, `~/.agents/skills/oat-doctor`, and `~/.oat/docs/` (a bundled copy of these docs) |
112
114
 
113
115
  Some packs write more at project scope. The ideas pack adds
@@ -116,9 +118,10 @@ Some packs write more at project scope. The ideas pack adds
116
118
  `.oat/projects/archived/.gitkeep` and a `projects.root` setting. Passing
117
119
  `--project-guidance` adds a marked `<!-- OAT tools -->` block to `AGENTS.md`,
118
120
  creating the file if needed. Installing every pack at once with
119
- `oat tools install --scope project` puts core in your home directory and the
120
- other seven packs in the repository, and also adds a `localPaths` setting and a
121
- `# OAT local paths` block to `.gitignore`.
121
+ `oat tools install --scope project` puts the other seven packs in the
122
+ repository, skips core with a message that it is user-scope only (0.3.39 and
123
+ later; earlier versions installed core in your home directory), and also adds a
124
+ `localPaths` setting and a `# OAT local paths` block to `.gitignore`.
122
125
 
123
126
  No tool pack command wrote to `origin`.
124
127
 
@@ -198,14 +201,16 @@ is anything that differs between machines.
198
201
  - **Generated provider files** (Cursor model variants, Codex agents and
199
202
  `config.toml` tables). Committed, they arrive with every clone. Not
200
203
  committed, each teammate runs `oat sync --scope project` to generate them.
201
- Either way, `oat tools remove` does not delete them; see
202
- [Backing out](#backing-out).
204
+ Either way, `oat tools remove` deletes the removed agents' Codex roles and
205
+ tables (0.3.39 and later) but leaves Cursor model variants until the next
206
+ `oat sync --scope project`; see [Backing out](#backing-out).
203
207
  - **Pack files in `.oat/`** (templates, scripts, ideas, `projects-root`).
204
208
  Committed, every clone has them. Not committed, each teammate needs the same
205
209
  `oat tools install` to get them.
206
- - **`AGENTS.md` guidance block.** It tells agents how to refresh views, but the
207
- command it recommends, `oat sync --scope all`, also writes under each
208
- reader's home directory.
210
+ - **`AGENTS.md` guidance block.** It tells agents how to refresh views with
211
+ `oat sync --scope project`, which writes only inside the repository (0.3.39
212
+ and later; earlier blocks recommend `oat sync --scope all`, which also writes
213
+ under each reader's home directory).
209
214
  - **A hook inside the working tree.** Committed, everyone using that hooks path
210
215
  gets the drift warning. A hook in `.git/hooks` is never committed.
211
216
  - **`pr/` and `reviews/archived/` folders.** Whether PR material and archived
@@ -231,9 +236,8 @@ is anything that differs between machines.
231
236
  4. **Install personal packs separately.** User-scope packs live under each
232
237
  person's `~/.agents` and `~/.oat`, so nobody receives them from the
233
238
  repository. A teammate who wants them runs `oat tools install --scope user`,
234
- which installs all eight packs. Run inside a repository where the workflows
235
- pack is installed at project scope, it also edits that repository; see
236
- [surprises](#known-surprises-in-0314).
239
+ which installs all eight packs and writes nothing into the repository
240
+ (0.3.39 and later).
237
241
  5. **Fetch synced projects explicitly.** A fresh clone does not receive
238
242
  `refs/oat/*`, so synced projects are not in it. See
239
243
  [Picking Up Projects](../workflows/projects/execution/picking-up-projects.md)
@@ -256,14 +260,14 @@ The hook does nothing when no `oat` binary is on `PATH`, and
256
260
 
257
261
  ### Supported removal commands
258
262
 
259
- | Command | Removes | Leaves behind |
260
- | --------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
261
- | `oat tools remove --pack <pack> --scope project` (one pack at a time) | The pack's skills and agents in `.agents/`, their symlink views (Claude, Copilot, Cursor symlinks), and its `.oat/scripts/*.sh` | `.oat/templates/`, `.oat/ideas/`, `.oat/projects-root`, `.oat/config.json` (with a stale `tools.requiredBy` entry), `.oat/sync/`, both `.gitignore` blocks, `.gitattributes`, projects, empty folders, and all generated Cursor and Codex files |
262
- | `oat tools remove --all` | Nothing: exits 2 with `Pack core does not allow project scope`, with or without `--scope project` | Everything |
263
- | `oat tools remove --all --scope user` | With only core installed at user scope: `~/.agents/skills/oat-docs`, `~/.agents/skills/oat-doctor`, `~/.oat/docs/` and their `~/.claude/skills/` links | `~/.oat/config.json` (now `{"version": 1}`), `~/.oat/sync/manifest.json`, an empty `~/.agents/skills/` and an empty `~/.claude/skills/` |
264
- | `oat remove skill <name> --scope project` | The canonical skill, its Claude view and its manifest entry | Nothing for that skill |
265
- | `oat project prune <name>` (synced projects only) | The worktree, the pointer file, the local ref and the ref on `origin`; commits `chore(oat): prune synced project <name>` on the current branch | An empty `.oat/projects/synced/` |
266
- | `oat init --scope project --no-hook` | OAT's hook block. If the file holds only OAT's block, the whole `pre-commit` file is deleted. | Your own hook lines, byte for byte |
263
+ | Command | Removes | Leaves behind |
264
+ | --------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
265
+ | `oat tools remove --pack <pack> --scope project` (one pack at a time) | The pack's skills and agents in `.agents/`, their symlink views (Claude, Copilot, Cursor symlinks), its `.oat/scripts/*.sh`, and from 0.3.39 its agents' generated Codex roles and `[agents.*]` tables | `.oat/templates/`, `.oat/ideas/`, `.oat/projects-root`, `.oat/config.json` (with a stale `tools.requiredBy` entry), `.oat/sync/`, both `.gitignore` blocks, `.gitattributes`, projects, empty folders, and generated Cursor model variants until the next `oat sync --scope project` |
266
+ | `oat tools remove --all` | Nothing: exits 2 with `Pack core does not allow project scope`, with or without `--scope project` | Everything |
267
+ | `oat tools remove --all --scope user` | With only core installed at user scope: `~/.agents/skills/oat-docs`, `~/.agents/skills/oat-doctor`, `~/.oat/docs/` and their `~/.claude/skills/` links | `~/.oat/config.json` (now `{"version": 1}`), `~/.oat/sync/manifest.json`, an empty `~/.agents/skills/` and an empty `~/.claude/skills/` |
268
+ | `oat remove skill <name> --scope project` | The canonical skill, its Claude view and its manifest entry | Nothing for that skill |
269
+ | `oat project prune <name>` (synced projects only) | The worktree, the pointer file, the local ref and the ref on `origin`; commits `chore(oat): prune synced project <name>` on the current branch | An empty `.oat/projects/synced/` |
270
+ | `oat init --scope project --no-hook` | OAT's hook block. If the file holds only OAT's block, the whole `pre-commit` file is deleted. | Your own hook lines, byte for byte |
267
271
 
268
272
  No command deletes a shared or local project. `oat project prune` refuses a
269
273
  shared project, and `oat project archive` moves a project to
@@ -340,36 +344,28 @@ prune to erase sensitive content. Rewriting history is not covered here.
340
344
 
341
345
  ## Known surprises in 0.3.14
342
346
 
343
- These are current behaviors as of version 0.3.14.
344
-
345
- - `oat tools install core --scope project` prints `Installed core tool pack.`
346
- but writes nothing.
347
- - `oat init --scope project --setup` installs all eight packs under your home
348
- directory, and runs `gh repo view`, which makes the `gh` CLI write
349
- `~/.local/state/gh/device-id`.
350
- - `oat tools install --scope user` writes into the current repository when the
351
- workflows pack is already installed there at project scope: it adds
352
- `localPaths` to `.oat/config.json` and a `# OAT local paths` block to
353
- `.gitignore`.
354
- - `oat tools install workflows --scope project` does not add that block, but
347
+ These behaviors were observed in version 0.3.14. Entries that later versions
348
+ fixed have been removed: from 0.3.39, `core` under `--scope project` is refused
349
+ or skipped, an explicit `--scope` writes only that scope, `init --setup` honors
350
+ `--scope` and does not run `gh`, the guidance block recommends
351
+ `oat sync --scope project`, local-scope `oat project new` reports why it made no
352
+ commit, and piping output into `head` exits quietly.
353
+
354
+ - `oat tools install workflows --scope project` does not add the
355
+ `# OAT local paths` block to `.gitignore`, but
355
356
  `oat tools install --scope project` does, so `pr/` and `reviews/archived/`
356
357
  folders are committable in one setup and ignored in the other.
357
358
  - `oat tools remove --all` fails unless you add `--scope user`.
358
359
  - After removing packs, a stale `tools.requiredBy` entry stays in
359
360
  `.oat/config.json`, and `oat status` reports the utility pack as missing and
360
361
  suggests `oat tools update`.
361
- - Removing a pack leaves its generated Cursor and Codex files, and a later
362
- `oat sync` reports no changes.
362
+ - Removing a pack leaves its generated Cursor model variants until the next
363
+ `oat sync --scope project` removes them. Its agents' generated Codex roles
364
+ and `config.toml` tables are removed with the pack (0.3.39 and later).
363
365
  - An existing `.claude/` folder, in the repository or your home directory, is
364
366
  enough for `oat sync` to create Claude views without enabling Claude.
365
367
  - After `oat tools install <pack> --no-sync`, running the same install again
366
368
  reports `unchanged` and creates no views; run `oat sync --scope project`.
367
- - The `AGENTS.md` block from `--project-guidance` recommends
368
- `oat sync --scope all`, which also writes under your home directory.
369
- - `oat project new --scope local` prints `Scaffold commit: skipped (--no-commit)`
370
- even when you did not pass that flag.
371
- - Piping `oat tools list` or `oat status` into `head` crashes with an
372
- `Error: write EPIPE` stack trace.
373
369
 
374
370
  ## Not covered here
375
371
 
@@ -399,8 +395,7 @@ These are current behaviors as of version 0.3.14.
399
395
  [Config and Local State](config-and-local-state.md).
400
396
  - **Files you place at a view path yourself.** See
401
397
  [Manifest and Drift](../provider-sync/manifest-and-drift.md).
402
- - **`gh repo view` against a real GitHub remote**, and Git versions older than
403
- 2.31.
398
+ - **Git versions older than 2.31.**
404
399
 
405
400
  ## Related
406
401
 
@@ -192,10 +192,10 @@ generates or refreshes a missing or stale `summary.md` through
192
192
  decision-record promotion also happen. It then writes the PR description,
193
193
  pushes the current branch with `git push -u origin`, and runs
194
194
  `gh pr create`. For a synced project, it also publishes the project artifacts
195
- with `oat project push` before and after creating the PR. Besides the PR title
196
- and base branch when you did not pass them, the only question it asks is
197
- whether to continue when the latest final review has not passed. It never
198
- merges the PR.
195
+ with `oat project push` before and after creating the PR. When you do not pass
196
+ a PR title or base branch, it fills them from the defaults without asking. The
197
+ only question it asks is whether to continue when the latest final review has
198
+ not passed. It never merges the PR.
199
199
 
200
200
  **Goal projects:** in a goal project this skill is the terminal delivery
201
201
  registration owner, not a second project PR. It runs its own registration step
@@ -584,7 +584,8 @@ writes a PR description file, clears the active
584
584
  project (or keeps it until an archive succeeds), commits the completion
585
585
  bookkeeping, and pushes it. A yes to the PR question, or
586
586
  `workflow.createPrOnComplete: true` when no PR is tracked, creates a new PR
587
- against `main`. If a PR is already open, the skill updates its description
587
+ against the base branch resolved from `git.defaultBranch` (default `main`), the
588
+ same way `oat-project-pr-final` resolves it. If a PR is already open, the skill updates its description
588
589
  with `gh pr edit` when archiving or for a synced project. Archives keep no
589
590
  `pr/` directory, so when archiving the skill carries the regenerated PR body in
590
591
  a temporary file until the PR is created or updated; a run that resumes an
@@ -76,8 +76,7 @@ is ready.
76
76
 
77
77
  The number of fix attempts after a failed review comes from
78
78
  `oat_orchestration_retry_limit` in the project's `state.md` (default 2, range
79
- 0–5). The skill's argument hint also lists `--retry-limit`, but no step reads
80
- that flag, so passing it changes nothing.
79
+ 0–5).
81
80
 
82
81
  **Prerequisites:** Select an existing project with an approved, complete
83
82
  `plan.md` whose readiness points to `oat-project-implement`. The lifecycle
@@ -569,8 +569,9 @@ worktree registrations before materializing or updating the current checkout.
569
569
 
570
570
  Default execution needs the root-to-phase-agent depth. `agents.max_depth >= 2`
571
571
  is useful capability for optional phase-agent nesting, but it is not a default
572
- topology preflight requirement. OAT may still materialize a higher depth floor
573
- so recon or specialist fanout is available when justified.
572
+ topology preflight requirement. When `agents.max_depth` is absent, sync adds
573
+ `2` so recon or specialist fanout is available when justified; an explicit
574
+ value is kept.
574
575
 
575
576
  ## Accepted Launches
576
577
 
@@ -1,6 +1,6 @@
1
1
  {
2
- "cli": "0.3.38",
3
- "docs-config": "0.3.38",
4
- "docs-theme": "0.3.38",
5
- "docs-transforms": "0.3.38"
2
+ "cli": "0.3.39",
3
+ "docs-config": "0.3.39",
4
+ "docs-theme": "0.3.39",
5
+ "docs-transforms": "0.3.39"
6
6
  }
@@ -5,7 +5,7 @@ disable-model-invocation: true
5
5
  user-invocable: true
6
6
  allowed-tools: Read, Write, Bash, AskUserQuestion
7
7
  metadata:
8
- version: 1.7.18
8
+ version: 1.7.19
9
9
  ---
10
10
 
11
11
  # Complete Project
@@ -1139,11 +1139,17 @@ carries the same Steps 0.5 through 4 contract:
1139
1139
  1. **Archive residual review artifacts** — already handled in Step 4.
1140
1140
  2. **Validate required artifacts** — read available project artifacts (`plan.md`, `implementation.md`, `spec.md`, `design.md`, `discovery.md`) based on workflow mode from `state.md`.
1141
1141
  3. **Check final review status** — already checked in Step 3.1. Use the result, don't re-check.
1142
- 4. **Collect project summary** — if `summary.md` exists (from Step 3.5), use it as the primary source for the PR description's Summary section (per `oat-project-pr-final` Step 3.0). Read remaining artifacts and collect git context:
1142
+ 4. **Collect project summary** — if `summary.md` exists (from Step 3.5), use it as the primary source for the PR description's Summary section (per `oat-project-pr-final` Step 3.0). Read remaining artifacts and collect git context. Resolve `BASE_BRANCH` here with the same chain the final PR skill uses (this skill takes no base argument); Step 11 reuses it:
1143
1143
 
1144
1144
  ```bash
1145
1145
  BRANCH=$(git rev-parse --abbrev-ref HEAD)
1146
- MERGE_BASE=$(git merge-base origin/main HEAD 2>/dev/null || git merge-base main HEAD 2>/dev/null || echo "")
1146
+ # Resolution chain: OAT config > git remote > fallback
1147
+ BASE_BRANCH=$(oat config get git.defaultBranch 2>/dev/null || true)
1148
+ if [ -z "$BASE_BRANCH" ]; then
1149
+ BASE_BRANCH=$(git rev-parse --abbrev-ref origin/HEAD 2>/dev/null | sed 's|origin/||' || true)
1150
+ fi
1151
+ BASE_BRANCH="${BASE_BRANCH:-main}"
1152
+ MERGE_BASE=$(git merge-base "origin/$BASE_BRANCH" HEAD 2>/dev/null || git merge-base "$BASE_BRANCH" HEAD 2>/dev/null || echo "")
1147
1153
 
1148
1154
  if [[ -n "$MERGE_BASE" ]]; then
1149
1155
  git log --oneline "${MERGE_BASE}..HEAD"
@@ -1628,17 +1634,21 @@ Steps:
1628
1634
  description artifact at `PR_DESCRIPTION_PATH`.
1629
1635
  2. For the non-archive artifact, write the stripped body to a temporary file (remove all lines from the opening `---` through the closing `---`, inclusive).
1630
1636
  3. Verify the temp file does not start with YAML frontmatter keys.
1631
- 4. Create the PR from the branch already pushed in Step 10:
1637
+ 4. Reuse the `BASE_BRANCH` resolved in Step 7 item 4. A Step 3.65 resume
1638
+ route that skipped Step 7 has not set it: run that step's resolution block
1639
+ first. Never create the PR with an empty base.
1640
+ 5. Create the PR from the branch already pushed in Step 10:
1632
1641
 
1633
1642
  ```bash
1634
- gh pr create --base main --title "{title}" --body-file "$TMP_BODY"
1643
+ : "${BASE_BRANCH:?BASE_BRANCH is unset; run the Step 7 base-branch resolution first}"
1644
+ gh pr create --base "$BASE_BRANCH" --title "{title}" --body-file "$TMP_BODY"
1635
1645
  ```
1636
1646
 
1637
- 5. Clean up the temp file, including `PR_BODY_FILE`, once the PR is created.
1647
+ 6. Clean up the temp file, including `PR_BODY_FILE`, once the PR is created.
1638
1648
  When `gh` is missing or `gh pr create` fails, keep it and report its path
1639
1649
  in Step 12.
1640
1650
 
1641
- Do not assume `gh` is installed; if missing, instruct manual PR creation using the file contents.
1651
+ Do not assume `gh` is installed; if missing, instruct manual PR creation using the file contents and note the resolved base branch (`BASE_BRANCH`).
1642
1652
 
1643
1653
  ### Step 11.5: Sync Open-PR Description on GitHub (Conditional)
1644
1654
 
@@ -2,12 +2,12 @@
2
2
  name: oat-project-implement
3
3
  description: Use when the user explicitly asks to implement an approved OAT plan — e.g. "implement the plan", "start implementation", or accepts a previously offered implementation step. Do NOT auto-invoke just because plan.md is ready. Dispatches one phase implementer per phase, owns independent phase review and bounded fix routing, and supports plan-declared worktree-isolated parallel phases.
4
4
  oat_gateable: true
5
- argument-hint: '[--retry-limit <N>] [--dry-run]'
5
+ argument-hint: '[--dry-run]'
6
6
  disable-model-invocation: false
7
7
  user-invocable: true
8
8
  allowed-tools: Read, Write, Bash(git:*), Bash(oat:*), Bash(oat project log:*), Glob, Grep, AskUserQuestion, Task
9
9
  metadata:
10
- version: 2.3.23
10
+ version: 2.3.24
11
11
  ---
12
12
 
13
13
  # Implementation Phase
@@ -5,7 +5,7 @@ disable-model-invocation: false
5
5
  user-invocable: true
6
6
  allowed-tools: Read, Write, Bash(awk:*), Bash(gh:*), Bash(git:*), Bash(mktemp:*), Bash(oat:*), Bash(rm:*), Glob, Grep, AskUserQuestion
7
7
  metadata:
8
- version: 1.6.12
8
+ version: 1.6.13
9
9
  ---
10
10
 
11
11
  # Project PR (Final)
@@ -90,7 +90,7 @@ oat-project-pr-final title="feat: add review loop"
90
90
 
91
91
  ### Without arguments
92
92
 
93
- Run the `oat-project-pr-final` skill and it will ask for:
93
+ Run the `oat-project-pr-final` skill and it fills these from the defaults below without asking, then pushes the branch and creates the PR:
94
94
 
95
95
  - PR title
96
96
  - default when a known ticket is associated: `[{TICKET-NUM}] {Descriptive Project Title}`
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/doctor/index.ts"],"names":[],"mappings":"AAWA,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,aAAa,EACnB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAEL,KAAK,WAAW,EAChB,KAAK,yBAAyB,EAC/B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,sBAAsB,CAAC;AAa9B,OAAO,EAIL,KAAK,kBAAkB,EACvB,KAAK,aAAa,EACnB,MAAM,uCAAuC,CAAC;AAa/C,OAAO,EAGL,KAAK,UAAU,EAChB,MAAM,eAAe,CAAC;AACvB,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,cAAc,EAGnB,KAAK,UAAU,EAChB,MAAM,oBAAoB,CAAC;AAK5B,OAAO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KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAED,UAAU,kBAAkB;IAC1B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,0BAA0B,EAAE,MAAM,CAAC;IACnC,cAAc,EAAE,oBAAoB,EAAE,CAAC;CACxC;AA2DD;;;;;GAKG;AACH,wBAAsB,yBAAyB,CAC7C,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,GAC7C,OAAO,CAAC,kBAAkB,CAAC,CAkD7B;AAmsCD,wBAAgB,mBAAmB,CACjC,SAAS,GAAE,OAAO,CAAC,kBAAkB,CAAM,GAC1C,OAAO,CAsBT"}
@@ -149,6 +149,9 @@ export async function checkSkillVersionsDefault(scopeRoot, assetsRoot, pathExist
149
149
  outdatedSkills,
150
150
  };
151
151
  }
152
+ function assetRecoveryFix(rerun) {
153
+ return `Reinstall the OAT CLI (\`npm install --global @open-agent-toolkit/cli\`) or point \`OAT_ASSETS_DIR\` at a complete asset bundle for this CLI version, then rerun \`${rerun}\`. In an OAT source checkout, run \`pnpm build\` instead.`;
154
+ }
152
155
  function formatVersionForDisplay(version) {
153
156
  return version ?? '(unversioned)';
154
157
  }
@@ -760,7 +763,7 @@ async function createPackStateChecks(scopeRoots, providerContexts, dependencies)
760
763
  description: 'Managed pack inventory availability',
761
764
  status: 'warn',
762
765
  message: evidence.diagnostics[0]?.detail ?? detail,
763
- fix: 'Run `pnpm build` and rerun `oat doctor`.',
766
+ fix: assetRecoveryFix('oat doctor'),
764
767
  },
765
768
  ],
766
769
  evidence,
@@ -924,7 +927,7 @@ async function runChecksForScope(scope, scopeRoot, userConfigDir, dependencies,
924
927
  message: error instanceof Error
925
928
  ? `Unable to compare installed skill versions: ${error.message}`
926
929
  : 'Unable to compare installed skill versions.',
927
- fix: 'Run `pnpm build` and rerun `oat doctor`.',
930
+ fix: assetRecoveryFix('oat doctor'),
928
931
  });
929
932
  }
930
933
  const repoReferenceRoot = join(scopeRoot, '.oat', 'repo');
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/init/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,aAAa,EAEnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,KAAK,+BAA+B,EACrC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,KAAK,kBAAkB,EAExB,MAAM,0BAA0B,CAAC;AAclC,OAAO,EAIL,KAAK,sBAAsB,EAC5B,MAAM,2CAA2C,CAAC;AAEnD,OAAO,EAGL,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,YAAY,EAGlB,MAAM,iCAAiC,CAAC;AAKzC,OAAO,EAGL,KAAK,UAAU,EAEhB,MAAM,eAAe,CAAC;AACvB,OAAO,EAEL,KAAK,SAAS,EAKf,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,KAAK,WAAW,EAGjB,MAAM,cAAc,CAAC;AACtB,OAAO,EAEL,KAAK,cAAc,EAEnB,KAAK,eAAe,EAOrB,MAAM,eAAe,CAAC;AAYvB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AASzD,OAAO,EACL,KAAK,yBAAyB,EAO9B,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EAC1B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EAAE,aAAa,EAAS,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAE5B,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,KAAK,QAAQ,EAId,MAAM,SAAS,CAAC;AACjB,OA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AAc,EACvB,WAAW,EAAE,MAAM,GAAG,IAAI,KACvB,OAAO,CAAC,kBAAkB,CAAC,CAAC;CAClC;AAgkCD,wBAAgB,iBAAiB,CAC/B,SAAS,GAAE,OAAO,CAAC,gBAAgB,CAAM,GACxC,OAAO,CAiCT"}
@@ -348,13 +348,18 @@ async function runGuidedSetupImpl(context, dependencies, explicitProjectGuidance
348
348
  .map(({ adapter }) => adapter.displayName)
349
349
  : resolution.activeAdapters.map((adapter) => adapter.displayName);
350
350
  context.logger.info('[1/5] Tool packs…');
351
- // Defer the per-pack scope gate to the tools flow: `gate` asks the customize
352
- // prompt after pack selection (and only when a user-eligible pack is
353
- // selected). Non-interactive setup applies additive defaults with no prompt.
351
+ // An explicit --scope project|user reaches the tools flow as an explicit
352
+ // selection: packs install at that scope only. Otherwise defer the per-pack
353
+ // scope gate to the tools flow: `gate` asks the customize prompt after pack
354
+ // selection (and only when a user-eligible pack is selected).
355
+ // Non-interactive setup applies additive defaults with no prompt.
356
+ const explicitScope = context.scope === 'project' || context.scope === 'user';
354
357
  const scopeSelection = context.interactive
355
358
  ? 'gate'
356
359
  : 'defaults';
357
- const guidedContext = { ...context, scopeSelection };
360
+ const guidedContext = explicitScope
361
+ ? context
362
+ : { ...context, scopeSelection };
358
363
  const installedPacks = explicitProjectGuidance === undefined
359
364
  ? await dependencies.runToolPacks(guidedContext)
360
365
  : await dependencies.runToolPacks(guidedContext, explicitProjectGuidance);
@@ -761,7 +766,7 @@ export function createInitCommand(overrides = {}) {
761
766
  return withProjectGuidanceOptions(withScopeOption(new Command('init')))
762
767
  .description('Initialize canonical directories, manifest, and tool packs')
763
768
  .option('--hook', 'Install optional pre-commit hook')
764
- .option('--no-hook', 'Skip optional pre-commit hook install')
769
+ .option('--no-hook', 'Remove an installed optional pre-commit hook and skip installing one')
765
770
  .option('--setup', 'Run guided setup after initialization')
766
771
  .addCommand(createInitToolsCommand())
767
772
  .action(async (_options, command) => {
@@ -1 +1 @@
1
- {"version":3,"file":"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