GeezerVison is showing github.com — Bridge build-out S9 — PM console composer: pattern+limit, match report, broaden, offers · Issue #14375 · developing-today/code
Bridge build-out S9 — PM console composer: pattern+limit, match report, broaden, offers #14375DescriptionBridge build-out S9 — PM console composer: pattern+limit, match report, broaden, offers
Implements design §4.9 (Composer). Traces to spec item 8 (and 2). Depends on S1 (#14367), S5 (#14371), S8.
Scope
In pm-stack/console, in the Messages surface:
- Composer form over the relay grammar: recipient field accepting agent names,
group:<name>, patterns (agent:f*), and all; kind toggle (message / instruction); optional limit.
- On send, the match report is shown in place: "matched 3, sent to 2" with the recipient names — the S1 report, not a console-side recount.
- Broaden action appears when matched > delivered: one tap delivers to the remaining matched agents via the S1 broaden call (never a fresh fan-out, never duplicates).
- Offer instead action: posts the same text as a claim offer (S5) with a slots count; the offer's row in Messages shows claims and claimants' replies as they land.
Acceptance
- Sending to
agent:f* with limit 1 against two matching agents shows matched 2 / delivered 1 and names the recipient.
- Broaden delivers to exactly the remaining agent; the UI then shows delivered 2 / matched 2 and no Broaden action.
- An offer posted from the composer shows its claims and a claimant's reply in the same view, with the claimant named.
- Instructions sent from the composer reach agents sender-stripped (verified in the store/pipeline), while the console keeps showing the owner as sender.
- Console tests cover the report rendering and the broaden flow against fixture bridge responses.
Design of record: doc/2026-11-24_design_message-bridge-buildout.md (PR #14364). Spec numbers below refer to §1 of that doc; design detail is in the section cited per issue.
Filed by Felix's design lane, 2026-11-24. Not enqueued in this pass, per the filing-comment rule: Felix dispatches lanes from the slice index (design doc §7, also posted on #13907). Activitydeveloping-today commented on Nov 24, 2026 developing-today-fleet commented on Nov 24, 2026 agent-note:v1 / worker: felix / state: claimed (bridge S9) developing-today-fleet commented on Nov 24, 2026 agent-note:v1 / worker: felix / state: implemented (bridge S9) — PR #14510, head 794d1d7, left unmerged for the done-check.
Built: the Messages-surface composer (full addressing grammar incl. agent: + limit, message/instruction toggle), the bridge's match report shown in place, Broaden as a one-call follow-up on the send's batch (report folded in until delivered = matched), Offer instead with slots, and an Offers section showing claims/claimants with replies read through the batch filter. Sends ride the S7 edge-direct path as service:pm-stack when the edge holds the bridge credential (message.send/broaden/offer are the edge's own kinds only then); otherwise held for a machine exactly as S7/S8 left it. Worker: GET /fleet//offers now opens the owner's offer list to a read-scope credential. CLI: send --limit/--broaden, new offer/offers verbs.
Verification (remote, fleet-command): worker run 45448781356 — 114 pass / 0 fail via nix build .#messageBridge checkPhase (executor has no node binary; first attempt exited 127); console run 45447017405 — 656 pass / 0 fail / 26 files (baseline 653); fleet-bridge run 45444442439 — 21 passed / 0 failed (baseline 18). New tests named in the PR body.
Acceptance mapping: (1) fixture report matched 2 / delivered 1 names felix-1 — console composer test + app matchReportSaid test; (2) broaden delivers exactly the remainder, merged report delivered 2 / matched 2, no Broaden left — same tests; (3) offer row shows the claim with claimant felix-1 named — console offers test + worker offers-view test; replies thread on the batch, surfaced by the batch filter; (4) composer instructions ride the existing command path — sender-stripping is the worker's store/pipeline behaviour (S1/S2 contrast tests stand), console keeps the owner as sender; (5) report rendering + broaden flow covered against fixture bridge responses at Ops, edge-binding and app-helper levels.
Scope note: composer sends on the fleet surface per this issue's scope and acceptance; a notes send path would need a pm-stack notes identity/token design no slice has — recorded in the PR body, not built. developing-today-fleet commented on Nov 24, 2026 Done-check by Felix (2026-11-24): S9 delivered. PR #14510 merged 2026-11-24T18:25:39Z (final head 617bcb0 after two merge-refreshes). Console Composer on the Messages surface: full relay grammar (names, agent:, group:, all) with optional limit, match report rendered from the bridge's own answer (matched/delivered/recipients/remaining), Broaden as a follow-up send on the same batch, claim-style offer posting with an Offers section showing claims; sends ride the S7 edge-direct path as service:pm-stack with the hold-for-a-machine fallback unchanged. Verification on the merged head: worker 129/129, console 657/657 across 26 files, fleet-bridge 29/29. Scope note carried from the build: the composer sends on the fleet surface only, per the issue's acceptance criteria; a notes-surface send path needs a pm-stack notes identity no slice has designed — flagged on the PR, not built silently. Closing.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|