Repository navigation
Close HTTP approval routes and add explicit operator terminal review - #270
Merged
Merged
Conversation
This was referenced Sep 30, 2026
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.
Unauthenticated local HTTP callers could reach GhostWalk approval, executable binding and ActionLease issuance services. These POST routes now return 403 before dispatch in both servers. PhiShell displays evidence and terminal instructions;
phi-operatorreviews the full snapshot digest, requires interactive confirmation, rejects stale reviews, and performs each existing governed stage separately without executing an effect.Other accepted HTTP writes validate loopback Host, Origin/fetch-site and JSON MIME. Terminal state rejects symlinks and POSIX shared-writable paths. A TTY is not human authentication: same-user malicious processes and Windows ACL verification remain explicit OS release gates. Linux cannot issue a desktop lease for the current Windows-only executor.
Validation: 73 focused Python tests, Ruff, mypy (301 modules), 15 targeted Node HTTP tests and PhiShell production build pass. All 75 TypeScript tests pass. The full local Node suite has three known host-environment failures (restricted network enumeration and absent systemd); required GitHub platform CI must pass. See docs/OPERATOR_AUTHORIZATION.md and docs/os/IMPLEMENTATION_STATUS.md for the approved plan and remaining release gates.