Environment is the reusable execution substrate definition for a session.
The current runtime keeps environments deliberately small and explicit.
Why environments exist
An environment answers:- where does this session execute
- what sandbox posture applies
- what default workspace mounts should exist
- a session references an environment
- a session does not embed the whole environment definition
Current shape
The current environment contract includes:idnamekind: "local"sandboxworkspaceMountDefaultscreatedAtupdatedAt
- workspace access mode
- network access mode
- package policy
- default mount paths for workspace and runtime directories
Current implementation
Today openboa ships only:kind: "local"
Storage
Reusable environment definitions live under:local-default
Session relationship
A session stores:environmentId
- the session is loaded
- the environment definition is loaded
- resources are provisioned against that environment
- the harness runs
What does not belong here
The environment is not:- the agent definition
- the provider model choice
- a full session snapshot
- a chat room
- a work item
Future shape
This contract is intentionally open to later additions such as:- remote containers
- cloud workers
- richer network policy
- package/image pinning
- vault-aware provisioning