Skip to main content

Module fleet_snapshot

Module fleet_snapshot 

Source
Expand description

Immutable Fleet snapshot taken at Workflow start.

A saved Fleet is editable; a running Workflow is not. At start we capture a secret-free, durable value containing the qualified Fleet identity, the schema kind/revision/hash, the exact members, the exact routes, the reasoning policies, and the permission ceilings. Editing the saved file afterwards changes only future runs — the snapshot in flight is unaffected, because it owns copies and exposes no mutators.

No-secrets invariant: every field here is a non-sensitive id, model string, tier label, or boolean. There is deliberately no field that could hold a credential, token, or base URL.

Structs§

FleetSnapshot
The immutable value captured at Workflow start.
FleetSnapshotLegacyRole
A legacy fleet’s role → profile binding, recorded for provenance.
FleetSnapshotMember
One member as frozen into the snapshot.
QualifiedFleetId
A Fleet identity qualified by where the definition came from.

Functions§

captured_legacy_inline_router
Normalize an exact Fleet’s legacy inline Router into the captured service, if it used the prototype form.
verify_snapshot_content_hash
Verify a snapshot that arrived from anywhere other than FleetSnapshot::capture.

Type Aliases§

FleetSnapshotRouter
The Reasoning Router service a snapshot is attached to.