Skip to content

refactor(core): narrow stored grant matching to shell calls - #471

Merged
lg2m merged 1 commit into
refactor/core-subtractionfrom
refactor/shell-grant-cleanup
Oct 25, 2026
Merged

lg2m merged 1 commit into
refactor/core-subtractionfrom
refactor/shell-grant-cleanup

Conversation

@lg2m

@lg2m lg2m commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

Narrows stored grant matching to its sole shell caller and removes unreachable network/non-shell branches. Shell tool grants, human prefixes and exact delegate commands retain the same matching rules; stored host grants, provenance and revocation remain intact.

Second PR in the #6 cleanup stack, based on #470. cargo xtask check --base refactor/core-subtraction passed formatting, lint, strict all-feature Clippy and all 2,602 affected tests (14 skipped), including the approval decision/grant tables. Cross-review found no semantic changes.

No externally visible permission change or protocol/schema change.

Final commit b7aceb21: hosted CI and real-binary smoke passed; Codex reviewed the same head with no findings and a thumbs-up. Stack: #470 → #471 → #472.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-25T07:48:59.776458Z b7aceb2 Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@lg2m

lg2m commented Oct 25, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: b7aceb211e

ℹ️ 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".

@lg2m
lg2m added this pull request to stack #473 October 25, 2026 21:19
@lg2m
lg2m merged commit 4f5cd34 into main Oct 25, 2026
7 checks passed
@lg2m
lg2m deleted the refactor/shell-grant-cleanup branch October 25, 2026 21:19
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