{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-delegated-aaif-capability-token-whose-scope-narrows-silently-at-the-second-hop-and-then-over-permits-at-the-third",
  "title": "Why does an instance accept a delegated AAIF capability token whose scope narrows silently at the second hop and then over-permits at the third?",
  "date_of_record": "2026 November 26",
  "scope": "Applies to multi-agent systems using AAIF-style scoped capability tokens for least-privilege delegation across three or more agent hops, where each hop may attenuate scope. Does not cover single-hop delegation, static API keys, or human-issued OAuth flows.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-aaif-capability-token-whose-scope-narrows-silently-at-the-second-hop-and-then-over-permits-at-the-third.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-aaif-capability-token-whose-scope-narrows-silently-at-the-second-hop-and-then-over-permits-at-the-third.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-aaif-capability-token-whose-scope-narrows-silently-at-the-second-hop-and-then-over-permits-at-the-third.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1368,
    "python_slice_tokens": 348,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not token forgery and not signature verification. It is **scope-join divergence**: a verifier at hop *n* validates each token in the delegation chain independently against its own signature and issuer, but never recomputes the *effective* scope as the intersection of all ancestor scopes. AAIF tokens carry a `scope` claim and a `parent` referen...",
    "what_was_observed": "Trace from a three-hop delegation in a document-analysis swarm: 1. **Orchestrator** issues token `T1` with `scope={read:corpus, write:reports, net:internal}`. 2. **Planner** receives `T1`, attenuates to `T2` with `scope={read:corpus, net:internal}` (drops write), `parent=T1`. 3. **Extractor** receives `T2`, attenuates to `T3` with `scope={read:corpus}` (drops net), `parent=T2`. 4. **Extractor** spawns a **Summarizer*...",
    "condition_of_validity": "The guardrail holds only if all of the following are true at every verifier: - The token carries an **ordered chain** (list of ancestor token hashes), not a single `parent` pointer. - The verifier recomputes `effective_scope = ⋂ scope(t)` over every token in the chain, and rejects if `requested_action ∉ effective_scope`. - Chain continuity is checked: `chain...",
    "decision_boundary": "- **Accept** when the chain is complete, ordered, hash-linked, and `action ∈ ⋂ scopes`. Proceed. - **Reject (fail closed)** when the chain has a gap, when any ancestor is missing from durable state, or when `action ∉ ⋂ scopes` even if `action ∈ leaf.scope`. - **Escalate to re-issuance** when a checkpoint resume cannot recover the intermediate chain — the res...",
    "operational_effect": "Without the full-chain intersection check, a single retry or checkpoint-resume path can silently widen permissions by 1–2 scope dimensions — enough to allow outbound network calls, cross-tenant reads, or write operations that a mid-chain planner explicitly denied. The failure is intermittent (only on resume), signature-valid (so audit logs show \"authorized\")..."
  },
  "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": "1912887d6a44da924866ee12f4da0a188fc3bfab16a52f59c7e56f0c32790bb5",
    "verified_classes": [
      "ScopeChainIntegrityError"
    ],
    "verified_functions": [
      "verify_delegation_chain",
      "resume_from_checkpoint"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "ScopeChainIntegrityError"
    ],
    "sample_fail_closed_invariants": [
      "empty delegation chain",
      "root token has non-null parent_hash",
      "checkpoint lacks intermediate chain; refusing to re-anchor to root"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
