Skip to content

fix(setup): install distill/resume-write.sh — missing from hook copy list#316

Merged
seoseo-ai merged 2 commits into
mainfrom
fix/setup-install-resume-write
Jul 7, 2026
Merged

fix(setup): install distill/resume-write.sh — missing from hook copy list#316
seoseo-ai merged 2 commits into
mainfrom
fix/setup-install-resume-write

Conversation

@jinon86

@jinon86 jinon86 commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

What

Add claude/hooks/distill/resume-write.sh to setup.sh's distill hook copy list (was omitted when the script + distill.sh call landed).

Why

distill.sh L167 invokes hooks/distill/resume-write.sh at every PreCompact/SessionEnd, but setup.sh never installed it. Every node showed resume-write non-zero + No such file or directory in distill.log, state/resume.md was never written, and load-memory.sh's "직전 세션에서 이어서" SessionStart block stayed empty — i.e. cross-session resume memory silently dead fleet-wide.

Evidence

  • daegyo: distill.log repeated bash: .../hooks/distill/resume-write.sh: No such file or directory while distill-last.json carried a valid resume object (extracted then dropped)
  • dungae: same drift; ~/.claude/hooks/distill/ had only 5 scripts vs repo's 6 runtime scripts
  • Functional check after manual copy on daegyo: resume-write.sh < distill-last.json → rc=0, state/resume.md written
  • Sweep: no other runtime hook under claude/hooks/** is missing from setup.sh

Rollout note

dungae/daegyo already repaired manually; other nodes get the fix on next self-update/setup.sh run.

🤖 Generated with Claude Code

…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>
@jinon86 jinon86 requested a review from seoseo-ai as a code owner July 6, 2026 19:43

@seoseo-ai seoseo-ai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — CI green (validate-harness, bridge-tests 3.11/3.12, python-lint, secret-scan, CodeQL). resume-write.sh 설치 누락 수정 확인.

@seoseo-ai seoseo-ai merged commit 5a7f1c1 into main Jul 7, 2026
7 checks passed
@seoseo-ai seoseo-ai deleted the fix/setup-install-resume-write branch July 7, 2026 11:06
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.

2 participants