Skip to content

[MM-17] Add atomic message-level archive put and verification #797

Closed

Description

@bug-superman

MM-17: Add atomic message-level archive put and verification

Parent

#771

Checkpoint

MC-4B Lossless archive

What to build

Archive message/turn batches atomically with source ids, hashes, containment-safe paths, and verification before live-context replacement.

Acceptance criteria

  • Archive is write-before-replace.
  • Every ref verifies content hash and source metadata.
  • Files use containment-safe paths and restrictive permissions.
  • Failures retain original live content.
  • Exact code/path/number content round-trips.

Required tests

  • Crash point fault injection
  • hash mismatch
  • path traversal/symlink
  • concurrent put/verify
  • exact round trip

Benchmark

Exact-recovery fixtures and large-tool-result storage cost; data loss must be zero.

Blocked by

Rollout and rollback

Disable replacement and keep original messages; archived artifacts remain auditable.

Activity

  1. Astro-Han commented on Aug 2, 2026

    @Astro-Han
    Contributor

    Superseded by #1615 (automatic long-term memory lifecycle, SQLite-based; accepted by maintainers 2026-07-30, PR ① #1770 merged). This MM-17 work item never landed outside draft PR #820 and is replaced by the #1615 design and its LongMemEval/MSC evaluation plan.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions