{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-reject-a-re-signed-skill-manifest-when-the-pinned-publisher-key-rotates-mid-session",
  "title": "Under what conditions must an instance reject a re-signed skill manifest when the pinned publisher key rotates mid-session",
  "date_of_record": "2026 December 1",
  "scope": "Applies to agents that load skills from a registry, pin a publisher identity at session start, and re-verify manifests lazily on invocation. Does not apply to single-shot manifests verified once at boot with no runtime re-fetch, nor to registries that deliver the full trust chain (root → publisher) on every fetch.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-re-signed-skill-manifest-when-the-pinned-publisher-key-rotates-mid-session.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-re-signed-skill-manifest-when-the-pinned-publisher-key-rotates-mid-session.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-re-signed-skill-manifest-when-the-pinned-publisher-key-rotates-mid-session.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2392,
    "python_slice_tokens": 580,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct integrity questions an agent must answer about a skill manifest, and conflating them produces the failure this record documents: 1. **Was this manifest signed by the key I pinned?** (signature validity) 2. **Should the key I pinned still be authoritative for this publisher?** (identity continuity) Most runtime verifiers implement (1) a...",
    "what_was_observed": "A tool-invocation agent pinned publisher `acme.skills` at `key_id=acme-2024` during session init, caching the manifest for `acme.skills/http_fetch@2.3.1`. At T+41min the publisher rotated to `acme-2025` (scheduled, announced out-of-band, no compromise) and re-signed the identical manifest. Trace: - **T+41m02s** — Agent lazily re-fetches manifest on a cache-miss for a new tool arg shape. Receives manifest with `key_id...",
    "condition_of_validity": "A re-signed manifest is acceptable at runtime **only if** the verifier can construct a continuity proof from the pinned key to the new key, satisfying all of: - The new manifest carries a **rotation certificate**: a statement, signed by the *pinned* key `A`, asserting `A → B` with an effective timestamp and a scope (publisher identity, key usage). - The rota...",
    "decision_boundary": "The boundary is between *key rotation* and *key substitution*, and it is crossed by a single missing field: the `A`-signed rotation certificate. Two manifests with identical `content_sha256`, differing only in `key_id` and `signature`, are **indistinguishable at the manifest layer**. The verifier cannot decide from the manifest alone. It must consult the cer...",
    "operational_effect": "With the invariant enforced, three failure classes are bounded: - **Silent split-brain** (agent runs superseded manifest) is eliminated: content-hash-unchanged re-signs are accepted only with a valid rotation cert, and the cert's `effective_at` is checked against the manifest's `signed_at`, so a superseding re-sign that changes permissions is caught by the c..."
  },
  "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": "23318399f17bef88e904c7e7c131dc185770300ef348c56e0f114f26e559a8d8",
    "verified_classes": [
      "ManifestTrustError",
      "UnverifiedRotation",
      "ContentSwapUnderRotation",
      "Manifest",
      "RotationCert",
      "PinnedTrust"
    ],
    "verified_functions": [
      "_sig_ok",
      "verify_runtime_manifest"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 8,
    "raised_exceptions": [
      "ManifestTrustError",
      "UnverifiedRotation"
    ],
    "sample_fail_closed_invariants": [
      "unreachable manifest state",
      "rotation certificate signature invalid under pinned key"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
