Skip to content

LBA REQ 037

github-actions[bot] edited this page Nov 19, 2026 · 2 revisions

LBA-REQ-037: Continuous five-lens compliance self-audit

Status

Proven

Area

Assurance / configuration management (repo-standards-review five-lens rubric over 29148/42010/29119/10007/15289/26514)

Statement

The system shall self-audit its five-lens standards posture at clause-evidence granularity, so a fail-closed gate blocks the build when any lens drops below its target score or a required information item, wired gate, or clause anchor is missing.

Rationale

The standards audit's meta-finding (F4) was that non-gated conformance is where standards drift silently, and the coarse 25/25 was a point-in-time score rather than a continuously-verified guarantee. A generated, fail-closed self-audit that re-scores the repo against the repo-standards-review five-lens rubric on every change makes full compliance corroborated by construction rather than asserted (ADR-0027).

Acceptance Criteria

  • experiments/compliance/verify-compliance-posture.mjs encodes each lens's level-5 clause-evidence — real information items, wired fail-closed gates, and standard clause anchors — and scores REQ/ARCH/TEST/CM/DOC.
  • docs/compliance/compliance-posture.md is generated and reports 25/25 with a per-lens evidence checklist; --check fails closed if the posture is below target or the scorecard drifts.
  • The scoring fails closed on any single missing clause-evidence item (proven by the self-test), and the deep-compliance artifacts (test report, release procedure) are load-bearing across lenses.

Verification

Historical statement (no longer implemented)

Supersession

Change Guidance

The checker experiments/compliance/verify-compliance-posture.mjs plus its self-test are gated by continuous-compliance-self-audit in verify-local-gates and mapped in the RTM; the scorecard is registered in the 15289 information item map. Authored under the singular-requirement directive (one shall).

TestID

T-037

CodeRef

experiments/compliance/verify-compliance-posture.mjs; experiments/compliance/verify-compliance-posture.selftest.mjs; docs/compliance/compliance-posture.md; experiments/verify-local-gates.mjs

RTM Status

Proven

Clone this wiki locally