The review drops records written after the call it re-runs (#4773) #197

Merged
bvandeusen merged 1 commits from dev into main 2026-10-03 20:37:08 -04:00
Owner

#4773 "The review re-runs old queries against today's corpus, so records written after the call — often quoting it — take the top ranks and inflate on_point"

  • _rerun over-fetches and drops records created after the logged call before ranking; postdated names them.
  • Lines carry changed_since_call (record or a work log written after the call) and logged (shown fresh at the time).
  • judge_menu shares the re-run, so a post-dated record cannot be judged.

Dev CI run 7969 green.

🤖 Generated with Claude Code

#4773 "The review re-runs old queries against today's corpus, so records written after the call — often quoting it — take the top ranks and inflate on_point" - `_rerun` over-fetches and drops records created after the logged call before ranking; `postdated` names them. - Lines carry `changed_since_call` (record or a work log written after the call) and `logged` (shown fresh at the time). - `judge_menu` shares the re-run, so a post-dated record cannot be judged. Dev CI run 7969 green. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
bvandeusen added 1 commit 2026-10-03 20:37:05 -04:00
fix(retrieval): the review drops records written after the call it re-runs (#4773)
CI & Build / Python lint (push) Successful in 4s
CI & Build / Plugin hooks (push) Successful in 13s
CI & Build / TypeScript typecheck (push) Successful in 54s
CI & Build / integration (push) Successful in 1m8s
CI & Build / Python tests (push) Successful in 1m53s
CI & Build / Build & push image (push) Successful in 36s
5d0e97576b
The first live sample ranked records the call could never have been offered:
the session that made a call writes the decision, often quoting the message,
and that record tops the re-run. Judged, it inflates on_point exactly where
the budget is decided.

- _rerun over-fetches by POSTDATED_SLACK, drops records created after the
  call before ranking, and names them in `postdated`.
- each line carries `changed_since_call` (updated_at or a work log after
  the call) and `logged` (shown fresh then).
- judge_menu shares the re-run, so a post-dated record cannot be judged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bvandeusen merged commit c389ed61d2 into main 2026-10-03 20:37:08 -04:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bvandeusen/FabledScribe#197