Skip to content

Validate public receive observer custody - #800

Merged
flip-engineer merged 2 commits into
codex/postrelease-751-761-20261015from
codex/public-receive-custody-20261017
Oct 17, 2026
Merged

flip-engineer merged 2 commits into
codex/postrelease-751-761-20261015from
codex/public-receive-custody-20261017

Conversation

@flip-engineer

@flip-engineer flip-engineer commented Oct 17, 2026 •

Copy link
Copy Markdown
Collaborator

Public receive and recover-observer retain the attempt’s output and session lock. Live observer recovery required an observer.log descriptor that these commands do not open, so valid public observers were refused. Validate the public arguments, database, session, process lifetime, output and lock. Internal --recover-receive also validates its log descriptor.

Validation: the exact-source Linux C harness compiles with -O2 -Wall -Wextra -Werror; all 14 process/pidfd/descriptor cases pass. The complete executable passes public receive → recovery → recovery with the same native identity and PID, strict output cursor progress 175 → 259 → 344, preserved raw inode, normal terminal cleanup and the original task’s native-reviewed receipt. An unrelated live process is refused and survives.

The executable was installed atomically on the homelab. Independent readback verifies SHA256 aac70b1a80ef5f2ba577d616d615abafd20e1513149590102e03585e80c90bb3, owner/group/mode and successful installed CLI smoke. Previous executables remain available as retained hardlinks. Source SHA256: 5142e3844039dc768717bcee5a5855b02db557707805e755a8b6ea61871239e1. The generated C preserves the qualified SQLite source from #798. The operator waived the full suite for this emergency change.

Extends #798; tracks #696 and #769. The Bend receive-memory change continues in #795; terminal process-lifetime handling continues in #801.

@flip-engineer
flip-engineer marked this pull request as ready for review October 17, 2026 05:08
@flip-engineer
flip-engineer merged commit 99e8311 into codex/postrelease-751-761-20261015 Oct 17, 2026
@flip-engineer
flip-engineer deleted the codex/public-receive-custody-20261017 branch October 17, 2026 05:08
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.

1 participant