Skip to content

Releases

GUIDE SDD v1.18.0

Choose a tag to compare

@github-actions github-actions released this 30 Oct 00:40

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 of gates/.retired (old -> new lines; retireCheck.file) and auto-derived tokens (retireCheck.identRegex: in a removed line of the paths.code diff vs the base, in paths.code at the base, whole-word absent now). A hit is a whole-word occurrence in paths.spec, testGlobs or retireCheck.extraGlobs, minus excludeGlobs, allow names and lines matching tombstoneRegex (the lifecycle-states.md markers). mode warn (default) / strict / off; no section = "not configured". git diff and git grep -w, no per-file loops. In run_all after static_check.
  • red_check (closes #19): the tests added or modified between the branch point and the frozen SHA run via redCheck.cmd with {tests} (file stems joined by redCheck.joiner) on the frozen tree. A line matching redCheck.passRegex (group 1 = name) is a passed test; any not matched by redCheck.allowGreen FAILs and routes to QA. Refuses a tree whose paths.code differs from the frozen SHA. Not in run_all: Stage 5 exit, after freeze.
  • affected_tests (closes #20): keys = file stems of the changed paths.code files + affectedTests.extraStems; affected = changed test files + test files with a whole-word key hit. --list prints them; otherwise affectedTests.cmd runs with {tests} and the gate fails when it does. Not in run_all: Stage 6 exit and the two-tier ship gate.
  • findings_check (closes #21): findings.glob (default **/*.findings.md); a line F<n> [HIGH|MED|LOW|INFO] ... must end | fixed <7-40 hex> or | defer <evidence>. Anything else FAILs, "accepted" included. In run_all before fold_check.
  • Stages: 5 runs red_check after the freeze (a green test returns to QA); 6 exits on retire_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-head plus the findings file; confirms fixes, hunts only in the delta, defers a new non-HIGH finding outside it). definition-of-done.md and enforcement-map.md follow.
  • Config: retireCheck, redCheck, affectedTests, findings in the template and ci/spine.gates.config.json. redCheck.globs / affectedTests.globs (default testGlobs) exist because testGlobs also 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

Choose a tag to compare

@github-actions github-actions released this 20 Oct 16:07

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 ```mermaid fences, 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 names mermaid (<pre class="mermaid">): the diagram may start on the open-tag line and end on the </pre> line, and &lt; &gt; &amp; &quot; &#39; are decoded, so &lt;&lt;interface&gt;&gt; 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 key linkCheck.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 and gates/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's cwd holding both .git and a gate config, so a worktree is guarded and swept against its own markers, gates/.frozen and tree; CLAUDE_PROJECT_DIR is 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 --plan and 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 by skipGlobs while another still fails); ci/hook_test.sh PG.10 (a real git worktree: primary dirt ignored, worktree dirt swept, a subdirectory cwd, a Windows drive-letter cwd, and the fallbacks).

GUIDE SDD v1.17.0

Choose a tag to compare

@github-actions github-actions released this 20 Oct 01:25

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 (path board.file) holds sprint membership, stage, team and a one-line note, one item per line in a fixed key order. Every write locks board.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. done closes 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 = a shipped: line, or the row is in board.store.closed). A line starting SHIPPED also counts, matching the older Stage 7 wording.
    • Stage ids are parsed from PROCESS.md's Stage Index at run time; board.stageLabels and board.columns shape 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 runs done. Hosting: compose.yml (one docker compose up -d, stock node image, repo bind-mounted) or iis-setup.ps1 (ASP.NET Core Module, grants only the paths board.mjs paths names). A supervised server restarts on a code change; open pages reload when the page changes.
    • hook.mjs: a dispatch brief with a Board: <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 the board skill. commands/board.md for other hosts.
  • board_check (sh/ps1 twins, no node): drift between board and backlog FAILs in run_all; unset board.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); the Board: <KEY> brief line (stages/4b_buildplan.md §3); Stage 7 step 4 now writes shipped: <sha> <date> as #CL-4 does, with /board done + board_check --ship; INIT's optional board step; gate config board section.
  • Tests: ci/board_test.sh (CLI on both layouts, parallel writers, server, SSE, hook) runs in CI; board_check controls on both smoke twins.
  • Mode A ships no local board: the tracker is the board.

GUIDE SDD v1.16.2

Choose a tag to compare

@github-actions github-actions released this 20 Oct 01:25

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 -U0 against 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 under backlogRoot (as before), or by a heading or anchor naming it inside any file there. backlogRoot may also name one backlog file. UNRESOLVED-UNIT now says what was searched, and so does a strict resolveCmd failure.
  • 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

Choose a tag to compare

@github-actions github-actions released this 14 Oct 04:45

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): add wrote a grep pattern with a | (alternation) unescaped, so the row split into extra columns; verify read part of the pattern as the hash and reported a false STALE (exit 1), and report misread full/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. A pin note keeps its | instead of being rewritten to /. A 1.16.0 row with a raw | in range still reads: its last four cells are taken from the right.
  • token_ledger.ps1 counted grep matches case-insensitively (-match), while the sh twin's grep -E is case-sensitive, so the twins wrote different est values. ps1 now uses -cmatch. The sh twin prints STALE and LEDGER lines with printf, 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

Choose a tag to compare

@github-actions github-actions released this 08 Oct 06:07

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 runs checkCmd (lint + type-check + format check), which is mandatory like suiteCmd: unset is exit 2, and "none" opts out on the record. staticCheck.findingRegex + baseline give 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 outside staticCheck.findingExitCodes (default 0, 1): a crash after some findings is not a count. run_all runs it before suite_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 runs staticCheck.fileCmd on the edited file under fileGlobs (default paths.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.cmd runs with {base} set to the QA-frozen SHA, so it can mutate only the diff. With scoreRegex, the score is compared with minScore; without it, the exit code decides; unset prints "not configured". Validation's verification-gap lens reads the surviving mutants: each in changed code is a test finding, routed to QA.
  • Integrity: the default testGlobs now lists linter, mutation and architecture-checker config files, so they freeze with the tests. The docs say to ban inline suppressions with a constitutionRules row.
  • INIT §5 proposes checkCmd, fileCmd, mutation.cmd and seam checkers per detected stack (table in gates/README.md). Project Details gains TOOL-7 (static check) and TOOL-8 (mutation).
  • Updating: the config merge adds checkCmd as a placeholder, so static_check exits 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 / scoreRegex values, inline flags and lazy quantifiers are config errors (exit 2), never a silent count.
    • to_ere rewrites \d/\w/\s inside 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 /c runs 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

Choose a tag to compare

@github-actions github-actions released this 07 Oct 21:53

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 a paths.code directory 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). A paths.code glob 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.spec with its last segment *X made *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

Choose a tag to compare

@github-actions github-actions released this 07 Oct 03:41

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); --cached looks up at most once a day, cached inside .git so the tree stays clean. The plugin's new SessionStart hook (update-check.sh) runs it; AGENTS.md adds the boot step for other hosts. The agent asks the human; it never updates unasked.
  • Careful merge: update hands off to the new release's installer (handoff line), 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), and gates.config.json key 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.ps1 matches line by line like _rules.sh (grep -E) - ^/$ per line, no match across lines; smoke negative control on both twins. _common.ps1 Resolve-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) drives prose_check and constitution_lint (both strict; constitution_lint: no bashisms, ASCII gate output, builtins-only persona guard) in CI on both runners; ci/install_test.sh tests 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 SKIPPED and left alone (also a GUIDE file whose title line was edited: compare it by hand) (a project's own CLAUDE.md is never merged against GUIDE's). Line endings are kept (a CRLF file stays CRLF). Any merge error lands in REVIEW, never a half-done update; ps1 reads the config with -DateKind String where available. A changed config is rewritten as 2-space JSON (one-line objects expand; exotic number spellings such as 1.0 or 1e30 may differ between the jq and pwsh twins). check caches 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.ps1 read 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

Choose a tag to compare

@github-actions github-actions released this 23 Sep 14:16

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

Choose a tag to compare

@github-actions github-actions released this 23 Sep 04:09

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.