docs(specs): S04-A names the error a missing root key fails boot with
Summary
S04-A's Error Cases row for a missing root key quoted
crypto: read root key file "<path>": <os error>. Nothing in the tree
produces that text: git grep 'read root key file' finds only this row.
The spec's own Secret delivery section reads the key through LabKit's
infra.Secrets.Get(ctx, "encryption/root-key"), which takes no path.
wireEncryption wraps that call's error as
composition: reading root key secret "encryption/root-key": ...
(cmd/artifact-registry/wire_encryption.go:105).
The row now says that, and names the secret.ErrNotFound it wraps.
TestWireEncryption_SecretReadFailureFailsBoot asserts both. No behavior
changes.
Only one reading is live here. The code follows the spec's Secret delivery section, and the row is left over from a path-based read that section rules out. So this is a correction to the row, not a question for the spec author.
Found by /validate-step on Step 1 of the S04-A required encryption block
plan. That plan already quotes the code's text for this case.
Governing ADRs
./scripts/adr-freshness.sh reports the mirror current (last local change
2026-09-25).
- ADR-007 sets the two key tiers and the root key that wraps namespace keys. It does not decide boot error text, and the row still says a missing key fails boot.
- ADR-001, 004, 009, 010, 014, 022 and 024, the rest of the set S04-A cites, decide nothing about boot error text or how the root key is read.
No conflict.
Testing
Docs only.
git grep 'read root key file'returns nothing on this branch.- The new text matches the
fmt.Errorfatwire_encryption.go:105and the two assertions inTestWireEncryption_SecretReadFailureFailsBoot(wire_encryption_failure_test.go:84-85).