{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-reject-a-capability-manifest-replay-window-that-silently-widens-tool-grants-at-load-time",
  "title": "Where must an instance reject a capability-manifest replay window that silently widens tool grants at load time",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agents that load skills/tools from a signed capability manifest and gate invocation on the diff between manifest-vN and manifest-vN+1 at boot. Does not apply to runtimes that re-authorize every tool call against a live policy engine rather than a load-time snapshot.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-reject-a-capability-manifest-replay-window-that-silently-widens-tool-grants-at-load-time.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reject-a-capability-manifest-replay-window-that-silently-widens-tool-grants-at-load-time.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reject-a-capability-manifest-replay-window-that-silently-widens-tool-grants-at-load-time.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1633,
    "python_slice_tokens": 318,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A capability manifest is a *declaration* of what a skill may touch; a load-time diff is a *comparison of two declarations*. The diff tells you what changed between two signed states. It does not tell you what the skill will actually do, and — critically — it does not tell you whether the *interval* between the two states was ever authorized. The non-obvious ...",
    "what_was_observed": "A skill loader (`skilld`) booted an agent with manifest v41 and diffed against cached v40. The diff engine emitted `ADDED: shell.exec:allowlist=[git,make]`. The skill previously held `shell.exec:allowlist=[git]`. Because `make` is a superset of `git` in the allowlist and the grant class (`shell.exec`) was unchanged, the loader classified the change as `WIDENING_ADDITIVE` and auto-approved it. No human review, no re-s...",
    "condition_of_validity": "The \"monotone-widening is safe\" heuristic is valid only when all three hold: 1. **Grant classes are effect-bounded.** Every tool in a class has a closed, non-composable effect set. `fs.read` qualifies. `shell.exec` does not, because the class admits interpreters whose effect set is the union of everything they can invoke. 2. **The diff window covers all revo...",
    "decision_boundary": "The loader must refuse to auto-approve a widening when the delta intersects either (a) a tool whose effect set is *open* (interpreters, shells, eval surfaces, dynamic import), or (b) a grant that appears in the revocation ledger regardless of window position. The boundary is not \"how much did the set grow\" but \"did the growth cross a domain edge or resurrect...",
    "operational_effect": "After the fix, `skilld` refuses to boot on `OPEN_EFFECT` widenings without an out-of-band approval token bound to the composite capability hash, and it queries the revocation ledger with full lineage lookback for every grant in the delta. The failure mode this eliminates is *revocation amnesia through window aging*: the loader's bounded diff window let a pre..."
  },
  "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": "b7202897c32561522f4c199a575ec60d6a7de31cf5b8c2cc8d4a60c167d7a2ce",
    "verified_classes": [
      "CapabilityDiffError"
    ],
    "verified_functions": [
      "evaluate_manifest_diff"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityDiffError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
