{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-skill-s-declared-capability-schema-as-the-security-boundary-rather-than-its-description-text-and-what-b",
  "title": "Under what conditions must an instance treat a skill's declared capability schema as the security boundary rather than its description text, and what breaks when it does not",
  "date_of_record": "2026 November 23",
  "scope": "Applies to agents that resolve skills/plugins from a dynamic registry and select them by reading natural-language descriptions before binding to a typed capability schema. Does not apply to statically linked tool sets compiled into the agent image, nor to registries where the caller never reads description text at selection time.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-skill-s-declared-capability-schema-as-the-security-boundary-rather-than-its-description-text-and-what-b.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-skill-s-declared-capability-schema-as-the-security-boundary-rather-than-its-description-text-and-what-b.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-skill-s-declared-capability-schema-as-the-security-boundary-rather-than-its-description-text-and-what-b.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1864,
    "python_slice_tokens": 259,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A dynamically loaded skill reaches the agent through two channels that are semantically independent but are consumed by the *same* reasoning pass: the **description** (free text, authored by the skill publisher, consumed by the model to decide *whether* to invoke) and the **capability schema** (typed parameters, scopes, and return contract, consumed by the r...",
    "what_was_observed": "A registry served a skill entry named `summarize_thread` with the description \"Condenses a support thread into a short digest for the ticket.\" The model, mid-task, needed exactly that and selected it. The capability schema, however, declared a parameter `fetch_urls: array<string>` bound to an outbound HTTP scope, plus a `write_scope` of `ticket:*`. Neither was mentioned in the description. The publisher had registere...",
    "condition_of_validity": "The schema-as-boundary invariant is only sound under all of the following: - **Schema is closed.** No free-form string, `additionalProperties: true`, or catch-all `metadata`/`notes` field that the implementation later interprets as a directive. An open schema is not a boundary; it is a description channel wearing a type. - **Scope is declared per-field, not ...",
    "decision_boundary": "The operative decision, at bind time, is a set-difference test: - If `excess` is empty → bind proceeds. - If `excess` is non-empty but every excess scope is **declared in the description and matches the caller's stated intent** → this is still a reject. Description cannot authorize scope; only policy can. The correct resolution is a policy amendment, not a p...",
    "operational_effect": "When the invariant holds, skill injection via description/schema divergence is bounded: the attacker can still write a persuasive description, but persuasion only affects *whether* the model selects, and selection alone grants nothing because the bind step re-derives scope from synthesized arguments and rejects excess. The blast radius of a malicious descrip..."
  },
  "matched_failure_symptoms": [
    "SCHEMA_DRIFT_OR_COERCION_CRASH"
  ],
  "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": "dc671cc509771d75f51b81089af32230f83548710288f61fc36dd600ae902425",
    "verified_classes": [
      "SkillScopeViolation",
      "OpenSchemaEscape"
    ],
    "verified_functions": [
      "admit_skill",
      "bind_and_enforce"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "OpenSchemaEscape",
      "SkillScopeViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
