Skip to content

0.1.0 batch 5: harden State failures and SQLite recovery #106

Description

@suraciii

Goal

Make every failed State result preserve one trusted rule.

Scope

  • Freeze State declarations before load.
  • Keep memory unchanged after failed Set or Clear.
  • Discard the Activation after Conflict, cancel, timeout, or Unknown Result.
  • Add stable persistence context to errors.
  • Set SQLite connection limits and test cold backup and restore.

Acceptance

  • Store contract tests pass for memory and SQLite.
  • Cancel and lost-reply tests discard the Activation.
  • Absence, zero values, Clear, Conflict, and Unknown Result survive restart as specified.
  • Cold restore covers State, Reminders, and SQLite WAL files.
  • make ci passes.

References

design/release-0.1.0.md
design/persistence.md
design/testing.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions