Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/governance/workstreams.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ state to its index: [`docs/adr/`](../adr/README.md), [`docs/pdr/`](../pdr/README
| D294 | **The template's text left in a description is named** (#543): a pull request kept sections at the template's own text ("What it changes", the Summary's `<one sentence per change>`) and pr-check said nothing; the row copied as an example came from the handbook's table, while the template's own row was already a placeholder T2 refuses | Done: pr-check warns `[template]`, once, naming each paragraph of the description outside the test sheet that is wholly one `<...>` placeholder (HTML tags, comments and attributes are not one); the warning is not a failure and only runs when the description is carried. The handbook's example table now says it is an example from a sign-in module and that a sheet's scenarios come from its own deliverable's acceptance criteria. Tests: a kept placeholder and title heading are named, a filled description is silent, HTML lines stay silent, a placeholder inside the sheet is T2's and not named |
| D295 | **T4 lets an automated row stand at a commit nobody attested** (#548): with `checks: attested`, a pull request verified at X merged the default branch where only another module changed, and T4 refused the automated rows because the relief asked a passing record of X, which projects rarely make (they attest after verifying) — stricter than a row at the head, which needs none | Done: `attest.inputs` takes the commit to read (default `HEAD`); where X has no record at all (a voided one, or one whose `Module checks` failed, is refused as before), `same_inputs` computes the digest from git at X and at the head (same placeholder identity, same base, the scope read from the working tree's manifests — on the forge the test merge, which can only widen it) and the row stands when they are equal, X is in the head's history, and its run, dated by X's commit, is as fresh as a record's; the head's digest is computed once per run, before the head's record is required. When they differ the message is the record path's, with what changed. The git-only digest drops the engine and the runner, which nothing records for an unrecorded commit — as for a row at the head. A record of X is still read first, with its freshness; `checks: forge` unchanged. The handbook's sentence says so. ADR-0006 states no record requirement for the row's commit beyond decision 3's digest, so it is untouched. Tests: no record across a merge of another module stands; a merge that changed `contracts/` or the lockfile is refused naming it; a voided X, a failed X, a stale X, a side-branch X and an X missing a module folder are refused; the head's digest is read once; the keep by record is unchanged |
| D296 | **A root README change costs every open pull request its end-to-end runs** (#550, a consumer project, 2026-11-26: a row verified at a commit with a passing record was refused because the merged default branch changed only another module and the root `README.md`; about an hour of end-to-end runs for a line of prose). ADR-0006 decision 2 kept every tracked path outside the modules as an input, the records of D242 excepted | The Markdown files at the repository's root (no `/` in the path) are records, left out of the inputs digest and of what T4 names as changed; ADR-0006 amended. The root `docs/` stays an input (D242's reason), as do `.nstack/`, `contracts/`, `platform/` and lockfiles. Not taken: a manifest field declaring the root files a module reads, which Turborepo and Nx offer: a second declaration of the module graph, for a case no module has shown |
| D297 | **The lifecycle diagram's `proposed → active` gate promised a check nothing holds** (#553, a consumer project, 2026-11-26: a verifier held §6's four conditions by hand). Measured: manifest and owner are checked for every lifecycle (M1, M2); "contract v1" is false for a leaf module, since 4 of that project's 8 active modules provide none; a creation ADR has no place in the manifest | Docs only, `02-modules.md` §6: the transition is decided by the module's ADR, with a contract at v1 when the module provides one; the table says owner and manifest are checked from `proposed` on. Not taken: a fitness function for the transition, two of its conditions already checked, one false, one needing a new field for a once-per-module event |
| v0.6.0 | **What is announced refuses, and the documents say what is true**: D51 to D54, and the documentary lot of the internal audit | **Done (2026-09-20)**: five workstreams merged (#83, #84, #85, #86, #87), **v0.6.0 published**, tag on `8ae544c`, verified on published artefacts — including an update of `tool-library` from v0.5.0, 9 files and no conflict, still compliant. Found doing it: D55. Next: the pilot, and M11 beside it |
| Pilot | **`NapkinStack/flet`, the first real project**, run by a session that knew nothing of this repository, with the maintainer as decider and this repository's agent as observer — public on the Free plan, where the whole checklist is available, rather than private on Team where G5 is paid and G6 does not exist | **Set aside by the maintainer, 2026-10-15**, at its cycle boundary; the real product followed since is `summit`. **Ran from 2026-09-20**: discovery decided *go* after three rounds and two independent challenges, charter accepted; cycle 01 closed `stopped/reframed`, **cycle 02 closed** with two deliverables accepted and one deferred (its #27), **cycle 03 framed and approved** (#28, #30), which starts its first `critical` module; the framework taken to v0.6.1 by itself at the boundary (#29), v0.6.2 proposed (#31). It has produced D56 to D63, D68, D70 to D77, replicated D26 and D55, and measured D49 — the first figures on what an independent verifier finds (PDR-0003) |
| M11 | **Ceremony follows consequence** (PDR-0011): the framework charges what a failure costs, per module and per project, and states each price before it is paid; with PDR-0004's routing, and PDR-0007, PDR-0008 and PDR-0010 — through to v0.7.0 | **Published as v0.7.0 (2026-10-12).** Planned 2026-09-23 (#98). Merged: **M11f** (#101), **M11a** (#102), **M11b** (#103), **M11d** (#104), **M11e** (#105), **M11c** (#106), **M11h** (#107), **M11g** (#108) closed by its probe — not clean, returned to M13; **M11m** (D68, D74, D75); **M11l** (PDR-0010, D59, D60); **M11n** (D79); **M11o** (PDR-0010 extended: every document has its moment); **M11p** (PDR-0002's three levels given a place: `docs/project/rules/`); **M11j** (PDR-0007: the unframed stage); **M11q** (no folder created empty; PDR-0012 proposed: a project's tree is the project's). **M11k** (PDR-0008's print mode: `nstack settings`; D77, D78). **M11s** (PDR-0012 accepted; the framework's files under `.nstack/`; an update carries what a project adapted); **M11u** (an update rewrites the old addresses a project wrote in its own files, D85). **M11t** (`nstack new-contract`: the contracts module is created by the first contract; PDR-0012 built in full); **M11v** (what the third project found: D81, D82, D83, D86, D87). **M11i**: v0.7.0 published 2026-10-12 (#125, D88). To do: **M11r** PDR-0008's apply mode and D57, after a probe on the real forge; the two earlier projects take v0.7.0 themselves, observed |
Expand Down
9 changes: 6 additions & 3 deletions skeleton/.nstack/handbook/02-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ to break.
```mermaid
stateDiagram-v2
[*] --> proposed
proposed --> active : creation ADR<br/>manifest + owner + contract v1
proposed --> active : its ADR decides it<br/>contract v1, when it provides one

active --> maintenance : no further evolution planned<br/>owner kept
maintenance --> active : a new need
Expand Down Expand Up @@ -250,14 +250,17 @@ stateDiagram-v2
end note
```

The status lives in the manifest, so it is checkable:
The status lives in the manifest, so it is checkable. A module's manifest and its owner are
checked from `proposed` on (M1, M2). Going `active` is a decision: the ADR that creates the
module, read by whoever verifies the pull request. A module that provides no contract, such as a
shell or an installer, goes `active` with none. What CI holds:

| Situation | CI result |
|---|---|
| A frozen contract version of a `maintenance` module changed | **Red** (V1): a version consumed or stable changes only with the merged proof |
| A `deprecated` module with a consumer | Reported (B8), and **red** once its removal date has passed (M5) |
| A `deprecated` module whose removal date has passed | **Red** (M5) |
| An `active` module with no declared owner | **Red** (M2) |
| A module with no declared owner, whatever its status | **Red** (M2) |

This is what avoids **permanent intermediate states**: a deprecated path that never
disappears because nobody is responsible for removing it.
Expand Down