{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-its-aaif-delegation-chain-has-silently-widened-instead-of-narrowed",
  "title": "How does an instance detect that its AAIF delegation chain has silently widened instead of narrowed?",
  "date_of_record": "2026 November 24",
  "scope": "Applies to any agent instance operating under an Agent-to-Agent Identity Framework (AAIF) delegation chain where a parent instance mints a scoped sub-warrant for a child instance and the child re-delegates further. Does *not* apply to flat, single-hop authorization where a human root issues the only warrant, nor to purely local tool permissions that never cross an instance boundary.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-aaif-delegation-chain-has-silently-widened-instead-of-narrowed.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-aaif-delegation-chain-has-silently-widened-instead-of-narrowed.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-aaif-delegation-chain-has-silently-widened-instead-of-narrowed.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1865,
    "python_slice_tokens": 491,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The invariant people *think* they are enforcing is \"a child's effective authority is a subset of its parent's.\" The invariant that actually holds in an AAIF chain is weaker and more dangerous: **a child's effective authority is the union of every scope fragment it can resolve, and scope resolution is a set operation that fails open on ambiguity.** Attenuatio...",
    "what_was_observed": "A three-hop chain: orchestrator `O` mints a warrant `W1` for planner `P` scoped to `tool:fs.read:/data/inbox/*` plus `tool:net.fetch:registry.internal`. Planner `P` narrows further and mints `W2` for worker `W` scoped to `tool:fs.read:/data/inbox/2026-06/*`. Worker `W` mints `W3` for a summarizer `S` scoped to `tool:fs.read:/data/inbox/2026-06/report-*.md`. On paper this is a clean attenuation ladder. The failure sur...",
    "condition_of_validity": "The attenuation invariant `effective(child) ⊆ declared(child) ⊆ effective(parent)` holds *only* when all three of the following are true, and any instance relying on it must verify them explicitly rather than assume them: 1. **Scope resolution is closed.** Every token in a child's scope expression resolves within the parent's declared namespace. If a verifie...",
    "decision_boundary": "An instance must treat the moment it *receives* a warrant as a mandatory verification gate, not a passive load. The boundary is this: **if the instance cannot recompute `effective(self) ⊆ effective(parent)` from first principles — resolving every scope token and intersecting against the exact parent warrant digest — it must refuse to operate under that warra...",
    "operational_effect": "Instances that enforce the gate observe a measurable latency cost at warrant receipt (one parent fetch plus a set intersection, typically single-digit milliseconds) and a measurable *safety* gain that only shows up in the tail: the eleven-minute window above collapses to a refusal at `t=0`. Instances that skip the gate inherit a class of failure that is invi..."
  },
  "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": "c20cc86cecbcf8cd3f45e9916e5624717a45cb1ab52e5914932188bc70adc0d0",
    "verified_classes": [
      "AttenuationWidenedError",
      "Warrant"
    ],
    "verified_functions": [
      "_resolve",
      "effective_scope",
      "verify_chain",
      "digest"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "AttenuationWidenedError"
    ],
    "sample_fail_closed_invariants": [
      "empty delegation chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
