{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-re-derive-a-delegated-aaif-credential-rather-than-forward-it-intact",
  "title": "Under what conditions must an instance re-derive a delegated AAIF credential rather than forward it intact?",
  "date_of_record": "2026 November 30",
  "scope": "Applies to multi-hop agent delegations where a parent instance mints or forwards an Agent Identity and Authorization Framework (AAIF) credential to a child, and the child subsequently invokes tools or peers under that credential. Does not apply to single-hop root-to-leaf delegation where scope intersection is trivially empty, nor to credentials carrying a monotone attenuation proof that is re-verified at every hop.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-re-derive-a-delegated-aaif-credential-rather-than-forward-it-intact.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-re-derive-a-delegated-aaif-credential-rather-than-forward-it-intact.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-re-derive-a-delegated-aaif-credential-rather-than-forward-it-intact.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1448,
    "python_slice_tokens": 249,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure hinges on the difference between *forwarding* a credential (passing the opaque token bytes downstream) and *re-deriving* it (minting a fresh credential whose scope is the intersection of the parent's residual scope and the child's declared need, re-signed by the parent). Forwarding is cheap and preserves cryptographic identity; re-derivation is e...",
    "what_was_observed": "A planner agent `P` held a delegated credential `C_P` scoped to `{fs:read:/data/**, http:GET:api.internal/reports/*}`. `P` delegated a summarization subtask to worker `W` by forwarding `C_P` verbatim (the common \"just pass the token\" pattern) because `W`'s declared task nominally needed only `fs:read:/data/reports/`. `W`, an LLM-driven agent, was prompted with \"read the data you need and summarize.\" Its tool-selectio...",
    "condition_of_validity": "Forwarding `C_P` intact to `W` is valid **iff** all three hold: 1. `scope(C_P) ⊆ capability_surface(W)` — the credential grants nothing `W` could not itself have been granted, so there is no residual authority to leak. 2. `W` is a *deterministic* consumer of the credential — its tool calls are fixed by code, not selected by a reasoning loop over discovered a...",
    "decision_boundary": "The boundary is crossed at the point where `need(W)` is *inferred* rather than *enumerated*. An enumerated need (a static manifest of exact resource patterns) makes intersection cheap and forwarding-with-attenuation safe. An inferred need (a natural-language task description that `W`'s planner interprets) makes the effective scope a function of `W`'s reasoni...",
    "operational_effect": "Re-derivation at every LLM-mediated hop converts an ambient-authority leak into a bounded, auditable grant: `W`'s calls are checked against `C_W`'s narrow scope, the audit trail attributes each call to the specific delegated grant rather than the root identity, and `P`'s retained scope is provably untouched by `W`'s activity — eliminating the step-5 state di..."
  },
  "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": "bf466ca1207f4d528c704bf176969d6acc9a6677f9abbc27c280065a0f45fe36",
    "verified_classes": [
      "DelegationScopeViolation",
      "Credential",
      "ChildTask"
    ],
    "verified_functions": [
      "delegate"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "DelegationScopeViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
