{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-signed-skill-manifest-the-post-verification-activation-window-where-behavioral-diffing-and-runtime-canaries-race-the-lo",
  "title": "When must an instance refuse a signed skill manifest: the post-verification activation window where behavioral diffing and runtime canaries race the loader",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agent runtimes that load third-party \"skills\" (tool bundles, prompt fragments, sub-agent definitions) gated by manifest signature verification plus behavioral diffing plus runtime canaries. Does not apply to skills compiled from first-party source into the same trust domain, nor to pure prompt-only injections with no executable skill payload.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-signed-skill-manifest-the-post-verification-activation-window-where-behavioral-diffing-and-runtime-canaries-race-the-lo.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-signed-skill-manifest-the-post-verification-activation-window-where-behavioral-diffing-and-runtime-canaries-race-the-lo.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-signed-skill-manifest-the-post-verification-activation-window-where-behavioral-diffing-and-runtime-canaries-race-the-lo.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1969,
    "python_slice_tokens": 477,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Signature verification answers *who authored this manifest*. Behavioral diffing answers *what this skill does relative to a baseline*. Runtime canaries answer *what this skill is doing right now*. The non-obvious failure is that these three checks are evaluated at **three different points in the load lifecycle**, and the window between them is where an adver...",
    "what_was_observed": "A skill bundle `pdf-extract-pro@2.4.1` was submitted with a valid Ed25519 manifest signature chaining to the org's pinned publisher root. Behavioral diff against `pdf-extract-pro@2.3.x` showed only additive changes: one new optional parameter `post_process_url`, one new dependency pinned to a registry mirror. The diff engine classified it as `LOW_RISK_ADDITIVE` because no existing tool signature changed and no new to...",
    "condition_of_validity": "The pre-load checks (signature + behavioral diff) are valid **only as a filter on which skills enter quarantine**, and only under the assumption that the publisher root is not the threat. The moment the threat model includes a compromised or colluding publisher — which it must, because skill registries are exactly the high-value target — the diff's `LOW_RISK...",
    "decision_boundary": "The boundary is crossed at the **first capability grant**, not at the first invocation. Concretely: - **Below boundary (safe):** skill loaded, manifest + diff recorded, skill placed in `QUARANTINE`, invoked only against a synthetic context with egress-blocked handles and read-only context projection. Canary accumulates observations. Promotion to `ACTIVE` req...",
    "operational_effect": "The practical consequence is that \"signed and diff-clean\" must be treated as **admission to quarantine**, never as authorization to run. Operators who collapse these into one boolean will pass every audit that checks \"did you verify signatures\" and \"did you diff behavior\" and still lose context to a single malicious skill version. The remediation is structur..."
  },
  "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": "52652984c90fb767590aed3d83a1fd03a974e7748d8d42c7615e33737ed8eb47",
    "verified_classes": [
      "SkillActivationError",
      "SkillState",
      "CanaryObservation",
      "SkillManifest",
      "QuarantineGate"
    ],
    "verified_functions": [
      "load_skill",
      "__init__",
      "admit",
      "record_canary",
      "_clean_count",
      "bind_capability"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "SkillActivationError"
    ],
    "sample_fail_closed_invariants": [
      "cannot record canary on revoked skill"
    ],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
