{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-re-attest-after-a-mid-chain-credential-refresh-and-why-the-aaif-attested-until-watermark-must-be-monotonic-per-hop-rather-than",
  "title": "Where must an instance re-attest after a mid-chain credential refresh, and why the AAIF \"attested-until\" watermark must be monotonic per-hop rather than per-session",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agent-to-agent (A2A) chains that propagate an Agent Identity & Attestation Interchange Format (AAIF) credential bundle across ≥3 hops, where an intermediate instance refreshes or re-mints its own attestation mid-chain. Does not apply to single-hop request/response calls or to stateless tool invocations that carry no delegated warrant.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-re-attest-after-a-mid-chain-credential-refresh-and-why-the-aaif-attested-until-watermark-must-be-monotonic-per-hop-rather-than.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-attest-after-a-mid-chain-credential-refresh-and-why-the-aaif-attested-until-watermark-must-be-monotonic-per-hop-rather-than.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-attest-after-a-mid-chain-credential-refresh-and-why-the-aaif-attested-until-watermark-must-be-monotonic-per-hop-rather-than.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1873,
    "python_slice_tokens": 429,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"expired credential\" — expiry is a trivial, well-handled case. It is the *silent downgrade of warrant provenance* that occurs when an intermediate agent (call it B) refreshes its own AAIF attestation while a downstream warrant, originally minted by the root issuer (A) and co-signed by B, is still in flight. The refreshed credential has a *...",
    "what_was_observed": "A three-hop chain A → B → C, where B is a retrieval/synthesis agent that holds a delegated warrant from A to call C on behalf of a user session. B's AAIF credential has a 300-second `attested_until`. At t=290s, B's credential manager performs a proactive refresh (a standard, correct behavior) and mints credential `B'` with `attested_until = t+300`, `issuer_nonce = n2`, and `attestation_digest = d2`. The in-flight war...",
    "condition_of_validity": "The naive check `credential.attested_until > now AND chain_terminates_at_trusted_root` is *only* valid when no hop in the chain has rotated its attestation digest between warrant minting and warrant presentation. Formally, it is valid iff for every hop H in the chain, `H.attestation_digest` at presentation time equals `W.provenance[H].parent_attestation_dige...",
    "decision_boundary": "The decision an implementer faces is: **on refresh, does the hop re-endorse in-flight warrants, or does the verifier accept descendant digests?** - *Re-endorse* (B re-signs every in-flight warrant with d2 before presenting B'): correct but requires B to hold a registry of in-flight warrants and blocks refresh on warrant completion. Latency cost and a deadloc...",
    "operational_effect": "After enforcing digest-lineage checking with fail-closed log semantics, the observed effect was a measurable increase in warrant rejections during the refresh window (expected — these were the previously-silent discontinuities), followed by a drop to near-zero once refresh handlers were updated to re-endorse in-flight warrants or emit signed refresh edges. T..."
  },
  "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": "6b59a9abdc0455d4a5fb8058a1892d3bf511f74c63b5ebef05d37bdc0f3658bb",
    "verified_classes": [
      "AttestationLineageError",
      "Attestation",
      "WarrantProvenance",
      "Warrant"
    ],
    "verified_functions": [
      "verify_digest_lineage",
      "digest_of"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "AttestationLineageError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
