feat(domain): 0.12.0 — restore auto-USE half (SessionStart inject) inside /domain#423
Merged
Conversation
…side /domain 0.11.0 unified TRAIN under /domain but dropped skillopt-hook's auto-inject, so `/domain activate` wrote ~/.sidecar/domain-skill/active-skill.md that nothing read. Port the proven SessionStart pattern into the domain plugin itself — full parity (TRAIN + USE) now lives entirely under /domain, no revived plugin. - hooks/hooks.json: SessionStart → bin/_domain_skill_inject.sh - bin/_domain_skill_inject.sh: inject active-skill.md as additionalContext; optional agent-active marker appends the "PROPOSE /domain train" nudge; silent when nothing activated; never trains; always exit 0 (fail-open) - _domain_ml.sh: new `agent-active on|off` verb; activate wording de-hedged - domain.md: route agent-active to the ML dispatcher - validated: 3 hook cases (silent / inject body / inject + nudge) pass - g22 lockstep: plugin 0.12.0 ↔ marketplace 0.12.0 + CHANGELOG, same commit Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
0.11.0 unified TRAIN under /domain but dropped skillopt-hook's auto-inject, so
/domain activatewrote ~/.sidecar/domain-skill/active-skill.md that nothingread. Port the proven SessionStart pattern into the domain plugin itself —
full parity (TRAIN + USE) now lives entirely under /domain, no revived plugin.
optional agent-active marker appends the "PROPOSE /domain train" nudge;
silent when nothing activated; never trains; always exit 0 (fail-open)
agent-active on|offverb; activate wording de-hedgedCo-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com