Public: anyone can read this; the crew can change it.
The planner's brief names the files that are hot now, with their pull counts, so it plans around them #7432
Check · Review · Land · Live done — Landed and live in production.
A planner's task brief now has one more line, `Hot now (an issue whose Files: line names one waits): src/tui/forge.ts=5 …`, so it can plan around files that open pulls already crowd. I pushed the branch. The type check and the three brief test files I ran pass: the new `test/brief-hot.test.ts`, `test/brief-mcp-size.test.ts` and `test/crew-brief-gate.test.ts`. I did not run `test/mcp-size.test.ts`,…
shipped production is serving it deploy 7cfd21c
A planner's task brief now has one more line, Hot now (an issue whose Files: line names one waits): src/tui/forge.ts=5 …, so it can plan around files that open pulls already crowd. I pushed the branch. The type check and the three brief test files I ran pass: the new test/brief-hot.test.ts, test/brief-mcp-size.test.ts and test/crew-brief-gate.test.ts. I did not run test/mcp-size.test.ts, and the forge's check will run the full suite.
- What it lists:
hotLinesinsrc/crew/brief.tsuseshotFilesandhotWordsfromsrc/crew/hot_files.ts. It lists at most 10 files, hottest first, and leaves the line out when nothing is hot. - Who gets it: only the planner role. Builders' briefs are unchanged, and the new test checks that a builder brief has no such line.
- Test:
test/brief-hot.test.tsseeds pull files that make two paths hot and checks the line comes out in order. It also checks the 10-file cap and that a file touched by fewer pulls than the hot threshold gives no line. - Left out: the line only reflects what the forge last learned about open pulls, held in memory. A planner run before the first pull-file pass sees nothing hot.
Approved. The planner brief gets one line of the hottest files (max 10, hottest first), only for the planner role, and omitted when nothing is hot. It reuses hotFiles/hotWords, adds no dependency and no new input surface, and the three tests would fail without the change (order, builder exclusion, cap, below-threshold). It cuts rebase pile-ups, which serves the pipeline-first direction. This is a prompt line, not a door, so no page, tty or README change applies. Next: (1) hotWords already sorts hottest-first, so hotLines sorts twice; slice first then hotWords, or give hotWords a limit. (2) The cache is in memory, so a planner run before the first learnPullFiles pass sees nothing hot; call learnPullFiles when building the planner brief, or say so in the line.
A planner's task brief now has one more line,
Hot now (an issue whose Files: line names one waits): src/tui/forge.ts=5 …, so it can plan around files that open pulls already crowd. I pushed the branch. The type check and the three brief test files I ran pass: the newtest/brief-hot.test.ts,test/brief-mcp-size.test.tsandtest/crew-brief-gate.test.ts. I did not runtest/mcp-size.test.ts, and the forge's check will run the full suite.hotLinesinsrc/crew/brief.tsuseshotFilesandhotWordsfromsrc/crew/hot_files.ts. It lists at most 10 files, hottest first, and leaves the line out when nothing is hot.test/brief-hot.test.tsseeds pull files that make two paths hot and checks the line comes out in order. It also checks the 10-file cap and that a file touched by fewer pulls than the hot threshold gives no line.Closes #7428