Skip to content

fix(execution): say why a delete keeps judgements and list a workspace whose roots are no paths - #821

Merged
harenome merged 1 commit into
ThinkFlowLab:mainfrom
harenome:fix/delete-keeps-unknown
Dec 3, 2026
Merged

harenome merged 1 commit into
ThinkFlowLab:mainfrom
harenome:fix/delete-keeps-unknown

Conversation

@harenome

@harenome harenome commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Closes #759

What

  • Malformed roots or job roots: Delete no longer raises; judgements stay.
  • Ownership unknown: the result says "Judgements kept because WHY", naming the workspace or root.
  • A run among roots that are not all paths: Delete refused before any write. Valid roots are detached; an unreadable holder keeps its older records and job roots for repair, and gains no index row for the deleted job.
  • Such a workspace is listed (Workspaces, Runs chooser, Roots dialog, nullius workspace list) with "Unreadable: repair its workspace.json"; Open, Rename, startup reopen and a named launch refuse it.

Touches

execution.py, workspace.py, workspace_cli.py, Workspaces and Runs templates, docs/judgement.md.

Verified

New tests fail on main or earlier rounds. Suites: 3862 backend, 1012 route, OK.

Risk

--json rows gain readable. Two known losses stay open (docs/judgement.md).

Agents

Claude Code, Opus 5.5
Codex, GPT-6.2-Astra (review)

@harenome
harenome marked this pull request as ready for review December 3, 2026 23:03
@github-actions github-actions Bot added the needs review Tests pass, no conflict, no verdict on its latest commit label Dec 3, 2026
@harenome
harenome merged commit 1340236 into ThinkFlowLab:main Dec 3, 2026
4 checks passed
@harenome
harenome deleted the fix/delete-keeps-unknown branch December 3, 2026 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs review Tests pass, no conflict, no verdict on its latest commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deleting a run drops judgements that an unreadable or malformed workspace may still hold

1 participant