mirror of
https://github.com/hanzoai/mcp.git
synced 2026-10-15 12:30:12 +00:00
An action is one saved, typed, verified operation: its inputs and what each may be, the preconditions read again just before it runs, what it does to the world (which decides whether the user must approve it), what its result depends on, and the check that its effect happened. A request is matched to an action or workflow by trigger, its inputs are bound from the request and from values read out of the repository, and Kai is asked only when several actions or values remain; it may abstain and it never writes a command. Every run leaves a ledger record. The module began as hanzo-actions in Dev (hanzoai/dev branch actions) and lives here now, as its own workspace crate for the reason hanzo- trigram is one: Dev links it without taking this crate's ZAP router, browser and parser dependencies. hanzo_mcp::actions re-exports it. Paths inside it are crate:: paths; nothing else changed in the move. 34 tests: binding, authorization, the proof gate, the cache, redaction, and the git-backed actions run against real repositories.