Skip to content

Commit ac029ae

Browse files
committed
Add ToolClad documentation and cross-references
1 parent 8f2f715 commit ac029ae

5 files changed

Lines changed: 429 additions & 3 deletions

File tree

docs/getting-started.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,18 @@ export SYMBI_RUNTIME_MODE=development
477477
export MCP_SERVER_URLS="http://localhost:8080"
478478
```
479479

480+
### Tool Contracts (ToolClad)
481+
482+
Define governed tool contracts in the `tools/` directory:
483+
484+
```bash
485+
symbi tools init my_tool # create a starter manifest
486+
symbi tools validate # validate all manifests
487+
symbi tools test my_tool --arg target=10.0.1.5 # dry-run with args
488+
```
489+
490+
See the [ToolClad guide](/toolclad) for the full manifest format, execution modes, and scope enforcement.
491+
480492
### Runtime Configuration
481493

482494
Create a `symbi.toml` configuration file:

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ See the [Security Model](/security-model) guide for full details.
173173
- [Runtime Architecture](/runtime-architecture) — Runtime internals and execution model
174174
- [Reasoning Loop](/reasoning-loop) — ORGA cycle, policy gates, circuit breakers
175175
- [DSL Guide](/dsl-guide) — Agent definition language reference
176+
- [ToolClad](/toolclad) — Declarative tool contracts, argument validation, scope enforcement
176177
- [API Reference](/api-reference) — HTTP API endpoints and configuration
177178
- [Scheduling](/scheduling) — Cron engine, delivery routing, dead-letter queues
178179
- [HTTP Input](/http-input) — Webhook server, auth, rate limiting

docs/reasoning-loop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ The `KnowledgeAwareExecutor` intercepts two special tools:
293293
{ "subject": "Earth", "predicate": "has", "object": "one moon", "confidence": 0.95 }
294294
```
295295

296-
All other tool calls are delegated to the inner executor unchanged.
296+
All other tool calls are delegated to the inner executor unchanged. This includes [ToolClad](/toolclad) tools, which are validated against their manifest contracts before execution.
297297

298298
**After loop completion:**
299299
If `auto_persist` is enabled, the bridge extracts assistant responses and stores them as working memory for future conversations.

docs/security-model.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,9 +484,16 @@ impl ComplianceFramework {
484484

485485
---
486486

487-
## Tool Security with SchemaPin
487+
## Tool Security
488488

489-
### Tool Verification Process
489+
Symbiont provides two complementary layers for tool security:
490+
491+
- **SchemaPin** — cryptographic verification of MCP tool schemas (identity and integrity)
492+
- **[ToolClad](/toolclad)** — declarative tool contracts with argument validation, scope enforcement, injection prevention, and Cedar policy generation
493+
494+
ToolClad governs *how* tools execute (input validation, scope boundaries, evidence capture). SchemaPin governs *whether* to trust a tool's identity (signature verification, key pinning).
495+
496+
### SchemaPin Verification Process
490497

491498
External tools are verified using cryptographic signatures:
492499

0 commit comments

Comments
 (0)