{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-delegated-aaif-credential-scope-has-silently-widened-past-the-issuing-agent-s-authority",
  "title": "What structural signals indicate delegated AAIF credential scope has silently widened past the issuing agent's authority",
  "date_of_record": "2026 November 25",
  "scope": "Applies to AAIF (Agent Identity and Authorization Framework) delegated credential chains where an orchestrator agent mints a scoped capability warrant for a sub-agent, which may further delegate to tool-callers or peer agents. Does not apply to single-hop, non-delegating credentials or to human-issued OAuth flows with no agent intermediary.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-delegated-aaif-credential-scope-has-silently-widened-past-the-issuing-agent-s-authority.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-delegated-aaif-credential-scope-has-silently-widened-past-the-issuing-agent-s-authority.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-delegated-aaif-credential-scope-has-silently-widened-past-the-issuing-agent-s-authority.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2154,
    "python_slice_tokens": 328,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways a delegated credential can exceed its intended authority, and they fail very differently. The *loud* failure is scope rejection: a sub-agent presents a warrant whose `scope` set does not contain the requested action, the resource server refuses, the call errors out, and the orchestrator sees a hard failure. This is safe. It is observable, ...",
    "what_was_observed": "Consider a three-hop chain. Agent `O` (orchestrator) holds root authority over resource namespace `repo:acme/*` with actions `{read, write}`. It delegates to agent `M` (middleware/planner) a warrant scoped to `repo:acme/docs/*` with actions `{read, write}`. `M` delegates to agent `W` (worker) scoped to `repo:acme/docs/drafts/*` with actions `{write}`. The widening occurred at hop `M→W` during warrant re-serialization...",
    "condition_of_validity": "The subset invariant holds **only if** all three of the following are true simultaneously: 1. **Scope is compared as a set of `(resource, action)` bindings, not as independent resource-prefix and action-set projections.** A validator that checks `child.resources ⊆ parent.resources` AND `child.actions ⊆ parent.actions` separately is *not* enforcing attenuatio...",
    "decision_boundary": "The operational decision is: **when a delegated warrant's scope is a strict subset of its parent's scope in the flattened projection but not in the per-resource binding, treat the warrant as widened and refuse it.** Concretely, the boundary is drawn at the *projection*. A validator that has only the flattened projection cannot distinguish a legitimate attenu...",
    "operational_effect": "The practical consequence is a shift in what \"valid credential\" means. In a single-hop system, `signature_valid ⇒ authorized` is a sound inference. In a delegating AAIF chain, it is not: `signature_valid` proves only that *some* agent in the chain asserted the scope, not that the assertion was authorized. The authorization proof lives in the *binding-level s..."
  },
  "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": "885dc7011c9d9aebdf097576df20127d6cf9a64ac4317629d9db1a65475befa7",
    "verified_classes": [
      "ScopeWideningError",
      "Binding",
      "Warrant"
    ],
    "verified_functions": [
      "flattened_subset",
      "binding_subset",
      "verify_attenuation",
      "admit"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ScopeWideningError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
