Skip to content

Commit ce3a12d

Browse files
committed
feat(orchestrator): wire terraphim_rlm as execution backend Refs #98
- Add terraphim_rlm as optional dependency behind 'rlm' feature flag - Add backend field to AgentDefinition for specifying execution backend - Create rlm_dispatch module with RlmDispatcher for VM-based execution - Add RLM budget metrics to DriftMetrics for drift evaluation - Add observe_rlm_metrics method to NightwatchMonitor - Add new error variants RlmError and RlmNotEnabled - Feature-gated module and re-exports compile cleanly with/without rlm - All tests pass with cargo test --package terraphim_orchestrator
1 parent 43134c9 commit ce3a12d

11 files changed

Lines changed: 770 additions & 12 deletions

File tree

Cargo.lock

Lines changed: 225 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/terraphim_orchestrator/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ terraphim_router = { path = "../terraphim_router", version = "1.0.0" }
1414
terraphim_types = { path = "../terraphim_types", version = "1.0.0" }
1515
terraphim_tracker = { path = "../terraphim_tracker", version = "1.0.0" }
1616
terraphim_symphony = { path = "../terraphim_symphony", version = "1.0.0" }
17+
terraphim_rlm = { path = "../terraphim_rlm", version = "1.0.0", optional = true }
1718

1819
# Core dependencies
1920
tokio = { version = "1.0", features = ["full", "signal"] }
@@ -35,6 +36,10 @@ toml = "0.9"
3536
# Template rendering
3637
handlebars = "6.3"
3738

39+
[features]
40+
default = []
41+
rlm = ["dep:terraphim_rlm"]
42+
3843
[dev-dependencies]
3944
tokio-test = "0.4"
4045
tempfile = "3.27"

0 commit comments

Comments
 (0)