Regenerate the artifact; correct the test that classified openbao-api-key as a gap
test_catalog_gaps_lists_only_interim asserted openbao-api-key was an interim cover. It encoded the same classification the entry did, so it defended the wrong answer rather than catching it -- the second time this session a test has held a judgement still (see ADR-0008). The staleness test added in T03 did its job on the first real change: it failed the moment the catalog moved without the generated artifact being re-emitted. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
675e04e8e6
commit
a565e62b2f
2 changed files with 10 additions and 4 deletions
|
|
@ -688,7 +688,13 @@ def test_catalog_gaps_lists_only_interim():
|
|||
assert "ssh-cert-host-access" not in gap_ids
|
||||
assert "whynot-design-npm-publish" not in gap_ids
|
||||
assert "binky-company-email-imap" in gap_ids
|
||||
assert "openbao-api-key" in gap_ids
|
||||
# WARDEN-WP-0033: openbao-api-key was listed here as an interim cover. It is
|
||||
# not one -- its path_template is a <domain>/<workload>/<bundle> routing
|
||||
# pattern rather than a single secret lane, so there is no front door for
|
||||
# anyone to take over. secrets-engine refused it on exactly that ground and
|
||||
# ops-warden agrees. A pointer to OpenBao is not a gap ops-warden is holding,
|
||||
# and counting it as one overstated the interim surface by a lane.
|
||||
assert "openbao-api-key" not in gap_ids
|
||||
assert all(catalog.get(i).is_interim for i in gap_ids)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue