From bfbdd51166ae27db258d4279f894f140d86e68f2 Mon Sep 17 00:00:00 2001 From: Carlos Escobar Date: Wed, 6 May 2026 11:50:33 -0500 Subject: [PATCH] =?UTF-8?q?fix(templates):=20stale=20"eleven=20irreducible?= =?UTF-8?q?=20primitives"=20prose=20=E2=86=92=20thirteen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Caught during P13 validation pass: while the primitives table and full reflexive-trigger sections in CLAUDE.md.template / AGENTS.md.template were correctly updated to P1–P13 in the prior PR, two intro lines (one per template) still referenced "eleven irreducible primitives (P1–P11)". Doctor didn't catch it because it checks the count header line and table rows, not the intro prose. Template inconsistency would have shipped to fresh workspaces — every new bootstrap would scaffold a contradicting CLAUDE.md (table says 13, intro says 11). Two single-line fixes: - CLAUDE.md.template intro: "eleven irreducible primitives (P1–P11)" → "thirteen irreducible primitives (P1–P13)" - AGENTS.md.template intro: "eleven irreducible building blocks" → "thirteen irreducible building blocks" This is the kind of gap P11 (Empirical Feedback Loop) is supposed to catch. Surfaced by running `bstack doctor` against a fresh-scaffolded workspace and grepping the templates manually for stale numerals. Co-Authored-By: Claude Opus 4.7 (1M context) --- assets/templates/AGENTS.md.template | 2 +- assets/templates/CLAUDE.md.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/templates/AGENTS.md.template b/assets/templates/AGENTS.md.template index 38701ff..64dd5cf 100644 --- a/assets/templates/AGENTS.md.template +++ b/assets/templates/AGENTS.md.template @@ -8,7 +8,7 @@ This file IS the control harness for agents operating in this workspace. Reading ## Bstack Core Automation Primitives -This workspace is governed by the **bstack** primitive contract — eleven irreducible building blocks. All are always active. Run `bstack doctor` to verify compliance. +This workspace is governed by the **bstack** primitive contract — thirteen irreducible building blocks. All are always active. Run `bstack doctor` to verify compliance. ### P1: Conversation Bridge (Episodic Memory) diff --git a/assets/templates/CLAUDE.md.template b/assets/templates/CLAUDE.md.template index dbf9752..088dd81 100644 --- a/assets/templates/CLAUDE.md.template +++ b/assets/templates/CLAUDE.md.template @@ -2,7 +2,7 @@ ## Identity -This workspace is governed by **bstack** — eleven irreducible primitives (P1–P11) that turn an agent-driven workspace into a self-operating system. The full primitive contract lives in [AGENTS.md](AGENTS.md). Run `bstack doctor` to verify compliance. +This workspace is governed by **bstack** — thirteen irreducible primitives (P1–P13) that turn an agent-driven workspace into a self-operating system. The full primitive contract lives in [AGENTS.md](AGENTS.md). Run `bstack doctor` to verify compliance. ## Bstack Core Automation Primitives