mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
docs(runtime): update Lean manifest cmd example to ENE surface toolsJson
This commit is contained in:
parent
48da4d058c
commit
d50699b619
1 changed files with 5 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
//! Lean-first MCP manifest loader.
|
||||
//!
|
||||
//! This is a boundary shim: it loads the published MCP tool list from a Lean-owned
|
||||
//! JSON manifest (generated by `Semantics.McpSurfaceManifest`).
|
||||
//! JSON manifest (generated by Lean).
|
||||
//!
|
||||
//! Semantics are NOT defined here: this module only parses JSON into runtime
|
||||
//! `McpTool` descriptors.
|
||||
|
|
@ -77,8 +77,10 @@ pub fn tools_from_lean_command(command: &[String]) -> Result<Vec<McpTool>, Strin
|
|||
|
||||
/// Load the Lean manifest using environment variables.
|
||||
///
|
||||
/// - `CLAW_LEAN_MCP_MANIFEST_CMD`: a JSON array of strings, e.g.
|
||||
/// `["bash","-lc","cd 0-Core-Formalism/otom/tools/lean/Semantics && lake env lean -R Semantics -E 'import Semantics.McpSurfaceManifest; open Semantics.McpSurfaceManifest; #eval instanceToolsJson'"]`
|
||||
/// - `CLAW_LEAN_MCP_MANIFEST_CMD`: a JSON array of strings.
|
||||
///
|
||||
/// Example (ENE context surface):
|
||||
/// `["bash","-lc","cd 0-Core-Formalism/otom/tools/lean/Semantics && lake env lean -R Semantics -E 'import Semantics.EneContextSurface; open Semantics.EneContextSurface; #eval toolsJson'"]`
|
||||
///
|
||||
/// This stays shim-only: the env var provides *how* to invoke Lean; the manifest
|
||||
/// itself is the tool truth.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue