fix(sessions): tell working agents when the default branch moves
A session got a push update only for its own branch. Agents never work on the default branch, so no agent heard about a merged pull request or a direct push to main. Every session that works on a branch now gets pushes to the default branch by others. The update tells the agent to fetch and merge the default branch, not rebase: a rebase of pushed commits needs a force-push, and refs refuses it.
7 files changed · +32 −12
apps/backend/deliveries.ts+7 −3
apps/backend/sessions.ts+3 −2
apps/backend/test/deliveries.test.ts+11 −4
apps/frontend/docs/protocol.md+1 −0
apps/frontend/routes/llms-txt.ts+2 −1
packages/protocol/test/wire.test.ts+2 −1
packages/protocol/wire.ts+6 −1