Repository navigation
docs: document process identity limits and platform options - #114
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. |
|
@codex review |
|
@codex security review |
🛡️ Codex Security ReviewSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
Current recovery compares second-resolution
ps lstartsamples and then signals a numeric PID. Document the remaining sampling/PID-reuse and Linux clock-interpretation assumptions, rather than implying that the synchronous boundary makes identity atomic.Closes #101.
The race matrix and security policy now explain the exact current contract and evaluate Linux boot-relative start ticks and pidfd signaling, macOS higher-resolution libproc samples, and audit-token/Mach limitations. They state namespace, descriptor, permission, and compatibility requirements, and distinguish a stronger sample from instance-bound signaling. Adopting a native adapter still requires a separate design; no runtime or dependencies change here.
A bounded research script launches four disposable children, observes start labels (and Linux ticks), and exits them through stdin EOF. Darwin 27.0.0 arm64 / Node 24.16.0 produced one identical second label for four distinct PIDs. Linux 6.17.0-1022-azure x64 / Node 24.21.0 in CI job 113600687693 produced three identical second labels with distinct ticks 16202/16210/16217. These are resolution observations, not reproductions of same-PID reuse or misdirected signaling. Dedicated macOS/Linux CI jobs retain the platform observations. Pure observation tests cover identical labels with different injected ticks and changed labels, alongside existing absent/unknown and real-lock refusal coverage.
Validation:
npm ci, type checking, lint, all 220 tests, package smoke, the local observation script, andgit diff --checkpassed. No host clock, live Codex process, or numeric signal was used for the research reproduction. Primary source links and remaining uncertainty are recorded in the matrix.