Repository navigation
docs: record guard liveness and macOS refusal-filter evidence - #139
Conversation
Codex Review SummaryThis 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull 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".
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".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c3d9a6e22f
ℹ️ 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".
0da8c6e to
2777b53
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2777b539c1
ℹ️ 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".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f7b1682a75
ℹ️ 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".
Final merge gate
At head
77e3e56c07fabb8fac1ec5bc293444816951a23f, all 40 checks passed and both current-head Code/Security reviews completed without findings. All review threads are resolved. Main integration at 0d56889 is green. The user-authorized research-only merge does not activate #137, close unresolved research/policy issues, or publish a package.Latest snapshot/control integration (77e3e56)
Five findings on f7b1682 are addressed: fixed Part 1 matrix expectations, independent verified private runtime copies, inspection's acquired guard in E4, a mandatory status-UID row, and canonical import identities with alias/escape refusal. All 84 focused tests and npm ci/check/lint/test (266 pass, three Linux-only skips)/smoke:package/diff checks passed. One M2 nominal and snapshot-based F2 macOS plumbing plus injected finite stall matched their contracts at source cd9bb2e; evidence.md records raw hashes and precise limits. No deadline increase, native Codex/Linux/Windows proof or production adoption is claimed. Read-only copies are not OS immutability against malicious same-UID tampering. Current-head CI and Code/Security review are pending; earlier results below retain their original SHAs.
Latest complete verdict validation (f7b1682)
Seven findings on 2777b53 are addressed: comment-aware import parsing, typed nested probes, clear build-mode assertions, failed/noisy lsof rejection, fixed M2 scenario expectations, macOS-only gating and startup-manifest binding. All 71 focused tests passed, as did npm ci/check/lint/test (266 pass, three Linux skips)/smoke:package and diff checks. One M2 nominal repetition and F2 macOS plumbing plus a finite injected stall also matched their documented outcomes; evidence.md records exact source 28925a5, build identity and raw hashes. No new Linux/native Codex/Windows evidence or policy change is claimed. Current-head CI and Code/Security review are pending; earlier SHAs below are historical.
Final integration revision (2777b53)
Rebased onto main 0d56889 after the test-only CLI-output repair #159. Research files are byte-identical to reviewed 0da8c6e; no product changes were added. Root reran npm ci/check/lint/test (266 pass, three Linux-only skips)/smoke:package and all 56 focused research tests (no skips), plus diff checks. Current-head repository CI and Code/Security reviews are pending; earlier review SHAs below are historical. #126/#127 and Draft #137 remain open/no-go.
Latest runner verdict corrections (0da8c6e)
M2 part-2 now fails when owner/filter evidence is unavailable; nominal F2 plumbing fails on every protocol/stage fault except the explicitly allowed prepare outcome. All 56 focused tests passed without skips on macOS, plus npm ci/check/lint/test (263 pass, three Linux skips)/smoke:package and diff checks. No new nominal experiment, Linux measurement or native Codex run is claimed. Historical evidence below keeps its original revision. Current-head CI and Code/Security review are pending, not inherited from the previous head.
Latest pre-merge review corrections (c3d9a6e)
The three e700770 review findings are addressed: F1 has an exact fault allowlist; access-only F2 collection validates the complete typed observer result and PID/FD/UID/kernel/ticks binding; and the builder rejects unknown/duplicate/valueless arguments before filesystem/build effects. All 49 focused tests passed on macOS without skips, plus npm ci/check/lint/test (263 pass, three platform skips)/package smoke and diff checks. No Linux rerun, native Codex observation or changed production policy is claimed. Historical measurements below are not proof of this revision. Current-head CI and Code/Security rereview must pass before the user-authorized research-only merge.
Current integration: isolated F2 observer and Linux measurement
Head
e700770adds separate-process F2 product inspection with explicit stage framing, bounded stdout/stderr collection, validated stage shapes, independent holder-instance samples and a recorded trusted research build.F2_DISTremains refused;F2_BUILDnow enables isolated inspection. F4 remains an unapplied proposal artifact, not a production change. This is a follow-up to the historical measurements below, not a claim that their checks certify this head.b483cd587c62329243366e64aaaac477edd36adc: actual exit 1, collection true, expectations false, no incomplete waits. Direct prepare/guarded participation passed at dumpable=1, but incomplete-visibility lsof warnings and the Python fixture's unsupported executable/arguments prevented a passing control. Dumpable=0 prepare returned EACCES and inspection refused with the participation blocker; without a passing control, refusalCounted remains false. No warning suppression or identity-rule relaxation was used.stall:prepare: actual exit 1, both inspectors incomplete at the stage bound, open stage prepare; both later exited 4 without signals. Holders exited 0. This measures an injected finite stall, not a real procfs hang or cancellation guarantee.git apply --checkagainst the pinned unpatched source.claude-opus-5-5) and Codex CLI 0.163.0 (default selection, actual model not independently reported). Source-checked fixes address stderr EOF, malformed result evaluation, decimal instance ticks, manifest scope and evidence wording. These pre-correction reviews do not certify this head; repository CI/current-head automatic reviews are separate gates.Current authorization: the user approved sequential research integration and v0.4.7 release preparation. This PR is ready for current-head automatic review; merge only after normal CI and code/security review gates pass. #126/#127 and both #137 product-readiness gates remain open. No tag, release or package publication is authorized in this preparation step.
Historical integration record (through 56dc50d)
Findings and research scope
Holding native coordination during slow inspection delays other writers that need the same coordinator. The synthetic macOS measurements show that injected guard delays increase a cooperating waiter's delay. A separate
lsof +fgexperiment excludes never-locked and failed-acquirer descriptors, but cannot distinguish a former holder that released its lock while retaining its descriptor. Under injected omission of the actual holder, that former holder remains a wrong eligible target. The sticky bit is therefore refusal-side evidence only, not positive ownership evidence.This Draft records those results and adds unpublished, hardened research fixtures under
experimental/126-guard-liveness/. It does not change production TypeScript, eligibility, platform support, dependencies, JSON, workflows or releases. Refs #126 and #127; neither issue is closed by this PR.Implementation and open gates
F2_DISTis refused: a synchronous syscall would prevent its timer and cleanup from running. Separate-process inspection, native candidate controls, and actual native-access evidence remain required./prochang was reproduced. No actual Codex process or Windows recovery was tested. Default macOS recovery policy and Draft fix: prototype Linux descriptor-level flock attribution #137 are unchanged by this PR.Validation
cfa2eba9e3809afa060d85c15ff487f811c925e4; source archive SHA-256cac2171ba9424d229a204b32a140321795fad000b6bef9fbbc709192a154ec4a, raw result SHA-256656c1d08d816303dfac870a87e426f4ace0f6972698a46f491a81a4c3b1900fc. Runner exit 0, failures/incomplete 0. Stage/result directories were 0700 and result 0600. Owned remote scratch was removed after confirming holder exits and preserving evidence. No dependency installation, privilege or host-policy change was needed. This does not run fix: prototype Linux descriptor-level flock attribution #137 or measure deployed native Codex dumpability.e782e396df3f5feebb556bfe2f371d101176e03f, with input SHA-25670db601c2d878f86621c2f153758b89ea1fbe2973ee60f7cee6deda1ff0fa6da. Claude Code 2.1.296 requested and returnedclaude-opus-5-5; Codex CLI 0.162.1 used an isolated default selection, actual model unconfirmed. Both exited zero with complete responses and did not execute tests. Subsequent corrections were checked by the integrating Codex; those earlier CLI responses do not certify the final commit.All 39 checks passed at
e5cf6dd7af5f61542a842527a216fa5eec918e61, including repository CI and all five CodeQL language analyses. A cooperating read-only review of that integration requested actual final-script validation and correction of an incomplete-count claim. Both are addressed: one F1/M2 nominal run each and the five documented fault cases returned the expected exit statuses and report fields. The ignored-EOF case records incomplete 1, then child exit 3. The raw result hashes and revision are recorded in evidence.md.Previous head
cfa2eba9e3809afa060d85c15ff487f811c925e4passed all 39 checks, including CI and CodeQL. It narrows theincomplete: 0statement to nominal runs, documents the 11-test command and adds missing original result hashes. The cooperating review's two publication-blocking candidates are addressed by actual script execution and the corrected scope. Barrier contention can invalidate a scenario; successful finite runs are not a guarantee for every schedule. No automatic review comments were visible when those results were checked.Historical head
56dc50d5f610d3356228aacee743cbd22a6706ebrecords the approved Linux measurement and corrects the fdinfo ownership table. Only documentation and stale preparation labels in script comments/docstrings changed. Diff check, type check, lint, F2 syntax and package smoke passed. All 39 checks also passed for this commit, including CI and CodeQL. No merge or publication was performed.The historical Draft hold was for final review and research-scope assessment. The user now authorizes research-only integration subject to current-head gates; production adoption and package publication remain separate decisions.