os-sdlc phase 3.5: register the PostToolUse hook in the marketplace manifest #333

Open
opened 2026-08-09 13:07:33 +00:00 by jared · 2 comments
Owner

Hook registration/matcher config is explicitly TBD (dispatch-hook.md). Do this LAST before shakedown — registration makes the runner live on every Agent call machine-wide. Depends on #330 and #332.

Hook registration/matcher config is explicitly TBD (dispatch-hook.md). Do this LAST before shakedown — registration makes the runner live on every Agent call machine-wide. Depends on #330 and #332.
Author
Owner

Deviation incident 2026-08-15 — /os-sdlc:implement run for #402+#405, session https://claude.ai/code/session_01GSYJVRGmBiLGjPppHjY3bZ. Deviating skill: plugins/os-sdlc/skills/implement/SKILL.md.

Expected: the PostToolUse hook advances the pipeline on its own when a pipeline agent finishes. Actual: every stage of both tickets needed hand-piped bare-name events (echo '{"tool_name":"Agent","tool_input":{"subagent_type":"code-probe"},"cwd":...}' | ruby plugins/os-sdlc/hooks/post_tool_use.rb) because (a) the hook is not armed in the marketplace manifest and (b) dispatches carry namespaced subagent_type (os-sdlc:code-probe) which the hook does not map to bare stage names. Note the events must use tool_name Agent, not Task. Repro context: any /os-sdlc:implement run in a session on this machine.

Deviation incident 2026-08-15 — /os-sdlc:implement run for #402+#405, session https://claude.ai/code/session_01GSYJVRGmBiLGjPppHjY3bZ. Deviating skill: plugins/os-sdlc/skills/implement/SKILL.md. Expected: the PostToolUse hook advances the pipeline on its own when a pipeline agent finishes. Actual: every stage of both tickets needed hand-piped bare-name events (echo '{"tool_name":"Agent","tool_input":{"subagent_type":"code-probe"},"cwd":...}' | ruby plugins/os-sdlc/hooks/post_tool_use.rb) because (a) the hook is not armed in the marketplace manifest and (b) dispatches carry namespaced subagent_type (os-sdlc:code-probe) which the hook does not map to bare stage names. Note the events must use tool_name Agent, not Task. Repro context: any /os-sdlc:implement run in a session on this machine.
Author
Owner

Frozen in the 2026-08-16 backlog reset — see #419 for the expiry procedure. Do not work unless a live run rediscovers this issue.

Frozen in the 2026-08-16 backlog reset — see #419 for the expiry procedure. Do not work unless a live run rediscovers this issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jared/cc-os#333
No description provided.