myxce/.claude
Rongsong Shen 651b513850
fix(xce-build skill): dispatch builds via Bash run_in_background, not Agent subagent
Replaces the "always dispatch via the Agent tool" instruction with a
direct Bash-tool run_in_background pattern, following the harness's
own task-notification mechanism instead of trusting a subagent's
self-reported "I'll report back."

Confirmed broken 2026-09-03: a general-purpose subagent given the
exact "wait for it, do not background it" instruction redirected the
build to a log file, announced it would report back once finished,
and returned immediately with no result -- its own Agent-tool call
showed completed with nothing to relay. The harness did eventually
deliver a second, fuller notification for that same subagent several
minutes later, but a controller cannot rely on that arriving, per the
prior "fork claimed will report back, never reachable in a new
session" incident already logged in .wolf/cerebrum.md.

The new pattern (proven reliable twice this session: a full `all
debug` build and a `controller` ASAN rebuild) runs the resolved
command directly with Bash's own run_in_background, waits for the
harness's real completion notification, then reads only the log's
tail plus a targeted error grep -- keeping context usage low without
depending on a subagent's compliance.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YAWMhfRJFnmmnG8h97yUDd
2026-09-03 09:09:42 +00:00
..
rules chore(wolf): checkpoint buglog.json (1062 bugs) 2026-08-27 08:27:43 +00:00
skills fix(xce-build skill): dispatch builds via Bash run_in_background, not Agent subagent 2026-09-03 09:09:42 +00:00
settings.json chore(wolf): checkpoint buglog.json (1062 bugs) 2026-08-27 08:27:43 +00:00