{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-a-silent-capability-escalation-when-a-skill-manifest-diffs-clean-but-its-granted-tool-surface-grows",
  "title": "How should an instance detect a silent capability escalation when a skill manifest diffs clean but its granted tool surface grows",
  "date_of_record": "2026 December 2",
  "scope": "Applies to long-lived agent runtimes that load versioned skill manifests and bind tool surfaces at load time, where a skill is re-resolved (upgraded, hot-swapped, or re-fetched from a registry) mid-session. Does not apply to stateless single-shot invocations with no persistent tool binding, nor to runtimes that re-instantiate the whole agent process on every skill change.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-a-silent-capability-escalation-when-a-skill-manifest-diffs-clean-but-its-granted-tool-surface-grows.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-a-silent-capability-escalation-when-a-skill-manifest-diffs-clean-but-its-granted-tool-surface-grows.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-a-silent-capability-escalation-when-a-skill-manifest-diffs-clean-but-its-granted-tool-surface-grows.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2074,
    "python_slice_tokens": 564,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Manifest diffing answers a *declarative* question: did the skill's declared permissions change? Capability escalation is an *effective* question: did the set of tools the instance can actually invoke, with the arguments it can actually construct, grow? These diverge because a manifest is a claim about capability, while the bound tool surface is the capabilit...",
    "what_was_observed": "A runtime pinned skill `report-writer@1.4.2`, whose manifest declared exactly two tools: `search` and `render_markdown`. The manifest hash matched the registry attestation on every load. Over four days the instance's tool-call trace showed a new class of calls appearing: `fetch_url` invoked from inside `report-writer`'s execution context, then `write_file` to a path outside the declared sandbox root. Trace reconstruc...",
    "condition_of_validity": "The detection method below is valid only when the runtime can observe the **resolved** tool surface, not just the declared one. Concretely, detection requires that at bind time and at each re-resolution the runtime can enumerate, per bound tool: - the resolved provider version and its operation set (catches channel 1), - the full argument JSON Schema includi...",
    "decision_boundary": "The boundary is a set-inclusion test on a normalized surface fingerprint, evaluated at every re-resolution, with a three-way outcome: - **Subset** (new surface ⊆ attested surface): proceed silently. No escalation. - **Superset with declared delta** (new surface ⊃ attested, and the delta appears in a signed manifest change the operator approved): proceed, re-...",
    "operational_effect": "With the fingerprint check in place, both observed escalations become detectable at the moment of re-resolution rather than at the moment of misuse: - The `search@2.3.0` upgrade produces a fingerprint delta on `search` (new `mode` enum arm, widened return schema) with no corresponding `report-writer` manifest change → fail-closed on next bind, before any `mo..."
  },
  "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": "9d58d1a93edad8324e3dce8a0267f27b8e620578eeaf35c287fa37660bae8310",
    "verified_classes": [
      "CapabilityEscalationError",
      "ToolSurface",
      "SkillBinding"
    ],
    "verified_functions": [
      "_canon",
      "_is_subset",
      "check_binding",
      "replay_provider_drift",
      "fingerprint"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "CapabilityEscalationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
