Skip to content

Term

WorkSession

A bounded episode of work that coordinates resources and participants. A WorkSession may contain many AgentRuns and ResourceBindings. It is never an MCP connection and never a host chat transcript.

Identity
work_session_id
Kind
name
Authority role
work-session-coordinator
Mutability
mutable
Status
accepted

Purpose

Be the unit that binds a ProjectSnapshot, resources, tasks, artifacts, conversations, and agent assignments into one episode with a start and an end.

Relationships

NameTargetKindCardinalityInverse
project_snapshotProjectSnapshotpins0..1pinned_by_work_sessions 0..*
work_profileWorkProfilereferences0..1work_sessions 0..*
resource_bindingsResourceBindingcontains0..*work_session 1
agent_runsAgentRuncontains0..*work_session 1
host_conversation_attachmentsHostConversationattaches0..*work_session 0..1
tasksTaskcontains0..*work_session 1
artifactsArtifactcontains0..*work_session 0..1
participantsPrincipalreferences0..*participating_sessions 0..*

Lifecycle

Initial proposed. Terminal: closed, aborted.

proposedopenpausedclosedaborted
  • proposedopen
  • openpaused
  • pausedopen
  • openclosed
  • pausedclosed
  • openaborted
  • pausedaborted
  • proposedaborted

Invariants

  • MUST pin-exact-snapshot: A project-bound WorkSession MUST pin exactly one ProjectSnapshot revision.
  • MUST children-cardinalities: A WorkSession MUST allow 0..* ResourceBindings, AgentRuns, HostConversation attachments, Tasks, and Artifacts.
  • MUST NOT not-mcp-connection: A WorkSession MUST NOT be identified with an MCP connection or transport session.
  • MUST NOT not-host-conversation: A WorkSession MUST NOT be identified with a HostConversation.
  • MUST NOT no-credentials: A portable WorkSession snapshot MUST NOT serialize credentials.
  • MUST policy-narrows: WorkSession policy MUST only narrow the pinned project policy.

Aliases

  • work-episode

Deprecated aliases

  • session

Not synonyms

  • HostConversation: Host chat history may attach to a session; it is not the session.
  • AgentRun: An AgentRun is one agent's assignment inside the session.
  • Workspace: A workspace is a bound environment, not the coordinating episode.
  • MCP session: MCP 2026-07-28 has no protocol-level session; historical transport identifiers are not work episodes.

Examples

  • A time-bounded incident response that several agents and a human join.
  • A multi-hour implementation episode pinning one ProjectSnapshot.

Anti-examples

  • A Crush or Goose chat thread taken as the work itself.
  • An MCP transport connection or a historical Mcp-Session-Id.
  • A durable Project.

Fields

The identity field is the index of the handle. fields is the exchange shape.

NameKindTypePortableNotes
work_session_ididentitynameTrue
project_snapshot_idreferencenameTrue
work_profile_idreferencenameTrue
display_namedescriptivestringTrue
policypolicyPolicyDocumentTrueMust only narrow the pinned ProjectSnapshot policy.

Native mapping hooks

SystemNative termFidelityNotes
project-interop_none_tbd