chore: deprecate policies/default.yaml — registry-first first-boot policy#60
Merged
Conversation
…licy Remove the bundled five-gate policies/default.yaml. The Dockerfile no longer COPYs it, no longer sets AGENTLOCK_POLICY by default, and the daemon falls back to its built-in minimal policy in main.go (single rogue.destructive-bash gate, monitor mode) so every session still has a non-empty policy hash to attest against. Operators are expected to populate real coverage from the openagentlock/rules registry: agentlock rules sync agentlock rules install rogue.destructive-bash agentlock rules install rogue.secret-read agentlock rules install rogue.net-egress ... This matches the pivot already documented in docs/guide/policies.md (merged earlier as PR #47): rules-registry-first, not five-fixed-gates. The README "five gates" section, docs/index.md gate-card, and docs/guide/policies.md are all rewritten around the registry-first flow. The minimal in-binary fallback survives so a daemon spun up zero-conf via `docker run ghcr.io/openagentlock/agentlockd:latest` still has *some* policy to attest sessions against. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Why
Per docs/guide/policies.md (merged in PR #47), the project pivoted to a registry-first policy story — operators install rules from `openagentlock/rules` instead of inheriting five hardcoded gates from a bundled YAML. This PR finishes that pivot at the file/Dockerfile/README level.
What
Backward compat
Test plan
🤖 Generated with Claude Code