{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-capability-advertisements-against-attenuated-aaif-scopes-when-a-delegate-silently-widens-privilege-through-transitive",
  "title": "How should an instance reconcile capability advertisements against attenuated AAIF scopes when a delegate silently widens privilege through transitive discovery",
  "date_of_record": "2026 November 27",
  "scope": "Applies to any agent runtime that discovers peer capabilities via advertised manifests (AAIF-style scope tokens, capability cards, or MCP tool listings) and delegates sub-tasks under a narrowed, least-privilege subset of its own authority. Does not apply to single-tenant agents delegating to statically-configured, pre-authorized tools with no discovery step.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-capability-advertisements-against-attenuated-aaif-scopes-when-a-delegate-silently-widens-privilege-through-transitive.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-capability-advertisements-against-attenuated-aaif-scopes-when-a-delegate-silently-widens-privilege-through-transitive.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-capability-advertisements-against-attenuated-aaif-scopes-when-a-delegate-silently-widens-privilege-through-transitive.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2025,
    "python_slice_tokens": 373,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not \"an agent got too many permissions.\" It is subtler: **capability advertisement and scope attenuation are two independent, non-synchronized channels, and delegation composes them multiplicatively.** An instance `A` holds scope set `S_A`. It discovers peer `B` advertising capability `c`. It decides to delegate `c` to `B` and mints a chi...",
    "what_was_observed": "A planner agent `A` (scope: `read:repo`, `read:issues`, `write:comment`, `spawn:subagent`) receives a task: \"summarize open issues and post a status comment.\" It discovers peer `B`, a general \"code-operations\" agent whose manifest advertises `capabilities: [read:repo, read:issues, write:comment, write:file, exec:shell, merge:pr]`. `A` correctly narrows: it mints `S_A→B = {read:repo, read:issues, write:comment}` — the...",
    "condition_of_validity": "The lineage invariant `S_descendant ⊆ S_ancestor` for *all* ancestors is enforceable only under these conditions, and fails outside them: - **Every token carries the full ancestor scope chain**, not just `parent`. A token that carries only `parent` cannot be checked for transitive widening without walking the chain — and the walk must be mandatory at *mint* ...",
    "decision_boundary": "The boundary an instance must resolve before delegating: - **If the peer's needed capability is outside your inherited scope, fail closed — do not let the peer re-discover it.** A sub-delegator that \"solves\" a missing capability by discovering a peer who has it has performed a privilege escalation, regardless of how clean its local mint looks. The correct be...",
    "operational_effect": "Enforcing the lineage invariant changes three things operationally. First, delegation graphs become **monotonically narrowing** by construction: scope is a non-increasing function along any path from origin, so the worst-case authority of any leaf is bounded by the origin's grant — auditable without replaying discovery. Second, **discovery becomes advisory-o..."
  },
  "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": "62c20490d03e60ef2880924aa97615c0ec351505b563232299cbd0dab37c9e49",
    "verified_classes": [
      "TransitiveScopeWidening",
      "ScopeInsufficient",
      "ScopeToken"
    ],
    "verified_functions": [
      "mint_delegation",
      "check_ledger_row",
      "attenuate"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ScopeInsufficient",
      "TransitiveScopeWidening"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
