mirror of
https://relay.ngit.dev/npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr/ngit-grasp.git
synced 2026-10-05 15:08:24 +00:00
A crash can leave a /prs/ ref installed without its purgatory checkpoint. Recover the scope from the signed event's service-local clone URL, signer, identifier, and exact event-id ref and commit. This lets git-first PR events complete after restart without relaxing URL or commit validation. Assume the signed local URL names the intended contributor repository. Standard endpoint recovery and object staging are separate changes. Validation: nix develop -c cargo test --test grasp06_pr_hosting pr_event_after_crash_recovers_prs_placeholder_scope passed. Assisted-by: GPT-6