Skip to content

fix(ce-compound-refresh): restore ce:compound hand-off#591

Merged
tmchow merged 1 commit intomainfrom
tmchow/compound-refresh-triggers
Apr 18, 2026
Merged

fix(ce-compound-refresh): restore ce:compound hand-off#591
tmchow merged 1 commit intomainfrom
tmchow/compound-refresh-triggers

Conversation

@tmchow
Copy link
Copy Markdown
Collaborator

@tmchow tmchow commented Apr 18, 2026

ce:compound recommends running ce:compound-refresh when a newly captured learning contradicts an older doc in docs/solutions/. That hand-off never fired — disable-model-invocation: true silently blocks every model-initiated Skill tool call, and only a user typing /ce:compound-refresh bypasses it.

Remove the flag and rely on description specificity to prevent accidental auto-fire, matching the guidance in plugins/compound-engineering/AGENTS.md for schedulable skills. The new description narrows positive triggers to explicit asks about docs/solutions/ (refresh, audit, sweep, clean up, consolidate) or an in-session ce:compound hand-off with a scope hint, and adds one negative clause excluding general refactor, migration, debug, or review work unless the user has pointed attention at docs/solutions/.

Verified by direct claude -p invocation with the new description installed under a fresh name: the positive phrase "refresh my compound learnings please" triggers the Skill tool with the scoped skill. Negative phrasing (README updates, Rails upgrades, flaky-test debugging, general code review) does not.


Compound Engineering
Claude Code

…language

The `disable-model-invocation: true` flag silently blocked the
ce:compound -> ce:compound-refresh hand-off documented in
ce:compound Phase 2.5 (the flag only permits user-typed slash
commands). Remove the flag and rely on description specificity
instead: tighter positive triggers (refresh/audit/sweep/clean up
on docs/solutions/, or ce:compound captured a contradictory
learning) and a single negative clause excluding general
refactor/migration/debug/review work unless the user has pointed
at docs/solutions/.
@tmchow tmchow merged commit 821c69c into main Apr 18, 2026
2 checks passed
@github-actions github-actions Bot mentioned this pull request Apr 18, 2026
@github-actions github-actions Bot mentioned this pull request Apr 22, 2026
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