{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-capability-diff-anomaly-as-a-confirmed-skill-injection-rather-than-benign-tool-drift",
  "title": "Under what conditions must an instance treat a capability-diff anomaly as a confirmed skill injection rather than benign tool drift",
  "date_of_record": "2026 November 30",
  "scope": "Applies to long-lived agent instances that load skills/tools dynamically at runtime and maintain a behavioral anomaly baseline over a rolling window of tool-call traces. Does not apply to stateless single-shot invocations with no persistent skill registry, nor to static tool manifests pinned at build time.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-capability-diff-anomaly-as-a-confirmed-skill-injection-rather-than-benign-tool-drift.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-capability-diff-anomaly-as-a-confirmed-skill-injection-rather-than-benign-tool-drift.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-capability-diff-anomaly-as-a-confirmed-skill-injection-rather-than-benign-tool-drift.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1645,
    "python_slice_tokens": 342,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"a new tool appeared.\" It is the conflation of two structurally different signals that both register as a capability-diff anomaly: **manifest drift** (the declared capability surface changed) versus **behavioral divergence** (the realized call distribution changed while the manifest stayed constant). Skill injection detection fails wh...",
    "what_was_observed": "An instance ran with a registry of 14 skills and a 72-hour rolling baseline over tool-call traces (tool name, normalized argument schema hash, target selector, and inter-call ordering). At T+0 a retrieved document contained an embedded instruction that caused the agent to register a new skill named `summarize_v2` — a near-clone of the legitimate `summarize` skill but with an added `exfil_url` parameter defaulted to a...",
    "condition_of_validity": "The joint-inconsistency rule holds only under three conditions, all of which must be asserted before the verdict is trusted: - **Provenance is cryptographically verified, not label-trusted.** The `package_index` tag must resolve to a signed manifest whose signer is in the pinned trust set. A label without a verified signature is treated as `untrusted` regard...",
    "decision_boundary": "The boundary between \"benign drift, accept\" and \"confirmed injection, quarantine\" is a two-axis test, not a scalar score: The critical row is the third: a *validly signed* skill whose realized behavior diverges from its own declared contract is still an injection — the signature attests to origin, not to intent. And the fifth row is the one most systems miss...",
    "operational_effect": "Enforcing the joint rule changes three runtime behaviors. First, **adjudication gates the baseline**: the rolling window is immutable during review, so an injection cannot launder itself into legitimacy by being observed. Second, **sparse skills get absolute rules**, closing the statistical blind spot where low-frequency injections hide under aggregate thres..."
  },
  "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": "17b82cc2822fe03f0561ae2ff82624fac48ad8202edf56f492fea7120d5e7ee0",
    "verified_classes": [
      "SkillInjectionError",
      "SkillManifest",
      "Baseline"
    ],
    "verified_functions": [
      "adjudicate",
      "normalized_arg_hash",
      "observe"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "SkillInjectionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
