Third member of the ARG_MAX family (after #723 kimi, #724 synth prompts), found in the same live feedback-machine loop (2026-07-08): skillopt train continue at the publish-review-packet step failed with fork/exec /usr/bin/gh: argument list too long. The session's 3 review items are synth-generated with large briefs (full context + rubric each), so the composed GitHub issue body exceeds the exec arg limit.
Fix: the gh publish path should write the body to a temp file and use gh issue create/comment --body-file <path> (never --body <huge-arg>); same for any other gh invocation that embeds packet content. Grep internal/cli for gh exec sites with body arguments and audit them all.
Non-blocking for the loop: the markdown export/import path works and TrainingReady is reachable locally (the export produced the packet fine); GitHub publish is the optional mirror.
Third member of the ARG_MAX family (after #723 kimi, #724 synth prompts), found in the same live feedback-machine loop (2026-07-08):
skillopt train continueat the publish-review-packet step failed withfork/exec /usr/bin/gh: argument list too long. The session's 3 review items are synth-generated with large briefs (full context + rubric each), so the composed GitHub issue body exceeds the exec arg limit.Fix: the gh publish path should write the body to a temp file and use
gh issue create/comment --body-file <path>(never--body <huge-arg>); same for any other gh invocation that embeds packet content. Grep internal/cli for gh exec sites with body arguments and audit them all.Non-blocking for the loop: the markdown export/import path works and TrainingReady is reachable locally (the export produced the packet fine); GitHub publish is the optional mirror.