You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cross-checked every doc against packages/* and corrected ~50 concrete
drifts surfaced by an audit:
- Replaced `client.state.sessionId` / `welcome.session_id` with
`client.state.id` (the actual getter; session_id lives on the
envelope, not the welcome payload).
- Replaced every "Zod" reference with Effect Schema (no Zod dep
exists in the workspace).
- Corrected `SessionPhase` values to `opening | accepted | closing |
rejected` everywhere; removed the fictional
`pre-handshake/awaiting-welcome/closed` machine.
- Removed `leaseConstraints.budgets` — budgets ride on
`lease["cost.budget"]` as `currency:decimal` patterns. Updated
jobs, leases, and errors guides accordingly.
- Fixed `validateLeaseOp` signature to the real single-object form
`{ lease, capability, target, ctx? }`.
- Rewrote docs/cli.md to match the actual CLI flags
(packages/sdk/src/cli.ts).
- Fixed `startWebSocketServer` doc (no `path`/`allowedHosts`; those
belong to `attachArcpUpgrade`).
- Corrected OTel middleware doc: span names are
`arcp.send <type>`/`arcp.recv <type>`, attributes match source,
removed the false "heartbeats are filtered" claim.
- Corrected runtime doc: `accept()` is sync, versioned agents use
`registerAgentVersion`/`setDefaultAgentVersion`, file-layout
matches the post-refactor module split.
- Corrected client doc: `listJobs` filter uses `status: string[]`,
`client.send()` does NOT auto-fill `session_id`.
- Fixed CONFORMANCE.md spec link and refreshed file:line citations
after the runtime refactor.
- Removed dead CODE_OF_CONDUCT link from CONTRIBUTING.md.
- Expanded CHANGELOG.md to record the v1.1 surface and feature flags
shipped in 0.1.0.
Coverage added:
- New docs/effect.md — comprehensive map of the previously
undocumented Effect-native surface (ARCPRuntimeLayer,
ARCPClientLayer, JobService, EventLogService, tagged errors,
OtelTracerLayer). Linked from docs/README.md.
- Effect-shaped twins surfaced in architecture and each package page.
- docs/README.md index now links the credentials guide.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ go deeper into each subsystem.
15
15
-[Architecture](./architecture.md) — how `@agentruntimecontrolprotocol/core`, `@agentruntimecontrolprotocol/client`, and `@agentruntimecontrolprotocol/runtime` fit together.
16
16
-[Transports](./transports.md) — WebSocket, stdio, in-memory; when to pick each.
17
17
-[CLI](./cli.md) — the `arcp` binary shipped by `@agentruntimecontrolprotocol/sdk`.
18
+
-[Effect-native surface](./effect.md) — Layers, Services, and ManagedRuntime for Effect-shaped callers.
- Server + dispatch: [`packages/runtime/src/server.ts`](../packages/runtime/src/server.ts) and [`packages/runtime/src/session-context.ts`](../packages/runtime/src/session-context.ts); Effect twin: [`packages/runtime/src/server-effect.ts`](../packages/runtime/src/server-effect.ts)
0 commit comments