Repository navigation
Description
A Class C candidate under
ADR 0028.
The ADR gates the proposal; it does not mandate the split. A decline with recorded reasoning
closes this issue.
The shape
claude-ops carries 12 skills and nine hooks across nine distinct events — the widest event
surface in the fleet:
| Event | Hook |
|---|---|
StopFailure |
api-error-audit.sh |
ConfigChange |
config-change-audit.sh |
InstructionsLoaded |
instructions-loaded-audit.sh |
PermissionDenied |
permission-denied-audit.sh |
PreCompact |
pre-compact-audit.sh |
PostToolUse (Skill) |
skill-usage-audit.sh |
UserPromptExpansion |
skill-usage-expansion-audit.sh |
PostToolUseFailure |
tool-failure-audit.sh |
Stop |
hook-failure-audit.sh |
Every one is a telemetry recorder. That coherence is the strongest split case in the fleet: the nine
hooks are one feature (session observability) and the twelve skills are a different feature
(operational audits and briefings).
What to decide
The specific question here is not "skills versus hooks" but whether the audit skills READ what the
hooks WRITE. If /claude-ops:observability and /claude-ops:morning-brief consume the telemetry
these hooks record, the two halves are one feature with two surfaces, and splitting them ships a
consumer a reader with no writer or a writer with no reader — the disk-hygiene failure mode ADR 0028
names for Class B.
Check that first; it likely decides the issue on its own.
If they are genuinely independent, the split has a real consumer: someone who wants the ops skills
without nine always-on hooks recording every event of their session.
The bar a split has to clear
Per the ADR, plus one specific to this plugin: nine hooks across nine events means the hook half
would be a substantial plugin in its own right, not a fragment — which cuts in FAVOUR of the split if
the coupling test above passes.
Constraints
- Every
<name>_enableduserConfig boolean stays either way. - The telemetry sink convention (
docs/conventions/hook-telemetry/) is shared with other plugins;
a split must not fork it.
Related
- PreToolUse guard remediation: scratch-root default, kill-switch hoist, MCP coverage, two conventions #3719 — the audit that produced the taxonomy
- ADR 0028 — the classification and the bar
Activity
fix(hooks): PreToolUse guard remediation — scratch-root default, kill…
kyle-sexton commentedon Sep 23, 2026
This was generated by AI during triage.
Decision defaulted: decline the split — veto before merge
kyle-sexton commentedon Sep 23, 2026
This was generated by AI during triage.
Agent Brief
Type: Task
Summary: Decline splitting claude-ops's nine observability hooks from its 12 skills, recording why they stay one package.
Current behavior:
claude-ops ships as one plugin with 12 skills and nine hooks spanning nine distinct events (covering API errors, config changes, instruction loads, permission denials, pre-compaction, skill usage, prompt expansion, tool failures, and unsurfaced hook failures), each recording telemetry through a shared envelope format, plus a default-off per-session event log. This is the widest hook-event surface in the fleet, which is what puts the plugin on ADR 0028's Class C candidate list.
Desired behavior:
Defaulted decision: decline the split. Maintainer-vetoable alternative: split the nine observability hooks into a separate plugin from the 12 skills.
Close the issue recording that the observability and morning-brief skills read the telemetry these nine hooks write, confirmed by the skills' own reference material describing how they query and route that recorded data. The hooks and the skills are one feature (session observability) with two surfaces — a writer and a reader — not independently useful halves; splitting them would ship one surface without the other, the coupling failure mode ADR 0028 names as disqualifying.
Key interfaces:
<name>_enableduserConfig boolean — must remain independently availableAcceptance criteria:
Out of scope:
kyle-sexton commentedon Sep 26, 2026
Closing in the backlog-drain close sweep: won't-fix. Evidence: Triage: "Decision defaulted: decline the split"; ADR 0028 L74: "no Class C split is urgent"