ferrify-application
ferrify-application orchestrates a governed Ferrify run.
This crate is the layer that wires repository modeling, policy resolution,
patch planning, verification, trace grading, and final reporting into one
coherent flow. It does not own repository parsing or process execution itself.
Instead, it coordinates the surrounding crates and returns a structured
RunResult.
What This Crate Owns
RunRequestRunResultGovernedAgentApplicationError
Execution Stages
A typical run goes through these stages:
- classify task input and untrusted text
- build a repository model
- resolve mode and approval policy
- create a bounded change plan
- derive a patch plan
- run verification
- build an evidence-backed final report
Example
Add the packages:
[]
= "0.1.1"
= "0.1.1"
= "0.1.1"
= "0.1.1"
Run the orchestrator:
use BTreeSet;
use PathBuf;
use ;
use ;
use ProcessVerificationBackend;
use ;
Design Notes
- The application layer should stay orchestration-focused.
- Policy and trust decisions must remain visible in returned data.
- A successful run is a verified plan unless the runtime actually performs edits.
Relationship To The Workspace
If ferrify-domain defines the language of a run, ferrify-application
defines the sequence in which that language is used.