Skip to content

fix(herdr): resolve durable handle binding regression and reconcile stale slots (#242) - #295

Merged
James3014 merged 1 commit into
mainfrom
fix/herdr-durable-handle-binding-recovery
Sep 26, 2026
Merged

James3014 merged 1 commit into
mainfrom
fix/herdr-durable-handle-binding-recovery

Conversation

@James3014

Copy link
Copy Markdown
Owner

This PR fixes the HERDR durable handle binding regression and stale slot recovery on the public dispatch path:

  1. Native path canonicalization and case-insensitive comparison on macOS (preventing false N4 Wrong Worktree rejections between /Users/james/Workspace and /Users/james/workspace).
  2. Proper pre-launch error persistence: failExternalRuntimePreLaunchCAS now handles FENCED state without silently swallowing early failures.
  3. Enhanced stale HerdR session reconciliation: supports reclaiming lost-handle sessions in FENCED and OUTCOME_UNKNOWN states after proving external absence in HerdR and inspecting clean physical workspace state.
  4. Eager stale session reclamation before agent preflight and start.

@James3014
James3014 merged commit c037532 into main Sep 26, 2026
12 of 13 checks passed
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