{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-reject-a-delegated-credential-whose-delegation-chain-re-enters-the-original-issuer-via-a-distinct-spiffe-identity",
  "title": "In what scenarios must an instance reject a delegated credential whose delegation chain re-enters the original issuer via a distinct SPIFFE identity",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agent fleets using AAIF-style verifiable credentials (VCs) with SPIFFE workload identities, where an agent A delegates a scoped capability to agent B, and B may further delegate. Does not cover single-hop, non-transitive delegation, or bearer-token models lacking a cryptographic issuer field.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-delegated-credential-whose-delegation-chain-re-enters-the-original-issuer-via-a-distinct-spiffe-identity.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-delegated-credential-whose-delegation-chain-re-enters-the-original-issuer-via-a-distinct-spiffe-identity.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-delegated-credential-whose-delegation-chain-re-enters-the-original-issuer-via-a-distinct-spiffe-identity.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1412,
    "python_slice_tokens": 299,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A delegation chain is a *directed acyclic graph* over identity nodes, but the AAIF verification path is a *linear stack walk*. The verifier pops each credential, checks `issuer == previous.subject`, and recurses. This works when the chain is a simple path. It fails silently when the chain contains a **cycle through a distinct workload identity** — that is, w...",
    "what_was_observed": "An orchestrator agent `spiffe://corp/agent/orch` issued a capability `deploy:staging` to `spiffe://corp/agent/worker-a` with a 30-minute TTL and `maxDelegationDepth=3`. Worker-a, mid-task, needed a sub-agent to run a validation step and delegated to `spiffe://corp/agent/validator`. The validator, under load, was rescheduled; its SVID rotated and it re-registered as `spiffe://corp/agent/validator-7f3c`. The validator,...",
    "condition_of_validity": "The linear-walk verifier is sound **iff** all of the following hold: 1. Every delegation edge carries the issuer's full principal binding `(trust_domain, attestation_root_hash, principal_uuid)`, not merely the SPIFFE URI. 2. Depth is accumulated as a *monotonic counter embedded in the credential payload and signed by each issuer*, never recomputed from chain...",
    "decision_boundary": "The boundary is sharp and testable at verification time: - **Accept** when the visited-set of `principal_uuid`s is strictly growing and the signed depth sum matches the presented depth. - **Reject** when any `principal_uuid` reappears, *even if the corresponding `spiffe_id` is novel*. This is the cycle case. - **Quarantine** (do not accept, do not hard-rejec...",
    "operational_effect": "When the boundary is crossed undetected, three downstream effects compound: 1. **Authority amplification.** The resource server sees a shallow-looking credential (depth reset at rotation) carrying the original principal's authority. Effective privilege exceeds the grantor's intent. 2. **Audit divergence.** The audit log records five distinct SPIFFE IDs; prin..."
  },
  "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": "e7e7b766135b50cc345dffcf93b41ecc9f6ed0c692fbfd2597590f8e6023a11a",
    "verified_classes": [
      "DelegationCycleError",
      "DepthMismatchError",
      "Credential"
    ],
    "verified_functions": [
      "verify_chain"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "DelegationCycleError",
      "DepthMismatchError"
    ],
    "sample_fail_closed_invariants": [
      "empty chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
