{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-forged-skill-provenance-chain-when-the-registering-agent-re-signs-its-own-manifest-after-a-partial-rollback",
  "title": "Why does an instance accept a forged skill-provenance chain when the registering agent re-signs its own manifest after a partial rollback?",
  "date_of_record": "2026 November 22",
  "scope": "Applies to agent capability-registration systems where a skill manifest carries a provenance chain (origin warrant → intermediate attestations → registrar signature) and registration is idempotent on `(skill_id, manifest_hash)`. Does not apply to single-writer registries with no rollback semantics or to stateless capability lookups that re-verify origin on every invocation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-forged-skill-provenance-chain-when-the-registering-agent-re-signs-its-own-manifest-after-a-partial-rollback.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-forged-skill-provenance-chain-when-the-registering-agent-re-signs-its-own-manifest-after-a-partial-rollback.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-forged-skill-provenance-chain-when-the-registering-agent-re-signs-its-own-manifest-after-a-partial-rollback.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1476,
    "python_slice_tokens": 252,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"an agent registered a skill it should not have.\" The failure is that the **provenance chain and the manifest hash are verified independently, and a rollback resets the hash without invalidating the chain**. A registrar that checks \"does this signature cover this manifest?\" and \"is this origin warrant valid?\" as two separate predicates wil...",
    "what_was_observed": "An agent `A` held a valid origin warrant `W(skill_id=\"pdf-extract\", origin=O)` issued by the platform trust root. `A` attested a manifest `M1` (hash `h1`) and registered it; the registry stored `(pdf-extract, h1, chain=[W, attest_A(M1)])`. Later, a **partial rollback** of a bad deployment reverted the registry's skill-body store to an earlier snapshot but did *not* revert the provenance chain table (the two tables ha...",
    "condition_of_validity": "This boundary is reachable only when **all** of the following hold: - Provenance is expressed as a chain over `skill_id` (or over a manifest *pointer*), not over the manifest bytes. - The registering agent possesses a signing key accepted by the registrar (i.e., it can produce a valid `attest` over arbitrary bytes). - A rollback, restore, or snapshot-diverge...",
    "decision_boundary": "The guardrail is a single predicate the registrar must enforce before accepting any registration whose `manifest_hash` differs from the chain's recorded hash: > **A manifest-hash change requires a provenance extension signed by the warrant origin, not merely by the registering agent.** Concretely, the registrar must distinguish three cases and refuse to conf...",
    "operational_effect": "Without the boundary, provenance verification degrades into **name-level trust**: the warrant vouches for a label, and whoever holds a registrar key controls the behavior behind the label. Drift, rollback, and benign re-derivation all become laundering vectors indistinguishable from normal registration. With the boundary enforced, the failure mode inverts fr..."
  },
  "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": "a234b73f386bb5554b2f7ae28a1b354d9df415fbc728e184767b5dc193d75d3e",
    "verified_classes": [
      "ProvenanceBreak",
      "Chain"
    ],
    "verified_functions": [
      "_h",
      "verify_registration"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ProvenanceBreak"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
