Maintaining capability maturity
The source of truth is
data/capability-maturity-registry.json,
validated by
capability-maturity-registry.schema.json
and scripts/validate-maturity-registry.py. The product, engineering, and risk
pages in this section are generated views. Do not edit them directly.
Maturity model
| Level | Meaning | Minimum claim |
|---|---|---|
| M0 | Proposed | Named scope and owner; no implementation claim |
| M1 | Specified | Reviewable contract, envelope, exclusions and acceptance evidence defined |
| M2 | Implemented | Merged code or completed artefact exists in the stated envelope |
| M3 | Validated | Independent, current functional and non-functional evidence passes |
| M4 | Production-ready | Security, privacy, operations and governance approve a deployable envelope |
| M5 | Proven | Sustained production evidence demonstrates the approved outcomes |
Every mandatory dimension records its own M-level. Overall maturity is exactly the lowest applicable dimension. Never average dimensions and never promote an entry to describe momentum, investment, runtime mode, or intended use.
Maturity is independent of:
observeorenforceruntime mode;- finding, modification, or block output support;
- eligibility for a policy action and policy-owner approval;
- runtime availability, deployment, and default-enabled state;
- evidence freshness, which is represented by assessment and expiry dates.
Expired evidence is a validation error. Digest repository evidence when a stable
artefact is available. Thread work may explain in_progress, but it is not
implementation evidence until it is merged into the assessed commit.
Promotions to M3 or higher require an evidence item with an explicit
supports_level; M5 additionally requires a production evidence item. This
prevents raising every dimension and the overall level without adding evidence
that supports the claim.
The semantic validator also derives required catalogue IDs from the detector
capability matrix and every merged detector manifest, plus the manifest-less
development test canary. Validation fails when any of those capabilities is
missing from the registry. assessed_commit must name the reviewed Git base;
registry changes themselves normally land in the following commit.
Detector gate migration
The older G0–G3 vocabulary is retained only for detector release evidence and historical artefact compatibility. It is not a maturity scale.
| Legacy detector gate | Current interpretation | Maturity implication |
|---|---|---|
| G0 development | No release gate passed; synthetic/dev policy only | Usually M2 if code is merged, but does not imply M3 |
| G1 observe | Eligible for an approved record-only binding | Runtime mode/action eligibility only; no automatic M-level |
| G2 experimental redact | Eligible for opt-in redaction canaries | Action evidence only; no automatic M-level |
| G3 production block | Eligible for blocking under the certified detector envelope | Necessary but not sufficient for M4; policy/deployment approvals remain separate |
Existing evidence/g1, cmd/g1-evaluator, report schemas, gate metrics, and
historical G1 claims keep their names and meaning. The legacy maturity field in
docs/research/detector-capability-matrix.json is a research-planning lifecycle
snapshot, not the current maturity source of truth; consumers must use the
registry.
Pull-request workflow
Every feature pull request must do one of the following:
- update all affected registry entries, evidence references/digests, assessment dates, expiry dates, dimensions, exclusions, blockers, and next actions; or
- explicitly declare No maturity impact in the pull-request description and explain why no capability claim, envelope, dependency, output, action, runtime state, or evidence changed.
Never create a new ID in a dependency before registering it. Never promote from an unmerged thread, an unverified external claim, a runtime-mode change, a policy approval, or a default-enable/deployment decision alone.
Regenerate and validate before review:
python3 scripts/render-maturity-views.py
npm run validate
npm --prefix groundskeeper-docs run build