plan: design Claude Code hook integration#14
Conversation
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
|
the actual claude code hooks example EXPRESSLY has quoted executables. |
Capture the approved shape for installing Claude Code TaskCreated and TaskCompleted hooks under the kata hooks namespace. The design keeps Claude settings as thin wiring and puts runtime behavior behind a testable kata command so issue hygiene can evolve without generated scripts. Validation: design-only change; self-reviewed for stale command names, placeholders, and scope contradictions. Generated with OpenAI Codex Co-authored-by: OpenAI Codex <noreply@openai.com>
Address the design review gaps before implementation planning: pin the Claude task payload source, make installed hooks independent of PATH, define managed-handler ownership, specify issue lookup and invalid settings behavior, and split the work into reviewable implementation slices. Validation: design-only change; reviewed the spec for stale command names, placeholder text, JSON shape, and section numbering. Generated with OpenAI Codex Co-authored-by: OpenAI Codex <noreply@openai.com>
Refine the Claude hook design so kata, not Claude Code task IDs, owns the durable work identity. TaskCreated now creates or reuses a kata issue and returns the resulting kata number through Claude's exit-2 feedback path, avoiding a hidden mapping from Claude internals to project state. Validation: design-only change; checked for leftover task_id correlation language and reviewed the spec diff. Generated with OpenAI Codex Co-authored-by: OpenAI Codex <noreply@openai.com>
Record the unresolved product choice around TaskCreated behavior before implementation planning: the hook can either create/reuse the kata issue and return a concrete issue number, or only steer Claude to run the kata command itself. Validation: design-only change; reviewed the doc diff. Generated with OpenAI Codex Co-authored-by: OpenAI Codex <noreply@openai.com>
kata no longer resolves legacy numeric task refs, so the Claude hook design needs to steer models toward stored short_id refs and ULIDs instead of #N placeholders. Keep the lookup guidance conservative so bare short IDs are resolved only when task text clearly marks them as kata issue references.
Validation: checked for stale #N/{number}/positive-integer placeholders; GOFLAGS=-buildvcs=false go test -p=1 ./...
Generated with OpenAI Codex
Co-authored-by: OpenAI Codex <noreply@openai.com>
c030ea0 to
421f178
Compare
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: PassNo issues found. Review type: | Agent: codex | Job: 19213 |
Summary
kata hooks claudecommand namespaceValidation