Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-sovereign-core-mv/blob/main/crates/aien-allen-profile/src/lib.rs # aien-sovereign-core-mv AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-sovereign-core-mv / crates / aien-allen-profile / src / lib.rs` 39 lines ยท 1720 bytes Raw Blame History 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 //! ALLEN persona profile v1 (aien-architecture#159). 17 //! 18 //! A small, versioned, user-editable profile (display name, tone, verbosity, 19 //! plain-language switch, a few working preferences) bound to an engaged ALLEN 20 //! identity. This crate is the ONLY writer of the profile store 21 //! `.allen-profile/`; `aien-allen` stays resolve-only and the subject 22 //! (kind 24) is never touched. 23 //! 24 //! ENFORCED here: the schema and its limits, the identity binding, the 25 //! compare-and-swap revision rule, the crash-safe write order, and the fact 26 //! that no profile field can carry a permission. ADVISORY: how a model 27 //! responds to the rendered [`PersonaContext`]; it is text in a prompt. 28 pub mod context; 29 pub mod refusal; 30 pub mod schema; 31 pub mod store; 32 33 pub use context::{PersonaContext, PersonaState, CONTEXT_MAX_BYTES}; 34 pub use refusal::ProfileRefusal; 35 pub use schema::{ 36 Author, Changes, HistoryEntry, Identity, Persona, PrefChange, Profile, Scope, Tone, Verbosity, 37 WorkingPref, DEFAULT_NAME, PROFILE_SCHEMA, 38 }; 39 pub use store::{profile_dir, Store, WriteStep};