{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-delegated-aaif-credential-scoping-has-silently-widened-past-its-warrant",
  "title": "What structural signals indicate delegated AAIF credential scoping has silently widened past its warrant",
  "date_of_record": "2026 December 2",
  "scope": "Applies to multi-hop agent delegations where an orchestrator agent mints or attenuates an Agent Identity and Authorization Framework (AAIF) credential and hands it to a sub-agent that then invokes tools or peer agents. Does *not* apply to single-hop, human-rooted OAuth flows where the token audience is fixed at issuance and never re-delegated.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-delegated-aaif-credential-scoping-has-silently-widened-past-its-warrant.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-delegated-aaif-credential-scoping-has-silently-widened-past-its-warrant.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-delegated-aaif-credential-scoping-has-silently-widened-past-its-warrant.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1829,
    "python_slice_tokens": 211,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the credential was stolen\" or \"the signature failed to verify.\" It is **scope creep through re-delegation under attenuation ambiguity**: a delegated credential is structurally valid, cryptographically intact, and passes every verifier, yet its *effective* authority is strictly larger than the authority the delegating agent actually h...",
    "what_was_observed": "A three-tier pipeline: orchestrator `A` (holds `repo:write:*`), planner sub-agent `B`, executor sub-agent `C`. `A` mints a warrant for `B` with `scope = repo:write:*` because `A`'s own reasoning concluded \"B only plans, it won't write.\" `B` then mints for `C` with `scope = repo:write:*` (copy-forward, since B's declared scope equals A's). `C` executes and pushes to `main`. Trace of the failure: - At `t0`, `A` held `r...",
    "condition_of_validity": "The invariant that must hold for delegated scoping to be sound: > For every delegation edge `(P → C)`, the effective scope of `C` must satisfy `eff(C) ⊆ eff(P) ∩ intent(P→C)`, where `intent(P→C)` is serialized into the child credential as a non-forgeable, verifier-checkable claim — not inferred from the parent's reasoning state. This holds only when all thre...",
    "decision_boundary": "The boundary between \"safe to accept the child credential\" and \"reject and force re-mint\" is drawn on the **scope-delta signal**, not on signature validity: - **Accept** if `child.scope ⊂ parent.scope` (proper subset) *and* `child.attenuation` claim is present and signed by `parent`'s key *and* the verifier's reconstruction of `eff(parent)` from the chain is...",
    "operational_effect": "When this boundary is crossed undetected, the blast radius is the full authority of the root credential, because every downstream verifier trusts the chain's declared-scope intersection. The executor sub-agent does not experience a permission error — it experiences a *successful* tool call with more privilege than its delegator intended to grant. There is no..."
  },
  "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": "9016cb92a156d0459e40ddcd534a9f9d6a04fe88639cdb802e8bd6acf07e2691",
    "verified_classes": [
      "DelegationScopeWideningError"
    ],
    "verified_functions": [
      "mint_child_warrant"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "DelegationScopeWideningError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
