Repository navigation
Releases
GUIDE SDD v1.18.0
v1.18.0 — review gates: retire_check, red_check, affected_tests, findings ledger (per SDD-amend-v1.18.0, 2026-10-29)
No invariant change; still ten. Checks that needed an LLM reviewer become mechanical, so Validation's budget goes to conformance and intent.
retire_check(closes #18): retired names are the union ofgates/.retired(old -> newlines;retireCheck.file) and auto-derived tokens (retireCheck.identRegex: in a removed line of thepaths.codediff vs the base, inpaths.codeat the base, whole-word absent now). A hit is a whole-word occurrence inpaths.spec,testGlobsorretireCheck.extraGlobs, minusexcludeGlobs,allownames and lines matchingtombstoneRegex(thelifecycle-states.mdmarkers).modewarn (default) / strict / off; no section = "not configured".git diffandgit grep -w, no per-file loops. Inrun_allafterstatic_check.red_check(closes #19): the tests added or modified between the branch point and the frozen SHA run viaredCheck.cmdwith{tests}(file stems joined byredCheck.joiner) on the frozen tree. A line matchingredCheck.passRegex(group 1 = name) is a passed test; any not matched byredCheck.allowGreenFAILs and routes to QA. Refuses a tree whosepaths.codediffers from the frozen SHA. Not inrun_all: Stage 5 exit, afterfreeze.affected_tests(closes #20): keys = file stems of the changedpaths.codefiles +affectedTests.extraStems; affected = changed test files + test files with a whole-word key hit.--listprints them; otherwiseaffectedTests.cmdruns with{tests}and the gate fails when it does. Not inrun_all: Stage 6 exit and the two-tier ship gate.findings_check(closes #21):findings.glob(default**/*.findings.md); a lineF<n> [HIGH|MED|LOW|INFO] ...must end| fixed <7-40 hex>or| defer <evidence>. Anything else FAILs, "accepted" included. Inrun_allbeforefold_check.- Stages: 5 runs
red_checkafter the freeze (a green test returns to QA); 6 exits onretire_check,affected_tests,static_check; 7 has Validation write<unit>.findings.md, the Orchestrator set severity and dispositions, and a fix round followed by a delta re-review (fresh context,validated-head..new-headplus the findings file; confirms fixes, hunts only in the delta, defers a new non-HIGH finding outside it).definition-of-done.mdandenforcement-map.mdfollow. - Config:
retireCheck,redCheck,affectedTests,findingsin the template andci/spine.gates.config.json.redCheck.globs/affectedTests.globs(defaulttestGlobs) exist becausetestGlobsalso lists runner config, whose stems are not tests. - Tests: smoke on both twins (a PASS and a FAIL per gate, plus the config errors; fake
cmds, no test runner).
GUIDE SDD v1.17.1
v1.17.1 — HTML structure diagrams, link_check skipGlobs, persona guard in worktrees (per SDD-amend-v1.17.1, 2026-10-20)
No invariant change; still ten.
structure_check(closes #13) read only Markdown```mermaidfences, so every HTML structure shard (*.structure.body.html) failed--plan("has no member-level classDiagram") and the trace. Both twins now also read a<pre>whose open tag namesmermaid(<pre class="mermaid">): the diagram may start on the open-tag line and end on the</pre>line, and<>&"'are decoded, so<<interface>>is a stereotype, not a member.<h1>–<h6>Added / Changed / Removed headings mark the sections. Reported line numbers are those of the file. The workaround (a hidden Markdown copy of each diagram) can go.link_check(closes #14) read the file part of every relative href as a shard name, so a link to a repo file that is not a shard (../../docs/research/X.md) failed with "no such shard". New optional keylinkCheck.skipGlobs: project-root globs; a relative href whose file part, resolved against the linking shard's directory (a leading/is the project root,.and..folded), matches one is not checked. Default none, so nothing changes until it is set. In the config template andgates/README.md.- Persona guard (closes #16, PG.10): the hook took its root from
CLAUDE_PROJECT_DIR, which a sub-agent working in its own git worktree shares with the session. The sweep then diffed the session's primary checkout: another lane's change there was flagged as the engineer's, and a test edit made in the worktree was not seen at all. The root is now the nearest ancestor of the hook input'scwdholding both.gitand a gate config, so a worktree is guarded and swept against its own markers,gates/.frozenand tree;CLAUDE_PROJECT_DIRis the fallback. A nested test repo (PG.6) has no gate config, so the walk passes over it. Builtins only (PG.9). - Tests: smoke on both twins (an HTML
<pre>diagram passing--planand the trace, a missing member named on its own line, a removed class still present; a link to a non-shard file failing, then skipped byskipGlobswhile another still fails);ci/hook_test.shPG.10 (a realgit worktree: primary dirt ignored, worktree dirt swept, a subdirectory cwd, a Windows drive-letter cwd, and the fallbacks).
GUIDE SDD v1.17.0
v1.17.0 — the stage board (per SDD-amend-v1.17.0, 2026-10-16)
No invariant change; still ten. Upstreamed from the 4x adopter's board (closes #12), generalized.
board/(optional, Mode B, node >= 18, built-ins only):board.mjs: the CLI and shared module.board.json(pathboard.file) holds sprint membership, stage, team and a one-line note, one item per line in a fixed key order. Every write locksboard.json.lock, re-reads, writes a temp file and renames it. Items stay in the backlog (foldCheck.backlogRoot), so titles and bodies are never copied.donecloses the backlog item and marks the board item done in one run.check [--fix]reports drift;prune <days>leaves retention to the project.- The backlog is a directory of item files (closed = a
shipped:line,#CL-4) or one file of rows (##-####headings or-bullets led by the unit-id; closed = ashipped:line, or the row is inboard.store.closed). A line startingSHIPPEDalso counts, matching the older Stage 7 wording. - Stage ids are parsed from
PROCESS.md's Stage Index at run time;board.stageLabelsandboard.columnsshape the board (default grouping: To Do, Triage, Design & Spec, Test plan & QA, Engineer, Validate & Ship, Done). Stage 7 stays one column. serve.mjs+board.html: a live view that runs as a standing site, with no Claude Code session needed. It has stage columns, teams, swimlanes, drag-and-drop, an issue drawer and a backlog tab, with updates by server-sent events. It binds loopback, refuses foreign Host and Origin headers, and never runsdone. Hosting:compose.yml(onedocker compose up -d, stock node image, repo bind-mounted) oriis-setup.ps1(ASP.NET Core Module, grants only the pathsboard.mjs pathsnames). A supervised server restarts on a code change; open pages reload when the page changes.hook.mjs: a dispatch brief with aBoard: <KEY>line moves the item to its persona's stage (board.dispatch, default qa 5, engineer 6, validation 7). It never blocks.
- Plugin:
hooks/board-dispatch.sh(PreToolUse on Agent/Task; a no-op without node or a board) and theboardskill.commands/board.mdfor other hosts. board_check(sh/ps1 twins, no node): drift between board and backlog FAILs inrun_all; unsetboard.file= "not configured".--ship <KEY>also requires the item done and closed, at Stage 7's record-ship step.- Docs:
box-roles.md§Teams (several orchestrator sessions on one box); project-details#CL-12(board) and#CL-13(teams); theBoard: <KEY>brief line (stages/4b_buildplan.md§3); Stage 7 step 4 now writesshipped: <sha> <date>as#CL-4does, with/board done+board_check --ship; INIT's optional board step; gate configboardsection. - Tests:
ci/board_test.sh(CLI on both layouts, parallel writers, server, SSE, hook) runs in CI;board_checkcontrols on both smoke twins. - Mode A ships no local board: the tracker is the board.
GUIDE SDD v1.16.2
v1.16.2 — fold_check reads whole clauses (per SDD-amend-v1.16.2, 2026-10-16)
No invariant change; still ten.
fold_check(closes #10) reported false failures on HTML specs. The fixes:- A clause is its definition span. It runs from the line that defines it (an
id=/name=or{#..}anchor whose value is a clause-id, or a Markdown heading / list / table / bold line that starts with the id) to the next definition or heading. One pin anywhere in the span covers the clause, so a pin at the end of a multi-line<li id="X.N">counts. Before, the pin had to sit on the same line or the next one. - Only definitions are checked. A clause-id cited in another clause's text (
... (DISC.8) ...) defined nothing and was reported UNPINNED in a shard that never defined it. - Only changed clauses are checked. The gate checked every clause-id in every changed shard. Now it reads
git diff -U0against the base and checks only clauses whose span holds a changed line. A pure deletion inside a span counts as a change. With git absent, every clause is checked as before. - The newest pin decides. When a span holds several pins, the unit with the latest date is resolved.
- A shard with no definitions at all falls back to the old rule (a pin on the clause-id line or the next one) and prints a NOTE.
- Mode B single-file backlogs resolve. A unit resolves by a
<unit>*file underbacklogRoot(as before), or by a heading or anchor naming it inside any file there.backlogRootmay also name one backlog file.UNRESOLVED-UNITnow says what was searched, and so does a strictresolveCmdfailure.
- A clause is its definition span. It runs from the line that defines it (an
- Smoke on both twins: a pin at the end of a multi-line HTML clause, a cross-referenced id, an unchanged unpinned clause, an edited unpinned clause, a single-file backlog, a heading in a backlog directory, and an unknown unit.
GUIDE SDD v1.16.1
v1.16.1 — ledger cells may hold a pipe (per SDD-amend-v1.16.1, 2026-10-13)
No invariant change; still ten.
token_ledger(closes #11):addwrote a grep pattern with a|(alternation) unescaped, so the row split into extra columns;verifyread part of the pattern as the hash and reported a false STALE (exit 1), andreportmisreadfull/est. Now every free-text cell (by, for, path, range, note) is written with|as\|(tabs and newlines become blanks), and rows split on unescaped pipes only. Escaping is lossless (a literal\|round-trips), and GitHub's table rendering shows\|as a pipe. Apinnote keeps its|instead of being rewritten to/. A 1.16.0 row with a raw|inrangestill reads: its last four cells are taken from the right.token_ledger.ps1counted grep matches case-insensitively (-match), while the sh twin'sgrep -Eis case-sensitive, so the twins wrote differentestvalues. ps1 now uses-cmatch. The sh twin printsSTALEandLEDGERlines withprintf, so a pattern backslash is not read as an escape under dash.- Smoke: a grep alternation, a literal
\|, a pin note with|and a legacy unescaped row all verify current and report identically on both twins.
GUIDE SDD v1.16.0
v1.16.0 — static analysis, mutation testing, real seam checkers (per SDD-amend-v1.16.0, 2026-10-07)
No invariant change; still ten. The bank now checks the code beyond the suite.
static_check(closes #7): a new generic gate, ps1/sh twins. It runscheckCmd(lint + type-check + format check), which is mandatory likesuiteCmd: unset is exit 2, and"none"opts out on the record.staticCheck.findingRegex+baselinegive the brownfield ratchet: findings above the baseline FAIL, below it PASS with a note to lower it, a non-zero exit with no matching line FAILs, and so does an exit code outsidestaticCheck.findingExitCodes(default 0, 1): a crash after some findings is not a count.run_allruns it beforesuite_green; Stage 6 closes on it; Validation re-runs it.- Per-edit feedback (Claude Code plugin):
hooks/static-feedback.sh, PostToolUse on Edit/Write/MultiEdit. It runsstaticCheck.fileCmdon the edited file underfileGlobs(defaultpaths.code) and hands the findings back at once (exit 2); the edit stands. - Rule kind
command(closes #8): any rule gate (constitution_lint,seam_conformance,qa_import_ban) can run a real checker (import-linter, dependency-cruiser, ArchUnit, NetArchTest, go-arch-lint). Exit 0 passes; a failure prints the last 10 output lines. mutation_check(closes #9): a new optional gate, ps1/sh twins.mutation.cmdruns with{base}set to the QA-frozen SHA, so it can mutate only the diff. WithscoreRegex, the score is compared withminScore; without it, the exit code decides; unset prints "not configured". Validation's verification-gap lens reads the surviving mutants: each in changed code is atestfinding, routed to QA.- Integrity: the default
testGlobsnow lists linter, mutation and architecture-checker config files, so they freeze with the tests. The docs say to ban inline suppressions with aconstitutionRulesrow. - INIT §5 proposes
checkCmd,fileCmd,mutation.cmdand seam checkers per detected stack (table ingates/README.md). Project Details gainsTOOL-7(static check) andTOOL-8(mutation). - Updating: the config merge adds
checkCmdas a placeholder, sostatic_checkexits 2 and the bank stops until you set it (or set"none"). - Hardened before release, after an adversarial review:
- Configured commands run with stdin closed, so a command that reads stdin can no longer swallow the later rules and PASS.
- Invalid
findingRegex/scoreRegexvalues, inline flags and lazy quantifiers are config errors (exit 2), never a silent count. to_ererewrites\d/\w/\sinside brackets ([\d.]->[0-9.]), so both twins read them alike.false, oversized and.-only numbers are rejected identically in both twins.- Multi-line commands are refused, because
cmd /cruns only the first line. - The hook strips the root correctly on non-ASCII paths.
- Each fix has a smoke negative control on both twins.
flow.html: an animated flow map (route x host tier x deployment x coverage, plus the gate switches), published on GitHub Pages beside the landing page, which links to it.
GUIDE SDD v1.15.1
v1.15.1 — qa search guard, configurable plan glob, leaner spine (per SDD-amend-v1.15.1, 2026-10-07)
No invariant change; still ten.
- Persona guard (closes #5): a qa path with a
..segment is denied wherever it starts; repeated and inner./segments and the Windows\\?\/\\.\prefixes are normalized away; the project root itself maps to the root. Grep/Glob are judged by what they reach (PG.3c): the search root (none = the project root) joined with the Glob pattern or Grep glob (a pattern with no/matches at any depth; a Grep glob is split on blanks and commas, a leading!counts as everything, a leading/anchors to the root). A search at, under or above apaths.codedirectory is denied unless it is confined to tests (its pattern matches a testGlob, or it sits under a<dir>/**testGlob; a braced pattern gets neither). Apaths.codeglob with no literal directory (**/*.cs) is compared by its last segment. A heuristic; QA scopes its searches to spec and test paths. coverage_check --plan(closes #6): the plan glob is--plan-glob>paths.plan>paths.specwith its last segment*Xmade*plan*X(HTML shards get*plan*.body.html) >spec/**/*plan*.body.md. Smoke controls on both twins.- Spine docs: a word-cutting pass (−6.4%), fidelity-reviewed; no rule, heading or table row dropped.
GUIDE SDD v1.15.0
v1.15.0 — Boot update check, careful merge on update, gates on the framework itself (per SDD-amend-v1.15.0, 2026-10-06)
No invariant change; still ten.
- Update check:
install.sh/install.ps1 check [--cached]reports a newer release (exit 3);--cachedlooks up at most once a day, cached inside.gitso the tree stays clean. The plugin's new SessionStart hook (update-check.sh) runs it;AGENTS.mdadds the boot step for other hosts. The agent asks the human; it never updates unasked. - Careful merge:
updatehands off to the new release's installer (handoffline), then merges project files made from a template three-way against the old template (root carriers,project-details.md, concrete project gates, installed commands:REFRESHED/MERGED), andgates.config.jsonkey by key (CONFIG: added / template default updated / no longer in the template, kept). An overlap leaves the file untouched beside<file>.guide-merge(CONFLICT), no usable base gives<file>.guide-new(REVIEW); either exits 4. New exit codes 3 and 4. - Gates:
_rules.ps1matches line by line like_rules.sh(grep -E) -^/$per line, no match across lines; smoke negative control on both twins._common.ps1Resolve-FsPath: .NET file reads resolve against the PowerShell location (closes #1); token_ledger likewise. Gate output ASCII (§kept: pin syntax). - Framework self-checks:
ci/spine.gates.config.json(committed) drivesprose_checkandconstitution_lint(both strict; constitution_lint: no bashisms, ASCII gate output, builtins-only persona guard) in CI on both runners;ci/install_test.shtests check, the hook, handoff and merge on both installer twins with byte parity. - Merge safety (Validation R1): a root carrier or installed command is merged only when its first line is the template's; otherwise
SKIPPEDand left alone (also a GUIDE file whose title line was edited: compare it by hand) (a project's ownCLAUDE.mdis never merged against GUIDE's). Line endings are kept (a CRLF file stays CRLF). Any merge error lands inREVIEW, never a half-done update; ps1 reads the config with-DateKind Stringwhere available. A changed config is rewritten as 2-space JSON (one-line objects expand; exotic number spellings such as1.0or1e30may differ between the jq and pwsh twins).checkcaches only a real answer and is bounded (curl 5 s; gh only without curl); version suffixes (-rc1) do not count as newer. ps1 rule engine: a final newline does not add an empty line. - Fix:
install.ps1read a lone flag (update --force,check --cached) as a string and failed with "unknown argument '-'". - Spine prose: the 20 spine docs over the SDD-PROP-09 form (paragraph share > 35% or a paragraph > 100 words) restructured into bullets and steps - no rule, heading, code block or table row dropped (fidelity-reviewed); the spine now passes its own prose_check, enforced strict in CI.
- Docs:
enforcement-map.md(every check in flow order, its kind, and why).
GUIDE SDD v1.14.1
v1.14.1 — qa may read test files inside paths.code (per SDD-amend-v1.14.1, 2026-09-23)
Persona guard: qa may read files matching testGlobs, and directories under a <dir>/** testGlob, inside paths.code; .. segments under paths.code denied (PG.3b); closes #4.
GUIDE SDD v1.14.0
v1.14.0 — Concurrent personas, nested-repo gate banks (per SDD-amend-v1.14.0, 2026-09-22)
No invariant change; still ten. Persona guard: agent_type sets the persona with no marker (concurrent
QA/Engineer, PG.1), a qa Bash path-token tripwire (PG.4), an attributed engineer sweep scoped to its
own Bash calls (PG.5), and nested-repo reads inside the sweep (PG.6). Installer: install.sh/install.ps1
warn on a nested git repo the gate bank cannot see into and add --gates-only <target> to install a
second bank there; both gitignore sdd/.persona + sdd/.persona-state/. Closes GitHub issues #2, #3.