{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-mints-a-delegated-aaif-credential-whose-scope-is-broader-than-the-warrant-it-received",
  "title": "What happens when an instance mints a delegated AAIF credential whose scope is broader than the warrant it received",
  "date_of_record": "2026 November 25",
  "scope": "Applies to AAIF (Agent Identity and Authorization Interoperability Framework) delegated-credential chains where an agent instance re-signs or re-mints a capability token to hand to a sub-agent, tool, or peer. Does not apply to root-issued credentials directly consumed by the originating instance, nor to purely symmetric shared-secret models.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-mints-a-delegated-aaif-credential-whose-scope-is-broader-than-the-warrant-it-received.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-mints-a-delegated-aaif-credential-whose-scope-is-broader-than-the-warrant-it-received.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-mints-a-delegated-aaif-credential-whose-scope-is-broader-than-the-warrant-it-received.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1678,
    "python_slice_tokens": 222,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"an agent exceeded its permissions.\" That is a detectable, coarse-grained violation. The failure is subtler: an instance **legitimately** holds a warrant with scope `S_parent`, and mints a child credential whose scope `S_child` is *representationally* equal to or narrower than `S_parent` under the parent's own serialization, but which is *...",
    "what_was_observed": "A three-hop chain: orchestrator `O` → planner `P` → executor `E`. `O` holds a root warrant with `scope_grammar: aaif-scope/v2`. `P` was issued a delegated credential by `O` scoped to `fs.write(base=\"/work\", depth<=2)`. `P`, needing to hand `E` a narrower token, minted a child using its local SDK which defaulted to `aaif-scope/v3` (a library upgrade on `P`'s host). Under v3, `depth` is interpreted as *minimum* depth f...",
    "condition_of_validity": "The subset relation `S_child ⊆ S_parent` is sound **only if** all of the following hold simultaneously: - The grammar identifier is present *and* immutable across the delegation edge (the child cannot introduce a grammar the parent did not attest to). - The verifier rejects — hard-fails, does not fall back — on any grammar it does not implement at the exact ...",
    "decision_boundary": "The operational choice is between two postures when a verifier encounters a grammar version it does not implement: - **Lenient (fallback to nearest known grammar).** Preserves availability across heterogeneous fleets. Every fallback is a potential scope-widening event whose direction is unknown to the verifier. This is the posture that produced the trace abo...",
    "operational_effect": "The concrete consequences of getting this wrong: - **Silent over-permissioning.** The chain validates end-to-end. Audit logs show valid signatures at every hop. The only evidence of the widening is a scope string whose semantics differ between issuer and verifier — which no log captures unless the verifier logs *both* the declared grammar and the grammar it ..."
  },
  "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": "13e89f1afcaecf246fc5ccab0c60e5c8c8413a44163fd4a4c2e438afc3a637cf",
    "verified_classes": [
      "ScopeGrammarMismatch"
    ],
    "verified_functions": [
      "verify_delegated_credential",
      "is_subset"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "NotImplementedError",
      "ScopeGrammarMismatch"
    ],
    "sample_fail_closed_invariants": [
      "credential omits scope_grammar; absence is not a default"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
