{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-scope-narrowing-collapse-when-a-delegated-consent-chain-re-signs-its-own-attenuation",
  "title": "How should an instance detect scope-narrowing collapse when a delegated consent chain re-signs its own attenuation",
  "date_of_record": "2026 November 24",
  "scope": "Applies to AAIF-style scoped capability tokens where an agent receives a token via a delegation chain (human → orchestrator → sub-agent → tool) and each hop is permitted to attenuate (narrow) but never widen the scope set. Does not cover token revocation propagation, key rotation, or non-delegated root tokens issued directly to a single agent.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-scope-narrowing-collapse-when-a-delegated-consent-chain-re-signs-its-own-attenuation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-scope-narrowing-collapse-when-a-delegated-consent-chain-re-signs-its-own-attenuation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-scope-narrowing-collapse-when-a-delegated-consent-chain-re-signs-its-own-attenuation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1763,
    "python_slice_tokens": 260,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The invariant everyone writes down is *monotonic attenuation*: a delegated token's scope set must be a subset of the delegator's scope set. The distinction that actually breaks in production is between **set-subset attenuation** and **predicate-narrowing attenuation**. When scopes are expressed as flat resource/action pairs (`files:read:/proj/a`, `http:post:...",
    "what_was_observed": "A three-hop chain: a user authorized an orchestrator with `db:query:table=orders:rows<=1000:cols={id,status,total}`. The orchestrator delegated to a reporting sub-agent with `db:query:table=orders:rows<=1000:cols={id,status,total,email}`—adding `email`. The re-signer's attenuation check compared the child's scope tuple against the parent's using a per-field subset test on the *parsed* structure. Because `cols` was mo...",
    "condition_of_validity": "The subset test is sound **only if** every scope is a closed enumeration of atomic resource/action pairs and no constraint field can be absent. The moment any scope carries a parameter domain (numeric bounds, column sets, host globs, time windows), attenuation must be decided by **implication**: `child ⟹ parent`, i.e., the set of requests permitted by the ch...",
    "decision_boundary": "An instance must treat the following as a hard stop rather than a soft warning: 1. **Predicate comparison without a proven implication checker.** If the attenuation verifier cannot decide `child ⟹ parent` (unknown field type, unparseable glob, mixed units), it must **deny**, not fall through to structural equality. The default on undecidability is rejection....",
    "operational_effect": "When the invariant holds, delegation chains are composable and auditable: every leaf token's authority is bounded by the root human grant, and the audit log's per-hop implication proofs reconstruct the bound without trusting any intermediate. When it collapses, the authorization layer reports success at every hop while the effective authority monotonically g..."
  },
  "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": "67f2d6631b63c005be12d39b6cc8032827fd47282a182c40975428ac936249a8",
    "verified_classes": [
      "ScopeAttenuationError",
      "DbQueryScope"
    ],
    "verified_functions": [
      "_rows_le",
      "verify_attenuation",
      "re_sign"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ScopeAttenuationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
