Expand description
§ArkheForge Runtime — L1 Primitives (arkhe-forge-core)
Core 5 primitive types (User / Actor / Space / Entry / Activity), sealed
ArkheComponent / ArkheAction / ArkheEvent traits, ShellBrand<'s>
invariant-lifetime isolation, deterministic entity-id derivation.
Pure compute — no I/O, no time, no randomness (L0 A11 succession). Only
depends on arkhe-kernel (L0) and arkhe-macros (derive provider).
arkhe-forge-platform must not be pulled in (layer-independence directive).
Modules§
- action
ArkheAction+ActionComputesealed traits.- activity
- Activity primitive — actor→target verb.
- actor
- Actor primitive — per-shell activity subject.
- brand
- Shell brand — compile-time per-shell type isolation.
- bridge
- L0 ↔ Forge
ActionComputebridge. - component
ArkheComponentsealed trait +BoundedString<N>.- context
- L1 compute context — primitive-facing interface for Action
compute(). - entry
- Entry primitive — persistent content unit.
- event
ArkheEventsealed trait + Core Event catalog.- pii
- PII wire format + AEAD AAD helper + DEK message counter.
- pipeline
- L1 compute pipeline — invokes
compute()on a forgeActionComputeand returns the drained per-tickEventRecordbuffer. - space
- Space primitive — container / scope.
- typecode
- TypeCode allocation bounds — core sub-split.
- user
- User primitive — Identity Subject.
Constants§
- MAX_
ID_ DERIVE_ RETRIES - Maximum retry count for zero-digest collision avoidance.
- RUNTIME_
SEMVER - ArkheForge Runtime semver triple — matches the repo release.
Functions§
- derive_
entity_ id - Deterministic entity-id derivation. Pure — no hidden state.
Attribute Macros§
- arkhe_
pure - Re-exports of the Runtime-layer derive + attribute macros from
arkhe-forge-macros.#[arkhe_pure]is the E14.L1 Subset-Rust purity attribute forAction::computebodies.#[arkhe_pure]— attribute macro asserting that anAction::compute- style function body conforms to E14.L1 Subset-Rust purity. Backed byarkhe-subset-rust-check; emits acompile_error!per violation site. Spec anchor: E14.L1 (MC).
Derive Macros§
- Arkhe
Action - Re-exports of the Runtime-layer derive + attribute macros from
arkhe-forge-macros.#[arkhe_pure]is the E14.L1 Subset-Rust purity attribute forAction::computebodies. DeriveArkheAction— emits the sealed-trait impl and the marker-trait impl pinningTYPE_CODE,SCHEMA_VERSION,BAND,IDEMPOTENT. - Arkhe
Component - Re-exports of the Runtime-layer derive + attribute macros from
arkhe-forge-macros.#[arkhe_pure]is the E14.L1 Subset-Rust purity attribute forAction::computebodies. DeriveArkheComponent— emits the sealed-trait impl and the marker-trait impl pinningTYPE_CODEandSCHEMA_VERSION. - Arkhe
Event - Re-exports of the Runtime-layer derive + attribute macros from
arkhe-forge-macros.#[arkhe_pure]is the E14.L1 Subset-Rust purity attribute forAction::computebodies. DeriveArkheEvent— emits the sealed-trait impl and the marker-trait impl pinningTYPE_CODEandSCHEMA_VERSION.