Skip to content

feat(openshell): bind selected policy inputs to verifier currency - #951

Open
pengfei-threemoonslab wants to merge 1 commit into
codex/openshell-diff-944from
codex/openshell-inputs-945
Open

pengfei-threemoonslab wants to merge 1 commit into
codex/openshell-diff-944from
codex/openshell-inputs-945

Conversation

@pengfei-threemoonslab

@pengfei-threemoonslab pengfei-threemoonslab commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Selected OpenShell policies can have arbitrary filenames or be ignored by Git. Comparisons now materialize their exact dependencies independently from each Git tree, and verification binds document bytes, symlink-target text and missing inputs through the existing plan/receipt lifecycle. A later edit, retarget or type replacement invalidates current control.

Current-control refresh now validates the bound verifier internally even when its bytes were not requested in the response. Credential-shaped paths remain unsupported without exposing raw paths, and a successful policy capture cannot hide a failed hook capture for the same input.

Validation: full suite covered 15,017 passing tests and 7 skips (six launcher tests rerun successfully with the project Python after the scratch checkout selected the older macOS default); Ruff, generated-schema check and whitespace checks passed. Eleven input/currency cases exercise committed trees, selection-only edits, missing documents, ignored policies, link chains, privacy and hook overlap. Static evidence only; no runtime freshness or merge authority is asserted.

Closes #945. Stacked on #950; review this PR against its branch base.

This branch has not been deployed

No deployments
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