FeedbackStore.record_file_scan()
Records a scanned file and its candidates in one transaction.
Usage
FeedbackStore.record_file_scan(
path,
mtime,
candidates,
)The platform store’s ingestion, plus the scanned path lands in each row’s origin_path — a display hint only (the dashboard’s project labels); transcript resolution always goes through discovery by session UUID.
Parameters
path: str-
The scanned file’s path.
mtime: float-
The file’s modification time at scan.
candidates: Sequence[FeedbackCandidate]- The candidates extracted from the file.
Returns
int- The number of newly inserted feedback events.