File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -409,11 +409,20 @@ result_json=$(node .gaai/core/adapters/claude-code/nested-claude-spawn.js \
409409 --prompt-file " $IMPL_PROMPT_FILE " \
410410 --report-path " $IMPL_REPORT_PATH " \
411411 --story-id " {id}" \
412- [--impl-model-tag primary| secondary| absent] \
413- [--log-file " $GAAI_DELIVERY_LOG_FILE " ])
412+ [--impl-model-tag primary| secondary| absent])
414413rm -f " $IMPL_PROMPT_FILE "
415414` ` `
416415
416+ > ** DO NOT pass ` --log-file` to ` nested-claude-spawn.js` .** The wrapper auto-uses
417+ > the per-story log path from ` GAAI_DELIVERY_LOG_FILE` env (set by the daemon
418+ > wrapper to ` .delivery-logs/{id}.log` ). Passing this flag explicitly with the
419+ > daemon log path (` .delivery-daemon.log` ) — observed empirically when orchestrators
420+ > substitute the env-var name with what they think is the " delivery log" — pollutes
421+ > the daemon log with NDJSON, breaks the top monitor banner readability, and makes
422+ > the per-story panel blind to GLM secondary events (model field freezes on Sonnet
423+ > orchestrator). Omit the flag entirely; the env fallback at nested-claude-spawn.js
424+ > line 960-962 handles it correctly.
425+
417426The CLI exits 0 in all business-logic outcomes (success, fallback, env-missing). Distinguish via ` result.success` .
418427
419428** After the call — mandatory STORY_TRACE_ID overwrite:**
Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88---
99
10+ ## [ Unreleased]
11+
12+ ### Changed
13+ - fix(workflow): remove --log-file flag from nested-claude-spawn invocation
14+
1015## [ 2.22.0] - 2026-04-30
1116
1217### Changed
You can’t perform that action at this time.
0 commit comments