chore(custodian): enable CAP1 capability-ref enforcement#303
Merged
Conversation
Set audit.capabilities.enforce: true so CAP1 verifies the capability this repo owns (board_unblock) points at invocation.ref code that resolves here (operations_center.entrypoints.maintenance.board_unblock). Uses the existing cross_repo pointer to locate the registry + manifest. Activates when the local custodian install is refreshed to @main; CI installs custodian@main fresh. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
b2163cd to
0db6950
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sets
audit.capabilities.enforce: trueso Custodian's CAP1 detector verifies the capability this repo owns —board_unblock— points atinvocation.refcode that actually resolves here (operations_center.entrypoints.maintenance.board_unblock). Anti-rot for the capability registry.Uses the existing
cross_repo.platform_manifest_repopointer to locate the registry + manifest. Verified locally: with CAP1 active (custodian@main + PlatformManifest sibling), OperationsCenter's audit is clean — the ref resolves. Activates fleet-wide once the local custodian install is refreshed to@main; single-repo CI installscustodian@mainfresh where CAP1 skips (no sibling checkout).🤖 Generated with Claude Code