-
Notifications
You must be signed in to change notification settings - Fork 3.5k
v0.9.5: prompt-scoped file recovery (restore workspace from a prior prompt) #5272
Copy link
Copy link
Open
Labels
agent-readySelf-contained for a fresh-clone cloud agent; implement in a tested PR with no live credentialsSelf-contained for a fresh-clone cloud agent; implement in a tested PR with no live credentialsenhancementNew feature or requestNew feature or requestreliabilityReliability, flaky behavior, retries, fallbacks, and robustnessReliability, flaky behavior, retries, fallbacks, and robustnesstuiTerminal UI behavior, rendering, or interactionTerminal UI behavior, rendering, or interactionuxUser experience, interaction, or presentation polishUser experience, interaction, or presentation polish
Milestone
Description
Metadata
Metadata
Assignees
Labels
agent-readySelf-contained for a fresh-clone cloud agent; implement in a tested PR with no live credentialsSelf-contained for a fresh-clone cloud agent; implement in a tested PR with no live credentialsenhancementNew feature or requestNew feature or requestreliabilityReliability, flaky behavior, retries, fallbacks, and robustnessReliability, flaky behavior, retries, fallbacks, and robustnesstuiTerminal UI behavior, rendering, or interactionTerminal UI behavior, rendering, or interactionuxUser experience, interaction, or presentation polishUser experience, interaction, or presentation polish
Projects
StatusShow more project fields
Backlog
Goal
From a prior user prompt, restore the workspace files that turn wrote (session snapshots) — not only transcript scrollback. Confirm before destructive restore; cooperate with git (do not discard user commits).
Why
When an agent damages the tree, recovery today is mostly
gitarchaeology or transcript nostalgia. Prompt-scoped file restore makes “undo that turn’s writes” a product feature.Current state (codewhale)
~/.codewhale/sessions/crates/tui/src/tui/history/,crates/state/Target
Acceptance criteria
just fmtcleanNon-goals
Depends on
Optional in the craft set — can ship after turn honesty and mid-turn control. Benefits from clearer session metadata (#5262) but can use current session store.
Related
Drive-while-working craft set.