Skip to content

Commit 07b569f

Browse files
committed
plan-044 §8: record permanent activation (lock-pinned deploy, verified)
Supersedes the ephemeral --override-input deploy: ff-pushed plan-044 to origin/main (840a5fd), bumped nixcfg-work flake.lock nixcfg rev, plain home-manager switch, verified the deployed hook persists (same yvp6 store hash) after a no-override switch. Notes the bounded 043-scrub coupling and the optional nixcfg-work work-remote push follow-up.
1 parent 840a5fd commit 07b569f

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.claude/user-plans/044-paste-free-session-resumption.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,37 @@ task), source B correctly yielded nothing and the hook **fell through B→A** to
322322
— demonstrating the precedence chain on the real artifact. The loop fires paste-free for every new
323323
session in this worktree until a plain nixcfg-work switch reverts it.
324324

325+
### PERMANENT activation — done + verified 2026-06-21
326+
327+
The ephemeral `--override-input` deploy above is now **superseded by a permanent lock-pinned deploy.**
328+
Executed the documented cross-repo sequence (user-approved; touches `main`):
329+
330+
1. **ff-push** `plan-044` HEAD → `origin/main`: clean fast-forward `f916d7c..840a5fd` (no merge commit;
331+
`main` was the exact ancestor). All 9 plan-044 commits verified **free of AI-attribution trailers**,
332+
so they add nothing to the deferred 043 scrub's dirty set. Local `main` pointer moved to match
333+
without a checkout (working tree + untracked files untouched).
334+
2. **nixcfg-work lock bump** (branch `feat/darwin-support`): `nix flake update nixcfg`
335+
`f916d7cb``840a5fd` (only the nixcfg rev line changed; `follows` inputs unchanged because
336+
plan-044 never touched nixcfg's own `flake.lock`). Committed as `8741b71`; nixcfg-work's pre-commit
337+
flake check passed.
338+
3. **Plain `home-manager switch`** `--flake '/home/tim/src/nixcfg-work#tim@pa161878-nixos' -b backup`
339+
(NO `--override-input`): exit 0.
340+
4. **Verification (post-plain-switch):** all three deployed account settings
341+
(`.claude-{max,pro,work}/settings.json`) reference `/nix/store/yvp6…-claude-resume-hook` — the
342+
**byte-identical store hash** as the ephemeral deploy (same content → same path), proving the lock
343+
bump reproduces the exact plan-044 hook. Re-fired the deployed hook with CC-shaped stdin → exit 0,
344+
valid `hookSpecificOutput` envelope, B→A fall-through to `HANDOFF.md`. A plain switch no longer
345+
reverts the hook — **permanent on this host.**
346+
347+
**043-scrub coupling (bounded, not worsened):** the deferred scrub rewrites from `cc71386`, rehashing
348+
ALL descendants — it already orphans whatever nixcfg rev nixcfg-work pins (`f916d7cb` before, `840a5fd`
349+
now), and 043 Step 5 already commits to re-locking nixcfg-work post-scrub. This activation rides that
350+
same wave and adds nothing to it (clean commits, normal ff-push, no force).
351+
352+
**Optional follow-up (NOT done):** the nixcfg-work lock commit `8741b71` is local-only on
353+
`feat/darwin-support`. Pushing it to git.panasonic.aero would propagate the hook to colleagues' clones;
354+
not required for this host and out of scope here.
355+
325356
---
326357

327358
## 10. Prior-art research + design decisions (2026-06-20)

0 commit comments

Comments
 (0)