Skip to content

Clear missing orphaned worktree mappings#421

Merged
yvette-carlisle merged 1 commit into
mainfrom
xy/fix-stale-worktree-mapping
Jun 17, 2026
Merged

Clear missing orphaned worktree mappings#421
yvette-carlisle merged 1 commit into
mainfrom
xy/fix-stale-worktree-mapping

Conversation

@yvette-carlisle

Copy link
Copy Markdown
Member

Summary

  • Clear runtime-provenance worktree mappings during live reconciliation when the checkout path is missing and no lease, active label, needs-attention label, shared claim, running attempt, or review handoff marker owns the lane.
  • Keep legacy_unknown mappings on the explicit legacy closeout audit path.
  • Add a Program reconciler regression test proving stale missing mappings no longer occupy conflict domains after reconciliation.
  • Update the runtime spec for the missing-orphan cleanup contract.

Validation

  • cargo make fmt
  • cargo make fmt-check
  • cargo test -p decodex program_reconciler --all-features
  • cargo test -p decodex reconciliation --all-features
  • cargo make check-rust
  • cargo make check-vstyle
  • cargo make test (1200 passed, 1 skipped)

Runtime evidence

  • Ran the fixed binary against the registered decodex project.
  • The stale XY-971 mapping was cleared and XY-971 is now a current lane: run_id xy-971-attempt-1-1781660047, current_operation agent_run.

@yvette-carlisle
yvette-carlisle merged commit 468612b into main Jun 17, 2026
14 checks passed
@yvette-carlisle
yvette-carlisle deleted the xy/fix-stale-worktree-mapping branch June 17, 2026 01:41
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.

1 participant