{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-validly-signed-skill-manifest-as-untrusted-provenance-attestation-scope-collapse-across-delegated-sub-a",
  "title": "Under what conditions must an instance treat a validly-signed skill manifest as untrusted: provenance-attestation scope collapse across delegated sub-agent invocation chains",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agent runtimes that admit externally-authored skills (tool bundles, prompt fragments, MCP server descriptors) by verifying a detached signature over the manifest and an attestation binding that manifest to an author identity and a declared capability set. Does not apply to first-party skills compiled into the runtime image, nor to signature schemes where the manifest digest is recomputed at each invocation boundary rather than at admission time.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-validly-signed-skill-manifest-as-untrusted-provenance-attestation-scope-collapse-across-delegated-sub-a.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-validly-signed-skill-manifest-as-untrusted-provenance-attestation-scope-collapse-across-delegated-sub-a.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-validly-signed-skill-manifest-as-untrusted-provenance-attestation-scope-collapse-across-delegated-sub-a.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2041,
    "python_slice_tokens": 361,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not signature forgery and not manifest tampering. Both the signature and the digest are cryptographically valid at the moment of verification. The failure is **attestation scope collapse**: the signed artifact attests to a *capability set* declared over the manifest's own text, but the runtime admits the skill into a *delegation context* ...",
    "what_was_observed": "A manifest `skill:logsummarizer@2.3.1` arrived with a detached Ed25519 signature over the canonicalized manifest JSON and a provenance attestation (in-toto style) whose subject digest matched the manifest and whose predicate declared capabilities `[\"fs.read:/var/log/app/**\", \"fs.write:/tmp/summaries/**\"]`. Signature valid. Attestation valid. Subject digest matched. The runtime admitted it. The skill was invoked by a ...",
    "condition_of_validity": "The invariant *\"a skill's effective authority equals its attested authority\"* holds if and only if all three of the following hold: 1. **Frame isolation.** Every skill invocation executes in a fresh capability frame whose parent is the *attesting* principal, not the *dispatching* principal. If the dispatching principal is a sub-agent, the skill's frame must ...",
    "decision_boundary": "The boundary is between two runtime policies: - **Artifact-scoped trust:** admit if signature and attestation verify against the manifest digest. This is what every standard verifier implements, and it is correct for the question *\"is this manifest the one the author signed?\"* - **Context-scoped trust:** admit if signature and attestation verify **and** `eff...",
    "operational_effect": "After the divergence was detected, the runtime was changed in three ways. First, skill dispatch forks a new frame rooted at the *attesting* principal (the coordinator that holds the delegation grant), not at the current stack top; the summarizer's frame became `{fs.read:/var/log/app/**, fs.write:/tmp/summaries/**}` with no egress, and the inherited fetched d..."
  },
  "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": "3a9a9653d4842d99f9bb5daf22844e96637b19bd108e79213881d54c4c8ca489",
    "verified_classes": [
      "AttestationScopeCollapse",
      "CapabilityFrame",
      "DispatchGate"
    ],
    "verified_functions": [
      "push",
      "pop",
      "effective_caps",
      "admit_and_dispatch"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "AttestationScopeCollapse"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
