2code icon indicating copy to clipboard operation
2code copied to clipboard

Herdr v0.9.0 has no Windows live terminal attach (Task 10 gap)

Open AkaraChen opened this issue 2 months ago • 1 comments

Summary

Parent: #394. Discovered while verifying the Herdr integration contract (#395) against pinned Herdr v0.9.0 (b99002ac99b09e00b4ca692436cb15a6b0d676f1).

Herdr’s live terminal stream (herdr terminal session control/observe and herdr terminal attach) is Linux and macOS only. It is not available on native Windows. JSON control over a named pipe remains documented.

This does not block Tasks 2–9 (runtime boundary, sidecar, JSON socket client, snapshot sync, mapping). It does block a full Windows implementation of Task 10 (bridge live terminal frames) unless we pick another transport.

Verified / documented

  • Linux x86_64: terminal session control/observe works (frames are NDJSON terminal.frame with base64 ANSI; full distinguishes redraw vs incremental). See docs/herdr-integration.md.
  • Windows: Herdr docs state direct terminal attach is not native Windows. Not executed here.

Options for a later task

  1. Keep Windows experimental and JSON-only until Herdr ships a Windows frame stream.
  2. Implement a 2code-owned Windows helper that talks to Herdr’s binary client protocol if it exists on named pipes (unverified).
  3. Defer Windows frame bridging and document it as unsupported.

Do not treat the #395 contract as having verified Windows terminal frames.

AkaraChen avatar Sep 14 '26 03:09 AkaraChen

Leaving open: this Linux builder cannot execute a Windows live terminal session attach.

Tip evidence that this is still a platform gap, not a 2code code path we can close here:

  • docs/herdr-integration.md:438 matrix: Windows terminal session control/observe is unsupported.
  • src-tauri/crates/infra/src/herdr/terminal.rs:845 windows_attach_is_fail_closed (source assertion + cfg(windows) fail-closed). That is not a live Windows attach probe.

No fake Windows attach was run. #394 leftover Task 10 Windows transport remains open.

AkaraChen avatar Sep 16 '26 19:09 AkaraChen