Curation You Can Verify

An in-depth look at BizOS

· Pavel Sinelnikov

BizOS

BizOS is the system Bizantine Labs runs its vault curation on. It is built to answer the two questions every allocator should ask a curator: how do you keep a bad transaction from ever being signed, and how do you prove it? It answers them with architecture, not assurances, and soon with source code anyone can read.

The problem

Most curation failures are process failures. A rebalance runs with the wrong parameters. A strategy bot has a bug. A proposer's credentials leak. A signer approves a batch without reading it. None of these show up in a track record until the day they happen.

When something does go wrong, reconstructing what happened usually depends on records the curator controls. So an allocator is asked to trust the process, the tooling and the people, under pressure. Trust doesn't scale, and it doesn't survive an incident.

Two guarantees instead of trust

BizOS replaces trust with two structural guarantees.

  1. Guarded execution. No transaction a curator originates reaches a signer without an automated evaluation first. If it can't be evaluated, it goes no further unless an admin overrides it in the open (more on that below).
  2. Provable operation. Every verdict, approval, override and privilege change is written to a tamper-evident log before the action it describes is allowed to happen.

Both come from how the system is wired, not from people being careful. The rest of this piece explains that wiring.

How a transaction moves

Every vault change a curator starts enters the Guard as a draft, whoever starts it. There are three ways in today: a deployment batch compiled from the vault's configuration, a bot's automated proposal, or an operator composing one in the Guard's interface. Agents are next, and they will be able to propose named actions only. All of them go through the same evaluation. If one path got softer treatment than another for the same kind of action, that would be a bug.

Transaction flow: proposers feed the Varangian Guard; DANGER is blocked, SAFE or CAUTION goes to auto-approval or quorum, drafts with no verdict need an admin override; approved drafts are written to Zygostates, then pass the signer policy and the signer before reaching the vault on chain.

DANGER stops at the Guard. Everything else is written to Zygostates before it reaches the signer, whose own policy applies last.

Stage one: the Guard

The Guard decodes the draft, simulates it against live chain state, and checks the result against that vault's policies. The verdict is SAFE, CAUTION or DANGER, and it decides how much approval the draft needs:

Approval requirements only ever go up. A verdict, a policy hit or a signal can move a draft from automatic to quorum to blocked, never back. A simulation source that is stale, failing or unreachable also pushes the draft up a level. Missing information is never read as a pass.

Auto-approval is opt-in, one rule at a time. A rule names a vault, an action type and the exact shape it covers. Anything outside that shape waits for a human. This excerpt from the Guard's test suite shows a bot's allocation sitting as a draft until an operator adds a matching rule:

// app/vg/backend/test/auto-approval.test.js (lightly trimmed)
it('allocate parks without a matching rule, then auto-approves once one exists', async () => {
  const first = await ingest(CURATOR_PROXY, 'allocate', [vault, allocationDelta('Supply', 0, 1_000_000)], '1');
  expect(first.body.draft.status).toBe('draft');      // no rule: waits for the quorum

  createAutoApprovalRuleDb({
    vaultId: VAULT, chain: 'stellar_testnet', opType: 'allocate',
    matchJson: JSON.stringify({ contract: CURATOR_PROXY, market: 0, direction: 'supply' }),
    createdBy: OPERATOR_A.id,
  });

  const second = await ingest(CURATOR_PROXY, 'allocate', [vault, allocationDelta('Supply', 0, 42)], '2');
  expect(second.body.auto_approved).toBe(true);       // same shape, now automatic
});

Some actions can never be auto-approved, whatever rules exist. Reporting a vault's assets is one: the same test file plants a matching rule on purpose and checks that it's ignored.

Stage two: the signer's own policy

A draft that clears the Guard still has to pass the signing platform's own policy, which BizOS doesn't control. Today that's Fordefi's transaction policy, an MPC (multi-party computation) signing platform. On Templar vaults, on-chain role limits apply as well. The order is fixed: Guard first, then signer. Neither stage can waive the other, so even a fully compromised Guard can't go beyond the routes and limits set at the signer.

One honest caveat: some Stellar payloads reach the signer only as an opaque hash, so for those the signer can't check what it is signing. For those, the Guard evaluates the full payload itself, never a caller's description of it.

The override

Sometimes the Guard can't reach a verdict, for example when simulation for a chain is unavailable. For those drafts, and only those, there is one way through, the override:

The override never applies to a DANGER verdict. There's no third path.

The signer is unreachable

The signing component runs on its own host, which it never shares with anything else. It runs no application other services can call, and it initiates nothing toward the rest of the system. The only ways in are an administrator's SSH session and the metrics scrape. It polls for approved work. It doesn't wait to be handed it.

The Guard holds no signing key. Neither do the bots or the vault configuration tooling. A compromised proposer, bot or application host can propose a transaction. None of them can produce a signature that skipped both stages.

Network zones: the internet reaches only the public edge on port 443; the edge reaches the private apps and monitoring hosts over the private network; the private network reaches the signing host only for admin SSH and metrics; the Guard and the API Signer both connect outbound to Fordefi; offline keys have no network path.

Only the edge has a public address. The private hosts accept nothing from the internet, and the signer host accepts only admin SSH and the metrics scrape.

Evidence: written first, or nothing happens

Every verdict and its hand-off to the signer, every override, every privilege change and every off-chain state change is written to an append-only, hash-chained log before the action goes ahead. Each entry commits to its own content and to the entry before it, so rewriting history later is detectable, not just discouraged. Ordinary noise like health checks, reads and request logs goes to separate, best-effort operational logs, which never count as evidence.

The log isn't optional. If it's unavailable, BizOS fails closed:

An unlogged action is worse than a delayed one when provable operation is the product. That makes the log's availability a vault-safety question, not just an audit one, so it gets the reliability treatment of a critical keeper: backups, health checks and its own dead-man's switch.

What an allocator can check today. A root hash covering each day's log is published, and attestations about each vault are anchored to those roots. Anyone holding an export of the log can check its ordering and integrity against the published roots. Direct, scoped access to the log for allocators is on the roadmap. It isn't live.

The chain itself is a few lines. Each entry hashes the previous entry's hash together with its own class, actor, subject, payload hash and timestamp:

// app/zygostates/hashchain.js
export const GENESIS_HASH = sha256('zygostates-genesis-v1');

export function computeEntryHash({ prevHash, cls, actor, subject, payloadHash: pHash, timestamp }) {
  return sha256([prevHash, cls, actor, subject, pHash, timestamp].join('|'));
}

Verifying the log means walking it from the start and recomputing both hashes for every row. The first row where either fails is where someone tampered with it:

// app/zygostates/hashchain.js (trimmed)
export function verifyChain(rows) {
  let expectedPrev = GENESIS_HASH;
  for (const row of rows) {
    if (payloadHash(row.payload) !== row.payload_hash) return { valid: false, firstBreakId: row.id };
    const recomputed = computeEntryHash({ prevHash: expectedPrev, cls: row.class, actor: row.actor,
      subject: row.subject, payloadHash: row.payload_hash, timestamp: row.timestamp });
    if (row.prev_hash !== expectedPrev || row.entry_hash !== recomputed) return { valid: false, firstBreakId: row.id };
    expectedPrev = row.entry_hash;
  }
  return { valid: true, firstBreakId: null };
}

Each day's root is a hash over that day's entry hashes, chained to the previous day's root.

Vaults as code

Each vault is defined by one canonical manifest. It covers who holds which authority, the limits, the allowed routes, the transport (RPC calldata or a framework's CLI), and the envelope automation may act inside. Templates for each framework, such as Templar, IPOR Fusion and Superform, turn a manifest into a deployment plan. Requirement gates have to clear before a step can run.

Plans compile into transaction batches that go through the same Guard as everything else. There's no more permissive path for deployments. A step counts as done only when the log holds its verdict event and the vault's deployed record cites it. What was intended and what was actually deployed live in separate files, and the deployed record can only be appended to.

Attestations, such as "every requirement gate for this vault cleared", are signed and anchored to the evidence log's daily roots, then published.

Here's the demo vault that ships with the repository, which shows the whole manifest on one screen:

# app/logothesion/examples/ipor-fusion/demo-ipor-vault/vault.yaml
slug: demo-ipor-vault
chain: ethereum
framework: ipor-fusion
fee_model: "2% management, 20% performance above high-water mark"
material_change_notice: "72 hours"
authority:
  model: multisig
  governance_ref: "0x1111111111111111111111111111111111111111"
limits:
  caps:
    total_usd: 5000000
  thresholds:
    max_slippage_bps: 50
routes:
  - venue: morpho-blue
    weights: 60
  - venue: euler
    weights: 40
disclosure:
  class: us-qp-private
  overrides: []
transport: rpc-calldata
automation:
  envelope:
    max_daily_notional_usd: 500000
    auto_eligible: true

Going from manifest to Guard takes four commands. Validate the vault, compile a plan step into a batch, attest that its gates cleared, then submit the batch to the Guard as reviewable drafts:

logothesion validate ./demo-ipor-vault
logothesion compile  ./demo-ipor-vault ./demo-ipor-vault/20-plan/deployment/step-01-deploy.yaml
logothesion attest   ./demo-ipor-vault STMT-GATES-CLEAR
logothesion submit   ./demo-ipor-vault/20-plan/batches/demo-ipor-vault-s1-deploy.json <signer-vault-id>

submit creates drafts. It doesn't sign anything. It exits with an error if any resulting draft comes back DANGER or ERROR, so it can gate a CI pipeline.

Four components, each with one job

BizOS has four components, named after Byzantine offices. Each owns one thing, and each has a list of things it must never do. Those limits matter most, because they keep the stack from collapsing into one system that can't be checked part by part.

Component Owns Must never
Varangian Guard (the Guard) Decoding, simulation, policy, verdicts, approval quorum, the override, signer hand-off, and every proposer's identity Hold key material, sign anything itself, or lower a draft's approval requirement
Tagma (the bots) Watching the chain and proposing routine actions: TTL renewals, rebalances, NAV reports, supply and withdraw Hold a key with any authority over a vault or funds, or reach a signer except through the Guard
Logothesion (vault config) Manifests, templates, requirement gates, compiled plans, the deployed record, attestations Execute anything, or hold a key or an RPC write credential
Zygostates (Evidence) The append-only, hash-chained log and its daily roots Change or delete an entry, or be skipped by an action that changes state

Underneath is the infrastructure: hosts, containers, secrets delivery, metrics, alerts and backups, with no business logic in it. In front is a single web server, the only thing listening on the public internet. Public documentation and the website are static pages it serves, with no way to query any component.

The separation is the point. Vault config declares, bots and operators propose, the Guard decides, and the signer signs. No component does two of these, so taking over any one of them can't both choose an action and approve it.

What changed since the September version

Area September 2026 Now
Components Six subsystems Four components. The others were removed or split out
Gateway Porta Aurea handled routing, rate limiting and presence-gating in front of the Guard Removed. The edge web server routes straight to the Guard, which checks identity itself
Defense layers Three: gateway, Guard policy, signer policy Two: Guard policy and signer policy
Vestiarion Part of BizOS: verified holdings, signed commitments, incentives A separate service, outside BizOS
Tagma A Python executor service Rust bots, one per job
Override Not described A narrow, admin-only, logged path for drafts with no verdict. Never for DANGER
Hosting Not described Podman Quadlets by role, on any Linux host
Source Private Being published as open source

Security model

It's also worth being clear about what BizOS doesn't gate. Deposits and withdrawals go straight from the allocator to the vault, governed by the vault contract. That's deliberate: BizOS controls the curator's actions, not the depositor's. Actors outside BizOS, like a protocol's own sentinel pausing a vault, can also change vault state. Those are monitored, not gated.

Who Declares Proposes Decides Signs
Logothesion (vault config) Yes Deployment batches only No No
Tagma (bots) No Yes No No
Operator No Yes Votes in the approver quorum, never on their own draft No
Varangian Guard No No Yes: verdict, approval needed, hand-off No
Signer No No Its own policy only Yes

What's live and what's next

Capability Status
Guard: simulation, verdicts, DANGER block, approver quorum, override Live
Evidence log: hash chain, fail-closed, daily roots Live
Bots: Soroban TTL renewal, supply and withdraw, NAV reporting Live
Vault config: manifests, gates, attestations; EVM batch compile Live, run by an operator
Stellar deployment batches Written by hand today
Separate credentials for each bot In progress
Guard logging of review decisions and config changes In progress
Agents proposing named actions Planned
Scoped log access and an API for allocators Planned
Disclosure classes enforced per vault Planned
External risk signals feeding the Guard's verdict Planned
Attestation backends beyond signed disclosure (notary, TEE, ZK) Planned

How this compares to a common setup

Question Multisig plus scripts BizOS
What stops a bad transaction? Signers reading calldata Simulation and per-vault policy before any signer sees it. DANGER can't be pushed through
Can automation sign? Often, with a hot key No. Bots propose and hold no key with authority over a vault or funds
Who checks the checker? The same people Two independent policies, the Guard's and the signer's
What's recorded? Chat threads, a spreadsheet, the chain A hash-chained log of every verdict, approval, override and privilege change
What happens if logging is down? Work continues, unrecorded Execution stops until the log is back
What can an allocator verify? Transactions on the chain Transactions plus published daily log roots and signed attestations, and soon the source code

Open by design

A safety claim you can't inspect is still a request for trust. So BizOS is being published as an open-source product: the Guard, the bots, the evidence log, the vault configuration engine with generic templates, and the specification.

It runs on any Linux host with podman. Containers ship as Quadlet files grouped by role: edge, apps, monitoring and signer. An install decides which roles share a host, except that the signer never shares one. Bizantine's own production runs those same released files, pinned by version and image digest, so the published code and what manages our vaults can't drift apart.

Each curator runs their own install, with their own hosts, network, secrets, signer and vaults. There is no shared platform and no tenancy layer. A second curator gets a second install, set up through configuration, not code changes.

Installing a role takes a few commands, run as an ordinary service user. No root daemon is needed:

# from an extracted release bundle, with bizos.env filled in from env.example
set -a; . ./bizos.env; set +a
for f in quadlets/apps/*.container quadlets/apps/*.network; do
  envsubst < "$f" > ~/.config/containers/systemd/"$(basename "$f")"
done
deploy/create-secrets.sh apps        # prompts for each missing secret
systemctl --user daemon-reload

Each release publishes its images with digests and a checksummed bundle of the Quadlet files. A container with a missing secret refuses to start, so it can never run quietly with an empty value. The full guide is in deploy/README.md.

Who it's for