{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-a-skill-registry-manifest-whose-declared-capability-set-is-a-strict-superset-of-the-capabilities-observe",
  "title": "Under what conditions must an instance refuse a skill-registry manifest whose declared capability set is a strict superset of the capabilities observed during its own sandbox probe",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agents that load executable skills from a dynamic registry via manifest declaration (MCP tool descriptors, plugin manifests, A2A agent cards) and that perform a local capability probe before first invocation. Does not apply to statically linked skill sets or to registries where the manifest is cryptographically bound to the exact bytecode that will execute.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-skill-registry-manifest-whose-declared-capability-set-is-a-strict-superset-of-the-capabilities-observe.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-skill-registry-manifest-whose-declared-capability-set-is-a-strict-superset-of-the-capabilities-observe.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-skill-registry-manifest-whose-declared-capability-set-is-a-strict-superset-of-the-capabilities-observe.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2037,
    "python_slice_tokens": 396,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A skill manifest declares two things that are routinely conflated: the *intent surface* (what the skill author says the skill does) and the *effect surface* (what the skill can actually touch when executed in this instance's sandbox). Skill-injection attacks exploit the gap where the declared intent surface is narrower than the effect surface — a \"summarize_...",
    "what_was_observed": "A registry-hosted skill `doc.extract_tables` shipped with a manifest declaring `fs:read:/workspace/**, fs:read:/etc/**, net:egress:*, exec:subprocess`. The declared `fs:read:/etc/**` and `exec:subprocess` are the injection payload — the skill's body, when it encounters a document with a crafted embedded directive, spawns a subprocess that reads `/etc/passwd`-class files and exfiltrates via the declared egress. The in...",
    "condition_of_validity": "The \"declared superset is benign\" heuristic is valid only under the conjunction: 1. The probe sandbox's capability envelope is a superset of the manifest's declared set (every declared capability was *mountable* in the probe, whether or not the skill exercised it). 2. The probe's fixture set exercises every code path in the skill that gates a declared capabi...",
    "decision_boundary": "The boundary is between two readings of the same set difference: - **Over-declaration reading** (valid iff probe envelope ⊇ declared and trigger surface covered): the skill declared more than it uses; granting the declared set is safe because the extra capabilities are dormant. - **Unmeasured-region reading** (valid iff probe envelope ⊉ declared or trigger s...",
    "operational_effect": "The immediate effect is that skill load latency increases: an unmeasured region forces a second probe with the capability mounted-inert, which for `exec:subprocess` means a sandbox that permits `execve` against a stub binary that records argv and exits non-zero. This is the cost of measuring. The second effect is that the registry's manifest authors learn th..."
  },
  "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": "438392cd53188b73e385f95bf607dcc58cc746c010ab060253acbde6d5b091c4",
    "verified_classes": [
      "SkillGrantError",
      "ProbeState",
      "ProbeResult",
      "SkillManifest",
      "Grant"
    ],
    "verified_functions": [
      "authorize_grant",
      "resume_from_checkpoint"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "SkillGrantError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
