Skip to content

Reference

Rules and mappings

Architecture rules and native-system mapping hooks generated from the canonical source.

Authority roles

External SYSTEM/ROLE boundaries. A term's authority.owner names exactly one of these roles.

RoleDescription
project-catalogDurable project-definition catalog. Owns Project and ProjectSnapshot records and their published policy snapshots.
profile-catalogProfile-definition catalog. Owns WorkProfile and AgentProfile blueprints independently of any live run.
native-resource-providerNative owner of an independently addressable Resource. Project and session records only reference or bind it.
workspace-providerWorkspace host or runtime that materializes a working environment.
work-session-coordinatorRuntime coordinator for a WorkSession and the bindings, tasks, and artifacts that exist only inside that episode.
agent-runtimeSupervisor that owns AgentInstance liveness for a process or endpoint.
agent-executorHost executor that records RunAttempts and Turns for an assigned run.
host-productHost product that owns HostConversation history. Distinct from work coordination and from protocol connections.
artifact-publisherPublishing authority for an Artifact's publication metadata.
identity-providerIssuer of Principal names. Does not confer authorization by itself.

Architecture rules

Cross-cutting rules that the semantic linter and future generated prose must treat as normative. Distinct owner, lifecycle, cardinality, or failure semantics imply distinct entities and IDs.

IDLevelEnforcementStatement
distinct-semantics-distinct-entitiesMUSTdocumentaryDistinct owner, lifecycle, cardinality, or failure semantics imply distinct entities and distinct identity fields.
no-unqualified-session-agent-contextMUST NOTlintUnqualified session, agent, and context MUST NOT appear as normative schema field names except in documented compatibility mappings.
one-mutable-authorityMUSTlintEach entity names exactly one catalogued authority role as its owner. Authority roles are external SYSTEM/ROLE boundaries, not the term itself and not another entity. Foreign entities are referenced or observed, not re-owned as a second mutable truth.
no-project-runtime-stateMUST NOTlintProject and ProjectSnapshot MUST NOT contain active runtime state such as PIDs, ports, heartbeats, or current workspaces, runs, or conversations.
snapshot-immutableMUSTlintProjectSnapshot is immutable. A project-bound WorkSession pins an exact snapshot revision and does not mutate it.
worksession-childrenMUSTlintA WorkSession has zero or more ResourceBindings, AgentRuns, HostConversation attachments, Tasks, and Artifacts.
agentrun-one-worksessionMUSTlintAn AgentRun belongs to exactly one WorkSession and has zero or more RunAttempts and Turns.
instance-not-assignmentMUSTlintAn AgentInstance may execute many RunAttempts. Replacing or restarting an instance does not change the AgentRun identity.
ids-are-namesMUSTlintIdentity fields and handles are names, not authorization.
no-credentials-in-snapshotsMUST NOTlintCredentials MUST NOT be serialized in portable project or session snapshots.
policy-narrowsMUSTdocumentaryPolicy only narrows across trust boundaries. A child binding or run MUST NOT grant more than its parent project or session allows.
inverse-cardinality-consistencyMUSTlintRepresented inverse relationships and cardinalities MUST agree on both ends. Every declared parent MUST also appear as a matching child relationship to that parent, with the same target, inverse, and cardinality.
lifecycle-closedMUSTlintLifecycle transitions MUST reference declared states of the same term.
qualified-identityMUSTlintIdentity field names MUST be qualified snake_case names ending in _id, never a bare session, agent, or context token.
identity-in-fieldsMUSTlintidentity.field is the index of the term's handle. fields is the exchange shape. The identity field MUST appear exactly once in fields as an identity-kind entry with the same name.

project-interop

Status: draft. Overview fidelity: partial. Verified against: unverified.

Mapping hook for the project-interop effort. Names appear related at the Project layer; no implementation revision has been verified against this model, so field-level equivalence is not asserted.

AWM termNative termFidelityNotes
ProjectProjectpartialShared name and likely shared purpose (durable collaboration scope). Unverified.
ProjectSnapshot_none_tbdSnapshot or export objects may exist; not verified.
WorkProfile_none_tbd
Resource_none_tbd
ResourceBinding_none_tbd
Workspace_none_tbd
WorkSession_none_tbd
AgentProfile_none_tbd
AgentInstance_none_tbd
AgentRun_none_tbd
RunAttempt_none_tbd
Turn_none_tbd
HostConversation_none_noneHost chat is out of scope for a project-interop definition.
Task_none_tbd
Artifact_none_tbd
Principal_none_tbd