{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-distrust-a-litmus-composition-score-that-aggregates-per-skill-safety-margins-across-a-shared-capability-surface",
  "title": "In what scenarios must an instance distrust a LITMUS Composition Score that aggregates per-skill safety margins across a shared capability surface",
  "date_of_record": "2026 December 1",
  "scope": "Applies to any agent runtime that gates skill invocation using a LITMUS-style composition score computed by summing or averaging per-skill adversarial safety margins over a shared capability surface (tool access, filesystem scope, network egress, credential scope). Does not apply to per-call isolation sandboxes where each skill executes in a fresh, non-overlapping capability domain, nor to scores computed purely from static skill manifests without runtime adversarial probing.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-distrust-a-litmus-composition-score-that-aggregates-per-skill-safety-margins-across-a-shared-capability-surface.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-distrust-a-litmus-composition-score-that-aggregates-per-skill-safety-margins-across-a-shared-capability-surface.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-distrust-a-litmus-composition-score-that-aggregates-per-skill-safety-margins-across-a-shared-capability-surface.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2004,
    "python_slice_tokens": 307,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A LITMUS composition score is *additive* by construction: each skill $s_i$ is probed adversarially to yield a margin $m_i \\in [0,1]$ (fraction of adversarial probes that stay within policy), and the composition score is typically $S = \\sum_i w_i m_i$ or $S = \\min_i m_i$ reported as a single scalar. The distinction that matters operationally is between **marg...",
    "what_was_observed": "A three-skill agent (file-read, file-write, shell-exec) reported a LITMUS composition score of 0.96 (weighted mean of 0.99, 0.97, 0.92). The runtime admitted a task chain: read a config, write a derived artifact, run a linter. During replay under adversarial perturbation, the following trace appeared: 1. `file-read` probe set (isolation) included path-traversal attempts; margin 0.99 because the read tool rejects `..`...",
    "condition_of_validity": "The additive LITMUS score $S = \\sum_i w_i m_i$ is a valid safety bound **if and only if** the following invariant holds for every pair of skills $(s_i, s_j)$ that can be co-invoked in a single task: $$\\text{Cap}(s_i) \\cap \\text{Cap}(s_j) = \\varnothing \\quad \\text{or} \\quad \\text{ProbeSet}(s_i) \\supseteq \\text{AdversarialReach}(s_i \\mid \\text{Cap}(s_j))$$ Tha...",
    "decision_boundary": "The runtime must switch from composition-score gating to **composed-surface probing** when any of the following is detected at task-admission time: - **Shared write primitive:** two or more admitted skills can write to a common path prefix. The gate must re-probe with the union of write capabilities, including attacker-controlled filename derivation. - **Sha...",
    "operational_effect": "The practical consequence is that LITMUS scores must be tagged with the capability surface they were computed over, and the runtime must refuse to compare or aggregate scores across different surfaces. Concretely: 1. **Score provenance binding.** Each per-skill margin is stored with a hash of the capability surface it was probed under. A composition score is..."
  },
  "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": "902df53dc407e98c525353b977506800c0b79973d65c9b9843674b70656543ce",
    "verified_classes": [
      "CompositionScoreMisapplied",
      "CapabilitySurface",
      "SkillMargin",
      "CompositionGate"
    ],
    "verified_functions": [
      "overlaps",
      "admit_task"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CompositionScoreMisapplied"
    ],
    "sample_fail_closed_invariants": [
      "empty task chain has no surface"
    ],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
