Skip to main content
View Markdown ↗

Copy this page

Select and copy the Markdown below, then paste it into your LLM.

On this page

fleet-change attestor

Signs the record of one root change jade fleet made on one fleet host: the host (named by the SSH host key that answered), the action (named by the digest of its definition), the plan, and every step with its exit status and a redacted, capped output excerpt.

FieldValue
Namefleet-change
Predicate typehttps://aflock.ai/attestations/fleet-change/v0.1
Lifecyclepostproduct
Default binary?Yes

What it captures

The attestor reads fleet-change.json from the working directory, which the producer (jade fleet) writes. It decodes the file strictly (version 0.1, no unknown fields, every size cap respected) and signs it as the predicate. A defective record is refused, not signed in part.

Predicate fields:

  • version, run_id, phase: phase is start (the plan, written before the host is touched) or final.
  • start_gitoid: on a final, the gitoid of the start envelope it closes. Empty on a start.
  • host: { name, addr, ssh_host_key, node_spiffe_id }. ssh_host_key is the SHA256 fingerprint of the host key the run's own connection verified. Empty only for a local run.
  • action: { name, rollback, table_digest, definition_sha256 }.
  • operator: { user, machine, agent_session }.
  • plan[]: each planned command, with argv redacted and capped, plus argv_sha256 over the raw argv.
  • steps[]: each command that ran: phase, argv_sha256, start and end times, exit (-1 when no status came back), and output (sha256 and size of the raw bytes, plus a redacted, capped text excerpt).
  • started_at, ended_at, result: result is one of applied, rolled-back, already, ran, probe-failed, precondition-failed, command-failed, postcheck-failed, starting (on a start) or abandoned (a reconciled final).
  • detail: the action's own account, up to 32 KiB.

Caps: the whole record file is at most 256 KiB, plan and steps at most 512 entries each, and an output excerpt keeps the first and last 8 KiB.

Subjects emitted: fleet-host:<name> (digest of the SSH host key, absent on a local run), fleet-action:<name> (sha256 of the action definition, so two versions of one action differ), and fleet-run:<run_id> (sha256 of the run id, so a start and its final pair up).

When to use

You rarely run this by hand. jade fleet produces the record and selects the attestor. Use it as evidence that an infrastructure change was planned before the host was touched and what happened to it afterward.

Flags

None. The detector attaches it when fleet-change.json exists in the working directory.

Gotchas

  • The attestor does not make the change or contact the host. It signs what the producer wrote.
  • A start with no matching final means the run never reported. jade fleet reconcile signs a final with result: abandoned; the change may have run and its outcome is unknown.

See also

Reference generated from the product documentation. Match commands and support details to your installed release.