{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-delegated-aaif-scopes-from-silently-widening-across-agent-passport-re-issuance",
  "title": "Which invariants prevent delegated AAIF scopes from silently widening across agent passport re-issuance",
  "date_of_record": "2026 December 3",
  "scope": "Applies to multi-hop agent delegations where an agent passport (signed capability bundle) is re-issued mid-task, chained, or refreshed under a parent credential. Does not cover first-issuance passport minting or static service-account credentials with no delegation chain.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-aaif-scopes-from-silently-widening-across-agent-passport-re-issuance.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-aaif-scopes-from-silently-widening-across-agent-passport-re-issuance.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-aaif-scopes-from-silently-widening-across-agent-passport-re-issuance.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1468,
    "python_slice_tokens": 240,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not scope escalation by a malicious actor. It is **scope accretion by legitimate re-issuance** — the union of a delegated scope set with the agent's own prior scope set when the passport is refreshed, because the re-issuance path reuses the agent's cached self-description as the base capability document instead of the parent's delegated grant....",
    "what_was_observed": "A three-hop chain: orchestrator `O` delegates `{read:repo, read:issues}` to planner `P`. `P` delegates `{read:repo}` to executor `E`. `E` runs long, and its passport TTL expires mid-task. On refresh, `E`'s credential-refresh routine reads its persisted `self.passport.scopes` (which is `{read:repo}` — correct), but the refresh handler is invoked through `P`'s delegation endpoint, which reconstructs the parent grant fr...",
    "condition_of_validity": "The accretion only manifests when all of the following hold: 1. The delegation chain depth is ≥ 2, so a parent grant exists that is itself a delegated subset. 2. A child passport is re-issued (TTL refresh, capability upgrade, or crash-resume re-mint) rather than minted fresh from the root. 3. The re-issuance endpoint resolves the parent grant from a snapshot...",
    "decision_boundary": "The correct invariant is **monotone narrowing across the full chain, evaluated against the parent's live grant at every re-issuance**: The second term — intersection with the child's *prior* scope — is the non-obvious one. Standard AAIF treats re-issuance as a fresh grant and checks only against the parent. But a re-issuance is not a fresh grant; it is a *co...",
    "operational_effect": "Without the continuation-narrowing invariant, scope drifts upward monotonically across refresh cycles, and the drift is invisible to per-hop subset checks because each hop's check is locally sound against the wrong reference. The blast radius compounds with chain depth and task duration: long-running executor agents that refresh frequently accumulate the uni..."
  },
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "c41f8a06eb7f197b56a4b3fca7c14c2aabc0cb1503340f658000008686d8d5f6",
    "verified_classes": [
      "ScopeWideningOnRefreshError",
      "Passport"
    ],
    "verified_functions": [
      "reissue_passport",
      "validate_chain"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ScopeWideningOnRefreshError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
