deploy/baremetal/testgenesis: staging TEST genesis material from a named TEST root (regalia-kms-223) #787
All Vouch review confidence checks passed
Residual risk 0.37 = Change Risk (0.69) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.69 · 462 lines diff across 5 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.367
Shallow Review Depth
shallow_review_depth
0.344
Sensitive Paths
sensitive_paths
0.069
Real PR Conversation Timeline
1 comments
"Review active on #787"
general
weight: 0.35
jobordu
Bead:
regalia-kms-223. This draft supplies the TEST genesis generator needed for Part C, step A6. It includes a merge ofmainat5cf92501. The generator and its tests are unchanged from the previous head.TEST genesis and root guard
deploy/baremetal/testgenesis.pygenerates single-node staging TEST material in a private directory. It writes the card ceremony record and signing state, offline-keys and ownerauth records, TEST signing and WireGuard keys, site configuration, measurements, lockout value, and SHA-256 manifest. It reads the outputs back through the existing verifiers and checks that the generated keys match the records.The CLI requires a root on the explicit
TEST_ROOTSallow-list and a matching private key. The ceremony deny-list wins over the allow-list, and the CLI refuses unknown roots before reading the private key or creating output. The signed build record must have passed initrd review and must pin this TEST root alone. The tests cover unknown roots through the CLI, every deny-listed root even under a test allow-list override, a mismatched private key, and a missing or mismatched build-record pin. They use generated TEST keys. The review fixes also cover isolated invocation, private output, and cleanup after refusal or interruption.Hosted evidence
d78c6fe5, three-node-leases passed all 20 checks and build-test ran 3,413 Python tests with 20 skips. The unknown-root, ceremony-root, and missing-pin refusal tests all passed. Secret scanning and govulncheck passed. The only failing check was ci-gate, which records the draft rejection and seven prerequisite jobs skipped on drafts. Leases job · Build-test log · Draft gate log1dbfc699, the build-test log records 3,396 Python tests run with 20 skips, including passing TEST-root refusal tests. Build-test log1dbfc699records 6 passed and 1 failed. Both issuer-failover assertions passed. The failure occurred on issuer restart. The peer'stpm2-abrmdaborted with SIGABRT on the GLibg_hash_table_remove_nodeassertion. TPM capability enumeration then failed and the high-water anchor check refused to proceed. Leases logmainat0590b5c9on November 18, during a later scenario. This predates the TEST genesis diff. The last change at1dbfc699only allow-listed a TEST filename for secret scanning. The exact trigger inside the resource manager remains unconfirmed. Main leases logci-gatelog explicitly records the draft gate.three-node-leasesis a separate workflow job. Draft gate logRemaining
The PR stays draft. Final-head review and the required off-runner proof remain pending before the owner can advance it to the full CI gate. Part C A6 resumes after merge and the owner re-pins the interpreter exception. The resource-manager crash remains tracked in
regalia-kms-9xw. No workflow was manually dispatched or rerun for this update.