Skip to content

feat(proto): add SessionError to the compass.v1 session-trace contract (RIG-2616 T1) - #846

Open
rigel-mintaka wants to merge 1 commit into
mainfrom
compass-agent/rig-3209-session-error-proto
Open

feat(proto): add SessionError to the compass.v1 session-trace contract (RIG-2616 T1)#846
rigel-mintaka wants to merge 1 commit into
mainfrom
compass-agent/rig-3209-session-error-proto

Conversation

@rigel-mintaka

@rigel-mintaka rigel-mintaka commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

This PR is part of a stack containing 2 PRs:

  1. main
  2. "feat(proto): add SessionError to the compass.v1 session-trace contract (RIG-2616 T1)" (this PR)
  3. feat(compass-agent): surface error/abort content as SessionError trace frames (RIG-2616 T2) #850

Append a dedicated SessionError message + SessionErrorKind enum (ERROR |
ABORTED) to the SessionEvent oneof (field 10, non-breaking append) so a
pre-stream/inner failure or a deliberate abort can surface as typed
session-trace content rather than a bare status frame. Regenerate the three
checked-in gen trees (go/gen, compass-client, compass-agent via
--include-imports); drift-clean.

T1 of the frozen error/abort surfacing contract
(docs/designs/agent/compass-agent-error-abort-surfacing/design.md). The mapper
emit rule + frame-sink never-drop routing that consume these symbols land in T2.

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

…t (RIG-2616 T1)

Append a dedicated SessionError message + SessionErrorKind enum (ERROR |
ABORTED) to the SessionEvent oneof (field 10, non-breaking append) so a
pre-stream/inner failure or a deliberate abort can surface as typed
session-trace content rather than a bare status frame. Regenerate the three
checked-in gen trees (go/gen, compass-client, compass-agent via
--include-imports); drift-clean.

T1 of the frozen error/abort surfacing contract
(docs/designs/agent/compass-agent-error-abort-surfacing/design.md). The mapper
emit rule + frame-sink never-drop routing that consume these symbols land in T2.

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

linear-code Bot commented Sep 3, 2026

Copy link
Copy Markdown

RIG-2616

RIG-3209

@trunk-io

trunk-io Bot commented Sep 3, 2026

Copy link
Copy Markdown

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

Compass engineering docs preview: https://compass-agent-rig-3209-sessi.compass-eng-docs.pages.dev

Deployed from compass-agent/rig-3209-session-error-proto at 9d63a89.

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