Skip to content

docs: document process identity limits and platform options - #114

Merged
abruption merged 3 commits into
mainfrom
docs/101-process-identity
Oct 9, 2026
Merged

abruption merged 3 commits into
mainfrom
docs/101-process-identity

Conversation

@abruption

@abruption abruption commented Oct 8, 2026 •

Copy link
Copy Markdown
Owner

Current recovery compares second-resolution ps lstart samples 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, and git diff --check passed. 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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-09T00:03:21.012460Z 9e62378 Manual request
🔒 Security Review ✅ Completed 2026-10-09T00:03:20.040528Z 9e62378 Manual 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@abruption

Copy link
Copy Markdown
Owner Author

@codex review

@abruption

Copy link
Copy Markdown
Owner Author

@codex security review

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review

Security review completed. No security issues were found in this pull request.

Reviewed commit: 9e6237813d

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: 9e6237813d

ℹ️ 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".

@abruption
abruption merged commit a07faad into main Oct 9, 2026
26 checks passed
@abruption
abruption deleted the docs/101-process-identity branch October 9, 2026 05:03
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.

docs: formalize residual PID identity races and evaluate stronger platform evidence

1 participant