Repository navigation
Conversation
lunelson
added this pull request to stack #10068
October 16, 2026 16:35
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
lunelson
force-pushed
the
ln/fe-1943-shorten-turn-times-2
branch
from
October 19, 2026 08:31
2ef09a4 to
748b77a
Compare
This was referenced Oct 19, 2026
lunelson
force-pushed
the
ln/fe-1943-shorten-turn-times-2
branch
from
October 19, 2026 13:45
748b77a to
db37f75
Compare
2 of 4 tasks
lunelson
force-pushed
the
ln/fe-1943-shorten-turn-times-2
branch
from
October 19, 2026 19:10
db37f75 to
7d9adde
Compare
lunelson
marked this pull request as ready for review
October 19, 2026 19:40
kube
previously approved these changes
Oct 20, 2026
lunelson
force-pushed
the
ln/fe-1943-shorten-turn-times-2
branch
from
October 20, 2026 14:19
b4fa05d to
831e146
Compare
lunelson
force-pushed
the
ln/fe-1943-shorten-turn-times-2
branch
from
October 20, 2026 14:29
831e146 to
cf0a331
Compare
lunelson
force-pushed
the
ln/fe-1943-shorten-turn-times-2
branch
from
October 20, 2026 15:51
cf0a331 to
03db3c7
Compare
Moving a node by hand changed the revision, so Brunch's next changes were refused as stale although no net read shows positions. The revision now hashes the document without layout.
The exchange's last response now carries the reply to the user and a ledger_commit with endTurn set; once that commit is recorded the turn ends without a closing model call. A refused closing commit leaves the turn open for its repair. Persona runs: the closing step (about 5.5 s per turn) is gone, and the reply streams before the commit's arguments.
Brunch reread the net at the start of most build turns in case the user had edited it. A change against an edited net is already refused without starting, and the refusal says to read again, so the guidance now relies on that instead. Persona runs: build turns with a read fell from 14 of 19 to 3 of 18, about 10 s per build turn; a hand edit mid-run was refused, reread and retried.
Claim guidance spread over eight paragraphs is now one Claims section in the system prompt: a claim is one fact as a short active statement, each message decomposes into several, and the model's own claims take the same form. The schema defaults origin to stated and, only for a stated entry, status to confirmed; any other origin without a status is refused. Parsing yields the full shape, so history, receipts and the fold are unchanged. Persona runs: commits about 22% smaller, with the share of unconfirmed claims unchanged.
Reflections restated changes the net's names and descriptions already carry. They now give why a change was made and what its elements represent, skip tool outcomes and turns that changed nothing, address elements by the IDs the model wrote, and name only entities their claims do not already reach.
Co-authored-by: Cursor <[email protected]>
lunelson
force-pushed
the
ln/fe-1943-shorten-turn-times-2
branch
from
October 20, 2026 16:11
03db3c7 to
0687a66
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🌟 What is the purpose of this PR?
Brunch's turns get shorter. Each change removes work the model did on every exchange without it changing the answer: a closing model call, a reread of the net, a long Ledger commit, and reflections that repeated the net. The turn-time figures below come from local persona runs measured with the run packets from #10066. This PR does not report their combined effect.
🔗 Related links
🚫 Blocked by
🔍 What does this change?
ledger_commitwithendTurnset. Once that commit is recorded, the turn ends without another model call. A refused closing commit leaves the turn open so the model can repair it. Persona runs: the closing step, about 5.5 s per turn, is gone, and the reply streams before the commit's arguments.originandstatusdefault for what the user said.origindefaults tostated. Only a stated entry may omitstatus, which becomesconfirmed. Any other origin without a status is refused.entity/updatereplaces every field, so it takes neither default: an update restatesoriginandstatus. Parsing still yields the full shape, so history, receipts and the fold are unchanged.Pre-Merge Checklist 🚀
🚢 Has this modified a publishable library?
@hashintel/brunch-agent, which is private, and@apps/brunch-agent. No changeset.📜 Does this require a change to the docs?
apps/brunch-agent/docs/petrinaut/ARCHITECTURE.mdand the system prompt and skills describe the new turn end and read guidance.🕸️ Does this require a change to the Turbo Graph?
endTurnbefore it has replied would end the turn with no reply. The guidance asks for the reply first; nothing enforces it.🛡 What tests cover this?
endTurnand is recorded.confirmed; other origins without a status are refused.Stack created with GitHub Stacks CLI • Give Feedback 💬