remove more dead transcript mining code

Delete subconscious/transcript.rs (94 lines), is_segment_mined,
mark_segment_mined — all orphaned by the extraction pipeline removal.

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
Kent Overstreet 2026-04-02 21:45:56 -04:00
parent 72d967edbf
commit dae0cc8191
3 changed files with 0 additions and 108 deletions

View file

@ -506,19 +506,6 @@ impl Store {
Ok(())
}
/// Check if a transcript segment has been processed by a given agent.
pub fn is_segment_mined(&self, transcript_id: &str, segment_index: u32, agent: &str) -> bool {
self.transcript_progress
.get(&(transcript_id.to_string(), segment_index))
.is_some_and(|agents| agents.contains(agent))
}
/// Mark a transcript segment as successfully processed.
pub fn mark_segment_mined(&mut self, transcript_id: &str, segment_index: u32, agent: &str) -> Result<(), String> {
let seg = new_transcript_segment(transcript_id, segment_index, agent);
self.append_transcript_progress(&[seg])
}
/// Migrate old stub-node transcript markers into the new progress log.
/// Reads _observed-transcripts-f-*, _mined-transcripts#f-*, and _facts-* keys,
/// extracts transcript_id and segment_index, writes to transcript-progress.capnp,