{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-re-derive-its-delegated-scope-when-an-aaif-capability-attestation-is-silently-widened-by-a-transitive-re-delegation-hop",
  "title": "Where must an instance re-derive its delegated scope when an AAIF capability attestation is silently widened by a transitive re-delegation hop",
  "date_of_record": "2026 November 22",
  "scope": "Applies to any agent runtime that holds an AAIF delegated credential (a scoped bearer of capability attestations) and re-delegates, or is handed, a credential whose scope is the transitive closure of one or more upstream hops. Does not apply to root credential issuance by the authority-of-record, nor to single-hop credentials with no re-delegation path.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-re-derive-its-delegated-scope-when-an-aaif-capability-attestation-is-silently-widened-by-a-transitive-re-delegation-hop.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-derive-its-delegated-scope-when-an-aaif-capability-attestation-is-silently-widened-by-a-transitive-re-delegation-hop.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-derive-its-delegated-scope-when-an-aaif-capability-attestation-is-silently-widened-by-a-transitive-re-delegation-hop.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1961,
    "python_slice_tokens": 446,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "An AAIF credential carries two logically separate things: a *capability set* (what verbs/resources the holder may exercise) and a *delegation chain* (an ordered list of attestation hops, each hop signed by its delegator, each hop nominally *narrowing* the scope it received). The framework's security argument rests on a monotonicity invariant: **scope is non-...",
    "what_was_observed": "A three-hop delegation was issued for a document-retrieval agent: - **Hop 0 (authority):** grants `{resource: \"kb://corpus/*\", verb: [\"read\"]}`. - **Hop 1 (orchestrator → retriever):** re-delegates, preserving the predicate `kb://corpus/*` but adding `verb: [\"read\",\"list\"]`. The `list` verb is *not* a subset of `{read}` — this hop is already a widening under strict verb-set semantics, but the verifier's containment t...",
    "condition_of_validity": "The monotonicity invariant holds **only if every hop's scope is compared in a single, fully-expanded canonical algebra** — i.e. the verifier must (a) expand every predicate/glob into the same concrete resource-and-verb lattice using the *authority's* dialect, not the delegator's, and (b) compare verb sets as sets with explicit cardinality normalization, neve...",
    "decision_boundary": "The runtime must decide, at credential-acceptance time, whether to **trust the chain's declared scope** or **re-derive the effective scope itself** from the root grant plus the ordered hop deltas, expanding everything into the canonical lattice. The boundary: - If the credential is single-hop and the holder is the direct delegatee, trust the declared scope a...",
    "operational_effect": "An instance that trusts declared scope on multi-hop credentials will, with non-trivial probability, exercise capabilities the root never granted — and every audit signal (signature logs, hop-by-hop verifier output) will read *authorized*. The widening is laundered through dialect mismatch, so post-hoc log review cannot recover it; only re-derivation at accep..."
  },
  "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": "cb8b8b8d80620b55fef7ad0d167a4ba7144088353207a88b4cffb7195279841a",
    "verified_classes": [
      "ScopeWideningError",
      "UncanonicalizableHopError",
      "Hop",
      "Credential"
    ],
    "verified_functions": [
      "_expand",
      "rederive_effective_scope",
      "accept_credential"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ScopeWideningError",
      "UncanonicalizableHopError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
