Repository navigation
Fix false completion, escaping checks and filename/line-count handling - #2
Conversation
Review: ready to merge (merge main into the branch first)What it does: Stops the verifier from marking work done without evidence. A checklist item gated on verification no longer passes when no verification command ran. fileExists and fileContains checks are confined to the project (lexical path and realpath) and must point at a regular file. Git change capture is NUL-delimited, with renames split into delete + add, so odd filenames and both sides of a rename reach the guards. Untracked symlinks are not followed when counting lines, and a trailing newline no longer adds a phantom line. What I changed: Nothing pushed. A trial merge of main (4 commits, including PR #3/#4 changes to src/verifier.ts and README.md) auto-merges with no conflicts. Tests: On the PR head, Review:
Deploy impact: None. CI on main only runs npm test. Generated by Claude Code |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Improvements
Verification
Four new regressions failed against original source. Full npm test now passes19 tests, including six new verifier cases; TypeScript build and diff check pass. All integrations use MockCodexClient / mock mode. CODEX_BIN was set to a nonexistent path as an extra guard: no Codex CLI, model inference, user computer or paid provider was used.
No new dependencies or sandbox/approval weakening. Real Codex integration, Windows process semantics and adversarial concurrent filesystem replacement remain unverified. Path checking is defense in depth, not a replacement for OS confinement. Draft only.