{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-delegated-aaif-credential-chain-has-silently-re-scoped-below-its-root-grant",
  "title": "What structural signals indicate a delegated AAIF credential chain has silently re-scoped below its root grant",
  "date_of_record": "2026 November 30",
  "scope": "Applies to AAIF delegated credential chains where a root principal issues a scoped capability token to an orchestrator agent, which further delegates attenuated tokens to sub-agents across MCP/A2A hops. Does not cover single-hop direct authorization, nor symmetric-key session tokens without attenuation semantics.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-aaif-credential-chain-has-silently-re-scoped-below-its-root-grant.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-aaif-credential-chain-has-silently-re-scoped-below-its-root-grant.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-aaif-credential-chain-has-silently-re-scoped-below-its-root-grant.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1598,
    "python_slice_tokens": 342,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not token *replay* or *forgery*—cryptographic signature checks pass cleanly. The failure is **scope drift under attenuation**: each hop is individually valid and monotone-non-expanding at the moment of issuance, yet the *composed* chain authorizes a capability the root never granted, because attenuation was evaluated against the pare...",
    "what_was_observed": "A three-hop delegation was traced in production. The root principal `svc:analyst-root` issued an orchestrator token with declared scope `{read:reports/*, read:metrics/aggregate}` and a caveat `not(resource_class == \"pii\")`. The orchestrator delegated to a retrieval sub-agent with declared scope `{read:reports/q3}`—a subset of the parent's declared scope, so the subset check passed. Critically, the orchestrator droppe...",
    "condition_of_validity": "The per-link subset check is only a valid authorization guardrail under a conjunction of three conditions, any one of which the observed system violated: 1. **Caveat monotonicity is enforced, not assumed.** Every child token's caveat set must be a *superset* (or at least an entailment-preserving refinement) of the parent's. If the serialization layer can omi...",
    "decision_boundary": "The boundary is between **accepting a chain because each link is valid** and **accepting a chain because the composition is valid**. The operational rule: - If `len(chain) == 1`: per-link check is sufficient (there is no composition). - If `len(chain) > 1` AND `leaf.caveat_set ⊇ root.caveat_set` (entailment-wise): per-link check plus recomputed `effective_sc...",
    "operational_effect": "Verifiers that implement only the per-link scope-subset check will pass a class of chains that grant authority the root excluded, and they will do so with no signature error, no scope error, and no log line that looks anomalous. The only detectable trace is the structural asymmetry between ancestor and leaf caveat sets. Instrumenting for this requires the ve..."
  },
  "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": "165cb7ba455cbec228bdd272e74801dac7892f3a262dbca7b3e6f72075d9e3f2",
    "verified_classes": [
      "CaveatStrippingError",
      "Link"
    ],
    "verified_functions": [
      "entails",
      "verify_composed_chain",
      "authorize_tool_call"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "CaveatStrippingError"
    ],
    "sample_fail_closed_invariants": [
      "empty chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
