Skip to main content

scc_engine/
lib.rs

1//! SCC engine facade: one orchestration seam for every transport.
2//!
3//! The `scc` CLI is one client of this engine — never the only way to
4//! access functionality. CLI, HTTP, MCP, SDKs, RPC, and FFI all call
5//! these operations; business logic lives here, transports only parse
6//! arguments and render results.
7//!
8//! Migration rule (spec §50): installing no third-party plugins preserves
9//! existing behavior. This facade moves orchestration WITHOUT changing
10//! algorithms — outputs stay byte-identical (parity tests enforce it).
11
12// trace:exempt reason=module-facade
13pub mod context;
14// trace:exempt reason=module-facade
15pub mod error;
16// trace:exempt reason=module-facade
17pub mod workspace;
18// trace:exempt reason=module-facade
19pub mod task;
20// trace:exempt reason=module-facade
21pub mod checkpoint;
22// trace:exempt reason=module-facade
23pub mod graph;
24// trace:exempt reason=module-facade
25pub mod index;
26// trace:exempt reason=module-facade
27pub mod ops;
28// trace:exempt reason=module-facade
29pub mod plugins;
30// trace:exempt reason=module-facade
31pub mod rpc;
32// trace:exempt reason=module-facade
33pub mod snapshots;
34// trace:exempt reason=module-facade
35pub mod state;
36// trace:exempt reason=module-facade
37pub mod status;
38// trace:exempt reason=module-facade
39pub mod systems;
40// trace:exempt reason=module-facade
41pub mod exports;
42pub mod diagram;
43// trace:exempt reason=module-facade
44pub mod integrations;
45// trace:exempt reason=module-facade
46pub mod history;
47// trace:exempt reason=module-facade
48pub mod inference;
49// trace:exempt reason=module-facade
50pub mod invoke;
51// trace:exempt reason=module-facade
52pub mod misc;
53// trace:exempt reason=module-facade
54pub mod facade;
55pub mod ranking;
56pub mod startup_model;
57
58
59
60pub use context::SccContext;
61pub use error::{EngineError, Result};
62pub use facade::SccEngine;
63pub use workspace::{Engine, open_engine};
64pub use invoke::invoke;
65pub use ops::{describe as describe_operation, OPERATIONS};
66pub use ranking::{RankFeatureValue, RankHooks};
67pub use task::{TaskContextArtifact, build_task_context, build_enriched_task_pack};