Skip to content

docs(compass): describe the agent's real session protocol, not ACP (RIG-1329) - #1266

Open
rigel-mintaka wants to merge 2 commits into
compass-agent/rig-1544-ask-whitespace-fidelityfrom
compass-agent/rig-1329-purge-acp-terminology
Open

rigel-mintaka wants to merge 2 commits into
compass-agent/rig-1544-ask-whitespace-fidelityfrom
compass-agent/rig-1329-purge-acp-terminology

Conversation

@rigel-mintaka

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

Copy link
Copy Markdown
Contributor

This PR is part of a stack containing 3 PRs:

  1. main
  2. fix(compass-agent): keep benign horizontal whitespace in marker rendering (RIG-1544) #1262
  3. "docs(compass): describe the agent's real session protocol, not ACP (RIG-1329)" (this PR)
  4. ci(dogfood-e2e): hand the file-command files to podman instead of a+rw (RIG-2131) #1267

The in-container agent is the first-party SDK agent — CompassAgent wraps
Agent and drives a typed AgentFrame/AgentControl protocol over stdio.
ACP is no longer used anywhere, but the term survived in comments.

The mapper comments were the costly ones: they cited acp-event-mapper.ts
line-for-line (:130, :247, :255, :378) for behaviour this file now
owns outright, pointing every reader at a file that does not exist.

Proto doc-comments are fixed at the source and regenerated, never hand-edited;
the generated diff is comment-only. Internal .acp* CSS selectors are renamed
to .session*.

Fixture identifiers and historical design records keep the term: they record
what was named or decided then, and the comms fixtures are asserted by id.

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

@linear-code

linear-code Bot commented Sep 17, 2026

Copy link
Copy Markdown

RIG-1329

@github-actions

github-actions Bot commented Sep 17, 2026

Copy link
Copy Markdown

Compass engineering docs preview: https://compass-agent-rig-1329-purge.compass-eng-docs.pages.dev

Deployed from compass-agent/rig-1329-purge-acp-terminology at 41b0d47.

@rigel-mintaka
rigel-mintaka force-pushed the compass-agent/rig-1329-purge-acp-terminology branch from 2e92873 to 6eaaf57 Compare September 17, 2026 02:32
rigel-mintaka and others added 2 commits September 16, 2026 22:40
…IG-1329)

The in-container agent is the first-party SDK agent — `CompassAgent` wraps
`Agent` and drives a typed `AgentFrame`/`AgentControl` protocol over stdio.
ACP is no longer used anywhere, but the term survived in comments.

The mapper comments were the costly ones: they cited `acp-event-mapper.ts`
line-for-line (`:130`, `:247`, `:255`, `:378`) for behaviour this file now
owns outright, pointing every reader at a file that does not exist.

Proto doc-comments are fixed at the source and regenerated, never hand-edited;
the generated diff is comment-only. Internal `.acp*` CSS selectors are renamed
to `.session*`.

Fixture identifiers and historical design records keep the term: they record
what was named or decided then, and the comms fixtures are asserted by id.

Co-authored-by: Matt Wilkinson <matt@rigel.build>
Review found the rewrite deleted normative statements that carried no ACP
terminology, so a purge narrowed the documented contract in four checked-in
client surfaces. Restored: AgentWorkspace is "no longer a message container"
and its access is a projection of channel membership "rather than a separate
participant ACL"; the execution trace goes on a dedicated stream "not as comms
blocks", which is the prohibition a producer reads.

Two comments had become wrong rather than merely shorter. `planStatus` no
longer said "abandoned" folds to COMPLETED, which a reader would infer as
PENDING from the surrounding text — the opposite of the code. The readers'
header lost the reason they exist (the SDK types tool payloads as `any`) and
restated what the next comment already said.

Also: an em-dash lost its pair in the file header, `adapt.ts` kept a line
citation pointing at unrelated code (now a symbol reference), and a CSS comment
named a "session view" that does not exist.

Co-authored-by: Matt Wilkinson <matt@rigel.build>
@rigel-mintaka
rigel-mintaka force-pushed the compass-agent/rig-1329-purge-acp-terminology branch from 6eaaf57 to 41b0d47 Compare September 17, 2026 02:42
@rigel-mintaka
rigel-mintaka force-pushed the compass-agent/rig-1544-ask-whitespace-fidelity branch from 82b7657 to 18fd8fe Compare September 17, 2026 02:42
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