Skip to content

claim orphans a run row and worktree when the Status write fails #16

Description

@slowernet

supervisor.rb:69. @board&.want is outside the transaction and outside the discard rescue. Proven: rows=1 status=running stage=nil worktree=true, holding a cap slot for the life of the database.

That orphan is also the poison row for the NULL-current_stage case (fixed 2026-08-21, but the age guard only papers over it).

Blocks a merge. Context: docs/notes/2026-08-20-plan-3a-review-triage.md, HIGH.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions