Skip to content

Commit 4b372b4

Browse files
chore(custodian): opt into CAP1 enforcement (#69)
Enforce that the capability this repo owns resolves here (registry via the existing cross_repo sibling). Part of the capability-plane population follow-up; PlatformManifest's capability-refs gate adds this repo to its owning set. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 4c62563 commit 4b372b4

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

.console/log.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Log
22

3+
## 2026-06-16 — Opt into CAP1 enforcement (context_bootstrap)
4+
5+
Added `audit.capabilities.enforce: true` so Custodian's CAP1 verifies the
6+
capability OperatorConsole owns (`context_bootstrap`
7+
`operator_console.bootstrap.build_resume_prompt`) resolves here. Registry located
8+
via the existing `cross_repo.platform_manifest_repo` sibling; `capabilities` also
9+
whitelisted in `plugin_audit_keys` for the lagging-doctor typo-guard. Enforced by
10+
PlatformManifest's capability-refs gate (OperatorConsole added to its owning set)
11+
+ pre-push.
12+
313
## 2026-06-16 — feat: Fleet Capabilities section in startup context (capability plane Phase 1)
414

515
First consumer of the capability registry. `build_resume_prompt` now appends a

.custodian/config.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,21 @@ audit:
2727
# leak fail-closed) now that this repo's .console/ has been reconciled.
2828
reconcile_enforce: true
2929

30+
# CAP1 — enforce that capabilities owned by OperatorConsole (context_bootstrap)
31+
# resolve here. Registry is located via the existing cross_repo sibling below.
32+
capabilities:
33+
enforce: true
34+
3035
# The deployed Custodian reconcile detector reads `reconcile_enforce`, but its
3136
# doctor `--strict` typo-guard allow-list lags one release behind and does not
3237
# yet list the key — so it emits "unknown audit key 'reconcile_enforce'" and
3338
# fails CI. Declaring it here via the supported plugin_audit_keys escape hatch
3439
# whitelists the key for the typo-guard while leaving enforcement fully active.
35-
# Can be dropped once the released doctor adds reconcile_enforce to its set.
40+
# `capabilities` is whitelisted for the same lagging-doctor reason.
41+
# Can be dropped once the released doctor adds these keys to its set.
3642
plugin_audit_keys:
3743
- reconcile_enforce
44+
- capabilities
3845

3946
cross_repo:
4047
platform_manifest_repo: ../PlatformManifest

0 commit comments

Comments
 (0)