yoi/.yoi/tickets/00001KXS81AMT/thread.md

1.8 KiB

作成

LocalTicketBackend によって作成されました。


Implementation report

Migrated compaction session exploration to SessionReferenceView.

Changes:

  • Added ReadDetail to SessionReferenceView so reads can preserve compact/full semantics.
  • Updated read_session_items to use SessionReferenceView::read with ReadSelector::EntryRange.
  • Kept compact mode omitting tool arguments / tool result content and full mode bounded.
  • Removed old compact-specific session search/format helpers.
  • search_session_log already used SessionReferenceView::search and remains on that path.

Validation:

  • cargo fmt --check
  • cargo test -p worker compact::worker
  • cargo test -p worker session_reference
  • cargo test -p worker
  • cargo test -p memory
  • nix build .#yoi

State changed

State changed to done.


State changed

Ticket を closed にしました。


完了

Compaction session exploration now uses SessionReferenceView for both search and read paths.

read_session_items delegates to SessionReferenceView::read, preserving compact/full behavior through a new read detail mode. Old compact-specific search/format helpers were removed.

Validation passed:

  • cargo fmt --check
  • cargo test -p worker compact::worker
  • cargo test -p worker session_reference
  • cargo test -p worker
  • cargo test -p memory
  • nix build .#yoi