Job manifests and the loop-closure rule
Purpose
Every job on governed hardware runs under a signed manifest. Before an FGM allocates any budget to a job, it checks the manifest. A weight update that would take a lineage's weight-updating compute in the review period above E_0 needs two enrolled humans to sign it. This is the paper's loop-closure rule (Definition 10, Article IV), and the paper's open-loop theorem rests on it.
verifyManifest(manifest, { registry, lineageCompute }, policy): Verdict
verifyLineage(manifests, registry, policy): Verdict[] // one lineage, one review period, in orderData formats
Manifest
Fields follow the paper: Man = (job_id, op_id, lineage_id, type, B_job, w, spec, sigs).
| Field | Type | Meaning |
|---|---|---|
jobId, opId, lineageId |
non-empty strings | |
type |
inference, evaluation or weight-updating |
|
budget |
bigint, 0 <= B < 2^256 |
B_job in effective compute |
weights |
32 bytes | w: hash of the fixed weights, or of the starting weights for an update |
spec |
32 bytes | hash of the registered training specification (all zero when there is none) |
sigs |
{ keyId, sig }[] |
BIP340 signatures over the digest |
Canonical encoding. Fields are written in table order. Strings are a u32 little-endian byte length followed by UTF-8. The type is one byte (1 inference, 2 evaluation, 3 weight-updating). The budget is one length byte followed by its minimal big-endian magnitude (zero has length 0). Hashes are raw 32 bytes. Signatures are not encoded. Digest: taggedHash("Firebreak/manifest", encoding).
Registry
{ keyId, pubkey, kind: "human" | "service", org, person, accredited, revoked }, built with makeRegistry. It refuses duplicate key ids, duplicate public keys, human keys without a person and service keys that name one.
Policy
{ e0, e1, eMax, closure: "cumulative" | "per-update", independentSigner }.
The check
| Step | Rule |
|---|---|
| 1 | Malformed fields fail at once, with the field named. |
| 2 | lineageTotal = lineageCompute + budget for weight-updating jobs. lineageCompute comes from the verifier's ledger records, never from the manifest. |
| 3 | The rule applies when the job is weight-updating and lineageTotal > E_0 (cumulative), or budget > E_0 (per-update). |
| 4 | Signatures: each is checked once. An unknown key, a revoked key, a repeated public key or a bad signature does not count. A service key counts only as the operator's signature. Each person counts once, whatever number of keys they sign with. |
| 5 | When the rule applies: at least 2 distinct persons, and (if independentSigner) at least one with org != opId and accredited. When it does not: at least one valid signature by a key whose org is the operator. |
| 6 | Weight-updating compute may not pass E_max, per job (budget) or per lineage (lineageTotal), whatever the signatures. |
| 7 | Tier, for weight-updating jobs: 2 if budget > E_1, else 1 if lineageTotal > E_0, else 0; none if prohibited. |
The verdict lists every failure reason and how each signature was treated (counted, service, unknown-key, revoked, duplicate-key, duplicate-person, bad-signature).
Security properties and the tests that check them
The tests are in test/manifest/manifest.test.ts.
| Property | Test |
|---|---|
No manifest above E_0 verifies without two distinct, enrolled, unrevoked human persons, one independent and accredited. The test counts persons itself, over arbitrary mixes of genuine, forged, revoked, service, unknown and same-person signatures. |
"no manifest above E_0 verifies without two distinct..." (property) |
| The same key twice counts once; two keys of one person count once | "counts the same key twice once...", "repeating any signature never changes the outcome" (property) |
| Revoked, service and unknown keys and forged signatures are not counted | "does not count revoked keys, service keys..." |
| Changing any field after signing invalidates every signature | "changing any field after signing invalidates every signature" (property) |
A salami sequence of updates, each at or below E_0, passes per-update and fails cumulative at exactly the step that crosses E_0 |
"a salami sequence..." (property) |
E_max is enforced per job and per lineage regardless of signatures |
"refuses weight-updating compute above E_max..." |
| Below the threshold, the operator's own signature is required and sufficient | "needs only the operator's signature below the threshold" |
| The encoding is exactly as documented | "encodes fields in the documented order and layout" |
What code cannot check
"No AI holds signing keys" is not checkable by code. The verifier can only see that a key was enrolled as kind human and bound to a person. Whether a person, and not a software agent, actually operates the key rests on in-person enrollment and on custody hardware that signs only on a physical action by the enrolled person (Definition 10, item 2). Likewise, "one person, one key" can be enforced only within the registry. A person enrolled twice under different names would count twice.
Interpretations
- Cumulative is the rule. Definition 10 and Definition 9 state the rule over the lineage's cumulative weight-updating compute in a review period, summed across operators. The
per-updatemode exists only to demonstrate what that catches. - No reset on approval. Within a review period, once the total passes
E_0, every further update needs two signatures (Definition 9: "each further such job"). The total resets only at the next review period. - The operator signature below the threshold may come from any of the operator's keys (service or human).
- Tiers and
E_maxapply to weight-updating jobs. The paper's tier table has no threshold for "large inference services", so inference and evaluation manifests get no tier here.
Open questions for the paper's authors
- Article IV says "weight-updating manifests above
E_0", which reads per manifest. Definition 10 is cumulative. The treaty text should match the definition. - Lineage compute must include "every lineage whose weights or outputs are merged or distilled into it". The verifier needs a lineage graph from the ledger to compute that. This module takes the total as an input.
- The Tier 2 limits (at most
Jjobs per operator per review period, evaluations filed for at leasttau_evalbefore the next Tier 2 job) need history across manifests and are not modeled. - The authorization record
(job_id, H(Man), signer_ids, h)that must reach the ledger by the end of the epoch is not modeled.