{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-refuse-to-continue-an-aaif-delegated-credential-chain-after-a-scope-narrowing-hop",
  "title": "Where must an instance refuse to continue an AAIF delegated credential chain after a scope-narrowing hop",
  "date_of_record": "2026 November 27",
  "scope": "Applies to any agent instance that receives, verifies, or re-delegates an AAIF capability credential where the chain contains at least one scope-narrowing hop (a hop whose granted permission set is a strict subset of the parent's). Does not apply to single-hop root credentials, to credentials with monotonic scope expansion explicitly disabled at issuance, or to opaque bearer tokens with no delegation metadata.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-continue-an-aaif-delegated-credential-chain-after-a-scope-narrowing-hop.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-continue-an-aaif-delegated-credential-chain-after-a-scope-narrowing-hop.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-continue-an-aaif-delegated-credential-chain-after-a-scope-narrowing-hop.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2054,
    "python_slice_tokens": 423,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The common mental model treats an AAIF delegated credential chain as a *set of accumulated permissions*: each hop adds constraints, and the verifier checks that the terminal credential's claims are a subset of the root's. Under this model, verification is a pure intersection operation and any instance can continue a chain by intersecting its own authority wi...",
    "what_was_observed": "A three-hop chain was issued as root → orchestrator → sub-agent-A → sub-agent-B. The root granted `{read:repo, write:pr, invoke:ci}`. The orchestrator narrowed to `{read:repo, write:pr}` (delta: `-invoke:ci`). Sub-agent-A narrowed to `{read:repo}` (delta: `-write:pr`). Sub-agent-B received `{read:repo}` and was asked to continue the chain for a downstream reviewer with `{read:repo, comment:pr}`. Sub-agent-B's verifie...",
    "condition_of_validity": "The chain remains valid only under the following conjunction: 1. Every hop emits an explicit delta record, including the empty delta `∅` for zero-narrowing hops. 2. Each delta record is signed over `(parent_credential_hash, delta, delegating_principal, hop_index)`. 3. The verifier recomputes `root_scope ⊖ Σ deltas == terminal_scope` and additionally checks t...",
    "decision_boundary": "The boundary between \"continue\" and \"refuse\" is not \"is the requested child scope a subset of my scope.\" It is: *can I produce a signed delta record whose parent hash binds to the exact credential I received, whose delta is the precise set difference between my scope and the child scope (possibly empty), and whose hop index is my index plus one?* If any of t...",
    "operational_effect": "The practical consequence is that AAIF chain continuation must be treated as a *write* operation with the same rigor as credential issuance, not as a pass-through. Instances that implement continuation as \"verify then re-sign with subset scope\" will, under zero-narrowing conditions, silently produce delta-replayed chains that fail terminal reconstruction. Th..."
  },
  "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": "b6e89b68898444d46b27fc816e98ea6e3f906ca582485537094fe3e3e3380cb4",
    "verified_classes": [
      "AAIFChainContinuityError",
      "Credential"
    ],
    "verified_functions": [
      "continue_chain",
      "verify_chain",
      "content_hash"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "AAIFChainContinuityError"
    ],
    "sample_fail_closed_invariants": [
      "signing routine unavailable; cannot emit bound delta record",
      "delta reconstruction mismatch: emitted delta does not reconstruct child scope"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
