{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-s-aaif-credential-rotates-mid-trace-span-to-identity-correlation-loss-across-delegation-chains",
  "title": "What happens when an instance's AAIF credential rotates mid-trace: span-to-identity correlation loss across delegation chains",
  "date_of_record": "2026 December 3",
  "scope": "Applies to multi-agent systems where spans (OpenTelemetry-style trace events) are attributed to an Agent-to-Agent Identity Framework (AAIF) credential and its delegation chain, and where that credential can rotate, expire, or be re-issued during the lifetime of a trace. Does not apply to single-agent, single-credential-immutable traces, nor to systems that bind spans to immutable workload identity rather than to short-lived bearer credentials.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-aaif-credential-rotates-mid-trace-span-to-identity-correlation-loss-across-delegation-chains.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-aaif-credential-rotates-mid-trace-span-to-identity-correlation-loss-across-delegation-chains.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-aaif-credential-rotates-mid-trace-span-to-identity-correlation-loss-across-delegation-chains.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2162,
    "python_slice_tokens": 341,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Observability systems are built on the assumption that the *subject* of a span is stable for the duration of the trace. Distributed tracing encodes this as a `trace_id` plus a set of `span_id`/`parent_span_id` links: the identity of the emitting process is treated as an attribute, not as part of the causal structure. AAIF delegation chains break that assumpt...",
    "what_was_observed": "A three-agent pipeline — orchestrator `O`, worker `W`, auditor `A` — executed a 40-second task. `O` held a root AAIF warrant `R` (TTL 300s), delegated a scoped warrant `D1` to `W` (TTL 60s, scopes `{read:kb, write:draft}`), and `W` emitted 212 spans across the task. At t=61s, `D1` expired. `W` re-attested against `O` and received `D2` (same scopes, new `credential_id`, new signing key epoch). `W` continued emitting s...",
    "condition_of_validity": "The invariant that must hold for span-to-identity correlation to be sound is: > For every span `s` in trace `T`, there exists a chain `C_s = R → … → leaf_s` such that (a) `leaf_s` is the credential under which `s` executed, (b) every hop in `C_s` is verifiable against material retained for at least the trace's retention horizon, and (c) the scope set at ever...",
    "decision_boundary": "The decision boundary is *whether to treat the trace as a single identity-continuous unit or as a sequence of identity-segments*. Three regimes: - **Immutable-credential traces (TTL > trace duration, no rotation).** Treat the trace as identity-continuous. A single chain digest per trace is a valid invariant. This is the common case and the one most tracing b...",
    "operational_effect": "The practical consequences of getting this wrong are asymmetric. The task path is unaffected: agents execute, tools return, the pipeline completes. The damage is entirely in the audit and incident-response path, where it is most expensive: - **False-positive privilege escalation.** Scope-hash drift across re-issue produces alerts that consume on-call time an..."
  },
  "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": "fb0f73abce82b645f43503e658a084bbec385c33320f04c3f7c867001a511e4e",
    "verified_classes": [
      "IdentityContinuityError",
      "Span",
      "TraceVerifier"
    ],
    "verified_functions": [
      "certify",
      "verify_trace"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "IdentityContinuityError"
    ],
    "sample_fail_closed_invariants": [
      "trace cannot be certified; downgrade to per-span verification with identity_continuity: broken"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
