Skip to content

feat: Centralize CAO policy in versioned JSON - #151

Merged
mnkiefer merged 5 commits into
mainfrom
centralize-cao-policy
Aug 29, 2026
Merged

feat: Centralize CAO policy in versioned JSON#151
mnkiefer merged 5 commits into
mainfrom
centralize-cao-policy

Conversation

@mnkiefer

@mnkiefer mnkiefer commented Aug 29, 2026

Copy link
Copy Markdown
Contributor
  • Previously, policy was fragmented across repository variables, workflow defaults, dispatch inputs, and a separate target YAML document. That created ambiguous precedence, configuration drift, limited review history, and policy changes that were not atomic with workflow changes.
  • This PR makes .github/central-agentic-ops.json the sole authority for persistent, non-secret Central Agentic Ops policy:
    • Adds a strict, dependency-free Node.js policy resolver.
    • Removes policy reads and fallbacks from CENTRAL_AGENTIC_OPS_* Actions variables.
    • Resolves control policy at the exact github.workflow_sha.
    • Resolves live target authority from the target’s exact default-branch SHA.
    • Uses static package, role, and worker identities in workflows.
    • Applies native noop behavior when packages or workers are disabled or undeclared.
    • Migrates Dashboard and Ops Publish to the same resolved policy.
    • Updates documentation, package guidance, tests, and generated lock files.
    • Removes the legacy YAML authority format and orphaned workflow artifacts.

@mnkiefer mnkiefer self-assigned this Aug 29, 2026
@mnkiefer
mnkiefer marked this pull request as draft August 29, 2026 12:45
@mnkiefer
mnkiefer marked this pull request as ready for review August 29, 2026 16:27
github-actions[bot]

This comment was marked as outdated.

This comment was marked as outdated.

@mnkiefer
mnkiefer merged commit 3d54b67 into main Aug 29, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants