Public: anyone can read this; the crew can change it.
A crew run's page says how its model was fed, so a packed SubQ run compares with its explored run and with Claude #17925
Merged 23h 57m ago, live in production
A crew run now records how its model was fed. The run's page, the terminal, the runs list and the JSON answer all read that record. bun x tsc --noEmit is clean.
-
Reviews
Changes requested — before the latest pushThe record, the Fed line, the JSON field and the tests are sound, and both doors are covered. One thing is missing for the point of the issue: the runs list cannot be read side by side across models. Each row says
packed · 3 rounds · 1m 37s · ok, but not which model ran it. A packed subq-savant run, its explored run and a Claude run all look alike, so a person still has to open each run to tell which is the Claude one. Fix first: put the model incompareWords(for examplesubq-savant · packed · 3 rounds · 1m 37s · ok;run.modelis already onRun), in both the page and the terminal rows, and extend the list test to assert it. Smaller: drop the one-linefeedWordwrapper, and theexport { compact }re-export in packed_run.ts (update the one test import instead), so there is one way to do each thing.ApprovedThe later commits only tidy: the model now leads each runs-list row, the
feedWordwrapper and thecompactre-export are gone, and the tests cover both. My earlier asks are met: both doors, the docs how-to, the tests and the issue name. The preview's existing runs predate the migration and carry no feed, so I could not see a Fed line there; the tests assert it on the page, in the terminal rows and in the JSON.Next, two things I would do:
- Non-blocking: in the narrow runs-list row,
model · feed · rounds · time · outcome · dateis long on a 360px phone. Check that it wraps or truncates cleanly. - Non-blocking: add a model filter to the runs list so a person can pull up only the packed subq-savant rows.
- Non-blocking: in the narrow runs-list row,
-
Checks
shipped production is serving it deploy a338207
-
History
- Direction: the runs list names each run's model so packed, explored and Claude rows tell apart (#17920) 9e790ea
- Try: open a crew run's page on the preview and read its Fed line; open /trevato/forge/runs for feed, steps, time and outcome per agent run Looks: /trevato/forge/runs 9ce77e9
- Direction: a crew run records how its model was fed, and its page, terminal, list and JSON say it (#17920) acf4b52
- Feed each model the way it works: packed context for long-window models like SubQ, tools for the rest (#17918) 898c0b9
- A preview that does not start shows its last start lines and the cause on the pull page (#17904) 3b4cddd
- openapi.json describes what each route answers (#17917) d398aa1
- A release keeps the forge's log and each child forge's up and down history, so "was it down?" has an answer (#17913) 4c8a425
- A Talk answer that fails says which call failed and why, in the pane (#17900) f29a578
- Name and bound the largest heap retainer from production's own census (#17908) 5501eb1
- Games: a client pack, one .mrpack a player opens in a launcher to join a mod server (#17815) 53985a8
- Main holds a picture of the seeded app page, so a pull's looks show it beside main (#17907) ab4f639
- Merge pull request #17820 from sold/forge-door-reads 517041f
- Games: a command's door is named in one place, and a read from before the column is the proxy's 1a003b5
- /api/v1/search keeps to one repository for ?repo=owner/name and repo: in q, a… (#17906) 261648b
- The runtime's approval gate reads a pull's combined tip without a blocking git call (#17898) 9883372
- Settings shows each model account's last day: runs, failures by cause, seconds (#17902) b94d3fc
- An OpenAI-type account that fails during a run hands the run to the next account and says so on it (#17897) a6a608a
- The access log's rotate and prune leave the serving thread (#17901) ff13e06
- The security page serves from a kept snapshot, not synchronous reads per request (#17903) 281b77e
- An app whose run names a build output is built once per commit before it starts (#17899) da85963
3 earlier comments · 1 event
A crew run now records how its model was fed. The run's page, the terminal, the runs list and the JSON answer all read that record. bun x tsc --noEmit is clean. The gate was red until I added the migration pin and the Try: and Looks: commit lines. The tests I ran for this change pass. In the wider run of run, tui-, cost-, openapi* and dead* tests, two failed (a Chromium looks test and a terminal-migrate test). I re-ran the migrate test alone and it passes. I did not re-run the Chromium one. The forge's full check runs on the push.
What changed
- Record:
run.feedis a new column, andsrc/core/run_feed.tsholds the type, the parser and the words. Explored is{feed:"explored"}. Packed carriestokens,files,cached,roundsandroundMs.src/crew/run_prepare.tsrecords explored when the run starts.runPackedreports the packed feed through a new optionalHands.feedat the start and after each round, so a packed run that fails mid-way still keeps its pack and rounds so far. - Page and terminal:
runFactsadds one "Fed" fact, so the web page and the terminal's run screen show the same line. A packed run readspacked 1.2M tokens (812 files), cached 1.1M · 3 rounds · 40 s, 35 s, 22 s. An explored run readsexplored with tools. A run with no record shows nothing. - Runs list: each agent run's row, on the page and in the terminal, now leads with
feed · steps or rounds · time · outcome(src/runs/run_compare.ts). Examples:packed · 3 rounds · 1m 37s · okandexplored · 12 steps · 4m 2s · ok. Steps for an explored run are itsturns. - JSON: the run schema gains
feed, which is null for runs from before this. - Reused:
compactmoved frompacked_run.tstorun_feed.tsand is re-exported, so the existing test import still works.durationTextandrunFactsare reused for the time and the Fed fact. - Tests:
test/run-feed.test.tscovers the packed record and its page line, the explored page, the terminal facts and rows, the JSON and the list, junk input to the parser, andrunPackedreporting its feed each round. I addedfeed: nullto therun()fixture intest/run-page-links.test.ts. - Docs:
docs/features/model-feed.mdhas a new section.
Not done
- I did not change how either feed runs, and I did not turn packed on for any model.
- I did not add a model filter to the runs list. The rows compare side by side in the list as it is.
- The feed is not recorded for runs that existed before the migration.
Try it: open any crew run's page on the preview and read its "Fed" line. Then open /trevato/forge/runs and read the feed, steps or rounds, time and outcome on each agent run.
[
{"go": "/trevato/forge/runs?kind=agent", "look": "each agent run row", "expect": "starts with feed · steps or rounds · time · outcome, then the date"},
{"go": "a crew run's page from that list", "look": "the facts list under the summary", "expect": "a Fed line: 'explored with tools', or the packed line with tokens, files, cached, rounds and times"}
]
🤖 Generated with Claude Code
<!-- look-pages 9ce77e9089b5 --> Look pages for 9ce77e9, from the gate:
look pages (none): "Looks: /trevato/forge/runs" is not a page of app.looks in forge.json; this pull changes src/web/studio/lists.ts but the forge could not trace the route of /, /docs, /explore and 29 more (an inline or wrapped handler), so it could not infer a page; the reviewer decides. A "Looks: <path>" line naming the nearest page, or a "No look: <why>" line (10+ characters), says it
Nothing to rewrap or fix. The branch is already pushed and clean, so I made no new commits.
Each point from the feedback checks out on the branch as it stands:
- Both doors: the Fed line is in the terminal run list (
src/tui/screens/runlist.ts).docs/features/model-feed.mdis updated too. The gate's both-doors rule passes. - Real input in tests:
test/run-feed.test.tshas noas never, andbun x tsc --noEmitis clean. - Name the issue: the Direction commit reads "Direction: … (#17920)", and the gate's name-the-issue rule passes.
- Dead code:
test/unused-exports.test.tspasses. It only lists exports insrc/http/crawl.ts,src/kernel/migrate.tsandsrc/spawn/as "no longer dead"; none of them are mine.
test/run-feed.test.ts, test/unused-exports.test.ts and test/hollow.test.ts pass (38 tests).
The gate's two notes remain, and I left both alone:
- Comment width:
--fixrewrapped nothing, and the gate says the nightly rewrap handles those lines on main. - Looks line: the gate could not infer a page for
Looks: /trevato/forge/runs, so it leaves the choice to the reviewer. It is a note, not a failure.
Pull description: A crew run now records how its model was fed (packed context or tools). The run page, the terminal run list, the run list, the run comparison and the JSON all show it as a "Fed" line. That lets a packed SubQ run be compared with the same task run through tools, and with Claude. The change adds the additive migration 20261203060000-run-feed and a small src/core/run_feed.ts. It also adds test/run-feed.test.ts and a how-to in docs/features/model-feed.md. To try it, open any crew run page on the preview, or /trevato/forge/runs, and read its Fed line.
Each row in the runs list now starts with the run's model, so a packed SubQ run, its explored run and a Claude run can be told apart without opening them. It reads like subq-savant · packed · 3 rounds · 1m 37s · ok. bun x tsc --noEmit is clean, and test/run-feed.test.ts, test/model-feed.test.ts and test/unused-exports.test.ts pass.
- Model in the row:
compareWordsinsrc/runs/run_compare.tsputsrun.modelfirst and leaves it out when it is empty. The page and the terminal rows both usecompareWords, so both show it. - Test: the list test in
test/run-feed.test.tsnow gives the packed runsubq-savantand the explored runclaude-opus-5-5. It asserts both names in the terminal rows and on the page. - Cleanup: I removed the
feedWordwrapper and inlinedrun.feed.feed. I also removed theexport { compact }re-export fromsrc/crew/packed_run.ts;test/model-feed.test.tsnow importscompactfromrun_feed.ts. - Gate: it shows only the two notes from before (comment width and the
Looks:line) and nothing new. This commit saysNo look:with a reason.
The pull description from my last turn still holds. Add that the runs list now leads each row with the model.
A crew run now records how its model was fed. The run's page, the terminal, the runs list and the JSON answer all read that record.
bun x tsc --noEmitis clean. The gate was red until I added the migration pin and theTry:andLooks:commit lines. The tests I ran for this change pass. In the wider run ofrun,tui-,cost-,openapi*anddead*tests, two failed (a Chromium looks test and a terminal-migrate test). I re-ran the migrate test alone and it passes. I did not re-run the Chromium one. The forge's full check runs on the push.What changed
run.feedis a new column, andsrc/core/run_feed.tsholds the type, the parser and the words. Explored is{feed:"explored"}. Packed carriestokens,files,cached,roundsandroundMs.src/crew/run_prepare.tsrecords explored when the run starts.runPackedreports the packed feed through a new optionalHands.feedat the start and after each round, so a packed run that fails mid-way still keeps its pack and rounds so far.runFactsadds one "Fed" fact, so the web page and the terminal's run screen show the same line. A packed run readspacked 1.2M tokens (812 files), cached 1.1M · 3 rounds · 40 s, 35 s, 22 s. An explored run readsexplored with tools. A run with no record shows nothing.feed · steps or rounds · time · outcome(src/runs/run_compare.ts). Examples:packed · 3 rounds · 1m 37s · okandexplored · 12 steps · 4m 2s · ok. Steps for an explored run are itsturns.feed, which is null for runs from before this.compactmoved frompacked_run.tstorun_feed.tsand is re-exported, so the existing test import still works.durationTextandrunFactsare reused for the time and the Fed fact.test/run-feed.test.tscovers the packed record and its page line, the explored page, the terminal facts and rows, the JSON and the list, junk input to the parser, andrunPackedreporting its feed each round. I addedfeed: nullto therun()fixture intest/run-page-links.test.ts.docs/features/model-feed.mdhas a new section.Not done
Try it: open any crew run's page on the preview and read its "Fed" line. Then open
/trevato/forge/runsand read the feed, steps or rounds, time and outcome on each agent run.🤖 Generated with Claude Code
Closes #17920