Function main

Source
pub(crate) fn main() -> Result<(), Box<dyn Error>>
Expand description

Entry point for the proof‑of‑concept binary.

The function performs the following high‑level steps, each documented inline:

  1. Sets up a temporary workspace.
  2. Initialises all required components.
  3. Simulates a client sending an audit task to an agent.
  4. Processes the task as the agent would, including secret scrubbing.
  5. Curates a DecisionRecord via the SLURP engine.
  6. Records provenance relationships in the BUBBLE graph.
  7. Prints a success banner and the path to the persisted Dolt state.

Errors from any component propagate via ? and are reported as a boxed error.