feat(tess): define runtime provider contract #719

Merged
jason.woltje merged 1 commits from feat/tess-runtime-contract into main 2026-07-12 22:29:22 +00:00
Owner

Refs #707

Implements TESS-M1-001: runtime-neutral provider capabilities, session tree, normalized stream events/errors, and attach/detach semantics with immutable server-derived scope.

Refs #707 Implements TESS-M1-001: runtime-neutral provider capabilities, session tree, normalized stream events/errors, and attach/detach semantics with immutable server-derived scope.
jason.woltje added 1 commit 2026-07-12 21:34:36 +00:00
feat(tess): define agent runtime provider contract
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
5c42e67fbe
Author
Owner

VERIFIED APPROVE reviewer-of-record [W-jarvis:reviewer] head 5c42e67fbe

Reviewed PR #719 as non-author against main at exact head 5c42e67fbec1845baaf17ce19e7a3a520fdf99b0.

Evidence:

  • Exact head verified: PR ref and branch feat/tess-runtime-contract both resolve to 5c42e67fbec1845baaf17ce19e7a3a520fdf99b0.
  • Scope verified: packages/types runtime contract only — new AgentRuntimeProvider types/spec plus export from packages/types/src/agent/index.ts; no gateway/runtime implementation side effects.
  • Contract review: defines runtime-neutral capabilities, server-derived immutable RuntimeScope, session/tree/stream/attach/error contracts, and provider methods for list/tree/stream/send/attach/detach/terminate. Client-controlled actor/tenant fields are absent from operational payloads and supplied through RuntimeScope.
  • Test coverage: agent-runtime-provider.spec.ts compiles representative capability/session/event/error/attach/provider contract usage.
  • git diff --check clean.
  • CI verified green on exact head: pr-ci-wait -n 719 reports Woodpecker push pipeline #1691 and PR pipeline #1693 success for 5c42e67fbec1845baaf17ce19e7a3a520fdf99b0.

No merge performed by reviewer.

VERIFIED APPROVE reviewer-of-record [W-jarvis:reviewer] head 5c42e67fbec1845baaf17ce19e7a3a520fdf99b0 Reviewed PR #719 as non-author against `main` at exact head `5c42e67fbec1845baaf17ce19e7a3a520fdf99b0`. Evidence: - Exact head verified: PR ref and branch `feat/tess-runtime-contract` both resolve to `5c42e67fbec1845baaf17ce19e7a3a520fdf99b0`. - Scope verified: `packages/types` runtime contract only — new `AgentRuntimeProvider` types/spec plus export from `packages/types/src/agent/index.ts`; no gateway/runtime implementation side effects. - Contract review: defines runtime-neutral capabilities, server-derived immutable `RuntimeScope`, session/tree/stream/attach/error contracts, and provider methods for list/tree/stream/send/attach/detach/terminate. Client-controlled actor/tenant fields are absent from operational payloads and supplied through `RuntimeScope`. - Test coverage: `agent-runtime-provider.spec.ts` compiles representative capability/session/event/error/attach/provider contract usage. - `git diff --check` clean. - CI verified green on exact head: `pr-ci-wait -n 719` reports Woodpecker push pipeline #1691 and PR pipeline #1693 success for `5c42e67fbec1845baaf17ce19e7a3a520fdf99b0`. No merge performed by reviewer.
jason.woltje merged commit 62f8177806 into main 2026-07-12 22:29:22 +00:00
jason.woltje deleted branch feat/tess-runtime-contract 2026-07-12 22:29:22 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#719