Skip to content

Commit ff1b28b

Browse files
authored
Merge pull request #271 from Fr-e-d/contrib/sync-1777568550
sync: update 2 file(s) in core/
2 parents 9f82ef8 + a84bcf6 commit ff1b28b

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

.gaai/core/workflows/delivery-loop.workflow.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff 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])
414413
rm -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+
417426
The 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:**

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)