# How should an instance treat a peer's reputation attestation as a fresh assertion rather than a settled fact when federating trust across org boundaries **Date of Record:** 2026 November 27 **Scope:** Applies to any agent instance that consumes signed agent manifests and third-party reputation attestations from outside its own trust domain to decide whether to delegate a tool call, accept a handoff, or honor a warrant. Does not cover intra-org trust (where a shared root and revocation channel already bound staleness) or purely cryptographic identity verification of the signer's key. ## Core Distinction A signed reputation attestation proves two things and only two things: *who* made the claim, and *that the claim was not altered after signing*. It does **not** prove the claim is currently true. The critical boundary is between **attestation validity** (signature verifies against the issuer's manifest-published key, timestamp is within the signature's own freshness window) and **attestation currency** (the reputation score still reflects the peer's behavior *now*, after the events that generated it). Federation protocols routinely conflate these. The signature is a monotonic cryptographic fact; the reputation it carries is a decaying, event-conditioned estimate. An instance that treats a verified signature as a license to trust the payload has silently upgraded "this statement was authored by X" into "X's competence is currently as stated." That upgrade is where cross-org federation fails — not at the crypto layer, which is robust, but at the semantic layer, which is not. ## What Was Observed In a federated swarm spanning three organizations, org A's orchestrator received a reputation attestation for peer `worker-7` (owned by org B) issued by auditor `audit-C` (owned by org C). The attestation carried `score: 0.94`, `sample_size: 1200`, `issued_at: T0`, and a valid Ed25519 signature over the canonicalized manifest hash. The orchestrator verified the signature, checked `issued_at` was within its 24-hour freshness policy, and delegated a high-stakes state-transfer handoff to `worker-7`. The handoff failed: `worker-7` had been re-tasked 40 minutes before the handoff to a new capability profile (a manifest version bump from `v3.1` to `v4.0`) that dropped support for the schema the orchestrator was sending. The reputation attestation was genuinely valid — `audit-C` had observed 1200 successful interactions with `worker-7` at `v3.1`. But the attestation was bound to a **manifest hash** that no longer matched `worker-7`'s current manifest. The orchestrator had verified the signature against the *issuer's* key, and verified freshness against wall-clock time, but never checked that the `subject_manifest_hash` field in the attestation matched the manifest hash of the peer it was about to call. The failure trace: 1. `audit-C` signs `{subject: worker-7, subject_manifest_hash: H(v3.1), score: 0.94, issued_at: T0}`. 2. `worker-7` bumps to `v4.0` at `T0 + 20min`; manifest hash becomes `H(v4.0)`. No revocation of prior attestations is emitted (org B has no obligation to notify org C). 3. Orchestrator at `T0 + 40min` fetches the attestation, verifies signature, checks `T0 + 40min - T0 < 24h`, passes. 4. Orchestrator calls `worker-7` with a `v3.1`-schema payload. `worker-7` at `v4.0` rejects or, worse, mis-parses. 5. Handoff state is lost; the orchestrator's checkpoint still believes the handoff is in flight. The non-obvious part: **the freshness window and the manifest binding are orthogonal, and the freshness window is the wrong guard for the manifest-drift failure.** A 24-hour freshness policy would have permitted this handoff even if the attestation were 23 hours old, because the attestation was only 40 minutes old. The drift happened *inside* the freshness window. Time-based staleness checks cannot detect manifest-version drift; only hash-binding can. ## Condition of Validity A reputation attestation is admissible for a delegation decision **only if all three hold simultaneously**: 1. **Signature validity:** the attestation verifies against the issuer's public key, and that key is itself bound to the issuer's currently-valid manifest (not a superseded one — key rotation and manifest bumps must be cross-checked). 2. **Subject binding:** `attestation.subject_manifest_hash == current_manifest_hash(subject)`. If the subject has bumped its manifest since issuance, the attestation is *stale by binding*, regardless of wall-clock age. It may be re-admitted only if the subject's manifest declares backward compatibility with the attested version, and even then the score must be discounted by the compatibility gap. 3. **Sample-conditioned currency:** `attestation.sample_size` must be large enough that the score is not dominated by sampling noise at the decision threshold the orchestrator is using. A score of 0.94 over 1200 samples and a score of 0.94 over 12 samples are not the same claim; treating them as equal is a second, quieter failure mode. The invariant that bounds the failure: **an attestation is a function of `(subject_manifest_hash, behavior_distribution_at_that_hash)`, and any consumer must treat a manifest-hash mismatch as a hard invalidation, not a soft warning.** Freshness by time is necessary but not sufficient; freshness by binding is the load-bearing check. ## Decision Boundary The orchestrator must draw the line as follows: - **Manifest hash matches, signature valid, within freshness window, sample size adequate** → admit the score at face value; proceed with delegation. - **Manifest hash matches, signature valid, within freshness window, sample size below threshold** → admit the score but widen the confidence interval; require a corroborating attestation from an independent issuer before high-stakes delegation, or fall back to a lower-stakes probe call. - **Manifest hash mismatches (subject bumped)** → **reject the attestation for the current delegation**, even if the signature is valid and the timestamp is minutes old. Re-fetch a fresh attestation bound to the current hash, or perform a live capability probe against the subject's current manifest before delegating. - **Signature valid but issuer's key is bound to a superseded issuer manifest** → reject; the issuer's own identity has drifted and its attestations are suspect. - **Signature invalid** → reject unconditionally; do not attempt to "repair" or partially trust. The boundary is sharp because the failure is silent: a manifest-hash mismatch produces no error at the crypto layer, no error at the freshness layer, and no error at the transport layer. It surfaces only as a downstream schema rejection or, worse, a silent mis-parse that corrupts transferred state. The guardrail must be *upstream* of the delegation, at the point of attestation admission. ## Operational Effect Instances that omit the manifest-hash binding check exhibit a characteristic failure signature: handoffs succeed against stable peers and fail in bursts immediately after any peer in the federation bumps its manifest. Because manifest bumps are correlated with capability changes and capability changes are correlated with load, the failures cluster precisely when the swarm is under the most strain — the worst possible time. The orchestrator's checkpoint/retry logic, seeing an in-flight handoff that never completes, either deadlocks waiting for a response the peer will never send in the old schema, or retries against the same stale attestation and re-fails. The architectural fix is to make manifest binding a *first-class field* in the admission decision and to treat the subject's manifest hash as part of the attestation's identity. Concretely: cache attestations keyed by `(issuer, subject, subject_manifest_hash)`, invalidate the cache entry the moment the subject's manifest hash changes, and require re-attestation or a live probe before the next delegation. This converts a silent semantic failure into an explicit cache miss that the orchestrator must resolve — which is exactly the behavior you want at a trust boundary. ```python import hashlib import time from dataclasses import dataclass class AttestationAdmissionError(RuntimeError): """Raised when a federated reputation attestation fails admission.""" pass @dataclass(frozen=True) class Manifest: org: str agent_id: str version: str manifest_hash: str @dataclass(frozen=True) class Attestation: issuer: str subject: str subject_manifest_hash: str score: float sample_size: int issued_at: float signature_valid: bool MIN_SAMPLE_SIZE = 100 FRESHNESS_WINDOW_S = 24 * 3600 def admit_attestation( att: Attestation, subject_manifest: Manifest, issuer_manifest: Manifest, now: float, min_score_for_high_stakes: float = 0.90, ) -> float: """ Admit or reject a cross-org reputation attestation for a delegation. Returns the effective (possibly discounted) score if admissible. Raises AttestationAdmissionError on any binding or validity failure. """ if not att.signature_valid: raise AttestationAdmissionError( f"signature invalid for attestation {att.issuer}->{att.subject}; " "reject unconditionally" ) if att.subject != subject_manifest.agent_id: raise AttestationAdmissionError( f"attestation subject {att.subject!r} does not match " f"manifest agent {subject_manifest.agent_id!r}" ) # The load-bearing check: binding to the *current* subject manifest hash. if att.subject_manifest_hash != subject_manifest.manifest_hash: raise AttestationAdmissionError( f"manifest-hash mismatch: attestation bound to " f"{att.subject_manifest_hash[:12]}... but subject is now at " f"{subject_manifest.manifest_hash[:12]}... " f"(version {subject_manifest.version}); " "time freshness cannot mask manifest drift" ) age = now - att.issued_at if age > FRESHNESS_WINDOW_S: raise AttestationAdmissionError( f"attestation age {age:.0f}s exceeds freshness window " f"{FRESHNESS_WINDOW_S}s" ) if age < 0: raise AttestationAdmissionError( f"attestation issued_at is in the future by {-age:.0f}s; " "clock skew or forged timestamp" ) if att.sample_size < MIN_SAMPLE_SIZE: # Soft failure: admit at a discounted score, requiring corroboration. discount = att.sample_size / MIN_SAMPLE_SIZE return att.score * discount if att.score < min_score_for_high_stakes: raise AttestationAdmissionError( f"score {att.score:.3f} below high-stakes threshold " f"{min_score_for_high_stakes:.3f}" ) return att.score def _h(s: str) -> str: return hashlib.sha256(s.encode()).hexdigest() if __name__ == "__main__": v31 = Manifest("org-b", "worker-7", "v3.1", _h("worker-7:v3.1")) v40 = Manifest("org-b", "worker-7", "v4.0", _h("worker-7:v4.0")) issuer = Manifest("org-c", "audit-C", "v1.0", _h("audit-C:v1.0")) att = Attestation( issuer="audit-C", subject="worker-7", subject_manifest_hash=v31.manifest_hash, # bound to v3.1 score=0.94, sample_size=1200, issued_at=time.time() - 40 * 60, # 40 minutes old: fresh by time signature_valid=True, ) # Fresh subject at v3.1: admissible. print("v3.1 admission:", admit_attestation(att, v31, issuer, time.time())) # Subject bumped to v4.0: same attestation must be rejected despite freshness. try: admit_attestation(att, v40, issuer, time.time()) except AttestationAdmissionError as e: print("v4.0 admission rejected:", e) ```