Skip to content

fix: protect_tests uses repo base; show parked tasks as idle - #99

Merged
rimusz merged 4 commits into
mainfrom
cursor/verify-base-and-idle-c2ec
Nov 23, 2026
Merged

rimusz merged 4 commits into
mainfrom
cursor/verify-base-and-idle-c2ec

Conversation

@rimusz

@rimusz rimusz commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Protect tests against the task’s per-repo base, and show parked sessions as idle while keeping stored waiting.

Fixes #74 — protect_tests diffs and restores against output::base_branch (the same [[repo]] base used for worktree creation), falling back to repo_default_branch only when no per-repo base is set. Adds a regression test where the per-repo base is not main.

Fixes #83 — Human output (atr status, atr tasks, Telegram /status / /tasks, docs) maps stored waiting to idle. JSON, MCP, the database, keepwarm, GC, and self-heal settle still use stored waiting. /status idle is an alias for the done group.

Merged origin/main (v0.1.54, url 2.5.9 / RUSTSEC-2026-0592, built-in self-heal). Self-heal settle still keys off stored waiting; user-facing selfheal/status docs call that parked state idle.

Open in Web Open in Cursor 

cursoragent and others added 4 commits November 23, 2026 07:44
Reuse output::base_branch (the same [[repo]] base the worktree was cut
from) instead of the global repo_default_branch, so a repo on develop
does not restore or flag tests from main.

Fixes #74

Co-authored-by: rimusz <rimusz@users.noreply.github.com>
Map stored waiting to idle at display time in atr status, atr tasks,
Telegram /status /tasks /task, and compare show. JSON, MCP payloads,
and SQLite still use waiting. /status idle aliases the done group;
list_tasks accepts status=idle as waiting.

Fixes #83

Co-authored-by: rimusz <rimusz@users.noreply.github.com>
Bring in v0.1.54 self-heal and url 2.5.9.
Co-authored-by: rimusz <rimusz@users.noreply.github.com>
Self-heal from v0.1.54 still settles DB status waiting. User-facing
selfheal/status docs now call that parked state idle.

Co-authored-by: rimusz <rimusz@users.noreply.github.com>
@rimusz
rimusz merged commit 15835cb into main Nov 23, 2026
10 checks passed
@rimusz
rimusz deleted the cursor/verify-base-and-idle-c2ec branch November 23, 2026 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename task state "waiting" to "idle" for finished, resumable sessions protect_tests diffs against global default branch, not the repo's base

2 participants