/quoin:spec-matrixfrom quoin
Reads a computed Test Matrix (quire/quoin) and closes gaps by adding criterion-id trace tags to untagged tests. Never hand-writes the matrix.
Ships in quoin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
If this plugin is not initialized or an Agent IX command fails, read the quoin setup guide for its prerequisites and local diagnosis.
The Test Matrix is computed, never written. quire matrix derives it on every run from
the spec's acceptance criteria and the trace tags in the source tree; quoin matrix adds
whether a passing run backs each criterion. This skill reads that matrix and makes the one
change that moves it: a trace tag on a test.
Do not create or edit spec/matrix.md, spec/tests.md or spec/test-cases/, and do not
mint TC- ids. A test binds to a criterion by that criterion's own id.
quire matrix --scope . --format json
--scope is the repository root: spec documents are read from <scope>/spec and trace tags
from the rest of the tree.
For run evidence as well, use quoin matrix --repo . --json. If quoin matrix --repo . --json fails, use
quire matrix --scope . --format json above and read the static status alone.
Each criterion carries one static status:
| Status | Meaning | Action |
|---|---|---|
tagged | At least one test that is not ignored carries the id. | None. |
untagged | No test carries the id. | Find or write the test (step 2). |
tagged-by-ignored-test | Every test carrying the id is ignored or skipped. | Un-ignore it, or write a test that runs. |
method-without-symbol | The criterion's method is one the module declares mints no source symbol (Inspection, Analysis, Manual, Eval). | None — no tag is expected. |
For each untagged criterion, read its statement and find the test that actually asserts it.
Tag that test with the criterion id. The canonical markers are the ones the module
manifest declares:
use ix_trace_rs::trace; // the attribute is a macro; the crate must be a dev-dependency
#[trace("FR-012-AC-3")]
#[test]
fn rejects_an_unpinned_import() { … }
@pytest.mark.trace("FR-012-AC-3")
def test_rejects_an_unpinned_import(): ...
The pytest marker is registered by the ix_trace_py plugin (or a markers = trace(*ids) pytest config
entry); the TypeScript form is trace("FR-012-AC-3") from @agent-ix/ix-trace-ts/vitest, called
inside the it(...) callback (vitest only).
Trace: FR-012-AC-3 comment line (/// Trace: in Rust) no longer binds (quire engine
0.55): ids bind only from the marker attribute, and quire coverage reports a comment id as
trace-id-outside-marker naming the replacement form. A production item that implements a
requirement carries #[implements("FR-012")]; a test, bench or fuzz target carries #[trace(...)].FR-012-AC-3), not the requirement. A criterion tag alone binds the test
(#[trace("FR-012-AC-3")]). Only a repository that still keeps a TestMatrix document (a
hand-kept table of TC- rows) constrains every criterion to its rows: the tag is then reported
criterion-tagged-outside-row until the test also carries the row's TC id. Do not add such a
document; delete it and tag by criterion id.#[trace("FR-012-AC-3", "FR-012-AC-4")].gap-analysis reports it as such.spec-criterion-strength-analysis) rather than tagging something.quire matrix --scope . --format tsv
The criteria you tagged read tagged. A tag that names an id no criterion declares binds to
nothing; quire coverage --scope . --json lists it under untracked_symbols. Fix the id.
A criterion is only mappable when it states one obligation. Before tagging, run the EARS
grammar check and fix non-singular or unclassifiable statements first — a test cannot
cleanly assert two shall clauses at once:
quire validate --scope . "spec/**/*.md" --summary
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub agent-ix/quoin --plugin quoin23 skills in this plugin
/assurance-status-reportProduce an evidence-backed status report for a Quoin/Quire epic, phase, or assurance campaign. Use when asked for progress, percent complete, before/after metrics, completed-ticket inventory, open-work classification, or readiness for the next phase. The workflow is read-only and does not comment on, close, or modify tickets or repositories./design-gatePropose and check a data-flow design, revise bounded denials, and leave acceptance to a person./formalize-requirementDraft and type-check one QSL rule for a requirement.Other plugins' skills for the same job