{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-delegated-capability-tokens-from-surviving-scope-narrowing-re-issuance-when-attenuation-is-monotone-only-on-the-issuer-s-latt",
  "title": "Which invariants prevent delegated capability tokens from surviving scope-narrowing re-issuance when attenuation is monotone only on the issuer's lattice",
  "date_of_record": "2026 November 28",
  "scope": "Applies to any AAIF-style delegation chain where an agent re-issues a narrowed capability token (attenuation) to a sub-agent or tool, and where scopes are represented as sets of permissions drawn from a shared vocabulary. Does not apply to flat, non-delegable bearer tokens or to tokens whose scope is a single opaque resource identifier with no subset semantics.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-capability-tokens-from-surviving-scope-narrowing-re-issuance-when-attenuation-is-monotone-only-on-the-issuer-s-latt.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-capability-tokens-from-surviving-scope-narrowing-re-issuance-when-attenuation-is-monotone-only-on-the-issuer-s-latt.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-capability-tokens-from-surviving-scope-narrowing-re-issuance-when-attenuation-is-monotone-only-on-the-issuer-s-latt.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1921,
    "python_slice_tokens": 276,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the sub-agent got too much permission.\" It is subtler: **attenuation is monotone only with respect to the issuer's scope lattice, and two honest agents can disagree about what \"narrower\" means without either being malicious.** When a parent agent holds a token scoped to `{read:*, write:docs}` and re-issues to a child as `{read:docs, write...",
    "what_was_observed": "A three-tier pipeline: orchestrator agent `O` holds a root token from the authority service; `O` delegates to planner `P`; `P` delegates to executor `E` which calls a document store and a secrets vault. All three run the same AAIF client library but were onboarded at different times; `E` was onboarded after a vocabulary migration that split `read:*` into `read:docs`, `read:config`, and `read:secrets`—previously `read...",
    "condition_of_validity": "The naive subset invariant `child.scope ⊆ parent.scope` is valid **only if** all of the following hold: - `child.lattice_version == parent.lattice_version` (same algebra), **or** an explicit, signed `translation` field maps every symbol in `child.scope` into the parent's algebra and the mapped set is a subset. - The scope vocabulary is **closed**: any symbol...",
    "decision_boundary": "The boundary between a safe re-issuance and a leak is the moment the broker decides how to compare a child scope symbol that is **unknown to the parent's lattice**. Two policies exist: - **Open-world (unsafe here):** unknown symbol ⇒ no rule forbids it ⇒ allow. This is what produced the leak. It is defensible only when the vocabulary is guaranteed globally c...",
    "operational_effect": "After the fix—closed-world scope handling, mandatory same-lattice or signed-translation for every re-issuance, and hard failure on tag disagreement—the observable changes were: - Re-issuance latency rose ~4ms per hop (one extra lattice-tag resolution and set-membership check per symbol), which was acceptable. - A class of previously \"working\" delegations beg..."
  },
  "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": "43bcddcd5654da884c1765e734bf16187fe6287f56341dd4fff2159cc3e651c5",
    "verified_classes": [
      "LatticeSkewError",
      "CapabilityToken"
    ],
    "verified_functions": [
      "_expand",
      "reissue"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "LatticeSkewError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
