This is the Draft 0.1 language specification. Its conformance requirements include targets beyond the current implementation, such as complete static typing and resource bounds. The execution contracts describe the guarantees implemented today.
Views
A view is a pure function of a committed state snapshot and a permitted context: Rendering MUST NOT change state. The read event records the exact snapshot and context identity used.Context capabilities
current references are capabilities, not unrestricted object traversal. Every
path MUST be declared by the runtime with a type and disclosure class.
Recommended classes:
The validator MUST compute which capabilities every view expression may read.
A public view MUST be rejected if it can read a capability outside its declared
disclosure policy.
Stored data labels
Fields MAY declare disclosure labels. Derivations inherit the most restrictive label of their inputs unless a reviewed declassification rule applies. Aggregation is not automatically safe declassification. Counts, timing, completion, errors, and collection sizes can reveal private facts.Prompt rendering
Only the rendered view—not raw machine state—MAY be placed into a model prompt. Internal state, command inputs, event metadata, and store references MUST NOT be implicitly added to prompts.Errors and advisory outcomes
Participant-visible errors and outcomes MUST NOT reveal private state used to evaluate a requirement. A genericrequirement_not_met result is safer than
reporting the hidden value that caused it.
