ADR 0182: Restore Previous desk (dual-instance / post hard-deploy)¶
Статус: Accepted · Implemented (CDP 0.5.154)
Дата: 2026-07-25
Tags: #harness #continuity #desk #restore #agent-comfort #equal-standing #adr #cascade-ide #cdp
Резюме¶
- Restore Previous восстанавливает стол агента (project + session plane + open buffer paths), не полный LLM-контекст чата.
- Bookmark:
%LocalAppData%/cdp-mcp/desk-previous.json; autosave наcdp_open/ buffer open. - Инструмент:
cdp_restore(op=restore|peek); cockpitgo=restore. - Dual-instance: hard deploy на A → на B
cdp_restore— тот же desk без «напиши готово». - LLM chat continuity — отдельный follow-up (не этот ADR).
Связанные ADR¶
| ADR | Роль |
|---|---|
| 0177 | Когда MCP снова online — знать момент restore |
| 0175 | Chat Partition — ортогонально desk |
| 0166 | Comfort; stakeholder |
| 0180 | Shell tabs ещё process-scoped (не в MVP restore) |
Решение (реализовано в cdp-mcp)¶
DeskBookmark.Save/Restore/Peek.cdp_restore+go=restore|restore_previous|previous.- Out of MVP: dirty buffer text, shell tabs, LLM transcript.
Follow-up¶
- [ ] LLM chat context restore / handoff — 0183 (CIDE parked).
- [ ] Shell habitat persist (0180 backlog).
- [ ] CIDE palette IdeCommand → тот же MCP verb.