Expand description
Perpetual cognition runtime for persona swarms.
Phase 0 scope:
- Contract types for personas, thought events, proposals, and snapshots
- In-memory runtime manager for lifecycle + lineage
- Feature-flagged perpetual loop (no external execution side effects)
Modules§
- beliefs
- Shared Belief Store — structured extraction, canonical keys, decay, and confidence policy.
- executor
- Execution Engine — Capability Leases, Tool Execution, and Decision Receipts.
- persistence
- Persistence — atomic save/load of cognition state with evidence preservation.
- tool_
router - FunctionGemma-powered hybrid tool-call router.
Structs§
- Attention
Item - An item requiring persona attention.
- Cognition
Runtime - In-memory cognition runtime for perpetual persona swarms.
- Cognition
Runtime Options - Runtime options for cognition manager.
- Cognition
Status - Start/stop response status.
- Create
Persona Request - Request payload for creating a persona.
- Global
Workspace - The coherent “now” for the entire swarm.
- Lineage
Graph - Lineage graph response.
- Lineage
Node - Lineage node response.
- Memory
Snapshot - Distilled memory snapshot contract.
- Persona
Identity - Identity contract for a persona.
- Persona
Policy - Policy boundaries for a persona.
- Persona
Runtime State - Full runtime state for a persona.
- Proposal
- Proposal contract (think first, execute through gates).
- Reap
Persona Request - Request payload for reaping persona(s).
- Reap
Persona Response - Reap response.
- Spawn
Persona Request - Request payload for spawning a child persona.
- Start
Cognition Request - Start-control payload for perpetual cognition.
- Stop
Cognition Request - Stop-control payload for perpetual cognition.
- Swarm
Governance - Governance rules for swarm voting.
- Thinker
Client - Thinker
Config - Thinker
Output - Thought
Event - Streamable thought event contract.
Enums§
- Attention
Source - Source of an attention item.
- Candle
Device Preference - Persona
Status - Persona execution status.
- Proposal
Risk - Proposal risk level.
- Proposal
Status - Proposal status.
- Proposal
Vote - A vote on a proposal.
- Thinker
Backend - Thought
Event Type - Thought/event types emitted by the cognition loop.