diff --git a/docs/PLAN.md b/docs/PLAN.md index ce4b7cb..3a2883d 100644 --- a/docs/PLAN.md +++ b/docs/PLAN.md @@ -2366,7 +2366,7 @@ These bind every track in this phase, in addition to the plan-wide set above. touching it must **cite, not restate**. - **Export is read-only against the project.** No ext-state write, no `bumpBankGeneration()`, no undo point. Import does the opposite: it bumps the generation - (`src/shell/persist/session.h:114`) so live ReaSampler 9000 instances reload, and batches + (`src/shell/persist/session.h:121`) so live ReaSampler 9000 instances reload, and batches its index mutation into one Ctrl-Z through `persistBankOp`. - **All-or-nothing on both sides.** No partial export, no partial import. A truncated `.rsbank` must never exist on disk (temp file + atomic rename, the Ψ-W2-T2 precedent); a @@ -2792,7 +2792,7 @@ fold, it does not add a second one), `origin_ledger` (Ε-W1-T3's). remain as orphans until a prune reclaims them — the same designed window a non-empty bank delete already produces (`core/model/CLAUDE.md`'s sample-removal section). The user-facing summary says so. -- **`bumpBankGeneration()` on success** (`session.h:114`), so live instances reload. +- **`bumpBankGeneration()` on success** (`session.h:121`), so live instances reload. - **No timeline item is placed. Ever.** - **A new FOREVER-STABLE command id**, minted the same way T1's is. diff --git a/docs/product/bank-package.md b/docs/product/bank-package.md index 733b1d7..fca7e79 100644 --- a/docs/product/bank-package.md +++ b/docs/product/bank-package.md @@ -690,7 +690,7 @@ constructors. freshly-generated pair. - **Bank generation.** Import mutates bank content that live ReaSampler 9000 instances may play, so it must `bumpBankGeneration()` - (`src/shell/persist/session.h:114`, whose own comment says call sites "err toward + (`src/shell/persist/session.h:121`, whose own comment says call sites "err toward bumping"). Export mutates nothing and must bump nothing, write no ext state, and open no undo point. - **Beta/stable channel isolation.** Packages are channel-**agnostic** and this is diff --git a/src/core/package/CLAUDE.md b/src/core/package/CLAUDE.md index 2ce0c62..c24ffcb 100644 --- a/src/core/package/CLAUDE.md +++ b/src/core/package/CLAUDE.md @@ -87,7 +87,7 @@ both have landed. `ledgerRefusalMessage` (the gate's console-block body, a pure `(LedgerRefusal, namespace) -> string` fold the shell only supplies the channel-correct namespace to). -- `bank_package` — framing and arithmetic composing the two above: +- `bank_package` — framing and arithmetic composing the four above: `encodePackage` (prefix bytes + layout + total size, stamping this build's ladder pair and `version::stampVersion()`), `decodePackage` (prefix + observed file size in; header/manifest/layout out), and `requiredPrefixSize` (the