Skip to content

feat(learning): historical rebuild and recovery hardening #232

Description

@xinhuagu

Summary

Historical rebuild and maintenance recovery are much better than before, but still need a dedicated hardening pass.

Goal

Make learning recovery and rebuild behavior robust under corruption, interruption, and restart.

Scope

  • stronger stale detection for historical index rebuilds
  • better recovery from partial writes/corrupted history lines
  • explicit maintenance resume/retry semantics after interruption
  • consistency checks after rebuild/maintenance
  • safer handling of partial state during daemon restart

Deliverables

  • stronger rebuild invariants
  • better recovery semantics for maintenance interruption
  • consistency verification hooks
  • reduced risk of silent learning-state drift

Non-goals

  • do not redesign session history storage from scratch
  • do not fold unrelated sandbox/reliability work into this issue

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions