Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #31: #31
What is the problem?
Completed sessions clutter history, and Resume can return to a parent instead of the task with unfinished work.
How does this PR solve the problem?
Session completion is root-only and changes only through explicit user actions. Completed sessions stay stored but are hidden by default; Show completed starts off. Resume follows the active delegation chain to its deepest task. Broken or cyclic chains open the root with a warning. A completed session must be reopened before Resume proceeds.
Opening or leaving a task no longer rewrites delegation state. Deleting a child repairs its parent atomically. Images and the draft remain until the extension confirms them.
How did you test the PR?
Verified this session: pnpm run bundle (4/4), pnpm run lint (10/10), and the actual pre-push hook (check-types 10/10), all using Turbo cache hits. Prettier check passed on all 61 changed files: 60 source/test/locale files plus the changeset after a formatting-only fix.
Documented in the companion test scorecard: 315 passed, 0 failed, 6 skipped across 12 session-history files; skips also exist at base. Runtime policy PASS against base. Tests were not rerun during PR preparation.
Manual acceptance remains pending by the user after opening: a live webview run, an extension reload, and a VS Code restart. New English UI wording is not user-approved. History-row Resume gives no feedback.
Pre-PR Code Review
Agent notes
Root completion field: sessionCompletedAt. Fixed F1: session actions on deleted tasks; F2: fallback always opens root; N1: edit guard error boundary. Manual acceptance: spec R3, R10.
Base: f22bb00.
Companion plans and scorecard PR: https://github.com/simurg79/roo-vault/pull/1420
Human gates: spec approved with wording tidy-up during design; design approved with four coding fixes; implementation approved as-is for user testing after PR opens.
Deferred Items
F4 (history-row Resume has no feedback) was accepted as non-blocking because it carries no draft; no follow-up issue was filed. Manual live-webview, extension-reload and VS Code restart acceptance remains with the user and is not filed here.