@idea1/cli 1.8.2 → 1.8.3

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 (93) hide show
  1. package/README.md +92 -18
  2. package/dist/commands/approve-pr.js +5 -5
  3. package/dist/commands/approve-pr.js.map +1 -1
  4. package/dist/commands/attach-project-item.d.ts.map +1 -1
  5. package/dist/commands/attach-project-item.js +27 -7
  6. package/dist/commands/attach-project-item.js.map +1 -1
  7. package/dist/commands/help.d.ts.map +1 -1
  8. package/dist/commands/help.js +8 -6
  9. package/dist/commands/help.js.map +1 -1
  10. package/dist/commands/index.d.ts +2 -1
  11. package/dist/commands/index.d.ts.map +1 -1
  12. package/dist/commands/index.js +3 -1
  13. package/dist/commands/index.js.map +1 -1
  14. package/dist/commands/integrate.d.ts +13 -0
  15. package/dist/commands/integrate.d.ts.map +1 -0
  16. package/dist/commands/integrate.js +128 -0
  17. package/dist/commands/integrate.js.map +1 -0
  18. package/dist/commands/ready-for-approval.js +1 -1
  19. package/dist/commands/ready-for-approval.js.map +1 -1
  20. package/dist/commands/release.d.ts +4 -0
  21. package/dist/commands/release.d.ts.map +1 -1
  22. package/dist/commands/release.js +105 -20
  23. package/dist/commands/release.js.map +1 -1
  24. package/dist/commands/ship-local-changes.d.ts +8 -0
  25. package/dist/commands/ship-local-changes.d.ts.map +1 -0
  26. package/dist/commands/ship-local-changes.js +33 -0
  27. package/dist/commands/ship-local-changes.js.map +1 -0
  28. package/dist/commands/start-project-item.d.ts +27 -0
  29. package/dist/commands/start-project-item.d.ts.map +1 -0
  30. package/dist/commands/start-project-item.js +325 -0
  31. package/dist/commands/start-project-item.js.map +1 -0
  32. package/dist/commands/start.d.ts +6 -0
  33. package/dist/commands/start.d.ts.map +1 -1
  34. package/dist/commands/start.js +53 -18
  35. package/dist/commands/start.js.map +1 -1
  36. package/dist/index.js +0 -0
  37. package/dist/lib/claude-options.d.ts +3 -2
  38. package/dist/lib/claude-options.d.ts.map +1 -1
  39. package/dist/lib/claude-options.js +15 -4
  40. package/dist/lib/claude-options.js.map +1 -1
  41. package/dist/lib/settings.d.ts +13 -3
  42. package/dist/lib/settings.d.ts.map +1 -1
  43. package/dist/lib/settings.js +12 -3
  44. package/dist/lib/settings.js.map +1 -1
  45. package/dist/services/git.d.ts +34 -13
  46. package/dist/services/git.d.ts.map +1 -1
  47. package/dist/services/git.js +75 -39
  48. package/dist/services/git.js.map +1 -1
  49. package/dist/services/github.d.ts +15 -0
  50. package/dist/services/github.d.ts.map +1 -1
  51. package/dist/services/github.js +47 -0
  52. package/dist/services/github.js.map +1 -1
  53. package/dist/services/setup.d.ts.map +1 -1
  54. package/dist/services/setup.js +18 -24
  55. package/dist/services/setup.js.map +1 -1
  56. package/dist/services/workflow.d.ts +17 -0
  57. package/dist/services/workflow.d.ts.map +1 -0
  58. package/dist/services/workflow.js +39 -0
  59. package/dist/services/workflow.js.map +1 -0
  60. package/dist/types/index.d.ts +18 -24
  61. package/dist/types/index.d.ts.map +1 -1
  62. package/dist/version.d.ts +2 -1
  63. package/dist/version.d.ts.map +1 -1
  64. package/dist/version.js +3 -2
  65. package/dist/version.js.map +1 -1
  66. package/dist/workflow/engine/approval-flow.d.ts +8 -1
  67. package/dist/workflow/engine/approval-flow.d.ts.map +1 -1
  68. package/dist/workflow/engine/approval-flow.js +23 -8
  69. package/dist/workflow/engine/approval-flow.js.map +1 -1
  70. package/dist/workflow/engine/handlers/agent-implementation.js +1 -1
  71. package/dist/workflow/engine/handlers/agent-implementation.js.map +1 -1
  72. package/dist/workflow/engine/handlers/approve-pr.d.ts.map +1 -1
  73. package/dist/workflow/engine/handlers/approve-pr.js +9 -3
  74. package/dist/workflow/engine/handlers/approve-pr.js.map +1 -1
  75. package/dist/workflow/engine/handlers/ready-for-approval.d.ts +5 -0
  76. package/dist/workflow/engine/handlers/ready-for-approval.d.ts.map +1 -1
  77. package/dist/workflow/engine/handlers/ready-for-approval.js +11 -7
  78. package/dist/workflow/engine/handlers/ready-for-approval.js.map +1 -1
  79. package/dist/workflow/engine/{release-flow.d.ts → release-engine.d.ts} +77 -6
  80. package/dist/workflow/engine/release-engine.d.ts.map +1 -0
  81. package/dist/workflow/engine/{release-flow.js → release-engine.js} +279 -17
  82. package/dist/workflow/engine/release-engine.js.map +1 -0
  83. package/dist/workflow/engine/ship-flow.d.ts +87 -0
  84. package/dist/workflow/engine/ship-flow.d.ts.map +1 -0
  85. package/dist/workflow/engine/ship-flow.js +227 -0
  86. package/dist/workflow/engine/ship-flow.js.map +1 -0
  87. package/dist/workflow/engine/workflow-engine.d.ts +18 -2
  88. package/dist/workflow/engine/workflow-engine.d.ts.map +1 -1
  89. package/dist/workflow/engine/workflow-engine.js +58 -19
  90. package/dist/workflow/engine/workflow-engine.js.map +1 -1
  91. package/package.json +2 -2
  92. package/dist/workflow/engine/release-flow.d.ts.map +0 -1
  93. package/dist/workflow/engine/release-flow.js.map +0 -1
package/README.md CHANGED
@@ -18,6 +18,9 @@ Run commands directly from the command line:
18
18
  # Put a project item under workflow management (branch recorded on idea1.ai, no code changes)
19
19
  idea1 start --url https://app.idea1.ai/project/items/590
20
20
 
21
+ # Ship the uncommitted changes of your working/release checkout: new item, its branch, PR, checks, merge
22
+ idea1 ship --title "Release prep" --project "Omega"
23
+
21
24
  # Advance the item to its next workflow state (runs that state's automation)
22
25
  idea1 next --url https://app.idea1.ai/project/items/590 # or just `idea1 next` on the item's branch
23
26
 
@@ -34,8 +37,9 @@ idea1 approve-pr # or: idea1 approve
34
37
  idea1 ready-for-approval --assignee octocat
35
38
  idea1 approve-pr --branch working/integration/<name>-main
36
39
 
37
- # Release the release branch to production (opens the release PR into main, assigned to you, and merges it once the checks pass)
40
+ # Release the release branch to production (bumps changed packages' versions, opens the release PR into main assigned to you, and merges it once the checks pass)
38
41
  idea1 release # or: idea1 r
42
+ idea1 release --approve # approve and merge the release PR that is already open
39
43
 
40
44
  # Show help
41
45
  idea1 --help
@@ -75,7 +79,7 @@ A transition is "enter state X". Entering a state runs that state's automation (
75
79
  | **Approved and Merged** | verifies you are the assignee, waits for the CI/CD suite, merges the PR as it stands — the merge is the approval — then deletes the branch and worktree |
76
80
  | Released | none — normally set by GitHub automation when the work merges to `main` |
77
81
 
78
- `start` begins state management, `next` advances one state, and `start-agent-implementation` jumps to Agent Implementation — all three reduce to the same engine, so branches and items always end up consistent with the state they are in. The engine and its layers are described in `src/workflow/README.md`.
82
+ `start` begins state management, `next` advances one state, `start-agent-implementation` jumps to Agent Implementation, and `ship-local-changes` takes uncommitted base-branch work all the way to Approved and Merged — all three reduce to the same engine, so branches and items always end up consistent with the state they are in. The engine and its layers are described in `src/workflow/README.md`.
79
83
 
80
84
  ### Who approves what
81
85
 
@@ -85,7 +89,7 @@ A change reaches production through two merges, and **each merge is its approval
85
89
 
86
90
  **Any other branch into `working/release`** — a branch with no project item takes the same gate. `idea1 ready-for-approval` opens its PR (with the approval chain of what the branch carries as the body) and names its assignee; `idea1 approve-pr` merges it once the suite passes, with the same no-override rule, and then deletes the branch. Only the idea1.ai status writes are absent. Integration branches work this way: work items PR into `working/integration/<name>-main` and are approved there exactly as above, then the integration branch itself is carried into `working/release` with these two commands — its PR body lists every work-item PR and who approved it, and `approve-pr` refuses while any PR still targets the integration branch.
87
91
 
88
- **Into `main`** — `idea1 release` opens the release PR **assigned to whoever ran it**: the releaser is the approver, and their merge is the recorded approval. No review is required — every change in the release was already approved above, and the release PR body lists each contained PR with who approved it. What this stage gates is the build: the required CI/CD checks must pass first. In the default `create` mode the releaser merges the PR in GitHub once the checks are green; in `merge` mode the CLI waits for every check with `gh` and merges here. An emergency admin override past a red check needs an explicit confirmation and a stated reason, and is recorded as a comment on the PR before the merge.
92
+ **Into `main`** — `idea1 release` opens the release PR **assigned to whoever ran it**: the releaser is the approver, and their merge is the recorded approval. No review is required — every change in the release was already approved above, and the release PR body lists each contained PR with who approved it. What this stage gates is the build: the required CI/CD checks must pass first. In the default `create` mode the releaser merges the PR in GitHub once the checks are green; in `merge` mode (and with `idea1 release --approve`) the CLI turns on GitHub's auto-merge as the releaser, so GitHub merges once the checks pass and records the releaser as `merged_by`, or waits for the checks with `gh` and merges here where GitHub can't auto-merge. A release approved in the Idea1 web app is merged by the Idea1 GitHub App instead; the app first posts an approval comment naming the releaser, who is the PR's assignee, and that comment is the approval of record. An emergency admin override past a red check needs an explicit confirmation and a stated reason, and is recorded as a comment on the PR before the merge.
89
93
 
90
94
  This is the change-management control DataFabrIQ is audited on; see `infrastructure/soc2/policies/change-management-policy.md` clause 2.
91
95
 
@@ -106,7 +110,42 @@ idea1 s --url <url>
106
110
  - `-p, --source-path <path>` - Path to source directory.
107
111
  - `-n, --branch-name <name>` - Branch name (auto-generated from the item description if not provided).
108
112
  - `-b, --base-branch <branch>` - Base branch / PR target (default: `working/release`).
109
- - `-w, --workflow-type <type>` - `independent` or `integration`; you also choose any stack branch and (for integration) the integration branch.
113
+ - `-w, --workflow-type <type>` - `independent` or `integration`; you also choose any stack branch and (for integration) the integration branch. Not asked when carrying local changes, which go onto an independent branch.
114
+ - `-c, --carry-local-changes` - Make the uncommitted changes of your base branch checkout the item's work. See [Carrying local changes](#carrying-local-changes).
115
+ - `--approve-and-merge` - Advance the item through every state up to **Approved and Merged** without prompting. See [Carrying local changes](#carrying-local-changes).
116
+ - `-M, --commit-message <message>` - Commit message for carried changes (default: the new item's title).
117
+ - `-iso, --isolation <mode>` - Where to work on the branch, when changes are carried or the item is approved and merged. See [Isolation mode](#isolation-mode).
118
+ - `-r, --reviewers <user1,user2>` - Reviewers to request on the PR with `--approve-and-merge` (never asked; optional).
119
+
120
+ ### Carrying local changes
121
+
122
+ Work sometimes starts before its project item does: you make changes in your `working/release` checkout, then want them to go through the workflow like any other work. `start --carry-local-changes` (or `attach-project-item --carry-local-changes`) makes them the item's work instead of committing them on the base branch:
123
+
124
+ 1. Before anything is created, it checks that the checkout is on the branch the item's branch is cut from (`--base-branch`, else `baseBranch`) and that this branch has no commits origin lacks — only uncommitted changes are carried.
125
+ 2. Every uncommitted change — staged or not, plus untracked files that are not ignored — is committed on top of the checkout's commit without touching the checkout, and that commit becomes the tip of the item's branch on origin. For an item with no branch, the branch is created at that commit and recorded as the item's; an item whose branch exists takes the changes only while that branch has no commits of its own and no local checkout. The base branch itself is never committed to or pushed.
126
+ 3. The branch is checked out per the isolation mode: with `main-repo`, the checkout that held the changes switches to the branch with its working tree untouched (it is the branch's tip, so the checkout is clean); with `worktree`, the branch gets a worktree and the carried changes are removed from the base branch checkout.
127
+
128
+ With `--approve-and-merge`, the item is then advanced through every workflow state up to **Approved and Merged** with nothing asked on the way: no Claude session is launched at Agent Implementation, the PR is created and assigned to **you** (the person who merges is the approver of record), the CLI waits for the required CI/CD checks — the same no-override gate as `approve-pr` — and merges, then brings your local base branch up to date with the merge. On a new item it needs changes to carry. A run that stops (failing checks, say) leaves the item at the last state it reached; fix the branch and run `idea1 approve-pr`, or run the command again with `--url`, to continue.
129
+
130
+ ### ship-local-changes
131
+
132
+ `start --carry-local-changes --approve-and-merge` as one unattended command: create a project item, cut its branch from `working/release`, commit and push your uncommitted changes there, advance it to Needs Approval for Release with a PR assigned to you, wait for the PR's checks and merge it into `working/release`. You end on `working/release`, clean, with your changes merged. The only questions are the ones a new item needs (its title and Project) when they are not supplied.
133
+
134
+ ```bash
135
+ idea1 ship-local-changes --title "Release prep" --project "Omega"
136
+ idea1 ship --title "Release prep" --project "Omega" --branch-name release-prep
137
+ idea1 ship --title "Release prep" --project "Omega" --isolation main-repo
138
+ idea1 ship --url <url> # an existing item whose branch has no commits yet
139
+ ```
140
+
141
+ **Options:**
142
+ - `-u, --url <url>` - An existing project item (default: create a new one).
143
+ - `-t, --title <title>`, `-P, --project <name>` - The new item's title and Project (asked when missing and no URL is given).
144
+ - `-n, --branch-name <name>` - Branch name under the branch prefix (default: derived from the item).
145
+ - `-b, --base-branch <branch>` - The branch your checkout is on, which the item's branch is cut from and merges into (default: `baseBranch`).
146
+ - `-M, --commit-message <message>` - Commit message (default: the item's title).
147
+ - `-iso, --isolation <mode>` - `worktree` (default, never asked) works on the branch in a worktree while it is shipped and leaves your checkout on `working/release`; `main-repo` switches your checkout to the branch until the merge, then back.
148
+ - `-r, --reviewers <user1,user2>` - Reviewers to request on the PR (optional).
110
149
 
111
150
  ### next-workflow-step
112
151
 
@@ -155,11 +194,11 @@ idea1 implement --url <url> --entry-point-prompt "Read the spec in docs/spec.md
155
194
  - `-udp, --use-default-prompt <yes|no>` - Whether to launch Claude with the repository's implementation prompt, or the built-in one when the repository sets none (default: `yes`). Answering `no` asks for the prompt to use instead.
156
195
  - `-epp, --entry-point-prompt <prompt>` - The prompt to launch Claude with, replacing the implementation prompt. Supplying it skips the "Use default prompt?" question. It is a Handlebars template like the repository's prompt, so it can use the same [variables](#prompts).
157
196
 
158
- An item already in Agent Implementation is not transitioned again: the working environment is set up (or reused) and Claude is launched.
197
+ An item already in Agent Implementation is not transitioned again: the working environment is set up (or reused) and Claude is launched. With `--claude-entry-point none` the session options (permission mode, model, effort, prompt) are not asked.
159
198
 
160
199
  ### Isolation mode
161
200
 
162
- `start-agent-implementation`, `next` (when entering Agent Implementation) and `join-project-item` all ask where you want to work on the branch. The prompt is always shown, with `worktree` preselected:
201
+ `start-agent-implementation`, `next` (when entering Agent Implementation), `join-project-item`, and `start`/`attach-project-item` when carrying local changes or approving and merging all ask where you want to work on the branch. The prompt is always shown, with `worktree` preselected (`ship-local-changes` uses `worktree` without asking):
163
202
 
164
203
  - `worktree` (default) - creates/uses a git worktree in a sibling directory (`<repo>-<branch>`), leaving the main repository on its own branch. Runs the `setup-worktree` hook.
165
204
  - `main-repo` - checks the branch out in the main repository, in place. Requires a clean working directory and fails if the branch is already checked out in a worktree. The `setup-worktree` hook is skipped, since the main repository is already set up.
@@ -196,6 +235,8 @@ If a project item URL is supplied but no branch exists for it yet, `join-project
196
235
 
197
236
  Attach the **current branch** to a project item, putting it under workflow management at the item's current state (or `Build Spec in Progress` when it has none). Use this when you already have a branch with work on it and want to bring it into the workflow. It does not create a branch or a worktree and never invokes Claude.
198
237
 
238
+ On the base branch, `--carry-local-changes` gives the item a branch of its own instead and carries your uncommitted changes onto it, exactly as `start --carry-local-changes` does (see [Carrying local changes](#carrying-local-changes)); `--branch-name`, `--commit-message` and `--isolation` then apply. With `--approve-and-merge`, the attached (or new) branch is advanced through every state up to Approved and Merged without prompting.
239
+
199
240
  ```bash
200
241
  idea1 attach-project-item --url <url>
201
242
  idea1 attach-project-item # prompts for the URL (blank to create a new item)
@@ -208,6 +249,7 @@ idea1 a --url <url>
208
249
  - `-p, --source-path <path>` - Path to source directory.
209
250
  - `-b, --base-branch <branch>` - Base branch / PR target for an independent feature (default: `working/release`).
210
251
  - `-w, --workflow-type <type>` - Development workflow type: `independent` or `integration`. You also choose any stack branch and (for integration) the integration branch.
252
+ - `-c, --carry-local-changes`, `--approve-and-merge`, `-n, --branch-name`, `-M, --commit-message`, `-iso, --isolation`, `-r, --reviewers` - As for `start`.
211
253
 
212
254
  **What it does:**
213
255
  1. Verifies the current branch is free to implement the item (a branch that already implements one is resumed with `join-project-item`).
@@ -277,6 +319,7 @@ idea1 approve-pr --branch working/integration/<name>-main # from anywhere: the
277
319
 
278
320
  **Options:**
279
321
  - `-b, --branch <branch>` - Branch whose PR to approve (default: the current branch). A project item's branch is approved through the workflow; any other branch through its PR alone
322
+ - `-y, --yes` - Merge without asking for confirmation. The approver check and the wait for the required checks still apply
280
323
 
281
324
  **What it does on a project item's branch:**
282
325
  1. Enters every state before Approved and Merged the item has yet to reach (after syncing from origin)
@@ -293,26 +336,38 @@ idea1 approve-pr --branch working/integration/<name>-main # from anywhere: the
293
336
 
294
337
  ### release
295
338
 
296
- Release everything on the release branch to production. Opens the release PR from `working/release` into `main`, **assigned to you**, and merges it — the person who runs the command is the releaser and the approver, and no review is required, because every change in the release was already approved on its own PR.
339
+ Release everything on the release branch to production. Bumps the versions of the packages that changed since the last release (committing the bump to the release branch), opens the release PR from `working/release` into `main`, **assigned to you**, and merges it — the person who runs the command is the releaser and the approver, and no review is required, because every change in the release was already approved on its own PR.
297
340
 
298
341
  ```bash
299
- idea1 release # prompts for the PR mode and title
300
- idea1 release --pr-mode merge # wait for the required checks, then merge here
342
+ idea1 release # prompts for any version bumps, the PR mode and title
343
+ idea1 release --bumps filekit=minor,cli=patch # bump types given up front
344
+ idea1 release --pr-mode merge # enable auto-merge (or wait for the checks and merge here)
345
+ idea1 release --approve # approve and merge the open release PR
301
346
  idea1 r
302
347
  ```
303
348
 
304
349
  **Options:**
305
- - `-b, --branch <branch>` - Source branch to release from (default: `releaseBranch`, then `baseBranch`, then `working/release`)
350
+ - `-b, --branch <branch>` - Source branch to release from (default: `baseBranch`, then `working/release`)
306
351
  - `-t, --target <branch>` - Target branch to release into (default: `releaseTargetBranch`, then `main`)
307
- - `-pr, --pr-mode <mode>` - `create` (default) creates the PR and opens it in the browser so you merge it there once the required checks pass; `merge` waits for every check with `gh` and merges here. The merge is the recorded approval in both
352
+ - `--approve` - Approve and merge the release PR that is already open, instead of opening one. See [Approving an open release](#approving-an-open-release)
353
+ - `--bumps <package=type,...>` - Version bump per changed package, as `patch`, `minor` or `major` (e.g. `filekit=minor,cli=patch`). A changed package it doesn't name is prompted for, with `patch` preselected; a package that needs no bump is ignored
354
+ - `-pr, --pr-mode <mode>` - `create` (default) creates the PR and opens it in the browser so you merge it there once the required checks pass; `merge` turns on GitHub's auto-merge, so GitHub merges once the required checks pass, and falls back to waiting for every check with `gh` and merging here when GitHub can't auto-merge (the PR is already mergeable, or the repository doesn't allow auto-merge). You are the recorded merger, and the merge is the recorded approval, in every case
308
355
  - `--title <title>` - PR title (default: `Release <YYYY-MM-DD>`)
309
356
 
310
357
  **What it does:**
311
- 1. Requires you to be on the release branch with nothing uncommitted, unpushed or behind origin, then runs the `pre-release` hook (the version bumps). The hook runs before the PR is opened, so its commit is the PR's head and the suite runs once, on the release as it will merge
312
- 2. Creates the release PR assigned to you, whose body is the release's approval chain: every contained PR — attributed by GitHub's commit association, so squash and rebase merges are covered — with its author and the assignee who approved it by merging. Commits with no PR are listed separately, split in two: the `pre-release` hook's version bumps, which are release automation and not an exception, and genuine direct commits, which are
313
- 3. Refuses the release when nothing in it came through a merged PR. A repository admin can override that — an explicit confirmation and a required reason — and the exception is recorded as a comment on the PR naming the admin, the reason and every commit that had no PR, as well as in the PR body. Anyone who is not a repository admin just gets the refusal
314
- 4. In `merge` mode, waits for the required CI/CD checks and merges normally. Checks that fail, never start or never finish stop the release; an admin override is available but takes an explicit confirmation and a required reason, and the exception is recorded as a comment on the PR before anything is merged
315
- 5. Opens GitHub Actions, where the merge to `main` has triggered the production deploy
358
+ 1. Requires you to be on the release branch with nothing uncommitted, unpushed or behind origin
359
+ 2. Bumps versions, when the repository's `.idea1/settings.json` has a `release` section (see [Release Settings](#release-settings)). A versioned package needs a bump when its folder differs between the release branch and the target and its `package.json` version is still the same on both — so a release re-run after a bump never bumps twice. You pick `patch`, `minor` or `major` for each such package (or give them with `--bumps`), and are asked nothing when no package changed. The CLI makes the bump itself, in your checkout, with no script or workflow: it sets the new version in each package's `package.json` and in the lockfiles at or above the package's folder that record it (the same files `npm version` touches, edited in place so nothing else changes), commits them as one `chore: bump <package> <version>, ...` commit and pushes it to the release branch. Only plain `major.minor.patch` versions are bumped. The bump lands before the PR is opened, so its commit is the PR's head and the suite runs once, on the release as it will merge. A bump is never made onto a release PR that is already open, which may already be approved. The Idea1 web app's release view makes the same bump through the GitHub API
360
+ 3. Creates the release PR assigned to you, whose body is the release's approval chain: every contained PR — attributed by GitHub's commit association, so squash and rebase merges are covered — with its author and the assignee who approved it by merging. Commits with no PR are listed separately, split in two: the version bumps (a commit with no PR that changes only version files, meaning the `package.json` of a declared package and the lockfiles above it, whatever its name or author), which are release automation and not an exception, and genuine direct commits, which are exceptions under change-management-policy.md clause 2, explained at the quarterly review
361
+ 4. Refuses the release when nothing in it came through a merged PR. A repository admin can override that — an explicit confirmation and a required reason — and the exception is recorded as a comment on the PR naming the admin, the reason and every commit that had no PR, as well as in the PR body. Anyone who is not a repository admin just gets the refusal
362
+ 5. In `merge` mode, enables auto-merge, or waits for the required CI/CD checks and merges normally. Checks that fail, never start or never finish stop the release; an admin override is available but takes an explicit confirmation and a required reason, and the exception is recorded as a comment on the PR before anything is merged
363
+ 6. Opens GitHub Actions once it has merged the PR itself, where the merge to `main` has triggered the production deploy
364
+
365
+ #### Approving an open release
366
+
367
+ `idea1 release --approve` finds the open release PR from the release branch into the target and merges it as its approver, after the same assignee check as `approve-pr`:
368
+ - every check passed — merges now
369
+ - checks still running — enables auto-merge, or waits for the checks and merges where GitHub can't auto-merge
370
+ - a check failed — stops, unless a repository admin confirms the admin override, gives a reason, and has it recorded on the PR before the merge
316
371
 
317
372
  ## Configuration
318
373
 
@@ -354,19 +409,38 @@ Create `.idea1/settings.json` in your repository root to configure repo-specific
354
409
  **Prompts:**
355
410
  - `agentImplementation` - The prompt an Agent Implementation session starts with. See [Prompts](#prompts).
356
411
 
412
+ **Release:** see [Release Settings](#release-settings).
413
+
357
414
  **Defaults:**
358
415
  - `branchPrefix` - Prefix for new branches (default: `working/agent`)
359
416
  - `baseBranch` - Default base branch for branching (default: `working/release`)
360
417
  - `testCommand` - Command to run tests before PR creation (e.g., `npm run test`)
361
418
  - `removeWorktreeAtState` - Workflow state whose transition removes the worktree (default: `Needs Approval for Release`). See [Worktree Removal](#worktree-removal).
362
419
 
420
+ ### Release Settings
421
+
422
+ The optional `release` section declares the repository folders `idea1 release` (and the Idea1 web app's release view) can version. A repository without it has no version bump step.
423
+
424
+ ```json
425
+ {
426
+ "release": {
427
+ "versionedPackages": [
428
+ { "name": "filekit", "label": "filekit package", "path": "packages/filekit" },
429
+ { "name": "cli", "label": "idea1 CLI", "path": "omega/idea1-cli" }
430
+ ]
431
+ }
432
+ }
433
+ ```
434
+
435
+ - `versionedPackages` - The packages a release can bump: `name` (used by `--bumps`), `label` (shown in prompts) and `path` (the folder holding the package's `package.json`, relative to the repository root). A package needs a bump when its folder differs between the release branch and the target while its `package.json` version is the same on both
436
+
363
437
  ### Local Settings Overrides
364
438
 
365
439
  `.idea1/settings.local.json` is an optional, git-ignored file with the same shape as
366
440
  `settings.json`. Anything it defines overrides the committed settings for that clone
367
441
  only, which keeps developer-specific preferences out of the shared configuration.
368
- `hooks`, `prompts` and `defaults` are merged section by section, so overriding one value
369
- leaves the rest of the committed settings in place.
442
+ `hooks`, `prompts`, `defaults` and `release` are merged section by section, so overriding one
443
+ value leaves the rest of the committed settings in place.
370
444
 
371
445
  ```json
372
446
  {
@@ -4,8 +4,8 @@ import * as git from '../services/git.js';
4
4
  import * as github from '../services/github.js';
5
5
  import * as worktree from '../services/worktree.js';
6
6
  import { WorkflowStates } from '../workflow/data/workflow-states.js';
7
- import { cleanUpMergedBranch, mergeAsApprover } from '../workflow/engine/approval-flow.js';
8
- import { confirmApproverIdentity } from '../workflow/engine/release-flow.js';
7
+ import { cleanUpMergedBranch, mergeAsApprover, mergeConfirmationOption } from '../workflow/engine/approval-flow.js';
8
+ import { confirmApproverIdentity } from '../workflow/engine/release-engine.js';
9
9
  import { advanceAsNeededTo, getProjectItemSummaryForBranch, resolveTransition, resolveTransitionIfManaged } from '../workflow/engine/workflow-engine.js';
10
10
  import { deferredHandlerOptions } from '../workflow/engine/handlers/index.js';
11
11
  /**
@@ -13,7 +13,7 @@ import { deferredHandlerOptions } from '../workflow/engine/handlers/index.js';
13
13
  * the required checks pass (no override), then the branch is cleaned up. No workflow status is
14
14
  * recorded. The branch need not be checked out - the assignee can approve from anywhere.
15
15
  */
16
- async function approvePrOnBranchWithNoItem(branchName) {
16
+ async function approvePrOnBranchWithNoItem(branchName, confirmed) {
17
17
  await github.ensureGitHubCli();
18
18
  // Captured before anything moves: cleanup may switch branches or remove a worktree.
19
19
  const workingPath = await git.getCheckoutPathForBranch(branchName);
@@ -50,7 +50,7 @@ async function approvePrOnBranchWithNoItem(branchName) {
50
50
  throw new Error(`${openPrsInto.length} open PR(s) still target ${branchName}; approve or close them before approving this branch:\n${list}`);
51
51
  }
52
52
  await confirmApproverIdentity(branchName);
53
- await mergeAsApprover({ branchName, baseBranch, prNumber: prInfo.number });
53
+ await mergeAsApprover({ branchName, baseBranch, prNumber: prInfo.number, confirmed });
54
54
  }
55
55
  await cleanUpMergedBranch({ branchName, baseBranch, workingPath });
56
56
  logger.newline();
@@ -95,7 +95,7 @@ export const approvePrCommand = {
95
95
  if (branchName === 'HEAD') {
96
96
  throw new Error('You are not on a branch (detached HEAD). Check out the branch to approve, or pass --branch <name>.');
97
97
  }
98
- await approvePrOnBranchWithNoItem(branchName);
98
+ await approvePrOnBranchWithNoItem(branchName, resolved[mergeConfirmationOption.longName] === 'true');
99
99
  }
100
100
  };
101
101
  //# sourceMappingURL=approve-pr.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"approve-pr.js","sourceRoot":"","sources":["../../src/commands/approve-pr.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,KAAK,QAAQ,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAC3F,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EACL,iBAAiB,EACjB,8BAA8B,EAC9B,iBAAiB,EACjB,0BAA0B,EAE3B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAE9E;;;;GAIG;AACH,KAAK,UAAU,2BAA2B,CAAC,UAAkB;IAC3D,MAAM,MAAM,CAAC,eAAe,EAAE,CAAC;IAE/B,oFAAoF;IACpF,MAAM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AE,OAAO,EAAE,QAAQ,EAAE,CAAC,CAAC;QAE5D,IAAI,UAAU,EAAE,CAAC;YACf,MAAM,iBAAiB,CAAC,UAAU,EAAE,cAAc,CAAC,iBAAiB,CAAC,CAAC;YACtE,OAAO;QACT,CAAC;QAED,MAAM,UAAU,GAAG,eAAe,IAAI,MAAM,GAAG,CAAC,gBAAgB,EAAE,CAAC;QACnE,IAAI,UAAU,KAAK,MAAM,EAAE,CAAC;YAC1B,MAAM,IAAI,KAAK,CAAC,oGAAoG,CAAC,CAAC;QACxH,CAAC;QAED,MAAM,2BAA2B,CAAC,UAAU,EAAE,QAAQ,CAAC,uBAAuB,CAAC,QAAQ,CAAC,KAAK,MAAM,CAAC,CAAC;IACvG,CAAC;CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"attach-project-item.d.ts","sourceRoot":"","sources":["../../src/commands/attach-project-item.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AASjD,eAAO,MAAM,wBAAwB,EAAE,OA2FtC,CAAC"}
1
+ {"version":3,"file":"attach-project-item.d.ts","sourceRoot":"","sources":["../../src/commands/attach-project-item.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAmBjD,eAAO,MAAM,wBAAwB,EAAE,OAkHtC,CAAC"}
@@ -1,20 +1,35 @@
1
+ import { isolationModeOption } from '../lib/isolation.js';
1
2
  import { logger } from '../lib/logger.js';
2
3
  import * as git from '../services/git.js';
3
4
  import * as github from '../services/github.js';
4
5
  import { WorkflowStates, isStateAtOrAfter, normalizeWorkflowState } from '../workflow/data/workflow-states.js';
5
- import { branchCreationOptions, collectBranchCreationChoices } from '../workflow/engine/branch-setup.js';
6
- import { getProjectItemSummaryForBranch, upsertProjectItemWorkflowContext } from '../workflow/engine/workflow-engine.js';
7
- import { projectItemTargetOptions, resolveOrCreateProjectItem } from './start.js';
6
+ import { collectBranchCreationChoices } from '../workflow/engine/branch-setup.js';
7
+ import { approveAndMerge, approveAndMergeOption, approvesAndMerges, branchCreationOptionsWithCarrying, carriesLocalChanges, carryLocalChangesOption, shipOptions } from '../workflow/engine/ship-flow.js';
8
+ import { getProjectItemSummaryForBranch, resolveTransition, upsertProjectItemWorkflowContext } from '../workflow/engine/workflow-engine.js';
9
+ import { projectItemTargetOptions, resolveOrCreateProjectItem, startProjectItem } from './start.js';
8
10
  export const attachProjectItemCommand = {
9
11
  name: 'attach-project-item',
10
12
  aliases: ['a', 'attach'],
11
- description: 'Attach the current branch to a project item, putting it under workflow management at the item\'s current state',
13
+ description: 'Attach the current branch to a project item, putting it under workflow management at the item\'s current state - or, on the base branch, carry its uncommitted changes onto the item\'s own branch',
12
14
  options: [
15
+ carryLocalChangesOption,
16
+ approveAndMergeOption,
13
17
  ...projectItemTargetOptions,
14
- // The current branch already has its name; only the base branch and workflow type apply.
15
- ...branchCreationOptions.filter(option => option.longName !== 'branch-name')
18
+ // The current branch already has its name; a branch is only named when changes are carried onto a new one.
19
+ ...branchCreationOptionsWithCarrying.map(option => option.longName === 'branch-name'
20
+ ? { ...option, dependsOn: carriesLocalChanges }
21
+ : option),
22
+ // An attached branch is worked where it is checked out; only a branch created for carried changes needs a checkout.
23
+ ...shipOptions.map(option => option.longName === isolationModeOption.longName
24
+ ? { ...option, dependsOn: carriesLocalChanges }
25
+ : option)
16
26
  ],
17
27
  async execute(resolved) {
28
+ // The base branch is never an item's branch: its uncommitted changes go onto the item's own branch.
29
+ if (carriesLocalChanges(resolved)) {
30
+ await startProjectItem(resolved);
31
+ return;
32
+ }
18
33
  const sourcePath = resolved['source-path'];
19
34
  if (sourcePath) {
20
35
  process.chdir(sourcePath);
@@ -44,7 +59,8 @@ export const attachProjectItemCommand = {
44
59
  prTargetBranch = integrationBranchName;
45
60
  }
46
61
  if (currentBranch === prTargetBranch) {
47
- throw new Error(`Cannot attach branch '${currentBranch}' to itself as the PR base ('${prTargetBranch}').`);
62
+ throw new Error(`Cannot attach branch '${currentBranch}' to itself as the PR base ('${prTargetBranch}'). ` +
63
+ 'To make its uncommitted changes the item\'s work on a branch of its own, pass --carry-local-changes.');
48
64
  }
49
65
  if (!await git.branchExists(currentBranch)) {
50
66
  throw new Error(`Branch '${currentBranch}' exists locally only. Push it first so the platform can record it.`);
@@ -77,6 +93,10 @@ export const attachProjectItemCommand = {
77
93
  }
78
94
  }
79
95
  logger.success(`Attached ${currentBranch} to ${projectItemUrl}`);
96
+ if (approvesAndMerges(resolved)) {
97
+ await approveAndMerge(await resolveTransition({ projectItemUrl, options: resolved }));
98
+ return;
99
+ }
80
100
  logger.newline();
81
101
  logger.hint('Use `idea1 next` to transition to the next workflow step when ready.');
82
102
  }
@@ -1 +1 @@
1
- {"version":3,"file":"attach-project-item.js","sourceRoot":"","sources":["../../src/commands/attach-project-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAC/G,OAAO,EAAE,qBAAqB,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AACzG,OAAO,EAAE,8BAA8B,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AACzH,OAAO,EAAE,wBAAwB,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAElF,MAAM,CAAC,MAAM,wBAAwB,GAAY;IAC/C,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EAAE,CAAC,GAAG,EAAE,QAAQ,CAAC;IACxB,WAAW,EAAE,gHAAgH;IAC7H,OAAO,EAAE;QACP,GAAG,wBAAwB;QAC3B,yFAAyF;QACzF,GAAG,qBAAqB,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,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sourceRoot":"","sources":["../../src/commands/help.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAMjD,eAAO,MAAM,WAAW,EAAE,OA0KzB,CAAC"}
1
+ {"version":3,"file":"help.d.ts","sourceRoot":"","sources":["../../src/commands/help.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAMjD,eAAO,MAAM,WAAW,EAAE,OA4KzB,CAAC"}
@@ -22,6 +22,7 @@ export const helpCommand = {
22
22
  console.log(' that state\'s automation; only "Agent Implementation" launches Claude to write code.');
23
23
  console.log();
24
24
  console.log(` ${chalk.bold('start')} Put an item under workflow management (branch created and recorded on idea1.ai)`);
25
+ console.log(` ${chalk.bold('ship-local-changes')} Uncommitted working/release changes → new item, its branch, PR, checks, merge (alias: ship)`);
25
26
  console.log(` ${chalk.bold('next-workflow-step')} Advance to the next state and run its automation`);
26
27
  console.log(` ${chalk.bold('start-agent-implementation')} Jump to Agent Implementation: worktree + Claude (alias: start-project-item)`);
27
28
  console.log(` ${chalk.bold('start-dev-implementation')} Commit agent work, create PR, close worktree`);
@@ -29,7 +30,7 @@ export const helpCommand = {
29
30
  console.log(` ${chalk.bold('approve-pr')} Assignee approves by merging the PR, then cleans up - any branch, item or not`);
30
31
  console.log(` ${chalk.bold('join-project-item')} Set up a working environment on an item\'s existing branch`);
31
32
  console.log(` ${chalk.bold('update-branch')} Merge latest from source branch into current branch`);
32
- console.log(` ${chalk.bold('release')} Open the release PR into main, assigned to you, and merge it once the checks pass`);
33
+ console.log(` ${chalk.bold('release')} Bump changed packages, open the release PR into main assigned to you, merge once checks pass (--approve: merge the open one)`);
33
34
  console.log();
34
35
  // Print the approval model - the assignee approves by merging, at both gates
35
36
  console.log(chalk.bold('APPROVAL MODEL:'));
@@ -54,9 +55,10 @@ export const helpCommand = {
54
55
  console.log(' releaser is the approver and merges it. No review is required:');
55
56
  console.log(' every change in the release was already approved above. The');
56
57
  console.log(' gate is the required CI/CD suite. Default mode creates the PR');
57
- console.log(' to merge in GitHub once green; --pr-mode merge waits for the');
58
- console.log(' checks with gh and merges here. An emergency admin override');
59
- console.log(' needs a confirmation, a reason, and is recorded on the PR.');
58
+ console.log(' to merge in GitHub once green; --pr-mode merge (and --approve)');
59
+ console.log(' enables auto-merge, or waits for the checks with gh and merges');
60
+ console.log(' here. An emergency admin override needs a confirmation, a');
61
+ console.log(' reason, and is recorded on the PR.');
60
62
  console.log();
61
63
  // Print branching workflows
62
64
  console.log(chalk.bold('BRANCHING WORKFLOWS:'));
@@ -128,14 +130,14 @@ export const helpCommand = {
128
130
  console.log(' 5. Built-in defaults');
129
131
  console.log();
130
132
  console.log(' Key settings in .idea1/settings.json:');
131
- console.log(` ${chalk.dim('defaults.baseBranch')} Base branch for PRs (default: working/release)`);
133
+ console.log(` ${chalk.dim('defaults.baseBranch')} Base branch for PRs, and the branch releases are cut from (default: working/release)`);
132
134
  console.log(` ${chalk.dim('defaults.branchPrefix')} Agent branch prefix (default: working/agent)`);
133
- console.log(` ${chalk.dim('defaults.releaseBranch')} Branch a release is cut from (default: working/release)`);
134
135
  console.log(` ${chalk.dim('defaults.releaseTargetBranch')} Branch a release merges into (default: main)`);
135
136
  console.log(` ${chalk.dim('defaults.integrationBranchPrefix')} Integration prefix (default: working/integration)`);
136
137
  console.log(` ${chalk.dim('defaults.integrationBranchTemplate')} Template for integration branch name`);
137
138
  console.log(` ${chalk.dim('defaults.integrationWorkBranchTemplate')} Template for work item branch name`);
138
139
  console.log(` ${chalk.dim('defaults.removeWorktreeAtState')} Workflow state that removes the worktree (default: Needs Approval for Release)`);
140
+ console.log(` ${chalk.dim('release.versionedPackages')} Package folders a release bumps when they changed: { name, label, path }`);
139
141
  console.log();
140
142
  console.log(' Worktree removal states: "Dev Implementation", "Needs Approval for Release", "Approved and Merged"');
141
143
  console.log();
@@ -1 +1 @@
1
- {"version":3,"file":"help.js","sourceRoot":"","sources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CAAC;QACd,OAAO,CAAC,GAAG,CAAC,sGAAsG,CAAC,CAAC;QACpH,OAAO,CAAC,GAAG,EAAE,CAAC;QACd,OAAO,CAAC,GAAG,CAAC,uEAAuE,CAAC,CAAC;QACrF,OAAO,CAAC,GAAG,EAAE,CAAC;QAEd,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QACrC,OAAO,CAAC,GAAG,CAAC,4DAA4D,CAAC,CAAC;QAC1E,OAAO,CAAC,GAAG,CAAC,2DAA2D,CAAC,CAAC;QACzE,OAAO,CAAC,GAAG,CAAC,iFAAiF,CAAC,CAAC;QAC/F,OAAO,CAAC,GAAG,CAAC,gGAAgG,CAAC,CAAC;QAC9G,OAAO,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAC;QACrC,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;QAC5B,OAAO,CAAC,GAAG,CAAC,+CAA+C,CAAC,CAAC;QAC7D,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;QAClC,OAAO,CAAC,GAAG,CAAC,iCAAiC,CAAC,CAAC;QAC/C,OAAO,CAAC,GAAG,CAAC,uGAAuG,CAAC,CAAC;QACrH,OAAO,CAAC,GAAG,CAAC,oGAAoG,CAAC,CAAC;QAClH,MAAM,CAAC,OAAO,EAAE,CAAC;QAEjB,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC;QAC7C,OAAO,CAAC,GAAG,CAAC,8EAA8E,CAAC,CAAC;QAC5F,OAAO,CAAC,GAAG,CAAC,uEAAuE,CAAC,CAAC;QACrF,MAAM,CAAC,OAAO,EAAE,CAAC;IACnB,CAAC;CACF,CAAC"}
@@ -14,6 +14,7 @@ import { approvePrCommand } from './approve-pr.js';
14
14
  import { nextWorkflowStepCommand } from './next-workflow-step.js';
15
15
  import { updateBranchCommand } from './update-branch.js';
16
16
  import { getProjectItemUrlCommand } from './get-project-item-url.js';
17
+ import { shipLocalChangesCommand } from './ship-local-changes.js';
17
18
  /**
18
19
  * Get a command by name or alias
19
20
  */
@@ -26,5 +27,5 @@ export declare function getAllCommands(): Command[];
26
27
  * Get all command names and aliases for autocomplete
27
28
  */
28
29
  export declare function getAllCommandNamesAndAliases(): string[];
29
- export { startCommand, startAgentImplementationCommand, joinProjectItemCommand, attachProjectItemCommand, closeWorktreeCommand, createWorktreeCommand, pushCommand, helpCommand, releaseCommand, startDevImplementationCommand, readyForApprovalCommand, approvePrCommand, nextWorkflowStepCommand, updateBranchCommand, getProjectItemUrlCommand };
30
+ export { startCommand, startAgentImplementationCommand, joinProjectItemCommand, attachProjectItemCommand, closeWorktreeCommand, createWorktreeCommand, pushCommand, helpCommand, releaseCommand, startDevImplementationCommand, readyForApprovalCommand, approvePrCommand, nextWorkflowStepCommand, updateBranchCommand, getProjectItemUrlCommand, shipLocalChangesCommand };
30
31
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/commands/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,+BAA+B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,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,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,6BAA6B,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AA0ClE;;GAEG;AACH,wBAAgB,UAAU,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAEnE;AAED;;GAEG;AACH,wBAAgB,cAAc,IAAI,OAAO,EAAE,CAM1C;AAED;;GAEG;AACH,wBAAgB,4BAA4B,IAAI,MAAM,EAAE,CAEvD;AAED,OAAO,EACL,YAAY,EACZ,+BAA+B,EAC/B,sBAAsB,EACtB,wBAAwB,EACxB,oBAAoB,EACpB,qBAAqB,EACrB,WAAW,EACX,WAAW,EACX,cAAc,EACd,6BAA6B,EAC7B,uBAAuB,EACvB,gBAAgB,EAChB,uBAAuB,EACvB,mBAAmB,EACnB,wBAAwB,EACxB,uBAAuB,EACxB,CAAC"}
@@ -13,6 +13,7 @@ import { approvePrCommand } from './approve-pr.js';
13
13
  import { nextWorkflowStepCommand } from './next-workflow-step.js';
14
14
  import { updateBranchCommand } from './update-branch.js';
15
15
  import { getProjectItemUrlCommand } from './get-project-item-url.js';
16
+ import { shipLocalChangesCommand } from './ship-local-changes.js';
16
17
  /**
17
18
  * Command registry - Map-based for O(1) lookup
18
19
  */
@@ -37,6 +38,7 @@ registerCommand(attachProjectItemCommand);
37
38
  registerCommand(startDevImplementationCommand);
38
39
  registerCommand(readyForApprovalCommand);
39
40
  registerCommand(approvePrCommand);
41
+ registerCommand(shipLocalChangesCommand);
40
42
  registerCommand(releaseCommand);
41
43
  registerCommand(nextWorkflowStepCommand);
42
44
  registerCommand(updateBranchCommand);
@@ -68,5 +70,5 @@ export function getAllCommands() {
68
70
  export function getAllCommandNamesAndAliases() {
69
71
  return Array.from(commandRegistry.keys());
70
72
  }
71
- export { startCommand, startAgentImplementationCommand, joinProjectItemCommand, attachProjectItemCommand, closeWorktreeCommand, createWorktreeCommand, pushCommand, helpCommand, releaseCommand, startDevImplementationCommand, readyForApprovalCommand, approvePrCommand, nextWorkflowStepCommand, updateBranchCommand, getProjectItemUrlCommand };
73
+ export { startCommand, startAgentImplementationCommand, joinProjectItemCommand, attachProjectItemCommand, closeWorktreeCommand, createWorktreeCommand, pushCommand, helpCommand, releaseCommand, startDevImplementationCommand, readyForApprovalCommand, approvePrCommand, nextWorkflowStepCommand, updateBranchCommand, getProjectItemUrlCommand, shipLocalChangesCommand };
72
74
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/commands/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,+BAA+B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,6BAA6B,EAAE,MAAM,+BAA+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GAAkG;AAClG,oEAAoE;AAEpE,yCAAyC;AACzC,0CAA0C;AAC1C,gCAAgC;AAEhC;;GAEG;AACH,MAAM,UAAU,UAAU,CAAC,WAAmB;IAC5C,OAAO,eAAe,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;AAC1C,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,cAAc;IAC5B,MAAM,cAAc,GAAG,IAAI,GAAG,EAAW,CAAC;IAC1C,KAAK,MAAM,OAAO,IAAI,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC;QAC/C,cAAc,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;AACpC,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,4BAA4B;IAC1C,OAAO,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,IAAI,EAAE,CAAC,CAAC;AAC5C,CAAC;AAED,OAAO,EACL,YAAY,EACZ,+BAA+B,EAC/B,sBAAsB,EACtB,wBAAwB,EACxB,oBAAoB,EACpB,qBAAqB,EACrB,WAAW,EACX,WAAW,EACX,cAAc,EACd,6BAA6B,EAC7B,uBAAuB,EACvB,gBAAgB,EAChB,uBAAuB,EACvB,mBAAmB,EACnB,wBAAwB,EACxB,uBAAuB,EACxB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { Command } from '../types/index.js';
2
+ /**
3
+ * Stage 1 of change management for an integration branch (change-management-policy.md clause 2):
4
+ * the work items merged into `working/integration/<name>-main` were each approved there by their
5
+ * assignee; this command carries the integration branch into the release branch through its own
6
+ * PR, assigned to its approver. The assignee approves by merging it - after the required CI/CD
7
+ * checks pass - with the same sequence and the same recorded admin override as `idea1 release`.
8
+ *
9
+ * Creating the PR and merging it are usually done by different people at different times, so
10
+ * the command reuses an open PR when one exists and the assignee runs it in `merge` mode.
11
+ */
12
+ export declare const integrateCommand: Command;
13
+ //# sourceMappingURL=integrate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integrate.d.ts","sourceRoot":"","sources":["../../src/commands/integrate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AA6DjD;;;;;;;;;GASG;AACH,eAAO,MAAM,gBAAgB,EAAE,OAuF9B,CAAC"}