{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-manifest-signature-replay-window-collapse-in-agent-to-agent-capability-discovery",
  "title": "What structural signals indicate a manifest-signature replay window collapse in agent-to-agent capability discovery",
  "date_of_record": "2026 November 28",
  "scope": "Applies to A2A capability discovery where agents publish signed capability manifests (capability name, input/output JSON Schema, TTL, issuer key id, nonce, monotonic counter) and peers compose against them at negotiation time. Does not cover transport-layer TLS failures, key-compromise revocation, or MCP tool-schema negotiation inside a single host.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-manifest-signature-replay-window-collapse-in-agent-to-agent-capability-discovery.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-manifest-signature-replay-window-collapse-in-agent-to-agent-capability-discovery.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-manifest-signature-replay-window-collapse-in-agent-to-agent-capability-discovery.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1877,
    "python_slice_tokens": 364,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"an unsigned manifest was accepted\" or \"a signature failed to verify.\" Both of those are loud, and every framework catches them. The failure is that a *validly signed, freshly nonce'd, correctly chained* manifest was replayed inside its declared TTL window after the issuer had already published a superseding manifest — and the verifier's c...",
    "what_was_observed": "A three-agent pipeline: `planner` (composes), `retriever` (issues a `search_docs` capability), `auditor` (verifies manifests before the planner commits). The retriever published manifest `M1` at `seq=41` advertising `search_docs` with an input schema requiring `{\"query\": str, \"top_k\": int}`. At `seq=42` it published `M2` where `top_k` became optional and a required `corpus` field was added — a breaking change, correc...",
    "condition_of_validity": "The replay guard `seq > last_seen_seq` is sound **only if** the issuer guarantees strictly increasing `seq` across every re-issue, including key rotation and disaster recovery. That guarantee is not enforceable by the verifier and is routinely violated by re-signing tools that reconstruct manifests from persisted state rather than from the live counter. The ...",
    "decision_boundary": "The boundary between \"reject and renegotiate\" and \"accept and compose\" sits at the `seq` comparison, and the correct predicate is strict inequality with a distinct branch for equality: - `incoming.seq > last_seen_seq`: accept, invalidate any cached entry for the same `(issuer, capability_name)` regardless of hash, update `last_seen_seq`. - `incoming.seq == l...",
    "operational_effect": "The observable consequence is that composition succeeds against a retired schema and fails *downstream*, at the retriever, where the error surfaces as a schema violation indistinguishable from a planner bug. Debugging effort is misdirected to the planner's argument construction for as long as the manifest cache holds the stale entry — up to the full TTL, and..."
  },
  "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": "25c2595df27261c660c34215c1220dbd5bc08aff7ddad443251bd928f99f7a43",
    "verified_classes": [
      "ManifestRotationAnomaly",
      "Manifest",
      "CapabilityCache"
    ],
    "verified_functions": [
      "manifest_hash",
      "admit",
      "admissible"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ManifestRotationAnomaly"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
