Skip to content

Pin only verified state and add explicit HEAD recovery - #8

Merged
hmirin merged 1 commit into
mainfrom
explicit-recovery
Oct 14, 2026
Merged

hmirin merged 1 commit into
mainfrom
explicit-recovery

Conversation

@hmirin

@hmirin hmirin commented Oct 14, 2026

Copy link
Copy Markdown
Contributor
  • Advance the client's continuity pins only after a complete connectivity
    check or a won compare-and-swap, including during listing when the refs are
    already connected.
  • Add git-e2ee recover, which classifies the remote HEAD (valid, invalid,
    unverifiable, unsupported, unavailable, discontinuous) and restores the
    latest acceptable ciphertext from carrier history. It refuses carrier
    history that contains merges.
  • Document the pin rules and recovery in docs/design.md and docs/spec.md.

Part of the split of #2; stacked on tags-and-ref-deletion.

- Advance the client's continuity pins only after a complete connectivity
  check or a won compare-and-swap, including during listing when the refs are
  already connected.
- Add `git-e2ee recover`, which classifies the remote HEAD (valid, invalid,
  unverifiable, unsupported, unavailable, discontinuous) and restores the
  latest acceptable ciphertext from carrier history. It refuses carrier
  history that contains merges.
- Document the pin rules and recovery in docs/design.md and docs/spec.md.
@hmirin
hmirin force-pushed the tags-and-ref-deletion branch from 5c29e05 to 95d9da7 Compare October 14, 2026 05:30
@hmirin
hmirin force-pushed the explicit-recovery branch from 4e1d168 to 24384b6 Compare October 14, 2026 05:30
@hmirin
hmirin changed the base branch from tags-and-ref-deletion to main October 14, 2026 05:34
@hmirin
hmirin merged commit 24384b6 into main Oct 14, 2026
2 checks passed
@hmirin
hmirin deleted the explicit-recovery branch October 14, 2026 05:35
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