fix(setup): install distill/resume-write.sh — missing from hook copy list#316
Merged
Conversation
…list distill.sh calls hooks/distill/resume-write.sh at every PreCompact/SessionEnd (resume continuity lane), but setup.sh never copied it into ~/.claude, so every node installed via setup.sh logged "resume-write non-zero" (No such file) and ~/.claude/state/resume.md was never written. Result: the SessionStart "직전 세션에서 이어서" injection block stayed empty fleet-wide (verified live on dungae and daegyo; both repaired manually pending this fix). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
seoseo-ai
approved these changes
Jul 7, 2026
seoseo-ai
left a comment
Collaborator
There was a problem hiding this comment.
LGTM — CI green (validate-harness, bridge-tests 3.11/3.12, python-lint, secret-scan, CodeQL). resume-write.sh 설치 누락 수정 확인.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add
claude/hooks/distill/resume-write.shto setup.sh's distill hook copy list (was omitted when the script + distill.sh call landed).Why
distill.shL167 invokeshooks/distill/resume-write.shat every PreCompact/SessionEnd, but setup.sh never installed it. Every node showedresume-write non-zero+No such file or directoryin distill.log,state/resume.mdwas never written, and load-memory.sh's "직전 세션에서 이어서" SessionStart block stayed empty — i.e. cross-session resume memory silently dead fleet-wide.Evidence
bash: .../hooks/distill/resume-write.sh: No such file or directorywhiledistill-last.jsoncarried a validresumeobject (extracted then dropped)~/.claude/hooks/distill/had only 5 scripts vs repo's 6 runtime scriptsresume-write.sh < distill-last.json→ rc=0,state/resume.mdwrittenclaude/hooks/**is missing from setup.shRollout note
dungae/daegyo already repaired manually; other nodes get the fix on next self-update/setup.sh run.
🤖 Generated with Claude Code