Skip to content

docs(policy): state the pre_ops op-door boundary and pin it - #908

Merged
zechengz merged 7 commits into
mainfrom
docs/preops-boundary
Aug 25, 2026
Merged

zechengz merged 7 commits into
mainfrom
docs/preops-boundary

Conversation

@zechengz

Copy link
Copy Markdown
Contributor

Coded Policy.pre_ops/post_ops fire at the op doors (dispatcher, ops facade, FUSE, runtime guests, find -delete, the warm-cache regate), not for the backend I/O inside a mount command's handler; the old "whatever door it entered" wording oversold that. This states the real boundary in both languages' docstrings and pins both sides with a workspace-level meta-test (cat serves and rm deletes past a coded deny today, while the facade and redirect writes refuse), so any move of the boundary is loud.

A follow-up PR binds pre_ops on the command tier and flips the command-tier assertions to refusals.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.

Tip: disable this comment in your organization's Code Review settings.

@zechengz

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e2f9d23dd4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread python/mirage/policy/base.py Outdated
@zechengz
zechengz merged commit 2ed4257 into main Aug 25, 2026
48 checks passed
@zechengz
zechengz deleted the docs/preops-boundary branch August 25, 2026 22:18
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.

1 participant