Skip to content

D272 — what v0.34.6 ships is findable from where an agent stands - #503

Merged
napkinstack-agent[bot] merged 2 commits into
mainfrom
d272-v0346-findable
Nov 23, 2026
Merged

napkinstack-agent[bot] merged 2 commits into
mainfrom
d272-v0346-findable

Conversation

@napkinstack-agent

Copy link
Copy Markdown
Contributor

Workstream

D272: a review of v0.34.6 before its release. Its row is in docs/governance/workstreams.md.

What it changes

Before the release, two fresh readers checked what v0.34.6 ships:

  • one compared the code with every page that describes it;
  • one followed the path from each failure message to its answer, as a person and as an agent in a generated project.

They found one gap in what the code does and several places where the answer was missing or misleading.

In the engine

  • nstack unclaim: a restarted agent can now give back its own hold from its new session. The test is the same as for claim (D271). Another App, or a session outside nstack agent run, is still refused.
  • K5's Action: it says the renewal works only in nstack agent run.
  • Commands printed by K5, claim and unclaim: they quote the person (shlex), so a person git names (Name <email>) survives being pasted into a shell.
  • claim's refusal: it says when no --person was given and which person to name, as unclaim's already did.
  • P2's warning: it points to linguist-generated and 05-workflow.md §4, not only to split or label.
  • --base: it now has help text in pr-check, attest, pr-scope and compat.

In the kernel and the handbook

  • AGENTS.md (still 250 lines):
    • an agent's own restart renews its hold; it is not a reason to stop;
    • a blocking gate: stop, apply its Action: when it fixes the cause and is the agent's to take. A label, a take-over or a decider's choice is the person's, so the agent reports it.
  • RULES.md:
    • it names what [hold], [nstack] and [labels] are;
    • C4 points to 05-workflow.md §6 and project.md What CI checks, T1–T5 to The test sheet, K1–K4 to What CI checks.
  • The pre-push refusal: it says where its reason is written.
  • project.md, ADR-0007, INSTALL's command list, the handbook's README and --take-over's help: they state when a session needs --take-over and when it renews.

Not taken: headings inside the long sections (07-governance §7, 05-workflow §4 and §7, INSTALL's agent identity). It is a structural change and goes in a later workstream.

Fresh verifier

Findings fixed in the second commit:

  • the kernel's "apply its Action:" let an agent take a person's call, and it dropped "report";
  • [nstack] also tags the engine's install;
  • C4's id, title and state are described in What CI checks;
  • --take-over's texts left out a session outside nstack agent run;
  • the hint about the restart was printed to another App inside its own run;
  • four mutants survived: the release relief granted to any App, and three hints unquoted or shown when they should not be. A test now kills each of them.

What a project receives

These files:

  • AGENTS.md
  • .nstack/fitness-before-push.sh
  • .nstack/handbook/RULES.md
  • .nstack/handbook/project.md
  • .nstack/handbook/README.md
  • .nstack/handbook/INSTALL.md

In the engine: unclaim, plus the messages of K5, claim and P2. Nothing that was green turns red.

Definition of Done

  • The behaviour is covered by tests that failed before:
    • a restarted agent's release was refused;
    • K5's Action did not name nstack agent run and left the person unquoted;
    • claim's refusal said nothing about --person;
    • P2 never mentioned linguist-generated.
  • Every failure names the rule, the place and the action (P6)
  • uv run bash platform/tests/run.sh green, on a committed tree
  • uv run nstack fitness green
  • Affected documentation updated
  • The workstream's row updated in the register
  • No private project named, no path of a workstation, no link into an assistant's session

🤖 Generated with Claude Code

napkinstack-agent Bot and others added 2 commits November 23, 2026 11:04
A review before the release: a restarted agent could renew its hold but
not give it back; K5's renewal Action left out nstack agent run; printed
commands broke on a person git names; claim's refusal was silent on
--person; P2 never named linguist-generated; the kernel said stop where a
gate prints an Action, and stop to an agent held out by its own restart.
RULES.md names [hold], [nstack] and [labels], and its pointers are
sections. Tests seen red first.

Agent-Session: napkinstack-os-77
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The kernel's gate row applies an Action only when it is the agent's to
take; a label, a take-over or a decider's choice is reported. [nstack]
names the engine's install too; C4 points to What CI checks as well;
--take-over's texts name a session outside nstack agent run; the
restart's hint is said only outside an agent's run. Four surviving
mutants are now killed.

Agent-Session: napkinstack-os-77
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@napkinstack-agent
napkinstack-agent Bot requested a review from a team as a code owner November 23, 2026 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant