Created
Jun 30, 21:40
Started
Jun 30, 21:46
Completed
Jun 30, 23:22
DevOps handoff
Type
Feature
Shape
backend
Worktree Slug
tool-call-capture-hook
Repositories
mcritchie-studio
Release Slug
—
Branch
feat/tool-call-capture-hook
Acceptance Criteria
Expected Test Plan
Checks Run
Agent Context
Phase B live-capture, half 2. A Claude Code PostToolUse hook (bin/ script or lib) reading the hook JSON on stdin (session_id, tool_name, tool_input, tool_response, cwd), mapping to the capture contract, deriving task_slug/stage/mascot from the active-feature marker (the bin/task marker the status line reads), and POSTing to POST /api/v1/atomic_actions (parallel task atomic-capture-api-endpoint). Contract fields: session_id, kind (tool name mapped: Read->read, Edit->edit, Bash->bash, etc), task_slug?, mascot?, input (tool_input), output (tool_response, truncated), outcome (ok/error), actor (agent), stage?, occurred_at. MUST be non-blocking — exit 0 ALWAYS, a hook failure can never break the session. Endpoint URL configurable via env (ATOMIC_CAPTURE_URL, default local :3000). Leave tokens/cost and event/result slugs null (not available from a hook). Provide the settings.json hook snippet + an install step (mirror bin/install-agent-docs). Do NOT modify the operator's global settings.json — document it; the orchestrator installs it after review.
Stage Timeline
Who handled each stage, the time it took (measured), and the model / tokens / cost reported (best-effort) — plus who's on it right now. — means the agent didn't report that metric.
Conversation
QA review feedback, agent handoffs, and follow-up notes for this task.
No task feedback has been recorded yet.
Sealed-bid sizing
Edit →Alex (PM)
—
Avi (PO)
MEDIUM
Dev
MEDIUM
Actual
XL
We emailed a one-tap sign-in link to . It expires shortly and can only be used once.
No email? Check spam, or close this and try again.