Expand description
Core types and protocol definitions for the PunkGo kernel.
This crate defines the foundational primitives of the PunkGo system:
action— Action types (observe,create,mutate,execute) and cost quotingactor— Actor model:Human(unconditional) andAgent(conditional), with lineageboundary— Writable-target enforcement via glob patterns (PIP-001 §8–§10)consent— Authorization envelopes with budget, checkpoint levels, and lifecycle (PIP-001 §11)stellar— Energy production config anchored to hardware INT8 TOPS (PIP-001 §1)protocol— IPC request/response envelope formatpolicy— Action validation and visibility ruleserrors— Unified kernel error types
All types in this crate are serializable and form the shared vocabulary between the kernel runtime, state persistence, and CLI client.
Modules§
- action
- actor
- Actor types and identity derivation.
- boundary
- Boundary enforcement — writable_targets glob matching and access control.
- consent
- Consent and authorization — budget envelope system.
- errors
- policy
- protocol
- stellar
- Stellar luminosity configuration — anchors energy production to hardware compute power.
Constants§
- VERSION
- Kernel version, inherited from workspace Cargo.toml.