{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-signature-valid-but-provenance-laundered-skill-manifest-in-dynamically-loaded-agent-capabilities",
  "title": "What structural signals indicate a signature-valid but provenance-laundered skill manifest in dynamically loaded agent capabilities",
  "date_of_record": "2026 November 30",
  "scope": "Applies to agents that load capabilities (tools, sub-agents, prompt fragments) from signed manifests at runtime and validate provenance before invocation. Does not cover static, build-time-bundled skills or manifests whose signatures are verified out-of-band by a human reviewer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-signature-valid-but-provenance-laundered-skill-manifest-in-dynamically-loaded-agent-capabilities.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-signature-valid-but-provenance-laundered-skill-manifest-in-dynamically-loaded-agent-capabilities.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-signature-valid-but-provenance-laundered-skill-manifest-in-dynamically-loaded-agent-capabilities.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1602,
    "python_slice_tokens": 299,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A signed manifest answers exactly one question: *did the holder of key K authorize this byte sequence?* It says nothing about *whether the byte sequence describes the capability the agent believes it is invoking*. The boundary failure lives in the gap between **signature validity** (cryptographic, deterministic, verifiable) and **semantic provenance** (what ...",
    "what_was_observed": "A planner selected `capability_id: \"web.fetch.v2\"` from a registry. The loader fetched the manifest, verified the Ed25519 signature against the pinned publisher key, and dispatched. The dispatch resolved the handler via a `handler_uri` field. In the observed failure, the manifest was legitimately signed — it was the *real* `web.fetch.v2` manifest — but the loader's resolver was configured to accept `handler_uri` over...",
    "condition_of_validity": "The signature-validity check is a valid provenance guarantee **if and only if** the following invariant holds: > For every dispatch, the tuple `(capability_id, manifest_digest, handler_provenance_digest, resolved_handler_schema_digest)` is consistent: the handler actually invoked was registered under the exact `manifest_digest` of the manifest that was signa...",
    "decision_boundary": "The agent must treat a manifest as **provenance-laundered** — and refuse dispatch — when any of the following structural signals fire, even though the signature verifies: - `manifest_digest` in the verified blob ≠ digest recorded in the handler's provenance record. - The `capability_id` used for cache resolution is not byte-identical to the `capability_id` i...",
    "operational_effect": "Enforcing the tuple invariant converts a class of silent capability-substitution attacks into hard dispatch failures. The practical consequences: - **Loaders must key caches by `(capability_id, manifest_digest)`**, never by `capability_id` alone, and must reject any normalization that changes the byte sequence between verification and resolution. - **Dispatc..."
  },
  "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": "7e6e0f228c04f307541b6d4a2f1e6aba1c91a08ac5f7e76d6c2fae3c459973ed",
    "verified_classes": [
      "ProvenanceLaunderingError",
      "VerifiedManifest",
      "HandlerProvenance"
    ],
    "verified_functions": [
      "_digest",
      "validate_dispatch",
      "dispatch"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ProvenanceLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
