DimOS agent domain context
Context loading
Before working on a change, load the repository context in this order:- Read
AGENTS.mdand follow its applicable instructions. - Read
openspec/config.yamlfor the OpenSpec schema, terminology, and rules. - Read the relevant files under
openspec/specs/. - Read the root
CONTEXT.mdif it exists. - Read relevant records under
docs/adr/if that directory exists.
CONTEXT.md and docs/adr/ are optional. If either is absent, continue
silently; do not report the absence as an error. Select specs and ADRs based on
the affected behavior and implementation surface rather than reading
unrelated material.
Two meanings of “spec”
Keep these terms separate:- An OpenSpec spec is a behavior specification under
openspec/specs/. It describes observable behavior, user or developer outcomes, public interfaces, safety constraints, and testable scenarios. - A DimOS Python Spec Protocol is a code-level interface contract, usually
a
Protocolinheriting fromdimos.spec.utils.Spec, often found in a*_spec.pyfile. It describes module RPCs and injected interfaces.
Work layout
Organize work through this chain:openspec/specs/. Include concrete
scenarios for behavioral requirements. Call out DimOS Python Spec Protocols,
blueprint composition, streams, skills/MCP exposure, generated files, and
hardware, simulation, or replay assumptions in design and task material when
they are relevant.
