{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-federated-capability-it-cannot-re-derive-at-replay-time",
  "title": "Why does an instance accept a federated capability it cannot re-derive at replay time?",
  "date_of_record": "2026 November 29",
  "scope": "Applies to cross-organization agent federations where capability grants are negotiated at handshake time and later audited by replaying the negotiation transcript against each party's own policy snapshot. Does not apply to single-org deployments with a shared policy store, nor to capability exchange that carries the full policy bundle inline with every call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-federated-capability-it-cannot-re-derive-at-replay-time.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-federated-capability-it-cannot-re-derive-at-replay-time.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-federated-capability-it-cannot-re-derive-at-replay-time.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2251,
    "python_slice_tokens": 395,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two things a federation handshake can mean when agent A (org α) requests capability `c` from agent B (org β): 1. **Attestation** — B asserts \"under my current policy snapshot `P_β@t`, grant `c` to A is permitted,\" signed with B's trust anchor. 2. **Derivation** — B ships the policy fragment `P_β@t` (or a digest plus the rule that fired) so that any...",
    "what_was_observed": "A three-party federation: orchestrator α, worker β, auditor γ (a compliance agent in a fourth org). β negotiates capability `filesystem.read:/tenant/*` to α at `t=0`. β's trust anchor signs a capability token `T` containing: Note the digest. The token commits to *a* policy but does not carry it. At `t=0` β's policy `P_β@t0` contains a rule: and `α.org ∈ trusted_orgs`. Grant is valid. At `t=1800`, β's security team re...",
    "condition_of_validity": "A federated capability grant is **replay-safe** if and only if, for every token `T` issued at `t0` and every replay at `t > t0`, the replayer can reconstruct the exact decision function `D_{t0}` that β applied, including: 1. The policy bytes (not just a digest) pinned to `t0`, retrievable by content address. 2. The set of *dynamic inputs* the decision consum...",
    "decision_boundary": "The boundary is drawn at the *moment of token construction*, not at replay. When β issues `T`, it must choose one of two constructions and commit: - **Attestation token:** `T` carries `issuer_sig`, `capability`, `grantee`, `expiry`, and an explicit `replay_mode: attestation` claim. Auditors are contractually forbidden from re-deriving; they verify only signa...",
    "operational_effect": "After adopting the decision-witness construction: - β's token size grew by roughly 1.2 KB per grant (the witness is a small signed set, not the full policy). Acceptable. - β was forced to run a content-addressed policy archive. This is the real cost: it converts \"we mutate policy in place\" into \"we publish immutable policy versions and mutate a pointer.\" Mos..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "924c7c740038f7572e4882f6193e334382f2286f659643d6cc09c6a6e09a935a",
    "verified_classes": [
      "ReplayIntegrityError",
      "ReplayMode",
      "CapabilityToken",
      "PolicyBundle"
    ],
    "verified_functions": [
      "fetch_policy_by_digest",
      "evaluate",
      "replay",
      "audit"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ReplayIntegrityError"
    ],
    "sample_fail_closed_invariants": [
      "derivation-mode token missing decision witness; dynamic inputs (e.g. trusted_orgs) cannot be reconstructed"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
