Repository navigation
Conversation
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.
Allow the ordinary inspection commands listed in #524 without a consent question, while retaining external-write, credential, provider mutation and role guards.
Closes #524.
Diagnosis
The stage table classified read pipelines/globs as interpreter operations, rejected Git directory selectors, omitted repository-scoped comments GET and isolated snapshot inspection, and generated narrower Claude permission entries. An auxiliary refusal could also become an unanswered decision after a completed stage.
Before implementation,
python3 -m unittest tests.test_read_parityreproduced 64 command/role refusals. The shared invariant is that ordinary authorized reads pass both the toolkit hook and executor layer without consent. This is a shared cause within this issue's scope; the root fix updates the common table, dispatch patterns and refusal recording. Related work was searched by parity/permission terms and the implicated module: #450, #464, #406, #439, #398, #522, #523 and #493. #523 already covers publication reconciliation; this change covers completed accessory inspection and leaves its publication guards in place.Work units
scripts/stage_permissions.py,scripts/command_permissions.py,scripts/cycle.py, permission regression tests and owning docsVerification (agent-reported, pending full-suite result)
python3 scripts/validate-package.py: passed.basedpyright: 0 errors, 0 warnings, 0 notes.python3 -m unittest: exited 0, discovered 0 tests. The configured discovery command is the required full suite and is still running.Tests use disposable Git fixtures with explicit identity and a fixture provider binary. No global Git identity or live provider credential is required for those comparisons. The full existing suite may exercise additional environment assumptions.
Documentation
The prior docs did not cover this no-consent inspection set.
docs/host-permissions.mdnow lists commands and verification roles;docs/capability-parity-audit.mdmaps every converted refusal to the existing PA rows. Native parity is explicitly left open pending real executor evidence.Run: schema:2 | profile:deep_coder | requested:openai/gpt-6.1-sol | resolved:? | effort:medium