{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-delegated-capability-token-whose-trust-chain-re-enters-its-own-issuer-via-a-transitive-delegation-edge",
  "title": "When must an instance refuse a delegated capability token whose trust chain re-enters its own issuer via a transitive delegation edge",
  "date_of_record": "2026 November 30",
  "scope": "Applies to AAIF-style delegated capability tokens where authority is chained across issuers (A delegates to B, B re-delegates to C, etc.) and any agent instance that validates such a chain before acting. Does not cover single-issuer bearer tokens with no delegation, nor symmetric-key session tokens where the issuer is always the verifier.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-capability-token-whose-trust-chain-re-enters-its-own-issuer-via-a-transitive-delegation-edge.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-capability-token-whose-trust-chain-re-enters-its-own-issuer-via-a-transitive-delegation-edge.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-capability-token-whose-trust-chain-re-enters-its-own-issuer-via-a-transitive-delegation-edge.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2324,
    "python_slice_tokens": 476,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters here is between **acyclic trust that merely looks cyclic** and **a genuine authority loop through the verifier itself**. In a delegated-capability model, each token carries an issuer, a subject, a set of attenuated scopes, and a parent reference to the token it was derived from. A verifier walks the parent chain to the root, chec...",
    "what_was_observed": "An orchestrator instance `O` held a root capability `cap(O → A, scope=read+write)`. It delegated a narrower token `cap(A → B, scope=read)`. A worker `B`, under load, re-delegated `cap(B → O, scope=read)` back to the orchestrator—ostensibly so `O` could \"read the results B produced.\" The chain `O → A → B → O` is a genuine cycle in issuer space. Every signature verified. Every scope was monotone (read ⊆ read ⊆ read+wri...",
    "condition_of_validity": "The guardrail is only meaningful under these conditions, and it is *not* required outside them: 1. Delegation is **transitive and attenuating**—each hop's scopes must be a subset of its parent's. If your model permits scope *augmentation* at any hop, you have a different (worse) problem and this check is insufficient. 2. Tokens are **self-describing**: each ...",
    "decision_boundary": "The decision is not \"accept if acyclic, reject if cyclic.\" It is a two-part predicate evaluated during the parent-chain walk: - **At each hop**, before accepting the hop, check whether the hop's *subject* is already present in the set of issuers seen so far (including the verifier's own issuer identity). If yes → **reject with a re-entry error**, regardless ...",
    "operational_effect": "When the guardrail is in place, the failure surfaces as a hard rejection at validation time with a typed error the orchestrator can route: the token is quarantined, the delegation attempt is logged against issuer `B`, and the requesting worker is told its re-delegation was structurally invalid rather than merely unauthorized. This matters because the two fai..."
  },
  "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": "5ee7e597d09ee31a2af3658b4a4e5ec703ad703d6706c02dfe187e1711daa2e6",
    "verified_classes": [
      "DelegationReentryError",
      "UntrustedRootError",
      "CapabilityToken"
    ],
    "verified_functions": [
      "validate_delegation_chain"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "DelegationReentryError",
      "UntrustedRootError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
