1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//! The built-in assistant: the aion authoring assistant ships INSIDE the
//! server binary, present the moment `aion server` runs.
//!
//! This is the ops-console doctrine applied to a workflow document. The
//! console is compiled into the binary and served at `/` with no operator
//! step; the assistant document
//! (`crates/aion-server/assistant-embed/assistant.awl`) is compiled into the
//! binary the same way, installed into the engine at boot, and described over
//! `/assistant`. A stock `cargo install aion-cli` therefore carries the
//! assistant — no repository checkout, no example crate, no hand deploy.
//!
//! # The brain is a seam, not a dependency
//!
//! Nothing here names an agent harness. The document declares one `agent`
//! action on the `default` queue; WHICH agent serves that queue is the
//! worker's business (`aion worker agent --harness …`, norn today, ACP for
//! external agents). This module installs the document and describes it; it
//! neither spawns nor selects a brain.
//!
//! # What the install will and will not do
//!
//! [`install::install_embedded_assistant`] loads the embedded package into
//! the engine ONLY when the catalog holds no version of the assistant
//! workflow type at all — a fresh home. Loading a package re-points routing
//! for its type ([`aion::Engine::load_package`]), so an unconditional boot
//! install would silently steal the route from an operator's deliberate
//! rollback, on every restart. When any version is already resident the
//! install stands down and says so, naming both hashes and the operator's own
//! cut verbs. The live cut is the operator's act, never a side effect of a
//! restart.
/// The served description of the embedded assistant: identity, contract, and
/// current residency in the engine catalog.
/// The embedded AWL document, its compiled identity, and its verified session
/// contract.
/// Boot-time installation of the embedded document into the engine catalog.
pub use ;
pub use ;
pub use ;