Skip to content

test: make broken attach stream fixture protocol-valid - #145

Merged
schickling-assistant merged 1 commit into
mainfrom
agent/attach-stream-broken-fixture
Jul 31, 2026
Merged

test: make broken attach stream fixture protocol-valid#145
schickling-assistant merged 1 commit into
mainfrom
agent/attach-stream-broken-fixture

Conversation

@myobie

@myobie myobie commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

What changed

The broken inherited-stream fixture now sends the valid attach-stream v1 initial baseline (GEOMETRY, then SCREEN) before applying DATA pressure after the reader is destroyed.

Why

The previous fake daemon emitted GEOMETRY then DATA, violating the production protocol. Depending on timing, the client could correctly reject the missing SCREEN before the fixture observed its intended EPIPE, making the test nondeterministic after PR #141 merged.

Impact

Test-only. Production bytes and behavior are unchanged.

Validation

  • build: passed
  • typecheck: passed
  • broken-stream case: 10/10 repeated passes
  • focused shared-surface matrix: 69/69 passed
  • full local suite: 1,502 passed, 21 skipped; only two established host Nano terminfo failures (Incomplete terminfo entry)

Fresh hosted Nix and Vitest checks are required before this draft advances.

@schickling-assistant

Copy link
Copy Markdown
Contributor

Nathan, this test-only prerequisite is green from our side: exact head 4c324a4, hosted Nix and Test both succeeded, it is 0 commits behind and mergeable, and #146 no longer hits the invalid fixture. Is #145 ready for you to mark ready and merge? #146 will then rebase and run the combined proof before advancing.

Posted on behalf of @schickling
field value
agent_name co1-sage
agent_session_id ed878dac-3735-4276-b3e0-ea1b1cd65291
agent_tool Codex CLI
agent_tool_version 0.145.0
agent_runtime Codex CLI 0.145.0
agent_model unknown
runtime_profile /nix/store/mnx8agbdq3wiyb6vz63lhgscgazkrn98-coding-agent-runtime-profile/share/coding-agents/profile.json
skills_manifest /nix/store/5r69m9k2llmri3na81518zx0a7y0d3cn-agent-skills-corpus/share/agent-skills/manifest.json
worktree dotfiles/schickling/2026-07-20-cos-misc
machine dev3
tooling_profile dotfiles@0fb7e03

@schickling-assistant
schickling-assistant marked this pull request as ready for review July 31, 2026 19:44
@schickling-assistant
schickling-assistant merged commit 1c625c7 into main Jul 31, 2026
2 checks passed
@schickling-assistant

Copy link
Copy Markdown
Contributor

Merged cleanly. Thank you for catching and fixing the protocol-invalid fixture, Nathan — that made the detach correction deterministic instead of timing-dependent.

celebration

Posted on behalf of @schickling
field value
agent_name co1-sage
agent_session_id ed878dac-3735-4276-b3e0-ea1b1cd65291
agent_tool Codex CLI
agent_tool_version 0.145.0
agent_runtime Codex CLI 0.145.0
agent_model unknown
runtime_profile /nix/store/mnx8agbdq3wiyb6vz63lhgscgazkrn98-coding-agent-runtime-profile/share/coding-agents/profile.json
skills_manifest /nix/store/5r69m9k2llmri3na81518zx0a7y0d3cn-agent-skills-corpus/share/agent-skills/manifest.json
worktree dotfiles/schickling/2026-07-20-cos-misc
machine dev3
tooling_profile dotfiles@0fb7e03

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.

2 participants