Repository navigation
Design automatic cloud terminal recovery - #1100
alexeyzimarev wants to merge 2 commits into
Conversation
|
Please treat M1 terminal-engine qualification as a hard prerequisite for freezing the M2 wire contract and enabling M4 automatic recovery. The design review establishes a coherent approach; checkpoint fidelity and performance remain unverified. XTerm.NET is a candidate, not yet a proven checkpoint provider. The qualification should produce reproducible tests and measurements covering:
Record the exact engine/version, supported-feature manifest, fixtures, commands and benchmark results with this PR. Unsupported behavior must be explicitly excluded or consistently normalized in both live playback and restoration. If qualification fails, revise the engine/profile or recovery design before proceeding with the dependent protocol work. The already-merged nonblocking sink and lifecycle tests remain useful foundations; reuse them while this feasibility gate is proved. |
Closes #1022 — AI-2962
What & why
Cloud-output congestion can block the PTY read loop and freeze local terminals. This draft specifies bounded journals and acknowledged terminal checkpoints so cloud mirroring recovers automatically while local output continues. Release includes automatic snapshot/resync recovery.
Where to look
Terminal-engine qualification, delivery ordering, and bounded memory across the daemon, server, and viewers are the main implementation constraints. Keep this PR in draft until implementation and qualification are complete.
Verification
git diff --check 72553b0d..de290e47passed. The committed changes contain only the design document; implementation tests remain pending.