Skip to content

Sensorium Command Intent v1

Source schema: doc/schemas/sensorium-command-intent.v1.schema.json

Caller-supplied command intent after host policy/model merge. The intent carries argv as data, never a raw shell string.

Governing Basis

Project Lineage

Requirements

Stories

Fields

Field Required Shape Description
schema yes const: sensorium-command-intent.v1
schema/v yes const: 1
command/id no ref: #/$defs/ref Optional command identity. The host assigns it when missing and preserves it when present and valid, so terminal-command records keep correlation identity.
command.profile/ref yes ref: #/$defs/ref
argv yes array
cwd yes ref: sensorium-relative-path-address.v1.schema.json
env no object
network no ref: #/$defs/networkPolicy Explicit command-level network policy. The Workbench hard-MVP contract admits only no-egress/local-only policy values; any future egress grant must use a separate capability contract.
timeout_ms no integer

Definitions

Definition Shape Description
ref string
argvAtom string
networkPolicy unspecified
## Field Semantics

schema

  • Required: yes
  • Shape: const: sensorium-command-intent.v1

schema/v

  • Required: yes
  • Shape: const: 1

command/id

  • Required: no
  • Shape: ref: #/$defs/ref

Optional command identity. The host assigns it when missing and preserves it when present and valid, so terminal-command records keep correlation identity.

command.profile/ref

  • Required: yes
  • Shape: ref: #/$defs/ref

argv

  • Required: yes
  • Shape: array

cwd

  • Required: yes
  • Shape: ref: sensorium-relative-path-address.v1.schema.json

env

  • Required: no
  • Shape: object

network

  • Required: no
  • Shape: ref: #/$defs/networkPolicy

Explicit command-level network policy. The Workbench hard-MVP contract admits only no-egress/local-only policy values; any future egress grant must use a separate capability contract.

timeout_ms

  • Required: no
  • Shape: integer

Definition Semantics

$defs.ref

  • Shape: string

$defs.argvAtom

  • Shape: string

$defs.networkPolicy

  • Shape: unspecified