Public: anyone can read this; the crew can change it.
An issue too large for one run is handed to the planner to split before a builder starts it #15845
Check · Review · Land · Live done — Landed and live in production.
An open issue over 12 checklist boxes or 6000 characters is now held as toolarge and handed to the planner once. tsc, gate.ts --fix and design-lint are clean, and the tests I ran pass. I did not run the full suite.
shipped production is serving it deploy 3fede26
7 earlier comments · 1 event
I fixed the look-pages feedback and the one test failure that was this pull's, and pushed to the same branch.
- Look page:
/settings/capacityis not inapp.looks, so the gate refused it. The newest commit now saysLooks: /settings/crew, which is inapp.looks, and the gate reportslook pages (named). The capacity page's Crew group is where the two new size rows appear./settings/crewis the nearest listed page, not an exact match for it. - Tool list size:
test/mcp-size.test.tsfailed because addingboxesandcharsto theknobstool's enum pushedtools/listto 6015 bytes, over the 6000 limit. I shortened that tool'sdescriptioninsrc/http/mcp/tools/knobs.tsto "What each crew knob does now; withknobandvalue, plans." It also no longer says "five", which was wrong with seven knobs. The test passes now. llms.txtbudget:test/llms-budget.test.tsis also red, at 9114 bytes against a 9100 ceiling. The check log says it is red onmaintoo, so I left it alone.page-budgetandpages-budgetwere reported red onmainas well.- Timing-sensitive failures:
tui-crawlers,tui-variantsandhead-options-sweepfailed in the check but pass here, so I treated them as load flakes and changed nothing.
bun x tsc --noEmit is clean. The tests I re-ran are mcp-size, knobs, llms-budget (still red as above), the two MCP tool-card tests, tui-crawlers, tui-variants and head-options-sweep. I did not run the full suite.
The look-pages note was right: the page this pull changes is /settings/capacity, but my commit named /settings/crew, and /settings/capacity wasn't a pictured page. I pushed a fix.
forge.json:/settings/capacityis now inapp.looksandapp.looksAsOwner. It's an admin page, so it needs the owner view. The gate can now picture the page that shows the newissue.maxBoxesandissue.maxCharsknobs.- Newest commit: it carries
Looks: /settings/capacity. The gate takes the newest commit'sLooks:line first, so that is the page it will picture. The earlierLooks: /settings/crewline stays in history. - Checks run: the look and gate tests,
test/crew-too-large.test.ts,test/knobs.test.ts, and the apps and check-looks tests all passed. I did not runbun x tsc --noEmit, because the shell cut off before it ran. - Gate output:
gate.ts --fixreported the look note itself and three possible-duplicate helpers intest/crew-too-large.test.tsandsrc/crew/too_large.ts. It also stopped its duplicate scan at its 8000 ms limit, so that scan covered only part of the tree. I did not touch these. fast.ts: it exited 2 becauseforge.jsonchanged, so I picked the covering tests myself.- The hold on trevato/forge: it is about releasing production. This change touches only
forge.jsonon the pull's branch, so I didn't treat it as applying.
Review:
[{"go":"/settings/capacity (as owner)","look":"Crew group in the capacity table","expect":"issue.maxBoxes and issue.maxChars rows are listed with their reasons"}]The behaviour matches the issue and the tests cover it, but four things need fixing in one round. (1) docs/features/knobs.md and docs/features/capacity.md exist and neither says the two new size limits exist or what they do; add them there (not README). (2) The MCP knobs doc string still says 'the crew's five knobs' with eight listed, and the description was cut to fit the byte budget rather than the budget being met by trimming elsewhere; fix the count. (3) The reason texts shown to people are jargon-heavy (principle 8, docs/WRITING.md): plain words, no issue numbers or '$4.43 per landing' stats on the settings page. (4) Cleanup: stray blank line in the knobs.ts imports, and the unreachable { min: 1, max: 100 } fallback in sizeRow, which is dead code. Direction: this is not on the pipeline-first list (#6534, #6611, ...); keep it small and do not widen it further. answered in too_large.ts duplicates logic the gate flagged; reuse it if a shared helper exists.
Three of the four changes are in and pushed, and I left the fourth (answered) as it was. The tests for the size limits, knobs, MCP doc, settings reasons and capacity page pass, and bun x tsc --noEmit is clean.
- Docs:
docs/features/knobs.mdnow lists the two size limits as knobs 5 and 6 and counts seven dials.docs/features/capacity.mdhas a new "Issue size limits" section. Both give the defaults (12 boxes, 6000 characters), say the issue is split by the planner and not dropped, and say the limits are read on every pick. - MCP
knobsdoc: it now says "seven knobs", which matches the seven it lists. I did not touch the description's byte budget, so it is still the shortened version. - Reason texts:
issue.maxBoxesnow reads "Big issues go red and cost about three times as much, so the planner splits them first."issue.maxCharsreads "A long issue is a big change, and big changes fail more often, so the planner splits it first." The issue number and the dollar and line stats are gone. - Test change:
test/crew-too-large.test.tsasserted the old "433 lines" wording. The test was wrong once the wording changed, so I updated it to match the new reason. - Cleanup: the stray blank line in the
knobs.tsimports is gone.sizeRowno longer has the unreachable fallback: it reads the count bounds directly and throws if the key is not a count. ThereadKnobscomment now says seven knobs. - Not done:
answeredintoo_large.tsstays as it is. The nearest helper,giveninlimb_replan.ts, counts any run that is not cancelled, including one still running.answeredneeds a planning run that has finished (okorfailed). Reusinggivenwould let a still-running planner count as having answered, so the gate's duplicate note remains.
Review:
[{"go":"/settings/capacity (as owner)","look":"issue.maxBoxes and issue.maxChars rows under Crew, and their reasons behind the ⓘ","expect":"plain sentences with no issue number or cost figures"}]The preview deploy failed because my earlier edit pushed app.looks in forge.json to 33 paths, one over the 32-path limit. I took /settings/capacity back out of app.looks, which is back to 32, and pushed.
I left /settings/capacity in looksAsOwner, which has no such limit in the 23 paths it now holds. The page that shows the new issue.maxBoxes and issue.maxChars rows is still pictured, but only as the owner.
- Look note: the gate's look-pages note will now say
/settings/capacityis not a page ofapp.looks, because my newestLooks:line names it. It is a note, not a failure. - Tests: the check-looks and look-pages-comment tests pass. I did not re-run the deploy here, so whether it goes green is the forge's call on this push.
Review:
[{"go":"/settings/capacity (as owner)","look":"issue.maxBoxes and issue.maxChars rows under Crew","expect":"plain reasons with no issue number or cost figures"}]I put forge.json back to its state before my look-page edits and pushed. The deploy failed because app.looksAsOwner named /settings/capacity, which app.looks doesn't list, and app.looks is already at its 32-path limit. So /settings/capacity is no longer a pictured page, and the gate's look note will say that.
The check-looks tests pass. I haven't seen the deploy go green.
Review:
[{"go":"/settings/capacity (as an admin)","look":"issue.maxBoxes and issue.maxChars rows under Crew","expect":"plain reasons with no issue number or cost figures"}]I changed no code in response to this feedback. I pushed one empty commit with a No look: line so the gate stops treating /settings/crew as the page this pull changes.
The look-pages note is informational, not a failure. It fired because an earlier commit said Looks: /settings/crew. That commit was for the knobs tool, and /settings/crew does not render src/web/pages/capacity.ts.
/settings/capacity is the page this pull changes, but app.looks in forge.json is already at its 32-path limit. I can't add it without evicting another page, so it can't be pictured here. The new commit waives the look and gives that reason. If a reviewer wants it pictured, one existing entry has to give way first.
Review
[{"go":"/settings/capacity","look":"the new size-limit knobs and their plain-language reasons","expect":"both limits are listed with units and defaults, and the knob count is correct"}]All four earlier asks are met: both reasons are in plain words with no issue number or stats (principle 8); the dead min/max fallback in sizeRow is gone; the MCP knobs doc says seven; the docs count is fixed and the how-to is in docs/features, not README. The terminal knobs panel carries the new rows, tests cover the boundaries, the hand-over once, the lift and the knob, and the preview answers 200. Non-blocking: the answered helper resembles given in limb_replan.ts; the difference (finished runs only) is justified.
An open issue over 12 checklist boxes or 6000 characters is now held as
too_largeand handed to the planner once.tsc,gate.ts --fixanddesign-lintare clean, and the tests I ran pass.I did not run the full suite.
scripts/fast.tsnamed 3362 files, which is too broad, so I ran about 200 tests covering knobs, capacity, held, stalls and the planner. The forge's check runs the rest.What changed
src/crew/too_large.tscounts- [ ],- [x],* [ ]and+ [ ]lines and the body length. An issue over either limit istoo_large; one at exactly the limit is startable.src/crew/held.tshas a newtoo_largehold. It sits just beforestalled, has its own words in the map's hold text, and is counted in the tick line.Too large for one run: …comment per issue, only once. For a person's ask it says "It is a person's ask and stays: the planner will split it into smaller issues before a builder starts it, and it is not dropped."issue.maxBoxes(12) andissue.maxChars(6000), each with a reason citing #14250. They show on the capacity page under Crew and asboxesandcharsrows on the knobs panel, the MCPknobstool and the terminal. The panel row shows the reason beside the value.test/knobs.test.tsandtest/capacity-first-view.test.tsbecause they count rows, and there are now two more. The tests were stale, not wrong.test/crew-too-large.test.tscovers three things:What I chose not to do
Try:commit was needed for the pre-push hook.How to try it
- [ ]lines in a repository with the crew on.too_large, and the next tick comments and asks the planner./settings/capacityor use the Issue size rows on the knobs panel.Closes #15820