Skip to content

fix(claude): bound reads of session registry records - #273

Merged
abruption merged 4 commits into
mainfrom
abruption/stability-267-20261007
Oct 7, 2026
Merged

abruption merged 4 commits into
mainfrom
abruption/stability-267-20261007

Conversation

@abruption

Copy link
Copy Markdown
Owner

Summary

  • Share a bounded regular-file reader between Claude discovery and doctor: strict UTF-8/object metadata, 1 MiB byte budget, descriptor identity checks and guaranteed descriptor cleanup.
  • Reject FIFO/symlink replacement with POSIX nonblocking/no-follow flags where available; preserve healthy sessions and permission diagnostics when neighboring records are abnormal.
  • Keep existing PID/start-time and native inbox behavior, with explicit Windows/filesystem limitations in four-language diagnostics documentation.

Fixes #267

Type of change

Stability fix with offline regression coverage and generated standalone synchronization.

Validation

  • Relevant core/adapter suites: 108 tests, 107 passed and one native Windows API skip.
  • Documentation: 29 passed.
  • Standalone generator check, Python 3.9 grammar parse and git diff check passed.
  • Fixtures cover malformed metadata, list/doctor/dry-run/sender, exact limits/growth, FIFO/replacement, descriptor cleanup, permissions and Windows flag fallback.

Boundaries

Native Windows was simulated, not executed. No general filesystem timeout is claimed. No real message, installation, main merge, release or operational change is included. The lockfile-only dependency repair from PR #269 is included to unblock existing Control audit gates.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 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-07T06:55:29.577881Z e322d9b PR opened
🔒 Security Review ✅ Completed 2026-10-07T06:56:32.619850Z e322d9b 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 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: e322d9bf39

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.

@abruption abruption added this to the v1.0.4 milestone Oct 7, 2026
@abruption
abruption merged commit e00b7c5 into main Oct 7, 2026
28 checks passed
@abruption
abruption deleted the abruption/stability-267-20261007 branch October 7, 2026 09:00
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.

fix(claude): bound session registry reads and skip abnormal metadata

1 participant