Skip to content

[feature] RC: make start and revoke recovery fail closed and truthful #227

Closed

Description

@AetherAI3

Gap

start currently ignores a failed initial flushOutbox result and can print an active status without broker acceptance. Registration, attach, local persistence, and revoke are separate steps without complete rollback/reconciliation across interrupted attempts. Pending revocation is retried only when the operator runs off again.

Evidence: start sequence, typed flush outcome, revoke tombstone, outbox reload.

Acceptance

  • Report start as live only after a valid registration, attach, durable local state, and proven first append; classify an outage as pending/unconfirmed rather than success.
  • Recover or revoke a Cloud session left by attach/persistence failure without silently creating another active viewer surface.
  • Keep local publication off once revocation begins, retain enough durable state to reconcile after outage/restart, and never claim Cloud revocation until confirmed.
  • Treat unreadable or incompatible persisted state as an explicit recovery condition; do not silently replace the sole record of an active session.
  • Tests cover each interruption boundary and verify the local coding run always continues.

Scope

RC lifecycle correctness. Detailed vulnerability reports, if any, follow the repository's private SECURITY.md route.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions