# Synthetic library workflow

Source: https://usecns.dev/hippocampus-topic-synthetic-library-workflow/

[Start here](https://usecns.dev/manual-hippocampus/)
[CLI commands](https://usecns.dev/commands-hippocampus/)
[Configuration & integration](https://usecns.dev/hippocampus-topics/)

Use only checked-in synthetic Pi v3 envelopes and ephemeral test PKI, with separate exclusively owned private Linux/local-filesystem roots and trusted non-mutating ancestors. Do not reuse collector storage. There is no background worker, automatic retry, credential discovery or real-session support. Select the feature needed for your lab workflow:

| Workflow | Required feature | Boundary |
| --- | --- | --- |
| Archive validation | None | Evidence representation and intrinsic validation; no I/O/authority. |
| Wire validation | None | Bounded strict ingress and exact-byte receipt verification; no I/O/signing. |
| Synthetic receiver | `synthetic-receiver` | Durable Pi-only acceptance, suppression, origin and credential controls. |
| Synthetic sender | `synthetic-sender` (includes receiver) | Independent immutable outbox with explicit callback attempts. |
| Loopback HTTPS | `synthetic-https` (includes sender/receiver) | One loopback TLS1.3/mTLS request per connection. |

`fault-injection` independently enables deliberate process exits, never normal operation. No synthetic feature is enabled by default.

For runnable examples without inventing a configuration format, use the public-interface integration tests from the checkout root:

```
cargo test --locked --test wire frozen_bytes_and_receipt_are_bound_without_claiming_current_storage
cargo test --locked --features synthetic-sender --test sender lost_reply_retries_exact_bytes_and_receipt_commit_reclaims_only_sender_copy
cargo test --locked --features synthetic-https,fault-injection --test transport lost_a_put_reply_reconciles_exact_receipt_with_b_without_reacceptance
```

These create disposable fixture stores (and, for HTTPS, loopback sockets/test certificates). Expected result: passing assertions for exact bytes and one historical receipt, not a production readiness verdict. The full feature matrix above adds subprocess crash recovery. The following references describe how to compose the same public APIs in a Rust caller.