Failed re-plans don't record the remaining violations #180
Labels
No labels
accessibility
area:accounts
area:ai-evals
area:look
area:maps
area:platform
area:rides-progress
area:riding
area:today-plan-coach
area:ui-shell
bot:blocked
bot:failed
bot:pr
bot:waiting
bot:working
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
later
now
owner-check
parked
question
ready
session
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ckreidl/trainer#180
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
(ramp fix) A re-plan that fails after the clamps records nothing about what was still broken:
clampPatchedreturns null and the remaining violations are dropped, and a ReplanRun isn't linked to its AiCalls (match by time). Store them on the run. (parked 2026-10-23: the owner readsAiCall.violationsin the database when a re-plan fails)Moved from docs/history.md → Parked follow-ups on 2026-11-08.
What this is about. When a re-plan's answer breaks rules, the app repairs it, then "clamps" it (mechanical fixes). If it still breaks rules after that, the re-plan fails, and what was still broken is thrown away:
clampPatchedreturns null. The failed run (ReplanRun) also isn't linked to its AI calls, so you match them by time.Status (checked 2026-11-08): unchanged; parked by you on 2026-10-23.
Fix: store the remaining violations on the run, and link the run to its AI calls. Same moment as #179: worth doing when sessions 53 and 54 change the rules.