Primitive types
All fields in the API use these core primitive types:Timestamps are nanoseconds since Unix epoch. In JavaScript:
Date.now() * 1_000_000.Event structure
TheEvent object is the core data structure. Every interaction enters Minns Memory Layer as an event.
EventContext structure
Every event carries a context object describing the environment at the time of the event.EnvironmentState
TemporalContext
Goal
ComputationalResources
MetadataValue
Metadata values are typed wrappers:Value constraints
Numeric ranges:priority,progress,confidence:0.0to1.0cpu_percent:0.0to100.0hour:0to23minute:0to59
EventIdis au128(128-bit integer)- All other IDs are
u64(64-bit integers)
- Cannot be empty unless explicitly noted
agent_type,action_name,descriptionmust be non-empty
- Can be empty
[]unless explicitly required to have elements
