Files
l0ng-ai af3b8b1373 Merge main into the sidebar-diff branch
main moved on by four PRs, one of which (#257, remote reopen/restart
recovery) reworks the same files this branch does. Five conflicts, all
the same shape: both sides added something new in the same place, and
both are wanted.

- `Host` grew `shells()` on main and `git_lines()` here — kept both, and
  likewise their `LocalHost` and `RemoteHost` implementations and their
  tests.
- `ControlRequest::deadline` gained a `Shells` arm on main and a
  `GitStream` arm here. Kept both, with a note on the `GitStream` arm
  that its budget covers only the *acceptance*: the reply is immediate
  and the data arrives as pushes, which answer to
  `GIT_STREAM_IDLE_TIMEOUT` instead.
- `docs/2026-07-27-remote-workspace-impl-contract.md` was deleted on main
  along with the rest of that batch of design docs, and modified here.
  Took the deletion. The paragraph this branch added to it recorded the
  `git_lines` / `GitStream` protocol delta, and it said that the code's
  own doc comments are authoritative once the contract has landed — which
  is exactly why losing it costs nothing: `Host::git_lines` and
  `ControlRequest::GitStream` carry that description themselves.

cargo test: 1600 passed / 0 failed. fmt clean, no new clippy warnings.
2026-07-29 19:32:25 +08:00
..