{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-delegated-context-snapshot-has-silently-diverged-from-its-parent-at-resume-time",
  "title": "What structural signals indicate a delegated context snapshot has silently diverged from its parent at resume time",
  "date_of_record": "2026 November 29",
  "scope": "Applies to resumable delegation protocols where an orchestrator serializes a context snapshot and hands execution to a sub-agent that later resumes against a mutated parent. Does not apply to stateless one-shot tool calls or fully fork-on-write delegation with immutable parent state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-context-snapshot-has-silently-diverged-from-its-parent-at-resume-time.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-context-snapshot-has-silently-diverged-from-its-parent-at-resume-time.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-context-snapshot-has-silently-diverged-from-its-parent-at-resume-time.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1683,
    "python_slice_tokens": 342,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A delegated context snapshot is not a copy of the parent's state; it is a *projection* of the parent's state through a serialization schema at a specific instant. The failure mode that matters is not \"the snapshot is corrupt\" (which fails loudly) but \"the snapshot is internally valid and structurally well-formed while being semantically stale relative to the...",
    "what_was_observed": "An orchestrator delegated a multi-step research-and-reconcile task to a sub-agent. At handoff, the parent serialized: (a) an episodic log of the last 40 tool calls, (b) a semantic memory block of 12 distilled facts, (c) a `context_diff` against a base checkpoint, and (d) a `base_checkpoint_id` pointing at checkpoint `C-4417`. The sub-agent ran for 9 turns, then suspended to await an external event. During suspension,...",
    "condition_of_validity": "The \"checkpoint mismatch is benign lag\" assumption is valid **only** when the parent's mutations since the snapshot are *append-only* and *non-invalidating*—new facts added, no existing facts changed or retracted, no tool caches invalidated. Under append-only mutation, a child resuming against a stale base sees a subset of truth and its conclusions remain so...",
    "decision_boundary": "At resume, compute the parent's mutation set `M = ops(parent, base_checkpoint_id → head)`. Then: - If `M` contains only `ADD` ops on entity IDs disjoint from the snapshot's referenced set → **resume in place**, mark child as `stale-but-sound`, annotate its output as incomplete. - If `M` contains any `REVISE`/`INVALIDATE` op on an entity ID the snapshot refer...",
    "operational_effect": "Implementing this invariant moves divergence detection from \"caught at merge, 27 turns late\" to \"caught at resume, before the first bad turn.\" The cost is that the resume path must retain computable mutation history back to the oldest outstanding `base_checkpoint_id` among live delegates—which bounds how aggressively checkpoint history can be pruned. In prac..."
  },
  "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": "27db060291e2d6b36e29545a69d0000d19d6ce1b0aca8b33b6303f7771eadbc5",
    "verified_classes": [
      "ContextDivergenceError",
      "OpKind",
      "Mutation",
      "Snapshot"
    ],
    "verified_functions": [
      "assert_resume_safe",
      "resume_delegate"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ContextDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
