Skip to content

docs(platform): e2e observation seam for the mention steer/deliver split (RIG-1788) - #581

Open
rigel-mintaka wants to merge 1 commit into
mainfrom
compass/rig-1788-e2e-split-observation-design
Open

docs(platform): e2e observation seam for the mention steer/deliver split (RIG-1788)#581
rigel-mintaka wants to merge 1 commit into
mainfrom
compass/rig-1788-e2e-split-observation-design

Conversation

@rigel-mintaka

Copy link
Copy Markdown
Contributor

Design record for RIG-1788 / dogfood-e2e H4: proving the mention steer/deliver split over the real stack. H4's other assertions (spawn F2 ownership, second container, leg-4 bus-fan) already pass on main; the split itself is an explicit deferred TODO(SEA-1788) in go/e2e/legthreefour_test.go. This record settles only the observation MECHANISM the frozen compass-dogfood-e2e record deferred — it does not reopen that record's tier or its assertion.

What it decides

  • Seam: an env-gated (COMPASS_TEST_DISPATCH_TAP) test-only tap wrapping the delivery ControlDispatcher in compass-server records per-recipient op-kind over a unix socket; production wiring is byte-identical when unset. Composed with AwaitTurnSettled on both recipients' existing SubscribeAgentSession tails — the tap gives KIND, the tail gives RECEIPT. Store-cursor observation (no op-kind stored) is foreclosed; a public trace-event variant is rejected as surface creep.
  • Exclusion is window-scoped to the peer's turn settle, not an absolute negative — the frozen design permits a steered-but-unacked message to be sweep-redelivered as a plain deliver later.
  • Second recipient reuses the leg-3 spawner (subscribed-but-unmentioned) — no third container.

Production bug found during recon (T1)

The runner gateway's representable() still lists AgentControl_Steer in its reject set, so every channel @-mention steer is silently dropped before reaching a live agent — even though SteerControl.message is populated and the agent already consumes it. Verified end-to-end (dispatch → host.DeliverSendControlcontrol.Send → reject). It is a stale guard; TestControlRejectsEmptyVariants locks it in. T1 un-parks it as this stack's first, independent PR.

The three load-bearing forks were put to Matt and ruled; the record ships Approved, freezing on merge as the contract T1-T6 execute against.

Spec-impact: none. Refs RIG-1788

Co-authored-by: Matt Wilkinson matt@rigel.build

…lit (RIG-1788)

Design record for RIG-1788 / dogfood-e2e H4: proving the mention **steer/deliver split** over the real stack. H4's other assertions (spawn F2 ownership, second container, leg-4 bus-fan) already pass on main; the split itself is an explicit deferred `TODO(SEA-1788)` in `go/e2e/legthreefour_test.go`. This record settles only the observation MECHANISM the frozen [`compass-dogfood-e2e`](../compass-dogfood-e2e/design.md) record deferred — it does not reopen that record's tier or its assertion.

### What it decides

- **Seam:** an env-gated (`COMPASS_TEST_DISPATCH_TAP`) test-only tap wrapping the delivery `ControlDispatcher` in compass-server records per-recipient op-kind over a unix socket; production wiring is byte-identical when unset. Composed with `AwaitTurnSettled` on both recipients' existing `SubscribeAgentSession` tails — the tap gives KIND, the tail gives RECEIPT. Store-cursor observation (no op-kind stored) is foreclosed; a public trace-event variant is rejected as surface creep.
- **Exclusion is window-scoped** to the peer's turn settle, not an absolute negative — the frozen design permits a steered-but-unacked message to be sweep-redelivered as a plain deliver later.
- **Second recipient reuses the leg-3 spawner** (subscribed-but-unmentioned) — no third container.

### Production bug found during recon (T1)

The runner gateway's `representable()` still lists `AgentControl_Steer` in its reject set, so every channel `@`-mention steer is silently dropped before reaching a live agent — even though `SteerControl.message` is populated and the agent already consumes it. Verified end-to-end (dispatch → `host.Deliver` → `SendControl` → `control.Send` → reject). It is a stale guard; `TestControlRejectsEmptyVariants` locks it in. T1 un-parks it as this stack's first, independent PR.

The three load-bearing forks were put to Matt and ruled; the record ships Approved, freezing on merge as the contract T1-T6 execute against.

Spec-impact: none. Refs RIG-1788

Co-authored-by: Matt Wilkinson <matt@rigel.build>
@linear-code

linear-code Bot commented Aug 24, 2026

Copy link
Copy Markdown

RIG-1788

@github-actions

Copy link
Copy Markdown

Compass engineering docs preview: https://compass-rig-1788-e2e-split-o.compass-eng-docs.pages.dev

Deployed from compass/rig-1788-e2e-split-observation-design at 703d756.

Changed pages:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant