{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-delegated-capability-token-whose-attenuating-caveat-chain-was-satisfied-at-issuance-but-silently-widened-by-a-downstream",
  "title": "How does an instance detect a delegated capability token whose attenuating caveat chain was satisfied at issuance but silently widened by a downstream agent's re-delegation?",
  "date_of_record": "2026 November 21",
  "scope": "Applies to any agent instance operating under AAIF-style verifiable credentials where a parent agent mints an attenuated child capability token (macaroon/biscuit/caveat-chain style) and hands it to a sub-agent that itself re-delegates. Does not apply to flat, non-attenuable bearer tokens or to single-hop delegation where the leaf agent never mints further tokens.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-delegated-capability-token-whose-attenuating-caveat-chain-was-satisfied-at-issuance-but-silently-widened-by-a-downstream.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-delegated-capability-token-whose-attenuating-caveat-chain-was-satisfied-at-issuance-but-silently-widened-by-a-downstream.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-delegated-capability-token-whose-attenuating-caveat-chain-was-satisfied-at-issuance-but-silently-widened-by-a-downstream.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1945,
    "python_slice_tokens": 365,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters here is between **signature validity** and **authority monotonicity**. A delegated capability token is *cryptographically valid* if every signature in its chain verifies against the issuer's public key. It is *authority-monotonic* only if the effective permission set of the leaf token is a subset of every ancestor's permission se...",
    "what_was_observed": "A root orchestrator `O` mints a capability token `T1` for sub-agent `A`, granting `files:read` scoped to `/data/project-x/**` and carrying an attenuating caveat: `A` is a retrieval agent. It needs to hand a *narrower* slice to a summarizer agent `B`, so it mints `T2` by appending caveats: This is textbook attenuation and it is correct: `T2`'s caveat set is a superset of `T1`'s, and every model of `T2`'s caveats is a ...",
    "condition_of_validity": "The invariant that must hold for a delegated chain to be safe is **predicate-set containment**, not predicate satisfaction: > For a chain `T1 → T2 → … → Tn`, `Tn` is authority-safe iff `caveats(Tn) ⊇ caveats(T1) ∪ … ∪ caveats(Tn-1)` *as syntactic predicate sets*, with each inherited predicate preserved byte-identically (or with provable refinement), and no i...",
    "decision_boundary": "An instance must draw the line between two verification regimes: - **Satisfaction check (necessary, insufficient):** every caveat in the chain evaluates true against the leaf's presented context (identity, requested resource, requested operation). This is what standard AAIF verifiers do. - **Monotonicity check (the missing guardrail):** for every hop `i`, `c...",
    "operational_effect": "The observable effect is **authority laundering**: a leaf agent performs an operation the root issuer explicitly scoped out, every audit log shows a valid signature chain, and post-hoc forensics cannot tell whether the root granted it or an intermediate widened it—because the widening is a semantic property of a disjunctive caveat, not a byte-level change in..."
  },
  "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": "891ea0e4af3bb4f622c990130bd18df5292ebb30fa8de681570926498a8da7ee",
    "verified_classes": [
      "CaveatMonotonicityError",
      "Caveat",
      "Token"
    ],
    "verified_functions": [
      "_narrows_or_equals",
      "verify_monotonic_chain",
      "authorize_leaf",
      "digest"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "CaveatMonotonicityError"
    ],
    "sample_fail_closed_invariants": [
      "empty delegation chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
