aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / crates / aienos-agent-state / src / lib.rs
| 1 | // SPDX-License-Identifier: Apache-2.0 |
| 2 | // Copyright 2026 Drake Stapleton (AIEN / aien-dev) |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | |
| 16 | //! AIENOS Agent State ABI & Execution Incarnation Substrate (ยง9). |
| 17 | //! |
| 18 | //! Provides sovereign logical agent identities, deterministic branch derivation, |
| 19 | //! append-only token history logs with rolling cryptographic hash chains, |
| 20 | //! and complete decoupling of persistent semantic identity from ephemeral |
| 21 | //! physical compute incarnations. |
| 22 | |
| 23 | pub mod abi; |
| 24 | pub mod history; |
| 25 | pub mod id; |
| 26 | pub mod incarnation; |
| 27 | pub mod lineage; |
| 28 | pub mod manager; |
| 29 | |
| 30 | pub use abi::{AgentStateAbi, CheckpointHash, StateError}; |
| 31 | pub use history::{TokenHistory, TokenRecord}; |
| 32 | pub use id::{LogicalAgentId, LogicalBranchId}; |
| 33 | pub use incarnation::{ |
| 34 | ComputeState, ExecutionIncarnation, IncarnationId, LogicalBranch, PhysicalInferenceState, |
| 35 | SequenceId, |
| 36 | }; |
| 37 | pub use lineage::{EpistemicRefs, Lineage}; |
| 38 | pub use manager::{AgentSnapshot, AgentStateManager, CheckpointEnvelope}; |