Expand description
Agent and topology composer lens plus the live monitor for the SIM Web-UI (WEBUI_4); the flagship that proves the one-bus thesis.
The composer renders a scene/graph of agent nodes with typed ports, edges,
and nested groups, and accepts create/move/wire/unwire/delete Intents. An
agent on the runner can act as an operator on the same bus a human edits on,
so an agent-issued Intent edits the same topology the human sees live. All
state is backed by existing sim-lib-topology values; there is no second
model.
view encodes a topology Graph to a Scene, editor applies composer
Intents through the topology patch engine, and persist saves and loads a
topology as SIM data. monitor and replay() make a run inspectable.
§Example
A topology Graph opens in the composer lens as a scene/graph value:
use sim_lib_topology::Graph;
let graph = Graph::minimal("demo");
let scene = sim_lib_view_agent::composer_view(&graph);
assert!(sim_lib_scene::validate_scene(&scene).is_ok());Re-exports§
pub use change_capsule::CHANGE_CAPSULE_LENS;pub use change_capsule::CapsuleDiff;pub use change_capsule::CapsuleFairnessFacet;pub use change_capsule::CapsuleLog;pub use change_capsule::CapsuleReplayEvent;pub use change_capsule::CapsuleReplaySummary;pub use change_capsule::ChangeCapsuleViewState;pub use change_capsule::GeneratedDocsSummary;pub use change_capsule::PinPlanView;pub use change_capsule::change_capsule_replay_frames;pub use change_capsule::change_capsule_view;pub use change_capsule::fake_change_capsule_state;pub use editor::apply_composer_intent;pub use mission_control::EvidenceEvent;pub use mission_control::ExplanationFacet;pub use mission_control::HumanGate;pub use mission_control::LeaseClaim;pub use mission_control::LeaseConflictCard;pub use mission_control::MISSION_CONTROL_LENS;pub use mission_control::MissionCard;pub use mission_control::MissionControlIntent;pub use mission_control::MissionControlState;pub use mission_control::ValidationState;pub use mission_control::evidence_from_dev_cassette;pub use mission_control::mission_control_intents;pub use mission_control::mission_control_replay_frames;pub use mission_control::mission_control_view;pub use monitor::MONITOR_LENS;pub use monitor::monitor_view;pub use monitor::node_detail;pub use persist::composer_load;pub use persist::composer_save;pub use replay::replay;pub use replay::replay_final;pub use run::NodeStatus;pub use run::RunEvent;pub use run::RunState;pub use view::COMPOSER_LENS;pub use view::composer_view;
Modules§
- change_
capsule - Change Capsule Scene for reviewable Atelier edits.
- editor
- The composer editor: composer Intents applied to a
Graph. - mission_
control - Mission Control Scene for agent-operated work.
- monitor
- The live monitor view: a topology Graph plus its run state.
- persist
- Saving and loading a composed topology as SIM data.
- replay
- Replay: reconstruct a past run visually from a recorded event stream.
- run
- Run state: the live execution view of a topology.
- view
- The topology composer view: a
Graphencoded as ascene/graph.
Statics§
- RECIPES
- Embedded cookbook recipe books shipped with this library.
Functions§
- fake_
mission_ control_ state - Deterministic fake state for UI and cassette tests.