Skip to content

fix: recover owned Treehouse backing and pin recovered-alias repair - #53

Open
dimajarkov wants to merge 2 commits into
masterfrom
codex/treehouse-recovered-pin
Open

dimajarkov wants to merge 2 commits into
masterfrom
codex/treehouse-recovered-pin

Conversation

@dimajarkov

@dimajarkov dimajarkov commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Summary

immutable owned Treehouse source pin
  -> explicit recovered-shadow repair capability
  -> exact-digest installation recovery
  -> existing admission/owner/state gates and private backups

Pin the recovered-alias extension and add an explicit recovery path for independently replaced backing bytes.
Default updates still refuse unknown provenance.
Recovery requires the exact operator-approved backing digest, unchanged wrapper, verified previous package and matching prior admission policy.

Evidence

  • Before: An upstream replacement disagreed with the saved managed receipt and policy, correctly blocking updates.
  • After: Explicit recovery preserves the unexpected binary, drains its users without signals and installs the reviewed package under the existing maintenance fences.

Exact dotfiles head: c81394eebce181b3d3389c7db9652868e2a8d27f.
Pinned source: dimajarkov/treehouse@0b60a12ff9f3ef22e10fb3c765be1e3c60678971, reviewed in dimajarkov/treehouse#2.

  • Nix package build and all 16 installer/package behavioral checks passed.
  • Ruff formatting/check and git diff --check passed.
  • Full Treehouse Go tests, vet, formatting and Windows amd64 build passed.
  • Explicit owner-approved live recovery succeeded with registry unchanged; the unexpected backing is retained privately.
  • Subsequent exact-target repair confirmed four duplicate removals with all 20 original leases, four branches and 17 unfinished files preserved; normal installation planning passes afterward.
  • No broad Home Manager or system activation was performed.

Merge Danger

Door: Two-way.
Private archives retain original artifact bytes, policy and guarded recovery context.

Blast Radius: Local.
Recovery is opt-in and cannot override wrapper drift, unknown prior artifacts, foreign policy, changed state or later owner edits.
No initial bootstrap, lease release, worktree reset, provider operation or application runtime startup is performed by the installer.

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