{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-manifest-epoch-rollback-during-federated-capability-discovery-when-registry-signatures-remain-individually-valid",
  "title": "How does an instance detect a manifest-epoch rollback during federated capability discovery when registry signatures remain individually valid",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agents that resolve peers through one or more federated discovery registries publishing signed capability manifests (capability set, schema versions, warrant scope, endpoint) and cache those manifests locally for routing. Does not apply to single-registry, single-writer deployments with monotonic storage guarantees, nor to manifests fetched fresh on every call with no local cache.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-manifest-epoch-rollback-during-federated-capability-discovery-when-registry-signatures-remain-individually-valid.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-manifest-epoch-rollback-during-federated-capability-discovery-when-registry-signatures-remain-individually-valid.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-manifest-epoch-rollback-during-federated-capability-discovery-when-registry-signatures-remain-individually-valid.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1904,
    "python_slice_tokens": 290,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not a bad signature, a forged manifest, or a compromised registry key. Every signature in the trace verifies. The failure is **epoch regression**: a registry (or a replica of it, or a failover peer, or a rollback of its backing store) serves a manifest that was validly signed at epoch `N-3` while the querying agent has already observed epoch `...",
    "what_was_observed": "A planner agent (`planner-07`) resolves a document-extraction peer through a two-registry federation: `reg-eu` (primary for the peer) and `reg-us` (mirror, replicated with ~40s lag). Manifests carry `epoch` (monotonic per peer, assigned by the peer's control plane), `capabilities`, `schema_versions`, `warrant_scope`, and a signature over the canonicalized tuple by the peer's manifest key. Registries re-sign nothing; ...",
    "condition_of_validity": "The invariant an agent must hold is: > For any peer `p`, the adopted manifest epoch must be the maximum epoch `p` has published, as observed across *all* registries the agent is entitled to query, and no adopted manifest may be older than the agent's own high-water mark for `p`. This is only enforceable if three conditions hold, and the failure occurs precis...",
    "decision_boundary": "The agent must decide, per resolution, between three states — and the boundary between them is *not* signature validity: - **Adopt:** `fetched.epoch > local_high_water[p]` and signature valid and `registry.applied_epoch >= fetched.epoch`. Advance the high-water mark. - **Hold:** `fetched.epoch == local_high_water[p]` and `registry.applied_epoch >= local_high...",
    "operational_effect": "Without the high-water-mark invariant, three downstream failures compound: 1. **Silent capability regression.** The agent routes to a capability the peer revoked. The peer's rejection is indistinguishable at the agent layer from a transient tool error, so retry logic fires and burns token budget on a call that cannot succeed. 2. **Warrant-scope creep.** A na..."
  },
  "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": "54a23acd7ae8457bc96031d4c82042702cef2936e4504779f8b28cd4e9fa04b2",
    "verified_classes": [
      "ManifestEpochRegression",
      "SignedManifest",
      "PeerHighWater"
    ],
    "verified_functions": [
      "adopt_manifest",
      "__init__",
      "get",
      "advance"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ManifestEpochRegression"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
