Skip to content

Authenticated managed-instance reset-state proof and successor isolation #3111

Closed as not planned

Description

@integry

Goal

Provide the hosted Fleet reset coordinator with a fixed-action, authenticated proof that the managed ProPR guest has erased all tenant-private state and that the replacement generation cannot consume predecessor work. This is the missing guest-side boundary for account-owner/admin full reset.

Required behavior

  • Add a versioned, strict, fixed-action contract for managed guest reset proof. Do not expose generic commands, paths, shell execution, arbitrary deletion, or host access.
  • Bind every request and receipt to the exact reset operation, request/action identity, instance, predecessor generation and state scope, successor generation and state scope, runtime/build digest, and short expiry.
  • Authenticate only the dedicated Fleet consumer using constant-time secret verification and no-cache responses. Never expose customer secrets in receipts or logs.
  • Prove absence or invalidation of all reset-sensitive guest state: ProPR database and configuration, repository/worktree/cache data, active and queued tasks, unpublished results, provider sessions/login material, managed tunnel/bootstrap material, and reset-sensitive diagnostic logs.
  • Prove predecessor generation/scope work, queues, results, provider sessions, and tunnel/bootstrap credentials cannot be accepted by the successor.
  • Prove the successor has a fresh runtime/storage identity and can continue normal bootstrap only after the predecessor proof is complete.
  • Treat uncertain effects, partial deletion, stale observations, missing categories, and replay as recovery-required; never report terminal success.
  • Preserve existing self-hosted exports, cleanup, reset, and provider behavior. Managed proof must be opt-in and fail closed when pins or credentials are absent.
  • Add exact schemas, canonical fixtures, contract pin and SHA256SUMS/reference verifier suitable for pinning by propr-fleet.
  • Add tests for auth failures, replay, stale/ABA generation and scope, concurrent reads/effects, partial failure for every state category, queue/session/tunnel refusal across generations, exact real listener behavior, and secret/log redaction.
  • Keep all public hosted capabilities disabled. Do not deploy or publish.

Integration notes

This must be consumable by the reset coordinator in integry/propr-fleet PR #96. The Fleet coordinator must not infer guest emptiness from filesystem conventions or accept a generic executor assertion. The receipt should be repeatably observable during recovery without reissuing an uncertain destructive effect.

Activity

  1. propr-dev commented on Oct 14, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using codex agent with gpt-6-astra model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: codex
    • Model: gpt-6-astra
    • Branch: 3111/gpt-6-astra-authenticated-managed-ins-20261014-1342-158
    • Base Branch: main
    • Worktree: issue-3111-20261014-1342-gpt-6-astra-158

    🔍 Track Task Execution

  2. added a commit that references this issue on Oct 14, 2026
  3. integry commented on Oct 15, 2026

    @integry
    OwnerAuthor

    Superseded by the clarified hard-reset architecture. Hosted reset destroys the predecessor VM and all writable disks/snapshots, then provisions a blank successor; Core must not sanitize a continuing guest or produce terminal empty-state proof. Follow-up #3153 will semantically remove the partial PR #3112 surfaces while preserving unrelated session/task safety.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions