Skip to content

10 Quality Requirements

10.1 Quality Requirements Overview

The quality goals are the qualities of SPEC.md (SPEC.md) §7, which states what each one means; 1.2 lists them, and SPEC.md gives them no order. This section names where each one is held—the concept or the check that carries it—and 10.2 the scenarios that a document already backs.

ID Quality Held by
Q-1 One source one marketplace whose plugins a repository enables instead of copying them (4.4)
Q-2 Arrives by itself the version bump and auto-update; CI's version check (4.4, ci/checks.md)
Q-3 Cross-platform pwsh 7 on Linux too; Windows-only paths untested in CI (chapter 2, ci/checks.md)
Q-4 No secrets 8.1 Secrets and tokens, 8.8 The docs site's privacy gate
Q-5 No escalation 8.3 Permissions and sandboxing
Q-6 Idempotent 8.6 Idempotent scripts
Q-7 Honest state 8.7 Staged versus active
Q-8 Small footprint always-on rules kept short, detail on demand (4.4; SPEC.md D-1)
Q-9 Validated 8.4 The quality gate, ci/checks.md
Q-10 Project-agnostic project values read at run time; the plugin check for a named project (4.4, ci/checks.md)
Q-11 English the language rule of the root CLAUDE.md (CLAUDE.md) (4.4)

10.2 Quality Scenarios

Each scenario is one that a check or a how-to already states; the Source column names it.

Quality Stimulus Response Measure Source
Q-2 A pull request changes a plugin without raising its version CI's version check fails the pull request, so it cannot merge The pull request stays red until each changed plugin's version is above main's ci/checks.md, 8.5
Q-3 A pull request changes a PowerShell script validate tests it with pwsh on Linux; no CI job runs on Windows The changed script's own tests run on Linux before the merge; its Windows-only branches are not tested ci/checks.md
Q-4 A commit about to be pushed holds a token Gitleaks in the pre-push hook stops the push; TruffleHog in CI scans the pull request's commits, and weekly the whole history The push is refused before the token is on GitHub ci/checks.md, ADR 0002 (docs/adr/0002-sast-and-secret-scanning.md)
Q-4 A page about to be published holds a secret, an email address or an internal host name The docs-site gate fails the run before the deploy, naming file, line and rule, never the value Nothing is deployed while a finding is open ci/checks.md, 8.8
Q-5 A setup step needs root on the Linux host The script prints the exact sudo command for the owner and runs nothing as root No step run as the host user calls sudo setup/linux-host.md, chapter 2
Q-6 sandboxes.sh setup runs a second time It changes nothing No change on a second run setup/linux-host.md, setup/network-allowlist.md
Q-7 A new token is written to the token file while the home session runs status.sh reports the token file and the running session's token separately, each with its account Staged and active are never one line setup/secrets.md, 8.7
Q-7 A scanner of the docs-site gate does not run The gate's selftest fails the run: a gate whose scanner did not run lets the selftest's fixture page with a token through No green gate without its scanners ci/checks.md
Q-9 A plugin manifest carries a field the runtime ignores claude plugin validate --strict fails validate No such manifest merges ci/checks.md
Q-9 A Markdown link points at a file or heading that does not exist The link check fails the pre-push hook and validate No dead relative link merges ci/checks.md
Q-10 A plugin names a specific project The plugin check fails No plugin names a project ci/checks.md, SPEC.md REQ-6

10.2.1 Scenarios for Q-1, Q-8 and Q-11

TBD