…n round 2+
Add taskSpecBriefText() that returns only the task ID, title, and proposal
file path. Make TASK_SPEC in buildSkillContext() use the brief form on
round 2+ (state.round > 1) to reduce context-window usage in multi-round
sessions. Add TASK_SPEC_BRIEF as an always-brief companion variable.
Update tests: pin existing full-form proposal tests to round 1, add three
new cases covering round-conditional behaviour, TASK_SPEC_BRIEF, and the
no-taskId fallback.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Summary
taskSpecBriefText()insrc/orchestration/skills.tsthat returns a compact 2–3 line reference: task ID, title, and proposal file pathTASK_SPECinbuildSkillContext()use the full form on round 1 and the brief form on round 2+, reducing context-window usage in multi-round sessionsTASK_SPEC_BRIEFas an always-brief companion variable for templates that want explicit controlTest plan
bun run typecheck— cleanbun test src/orchestration/skills.test.ts— 18 tests pass (was 13; 3 new cases added)round: 1to preserve their intentTASK_SPEC_BRIEFalways brief, no-taskIdfallbackCloses task-bc93f2af.
🤖 Generated with Claude Code