2.6 KiB
2.6 KiB
作成
LocalTicketBackend によって作成されました。
State changed
Ticket を yoi ticket が queued にしました。
State changed
State changed to inprogress.
Implementation report
Implemented SessionReferenceView common substrate.
Changes:
- Added
crates/worker/src/session_reference.rswith immutable view construction over a session history slice. - The view produces User/Assistant overview items and a searchable evidence index over user/assistant/system/tool references.
- Added text search with
kindfilter and tool input/output/both filtering viatool_part. - Added bounded read by id or
entry_rangewith truncation metadata. - Added source-ref resolution by evidence id for future extract staging anchors.
- Rewired compaction
search_session_logto search throughSessionReferenceViewwhile leavingread_session_itemsbehavior unchanged for now.
Validation:
cargo fmt --checkcargo test -p worker session_referencecargo test -p worker compact::workercargo test -p workercargo test -p memorynix build .#yoi
State changed
State changed to done.
State changed
Ticket を closed にしました。
完了
Implemented SessionReferenceView common substrate.
The Worker crate now has an immutable session reference view that can build User/Assistant overview items, index user/assistant/system/tool references, search with kind and tool input/output filters, perform bounded reads with truncation metadata, and resolve source refs for future extract staging anchors. Compaction search now uses this common view; read-session behavior remains unchanged for compatibility.
Validation passed:
cargo fmt --checkcargo test -p worker session_referencecargo test -p worker compact::workercargo test -p workercargo test -p memorynix build .#yoi