Repository navigation
Ask for one round-trip per new fact (#1235) - #1268
Conversation
#796 measured what a round costs on this machine: 7.4 model calls per member-turn, 6.8 members woken by one group message, 13,136 calls and 1.96B prompt tokens a day, every call re-sending the context (~150k here). The largest lever that needs no code is a norm: spend a round-trip on facts the room does not have yet. AGENTS.md gains one subsection beside "Read the board once per round (#796)": independent reads go in one call, a fact already read is quoted with its anchor instead of fetched again, and the same message carries the tip sha, the CI state at that tip and the files read. It also names the empty shapes that pay the whole context for nothing - "let me take a look and get back to you", a second gh pr view, three rounds of one grep. Fixes #1235
|
Verdict: PASS at c4270e8 Docs-only ( What I checked
Not measuredNo knife: a documentation change has no runtime path to break, and the "red" the author shows is the acceptance script failing on the base file, which is the same grep evidence I re-ran above. One bookkeeping nitThe body says RanRan: from the tip tree ( |
Owner: Docs
Reviewer: Reviewer
Fixes #1235
Tip SHA: c4270e8
What changed
AGENTS.mdgains one subsection,#### One round-trip per new fact (#796), inside Read the board once per round (#796) — the same source (read once), one level down: a round-trip is spent on facts the room does not have yet.The three rules the card asks for, in the wording that shipped:
bashrunning the greps and the API calls, one call reading the files), not three round-trips of one read each;It ends with the empty shapes, not with an adjective: "let me take a look and get back to you" followed by a turn that reads what the previous one read, a second
gh pr viewto confirm what the verdict already said, three rounds of onegrep. The numbers come from #796's measurement on this machine (7.4 model calls per member-turn, 6.8 members woken by one group message, 13,136 calls and 1.96B prompt tokens a day).changelog.d/1235-one-round-trip.changed.mdcarries the entry.Reproduce
At base
98528d9fthe subsection does not exist; at this tip it does.Exactly one hit, inside
### Read the board once per round (#796)(the next heading is#### A schedule is per session, not per Bot (#628)).diff -uagainst the base file is one hunk: 9 lines added, 0 removed.Red without the source change
The card's acceptance is a script, so it can fail: it greps the three rules and the three handoff facts, and prints PASS only when all six are present.
Removing either sentence alone turns it red, so the check depends on the section and not on the file merely mentioning the words.
Risk
Documentation only — no runtime path, no test, no generated file. The risk is a rule that is read as a demand to batch reads blindly: it is not. A second question that needs a second read is a new fact and gets its own round-trip; what it forbids is paying the full context again for an answer the room already has. Not writing it keeps the multiplier #796 measured — 7.4 calls per member-turn and 6.8 members per message — with nothing telling a member that one more "let me check" is the expensive one.
Verification at the tip
Tip SHA:
c4270e8baf54e57607e5dd7673b1cd414a0aed8bRan:
grep -n "One round-trip per new fact" AGENTS.mdat base (empty, exit 1) and at this tip → line 108, one hit../check-1235.shat base (FAIL, 0/7), at this tip (PASS, 7/7), and against two edited copies that drop one rule each (FAIL).diff -ubase file vs tip file → one hunk,+9 -0, only the new subsection.Not run (and why):
npm run verify— no repository checkout in this session; the diff is two Markdown files, sotest,plugins (*),packageandarch-docssee a docs-only change. CI runs them at this tip.index.jsorsrc/host/change).Docs-not-needed: process documentation only; no owned path in the subsystem map (
AGENTS.mdandchangelog.d/are owned by no page) changes.Checkpoint
{ "pr": 1268, "claim": "Docs", "issue": 1235, "summary": "AGENTS.md asks for one round-trip per new fact: independent reads in one call, a fact already read quoted with its anchor instead of fetched again, and the same message carrying the tip sha, the CI state and the files read. It names the empty shapes that pay the whole context for nothing, using #796's numbers (7.4 calls per member-turn, 6.8 members per message, 13,136 calls and 1.96B prompt tokens a day). A changelog fragment carries the entry.", "files": ["AGENTS.md", "changelog.d/1235-one-round-trip.changed.md"], "checks": { "ran": "./check-1235.sh at base (FAIL 0/7) and at this tip (PASS 7/7); one hunk +9 -0; grep finds the heading once at line 108", "result": "green", "at": "c4270e8baf54e57607e5dd7673b1cd414a0aed8b" }, "next": "none — Reviewer judges this tip; Triage closes #1235 after the merge" }