Skip to content

Commit 1175e86

Browse files
authored
Merge pull request #434 from cipherstash/changeset-release/main
Version Packages
2 parents fbf89ac + b2de0a7 commit 1175e86

6 files changed

Lines changed: 17 additions & 27 deletions

File tree

.changeset/stash-impl-command.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/stash-impl-plan-summary.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/stash-plan-command.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

.changeset/stash-status-command.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/cli/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# @cipherstash/cli
22

3+
## 0.13.0
4+
5+
### Minor Changes
6+
7+
- e16b282: Split agent handoff out of `stash init` into a new `stash impl` command. `init` now owns scaffolding only (auth, database, encryption client, EQL extension) and exits at a clean checkpoint pointing at `stash impl`. `stash impl` derives plan-vs-implement mode from disk state — if `.cipherstash/plan.md` is missing it asks the agent to draft a plan; if it exists, the agent executes the plan as the source of truth. `--continue-without-plan` skips the planning checkpoint after an interactive confirmation. The earlier in-init `Plan first / Go straight to implementation` picker is removed in favour of the new command boundary.
8+
- db163e1: `stash impl` now renders a plan summary panel and asks the user to confirm before launching the implementation agent. When a plan exists, the CLI parses a machine-readable `<!-- cipherstash:plan-summary {...} -->` block (the planning agent is instructed to emit one at the top of `.cipherstash/plan.md`) and prints column counts, per-column paths, and whether the work is single-deploy or staged across 4 deploys. Default-yes on the confirm so the path of least resistance is to proceed; saying No exits cleanly. Older plans without the summary block fall back to a soft "open in your editor" panel — never an error. Non-TTY runs (CI, pipes) skip the confirm and proceed.
9+
- 59b138b: Extract planning into its own `stash plan` command. Three commands now own the setup lifecycle:
10+
11+
- `stash init` — scaffold (auth, db, deps, EQL). Ends with a chain prompt to `stash plan`.
12+
- `stash plan` — draft a reviewable plan at `.cipherstash/plan.md`. Ends with a chain prompt to `stash impl`.
13+
- `stash impl` — execute. With a plan, shows the summary panel and confirms. Without one, presents a `Draft a plan first / Continue without a plan` picker (the second option goes through a security confirm). `--continue-without-plan` skips the picker.
14+
15+
`stash status` reflects the new flow — its "Plan written" stage and `Next:` line route to `stash plan` when init is done but no plan exists. Non-TTY runs of `stash impl` without a plan now error out with a clear next-action rather than guessing intent.
16+
17+
- db163e1: Add `stash status` — a top-level lifecycle map for the project. Reads `.cipherstash/context.json`, `.cipherstash/plan.md`, and `.cipherstash/setup-prompt.md` from disk to render a panel showing whether init is done, whether a plan has been written, and whether an agent has been engaged. Points at `stash db status` for EQL install info and `stash encrypt status` for per-column migration phase. Runs in milliseconds — no auth, no database connection required. The existing `stash db status` is unchanged.
18+
319
## 0.12.1
420

521
### Patch Changes

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "stash",
3-
"version": "0.12.1",
3+
"version": "0.13.0",
44
"description": "CipherStash CLI — the one stash command for auth, init, encryption schema, database setup, and secrets.",
55
"license": "MIT",
66
"author": "CipherStash <hello@cipherstash.com>",

0 commit comments

Comments
 (0)