Document the KMS OpenSpec baseline and enforce reference integrity #764
All Vouch review confidence checks passed
Residual risk 0.28 = Change Risk (0.50) × (1 − Review Confidence (0.43)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.50 · 571 lines diff across 7 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.380
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #764"
general
weight: 0.35
jobordu
Summary
Establish the Regalia KMS OpenSpec baseline for product commit
0a32a901d1240eec51ddff323274e2ad935116f3(tree347cc36bd44945fcff8a6624237222cb64c0cf17). Add 31 synchronized capability specs with 158 requirements and 421 scenarios. Publish the source inventory, authoring records, canonical 463-case ledger and explicit gaps alongside the specs. Keep first-store commissioning and no-history restore protection in a separate, proposed OpenSpec change.Add candidate HTTP regression tests for the seven operation routes that share policy reservation and executor capacity. The tests exercise the real HTTP handler, coordinator, FileState and capacity controls with an inert backend. Add SOPS protobuf regressions for the admitted carrier subset and full method names against official SOPS 3.13.3 source, retained as an offline reference cache with provenance and license.
Extend the existing
build-testjob with strict OpenSpec 2.1.1 validation, focused checker/wiring tests and a reference integrity check. The job prepares a separate shallow product checkout with credential persistence disabled and checks its exact commit and tree plus the primary worktree HEAD. The checker validates the declared references using local inputs and reportsreferenceIntegrity,verificationAuthority=not-assessed, andcoverageComplete=false. The job graph, triggers, permissions and aggregate dependencies are unchanged.Validation
91151a4dand evaluated merge3f7db361: all 20 job executions and all 18 aggregate dependencies passed, withIS_DRAFT=false. Parent independently verified all 101 checker input hashes and the exact non-authorizing result. Commit3378b31frecords that dated observation and closes the finite task; it changes documentation and metadata only. CI for the later documentation head is separate and is not covered by that earlier execution. The full ratchet, synchronization and independent-review gates remain open.Open boundaries
The ledger retains 4 specification gaps, 418 test or execution gaps, 13 contract conflicts and 19 proposals. The nine historical hosted/emulated cases retain their original narrow scope. The reference check makes no evidence-authority or complete-coverage determination. Discovery, assertion adequacy, approval for non-applicability, legacy-budget and case-deletion preservation, and change-based enforcement remain separate work. Prior incomplete independent reviews remain open.
The tests cover HTTP reservation and capacity and local protobuf interoperability within the admitted SOPS 3.13.3 carrier subset. Full-daemon restart replay, unsupported carrier fields and variants, full SOPS CLI interoperability, and physical qualification remain open. Single-node durable restore, first-store authority, the replacement integration and TEST/production release acceptance retain their existing gates. The product code, immutable single-node limits and Gantts are untouched.
Publication representation
The publication uses one commit atop the pinned product baseline. It preserves the original local work history separately. Source digests use documented typed records; five historical provenance locators use portable identifiers with their captured hashes intact. The inert HTTP fixture is byte-equivalent. All 463 classifications are preserved; the nine historical cases differ only in verified representation-hash pointers. No historical execution or approval is renewed.
Unchanged Gitleaks 8.30.1 passed both the exact publication range and final tracked tree in worker and fresh parent runs. Parent independently checked all 1,271 source digests, 146 changed-file byte bindings, case preservation and the real reference result. The worker reran the affected 15 HTTP subtests and strict 34/34 checks on the final candidate. The scanner config and both workflows are unchanged by this representation migration.