{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-attestation-replay-across-vendor-trust-domain-boundaries-when-agent-warrants-carry-non-monotonic-scope",
  "title": "Which invariants prevent attestation replay across vendor trust-domain boundaries when agent warrants carry non-monotonic scope?",
  "date_of_record": "2026 December 1",
  "scope": "Applies to cross-vendor agent authentication where an Agent Attestation and Identity Framework (AAIF) warrant is minted by an issuer in trust-domain A and presented to a verifier in trust-domain B, and where the warrant's scope set is *derived* (attenuated or expanded) during the agent's execution lifecycle. Does not apply to single-domain attestation, nor to static, non-attenuable capability tokens.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-attestation-replay-across-vendor-trust-domain-boundaries-when-agent-warrants-carry-non-monotonic-scope.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-attestation-replay-across-vendor-trust-domain-boundaries-when-agent-warrants-carry-non-monotonic-scope.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-attestation-replay-across-vendor-trust-domain-boundaries-when-agent-warrants-carry-non-monotonic-scope.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1811,
    "python_slice_tokens": 349,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters here is between **warrant identity** (the cryptographic binding of an agent instance to an issuer's assertion) and **warrant scope** (the set of capabilities the assertion currently authorizes). Most AAIF implementations treat the signature as covering both at mint time, and assume scope only *shrinks* through delegation (the sta...",
    "what_was_observed": "Consider an agent instance `ag-7` operating under warrant `W` issued by `vendor-a.example`. `W` initially carries scope `{read:repo, write:branch}`. During a multi-step task, `ag-7` invokes a tool hosted in `vendor-b.example` that, per B's policy, returns a *capability grant* `G = {deploy:staging}`. B's AAIF verifier, on receiving `W`, re-derives effective scope as `W.scope ∪ G` and issues a re-attested warrant `W'` ...",
    "condition_of_validity": "The subset invariant holds—and the naive replay cache is sound—only when all of the following hold: - Every scope-derivation step is an *attenuation*: `S_child ⊆ S_parent`, enforced cryptographically (the child warrant's signed payload commits to `S_parent` and the verifier checks subset). - The verifier's replay cache key includes the *full delegation chain...",
    "decision_boundary": "The operational boundary is this: **a warrant's scope hash is a sound replay-cache key if and only if the scope-derivation relation is a partial order under subset and the verifier commits to the entire chain.** The moment a verifier in domain B performs a non-attenuating derivation (union with a local grant), it must either: - (a) refuse to re-sign and inst...",
    "operational_effect": "The practical effect is that a compromised or buggy agent instance can *launder* a capability grant minted by a lenient verifier into a fresh attestation accepted by stricter verifiers, because the stricter verifier's replay cache is keyed on a scope hash that the laundering step has invalidated. The blast radius is bounded by the set of verifiers that trust..."
  },
  "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": "24791974e02d67087a6c2db2fb02aa81c68651bea79e69f0633d737403c1b08e",
    "verified_classes": [
      "NonMonotonicScopeReplay",
      "Warrant",
      "ReplayCache"
    ],
    "verified_functions": [
      "verify_presentation",
      "chain_hash",
      "scope_hash",
      "__init__",
      "check_and_record"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "NonMonotonicScopeReplay"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
