You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue #71 / PR #75 landed .claude/scripts/log-worker-tool.sh as a SPIKE, disabled by default: a PostToolUse hook that mirrors worker Bash/Edit/Write calls to .claude/state/worker-tools.jsonl (zero agent tokens, capped at 2000 lines). The stated exit criterion — gather signal/noise and log-growth evidence on a real orchestrated run before committing to always-on mirroring — has not been executed yet.
Change
Evaluate: enable the hook (wiring snippet is in the script header), run at least one real multi-worker fan-out, and record findings on the issue: lines/hour, rotation behavior, whether the Bash summaries are readable, any noise sources worth filtering.
Decide: if the evidence is good, flip the hook to enabled-by-default in .claude/settings.json (and the setup skill's scaffolding); if not, document why and what would change the call.
Payoff: extend the cockpit worker-inspector drawer (issue Cockpit 3b: worker inspector drawer (timeline + worktree forensics + breadcrumbs) #70) with a "Live activity" section — the most recent worker-tools.jsonl records attributed to the worker's worktree path, newest first, rendered via textContent only (same XSS contract as the rest of the drawer). Extend GET /api/worker/<role>/<task> to include them.
Done when
Evaluation findings are posted on this issue.
The enable/disable decision is made and reflected in settings + docs.
If enabled: the drawer shows live tool activity per worker, with tests in cockpit.test.sh covering the new API field (including the no-log-file case).
Context
Issue #71 / PR #75 landed
.claude/scripts/log-worker-tool.shas a SPIKE, disabled by default: a PostToolUse hook that mirrors worker Bash/Edit/Write calls to.claude/state/worker-tools.jsonl(zero agent tokens, capped at 2000 lines). The stated exit criterion — gather signal/noise and log-growth evidence on a real orchestrated run before committing to always-on mirroring — has not been executed yet.Change
.claude/settings.json(and the setup skill's scaffolding); if not, document why and what would change the call.GET /api/worker/<role>/<task>to include them.Done when