feat: engram-reasoning — graph-native inference engine, evidence chains, confidence propagation

This commit is contained in:
Will Anderson
2026-04-27 18:36:37 -05:00
parent 192528543f
commit 61a4632163
11 changed files with 2052 additions and 0 deletions
+7
View File
@@ -228,6 +228,12 @@ async fn main() -> anyhow::Result<()> {
.route("/tx/history", get(routes::tx::tx_history))
.route("/tx/chain/{command_id}", get(routes::tx::tx_causal_chain));
// Reasoning routes (no auth — graph-native inference)
let reasoning_routes = Router::new()
.route("/reason", post(routes::reasoning::reason))
.route("/reason/causal", post(routes::reasoning::causal))
.route("/reason/contradictions", post(routes::reasoning::contradictions));
let studio_routes = Router::new()
.route("/", get(serve_studio_index))
.route("/studio", get(serve_studio_index))
@@ -239,6 +245,7 @@ async fn main() -> anyhow::Result<()> {
.merge(sync_routes)
.merge(projection_routes)
.merge(tx_routes)
.merge(reasoning_routes)
.layer(CorsLayer::permissive())
.with_state(state);