Skip to content

feat(hooks): let the primer be disabled on its own - #23

Merged
chipfighter merged 1 commit into
mainfrom
feat/primer-toggle
Aug 2, 2026
Merged

chipfighter merged 1 commit into
mainfrom
feat/primer-toggle

Conversation

@chipfighter

@chipfighter chipfighter commented Aug 1, 2026 •

Copy link
Copy Markdown
Owner

Stacked on #22. Review that one first; this branch adds a single commit.

Why

The SessionStart primer is 1301 of the 4580-character fixed context budget —
28% — and nothing here has ever measured what it buys. Deleting it because
another project deleted theirs would be a guess. Keeping it because it feels
useful is the same guess wearing the other hat. CD_PRIMER=0 makes the question
answerable by changing that one variable.

Counting and guide seeding run before the opt-out, so switching the primer off
leaves every other side effect intact and keeps an A/B honest.

Version

Part of v0.9.0. The owner pulled it into the frozen scope and the v0.9.0 entry in
the project guide was amended to name it. Both manifests already read 0.9.0, so
this branch needs no further version change — merge it into #22 and ship the two
together.

Verification

Written test-first: the new case failed because the behavior did not exist, not
from a typo, then passed on an eight-line implementation. All four suites green.

Note for whoever runs the A/B: claude -p executes the installed plugin from
the plugin cache, not the working tree. An earlier attempt scored a CD_PRIMER=0
run as primer-off while the installed copy was 0.8.1, which has no such flag —
both conditions were primer-on and nothing was measured. Install the build that
contains the flag, then confirm EXTREMELY_IMPORTANT is absent from a live
stream before trusting any number.

🤖 Generated with Claude Code

The primer is fixed cost paid on every session, and nothing here has ever
measured what it buys. Deleting it because another project deleted theirs would
be a guess; keeping it because it feels useful is the same guess wearing the
other hat. CD_PRIMER=0 makes the question answerable by changing that one
variable.

Counting and guide seeding run before the opt-out, so switching the primer off
leaves every other side effect intact and keeps an A/B honest.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@chipfighter
chipfighter changed the base branch from feat/skill-portability-and-safety to main August 2, 2026 09:45
@chipfighter
chipfighter merged commit f45a6a2 into main Aug 2, 2026
2 checks passed
@chipfighter
chipfighter deleted the feat/primer-toggle branch August 2, 2026 09:48
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