2.9 KiB
作成
LocalTicketBackend によって作成されました。
Decision
Created to replace the previous batch staging direction. This Ticket owns the new flat staging record schema: one candidate per staging record, with kinds preference, working_assumption, constraint, decision, open_question, and lesson.
State changed
Ticket を yoi ticket が queued にしました。
State changed
State changed to inprogress.
Implementation report
Implemented flat candidate staging record schema.
Changes:
- Replaced extract payload with
candidates[]based on narrow candidate kinds:preference,working_assumption,constraint,decision,open_question,lesson. - Added flat
StagingRecordschema withschema_version,id,extract_run_id, record-levelsource,kind,claim,why_useful, optionalstaleness, boundedevidence[], andsource_refs[]. - Changed staging writer to write one JSON file per candidate. Empty payload writes no files.
- Updated transitional
write_extractedtool and extract prompt to candidate extraction instead of activity-log extraction. - Updated consolidation staging/input paths and tests to read/render flat records.
- Updated worker extract path to handle multiple staged candidate records per extract run.
Validation:
cargo fmt --checkcargo test -p memorycargo test -p workernix build .#yoi
State changed
State changed to done.
State changed
Ticket を closed にしました。
完了
Implemented flat candidate staging record schema.
The memory extract staging path now treats staging as flat candidate records: one extract run can produce zero or more staging files, and each staging file is one consolidation decision unit. The transitional write_extracted path now accepts candidates[], and the host expands each candidate into a flat StagingRecord with schema version, ids, source, kind, claim, usefulness, optional staleness, bounded evidence, and source refs.
Validation passed:
cargo fmt --checkcargo test -p memorycargo test -p workernix build .#yoi