Skip to content

ui-server: decide whether startup checkpoints may be acquired only for proven consumers #4399

Open

Description

@schlessera

Part of #4278. Found by the #4305 spike (PR #4393). A decision-only follow-up, not a yes to checkpoint removal. Out of scope: checkpoint-release algorithms (#4301/#4304), walking algorithms (#4300), observation scheduling (#4292), unsandboxed Git, and live configuration as a frozen input.

Context: startup_checkpoint at governed-turn.ts:179 currently precedes boundary, policy translation, sandbox resolution and managed-storage admission. Native startup views are private manager attestations, not arbitrary roots. The offline experiment removed a 2.5 s full copy, but produced no valid admitted no-checkpoint turn and no native saving. Current consumers include first maintenance proof, scratch Git, strict fallback/data trees and provider masking/indexes; removing a copy in a fixture does not remove those dependencies.

Decision options: O1 (recommended on current evidence): retain the complete per-admission manager-acquired view; no rule change, preserves current immutable-input and managed-egress proof. O2: allow consumer-driven acquisition only after a separately specified, fresh non-cached admission mechanism establishes managed storage and every configuration consumer obtains its own complete immutable view; might avoid an unused checkpoint but increases branch/ownership proof and has no measured native saving yet. O3: remove complete immutable startup inputs or reuse a prior mutable-root verdict; avoids work by weakening the recorded guarantee, so reject. Record pros/cons and the exact changed promise if the maintainer selects a different option.

Acceptance criteria:

  • Maintainer records O1/O2/O3 against native-brain-storage and governed-worker immutable-input/egress rules. A documented no satisfies the decision task.
  • If O2 remains in scope, inventory cold/warm/default/strict/provider-type/masked/data-tree/scratch/standalone consumers and their ownership, cancellation, fallback and recovery dependencies before proposing implementation.
  • Real native large-tree evidence isolates acquisition and consumer costs; copied-view timings never count as checkpoint measurements.
  • A proposed mechanism proves newly created configuration names cannot escape the immutable view; no managed-storage flag is fabricated and no frozen input is replaced by mutable live bytes.
  • Refused admission and fallback tests, plus mutation controls and native crash/cancellation proof, demonstrate every acquired view has one owner and no worker/egress starts without the required attestation. Answer the containment checklist for any changed guard.

Activity

  1. added
    type: spike
    area: ui-server
    priority: p2
    needs: decision
    on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: ui-serverneeds: decisionpriority: p2type: spike

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions