You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6451b53
Browse filesBrowse the repository at this point in the historyBrowse files
🧾 Hold a retained switch result to the identity and transition it claims
Review of 787dca5 found three ways a retained result or a failure could still
say something this run cannot have produced.
**A Worktree's name and its path are one identity.** The protocol checked that a
named Worktree used a non-primary path containing the working directory, which a
result naming one Worktree at another's path satisfies. Placement is a function
of identity and the function is the provider's, so the shared protocol cannot
decide it and now does not pretend to: it parses the structure and the agreement
with the request, and the Deno provider holds the parsed identity to
`placedCheckout()` — recomputed, so a replayed result is checked without reading
anything.
**Switching to the branch you are on moves nothing.** The transition rules
required an unchanged commit and HEAD tree for that case but let the index digest
change, which describes a staging this component does not do. The index tree is
now held unchanged too.
**No enclosing `<Repository>` is missing authority, not a refusal.** It raised a
printable `GitOperationError`, so an authored `<PrintErrors>` region could settle
it as data and run the siblings after it as though a branch had moved. It now
raises `GitOperationAuthorityError` like every other authority failure, travels
past every printing boundary, and `no-repository-context` leaves the Git refusal
vocabulary. The component header described the working-directory failures as
printable refusals; it now describes both kinds and which is which.
Three regressions, each mutation-checked against the correction it covers: a
linked-Worktree replay whose retained name no longer matches its placement, one
whose path is given to no name, and a no-op transition whose retained index
changed — all fail closed with no Git — plus the missing-Repository failure
asserted through an authored region.
0 commit comments