-
Notifications
You must be signed in to change notification settings - Fork 0
Architecture
sarr-io edited this page Jun 9, 2026
·
21 revisions
Zinc serves as a governed environment boundary for executing Circuitry 0.6 actions on the local computer.
| Layer | Owns |
|---|---|
| Circuitry | YAML action-shape definitions (circuitry: "0.6"), inputs (takes), steps (does), and outputs (gives). |
| Zinc | Database state (Limbo), input/output collection, REPL shell execution, command interception/policies, package installation, and trace recording. |
Unlike old versions, Zinc 0.6 does not execute LLM completions or graph topologies directly. It provides the governed runtime boundary where an agent or user interacts with the system.
-
Load Shape: Zinc resolves and loads the
.circuitry.yamlfile. - Validate: The shape is verified against Circuitry 0.6 standards (checks for core fields, flags legacy 0.5 syntax).
-
Resolve Inputs: Zinc resolves
takesinputs via CLI parameters or prompts. - Initialize Trace: A run and doc record are initialized in the Limbo database.
- Governed REPL: Zinc starts the governed REPL shell, displaying guidance. Commands are typed, intercepted, evaluated against policy rules, approved, executed, and recorded.
-
Settle Outputs: On REPL exit, Zinc prompts for and resolves output values (
gives). - Complete Trace: The run is marked finished, database transactions commit, and outputs are returned.