Skip to content

Commit 64aa569

Browse files
fix(ci): make CI green — add missing SPDX header + satisfy custodian-doctor
Two pre-existing failures on main: - License headers: tools/platform_deployment_cli/__main__.py lacked the SPDX-License-Identifier header. Added the repo-standard SSPL-1.0 header matching the existing style. - Custodian doctor: custodian-doctor --strict flagged audit.reconcile_enforce as an unknown audit key. The reconcile detector (R1/R2) reads that key directly, but the doctor's _KNOWN_AUDIT_KEYS allow-list omits it (upstream gap). Declared it via the doctor's own plugin_audit_keys escape hatch, which validates the config without changing R1/R2 enforcement behavior. Verified locally: both CI commands pass and `pytest -q` still passes (172). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 20d7760 commit 64aa569

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.custodian/config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ audit:
3434
# Reconcile detectors R1/R2 enforced — this repo's tracked .console/ has been
3535
# reconciled (scrub-target leaks genericized; log under budget, no prune needed).
3636
reconcile_enforce: true
37+
# The reconcile detector reads `reconcile_enforce` directly, but custodian-doctor's
38+
# _KNOWN_AUDIT_KEYS allow-list omits it (upstream gap), so --strict flags it as a
39+
# typo. Declare it via the doctor's own plugin_audit_keys escape hatch so the
40+
# config validates without changing R1/R2 enforcement behavior.
41+
plugin_audit_keys:
42+
- reconcile_enforce
3743
# PlatformDeployment docs frequently reference symbols and values that live in
3844
# OTHER repos (TeamExecutor, DAGExecutor, OperationsCenter) since WS hosts adapter
3945
# integration documentation. These aren't phantoms — they're cross-repo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: SSPL-1.0
2+
# Copyright (C) 2026 ProtocolWarden
13
from platform_deployment_cli.main import main
24

35
main()

0 commit comments

Comments
 (0)