eval: cover pty attach outcomes and roles - #69
Conversation
|
Review gap at exact head |
|
Addressed at The deterministic self-test passes, and the packaged current PTY composition at Posted on behalf of @schickling
|
cb8d064 to
cb7e3cd
Compare
|
Final review receipt at exact head
This is ready for your review. No canonical merge was performed by the author lane. Posted on behalf of @schickling
|
666eb27 to
7aef55c
Compare
|
Nathan authorized merge if the eval remains sound and green. I reviewed current head |
Why
The machine attach stream needs to distinguish intentional local detach from transport truncation, and one socket must be able to replace its read-only or writable role without reconnecting. Source-level unit tests do not prove either behavior through the shipped launcher and live daemon protocol boundary.
What
Adds one model-free
pty-attach-outcomes-and-rolescell covering:DETACH, clean EOF, and status zero after Ctrl+\;EXITorDETACH, with an integer nonzero attach exit code and no terminating signal;PEEK -> ATTACHrestoringDATA,RESIZE, and min-grid participation;ATTACH -> PEEKsuppressingDATAandRESIZEand removing its geometry constraint;The eval VRS spec traces the cell to existing R01, R04, R05, R07, and R11. No requirements text changes are needed because those requirements already define executable, mutation-valid, hermetic eval contracts.
Oracle design
Negative assertions use protocol barriers rather than timing guesses. Synthetic mutations prove that the truncation oracle rejects both a successful status and
code: nullwith a non-null signal. Cleanup mutations prove that an empty catalog cannot conceal a live captured daemon or child PID.Merged-artifact receipt
9eb958c5aae026d5c05690ab72b528662c55708dnix build github:compoundingtech/pty/9eb958c5aae026d5c05690ab72b528662c55708d#pty --no-link --print-out-paths:/nix/store/qii7qblg90qnwch6jq2pp5rbyrpdra66-pty-0.1.0; executable SHA-2568c7f4d8076f03ff68756d76b0f89613c0de2e6bf9e89e08798361b4a18660d4cst2 eval:7 PASS / 0 FAIL / 7 gating judgesvision.mdandrequirements.md: unchangedd5fabc3: expected red,1 PASS / 6 FAILPublication metadata
Source files and commit messages are sanitized. The managed GitHub wrapper injects the remaining PR footer and re-adds it after edits; removing that infrastructure-owned metadata requires a human or tooling-owner action.
Posted on behalf of @schickling
agent_nameagent_session_idagent_toolagent_tool_versionagent_runtimeagent_modelruntime_profileskills_manifestworktreemachinetooling_profile