Skip to content

Bound package proof publication to the current TTY generation - #509

Merged
hanthor merged 3 commits into
mainfrom
fix/package-serial-lifecycle
Sep 27, 2026
Merged

hanthor merged 3 commits into
mainfrom
fix/package-serial-lifecycle

Conversation

@hanthor

@hanthor hanthor commented Sep 27, 2026

Copy link
Copy Markdown
Member

Run 36339827190 at 2e5f2d2 failed when the package helper wrote the old-phase installed record through a serial descriptor retained across package changes. The write, failure publication, and stream close returned EIO. The host never received the required later records. The original artifact and owned-process reap remain retained; package acceptance is unknown.

Open the current fixed serial device for each bounded record, require a character device and positive TTY observation, and close it after publication. Nonblocking writes have one three-second deadline and a 64 KiB record limit. A failed or partial publication refuses acceptance; bytes are never retried.

Four native private-PTY controls and all 119 package controls pass. The actual prior main AST fails after a native PTY hangup, while the current writer publishes through the fresh private generation. This establishes the descriptor mechanism, without identifying the actual guest actor. Unread PTY, dead current TTY, /dev/null, regular files, and oversized records refuse. A removed TTY guard makes its consumer test red. Current source pins and preserved historical provenance pass.

Current main a1b4974 is integrated. No corrected guest execution, package installation acceptance, firmware acceptance, or desktop acceptance is claimed. No runtime retry is dispatched by this PR.

@hanthor
hanthor marked this pull request as ready for review September 27, 2026 18:53
@hanthor
hanthor merged commit f3890fc into main Sep 27, 2026
16 checks passed
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