Skip to content

perf(inject): per-recipient session registry + caveman lessons (0.1.108) - #118

Merged
brunoazoulay merged 3 commits into
mainfrom
perf/inject-session-dedup
Oct 12, 2026
Merged

brunoazoulay merged 3 commits into
mainfrom
perf/inject-session-dedup

Conversation

@brunoazoulay

Copy link
Copy Markdown
Collaborator

Summary

  • perf(inject): per-recipient session registry — Claude Code hook injections delivered in full (chunks < 9 500 chars, no 2 KB preview), loader-copy ownership, duplicate trimming, per-prompt recall kept; codex/cursor/kimi/gemini byte-identical.
  • feat(lessons): Stop reminder + per-prompt suffix ask for caveman-style lessons; MEMORY/LESSON.md compacted, triggers unchanged.
  • chore: version 0.1.108 + CHANGELOG.

Test plan

  • bun run build green
  • bunx tsc --noEmit exit 0
  • HOME=$(mktemp -d) bun test: 3334 pass, 0 fail
  • CI green

Breaking changes

None

…ections

Claude Code hook injections are delivered in full: blocks are chunked
under 9 500 chars so no 2 KB preview truncation, the loader copy owns
each block, true duplicates are trimmed and the per-prompt recall is
kept. The registry is dropped on SessionEnd; pre-tool lessons fire once
per session/sub-agent. codex/cursor/kimi/gemini output is byte-identical.
The Stop reminder and the per-prompt lessons suffix now ask for
telegraphic bullets that never drop not/never/no/only and keep
commands, paths and numbers verbatim. MEMORY/LESSON.md compacted
to caveman style, triggers unchanged.
@brunoazoulay
brunoazoulay merged commit 396a0d8 into main Oct 12, 2026
1 check passed
@brunoazoulay
brunoazoulay deleted the perf/inject-session-dedup branch October 12, 2026 19:14
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