From 7d14225ad43364ab732d5748c970b7be80f85c86 Mon Sep 17 00:00:00 2001 From: "napkinstack-agent[bot]" <330339777+napkinstack-agent[bot]@users.noreply.github.com> Date: Mon, 30 Nov 2026 13:37:26 +0100 Subject: [PATCH] =?UTF-8?q?Version=200.35.5=20=E2=80=94=20a=20cycle's=20ap?= =?UTF-8?q?proval,=20a=20deliverable's=20parts,=20a=20module's=20formatter?= =?UTF-8?q?=20at=20the=20commit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit D312 (#590), D313 (#591), D314 (#592), D315 (#596), D316 (#594). Agent-Session: napkinstack-os-1e Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 6 +++--- pyproject.toml | 2 +- uv.lock | 2 +- 4 files changed, 53 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e6b118..f2d5e5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,54 @@ a patch. --- +## v0.35.5 — 2026-11-30 + +D312 to D316: what a consumer project met with cycles, deliveries, updates, formatters and +attests. A cycle's approval says what it accepts; a deliverable's parts deliver it; a module's +formatter runs at the commit. + +A patch: nothing that was green turns red. Every addition is a warning or optional. + +**In the engine** + +- **A cycle left proposed is said not accepted by its approval** (D312, C11, a warning on the + check). A pull request that leaves a cycle `proposed` with no `accepted_on`, in a framed + project, is told that approving it accepts nothing, with the gesture: `accepted_on` while a + cycle runs, else `status: accepted` and its start. +- **The refusal off the default branch says the way back** (D313). `nstack update`, + `update --forge` and `config` say: `git switch main`, or in a worktree beside the one that + holds it `git switch --detach main`; the command makes its own branch, so make none before. +- **A deliverable's part titled after its id delivers it** (D314). `nstack deliver` and + `nstack plan` read "D126 3c —", "D121 4a —", "D123 (a) —", "D122b-1:" and "(D126 3c)" as + D126, D121, D123, D122. Words after the id stay a mention: "D12 is next —", "D7 (wip) —". +- **An attest or a pr-check that reads no pull request says which sheet it judged** (D315). On + GitHub, with a sheet in play and no pull request read (no token, no number), the + description's sheet is judged and this is said, not left silent; the forge's run judges the + sheet the verifier signed in a comment. +- **A module's formatter runs at the commit** (D316). A new optional verb, `format`: the + formatter's check alone, writing nothing, building nothing (`cargo fmt --check`, + `ruff format --check`, `prettier --check .`). The pre-commit hook `nstack-format` runs it on + the modules whose files are staged; `Module checks` runs it after `bootstrap`, before + `check`. Where nstack, an engine without the verb, or the module's tool is missing, the hook + says so and lets the commit go: CI judges. + +**In your project** — 10 files + +- **`.pre-commit-config.yaml`**: the `nstack-format` hook. +- **`.nstack/format-before-commit.sh`**: new. +- **`.nstack/check-modules.sh`**: `format` after `bootstrap`. +- **`.github/workflows/module-checks.yml`**: a comment. +- **`.nstack/handbook/09-platform.md`**, **`RULES.md`**, **`project.md`**, **`INSTALL.md`**, + **`.nstack/playbooks/framing.md`**, **`.nstack/playbooks/verification.md`**: what is above. + +**Migration** + +- Optional: move each module's formatter check out of `commands.check` into + `commands.format` (`cargo fmt --check`, `ruff format --check`, …), so it runs at the commit + as well as in CI. A module that declares no `format` is unchanged. + +--- + ## v0.35.4 — 2026-11-29 D311: what a consumer project met with its agents' clones. An agent's commit no longer stops in diff --git a/README.md b/README.md index ae19bdf..fe20ec7 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ modules, contracts, guardrails in CI. On the Django or Rails model, one command the project, which then receives new versions on demand; no application stack is imposed. Positioning and vocabulary: [`PRODUCT.md`](PRODUCT.md) §1. -> **Status: v0.35.4, published** on [PyPI](https://pypi.org/project/napkinstack/). +> **Status: v0.35.5, published** on [PyPI](https://pypi.org/project/napkinstack/). > What each version changes, engine and project apart: [`CHANGELOG.md`](CHANGELOG.md). > What is open: [`docs/governance/workstreams.md`](docs/governance/workstreams.md). @@ -69,8 +69,8 @@ To try it without installing anything, or to install it from this repository ins registry — always pinned to a release tag: ```bash -uvx --from "git+https://github.com/NapkinStack/engineering-os@v0.35.4" nstack init my-project -uv tool install "napkinstack @ git+https://github.com/NapkinStack/engineering-os@v0.35.4" +uvx --from "git+https://github.com/NapkinStack/engineering-os@v0.35.5" nstack init my-project +uv tool install "napkinstack @ git+https://github.com/NapkinStack/engineering-os@v0.35.5" ``` **Two channels, one published artefact.** The registry publishes: the PyPI artefact of a diff --git a/pyproject.toml b/pyproject.toml index f933117..21cc9a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "napkinstack" -version = "0.35.4" +version = "0.35.5" description = "Engineering framework for several teams and their agents working in one repository: modules, contracts, guardrails in CI." requires-python = ">=3.12" license = "MIT" diff --git a/uv.lock b/uv.lock index 40b2bc7..cb6e971 100644 --- a/uv.lock +++ b/uv.lock @@ -659,7 +659,7 @@ wheels = [ [[package]] name = "napkinstack" -version = "0.35.4" +version = "0.35.5" source = { editable = "." } dependencies = [ { name = "copier" },