Repository navigation
Conversation
The agent reads policy.cedar and authorization.json from the config directory itself. Nothing records an approval yet, so only the forbid policies and settings that tighten apply; permits, methods, sts and network are ignored and reported through GetPolicy notes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Dg17LE9aWqsb1VBUCVcKLM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Dg17LE9aWqsb1VBUCVcKLM
50 ms elapsed between two loads on CI runners. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Dg17LE9aWqsb1VBUCVcKLM
This branch has not been deployed
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.
Implements docs/specs/011-user-policy.md.
~/.config/mairu/policy.cedarandauthorization.jsonitself before each decision (reload on(dev, ino, mtime, size)change, else every 5 s)forbidpolicies join the built-ins; everypermitis ignored; broken files, templates, duplicate orbuiltin-ids are dropped with notes. Approval comes in the next layer (012)authorization.json:tool_detectionadditions and a shortergrant_retention_secsapply while unapproved;methods,stsandnetworkare validated but ignoredGetPolicyRPC;mairu policy init|check|show|explain|schema;doctorgains apolicylineVerified in Docker (56 checks): forbids refuse with
REASON_FORBIDDENand their id without prompting or fetching, gate-2 forbids by real account, ignored permits, broken files, edits picked up by the next request.🤖 Generated with Claude Code
https://claude.ai/code/session_01Dg17LE9aWqsb1VBUCVcKLM