Show rule violations per AI call in Developer #179

Closed
opened 2026-11-08 18:18:19 +00:00 by chris-kreidl · 1 comment
chris-kreidl commented 2026-11-08 18:18:19 +00:00 (Migrated from github.com)

(ramp fix) Settings → Developer → recent AI calls doesn't show a call's rule violations (listAiCalls omits them), though every generate and re-plan call stores them in AiCall.violations. Showing them per call would make a failed re-plan readable without SQL. (parked 2026-10-23: the owner reads AiCall.violations in the database when a re-plan fails)

Moved from docs/history.md → Parked follow-ups on 2026-11-08.

(ramp fix) Settings → Developer → recent AI calls doesn't show a call's rule violations (`listAiCalls` omits them), though every generate and re-plan call stores them in `AiCall.violations`. Showing them per call would make a failed re-plan readable without SQL. (parked 2026-10-23: the owner reads `AiCall.violations` in the database when a re-plan fails) _Moved from docs/history.md → Parked follow-ups on 2026-11-08._
chris-kreidl commented 2026-11-08 20:19:40 +00:00 (Migrated from github.com)

What this is about. Every plan generation and re-plan stores the training rules its answer broke (AiCall.violations). Settings → Developer → recent AI calls doesn't show them, so to see why a re-plan failed you query the database.

Status (checked 2026-11-08): unchanged. You parked it on 2026-10-23: you read the column with SQL when needed.

When to pick up: sessions 53 and 54 (#228, #229) add rules and graded warnings, so failed re-plans may be more common and more interesting. A violations column (or an expandable row) in that table would then pay off. Pairs with #180.

**What this is about.** Every plan generation and re-plan stores the training rules its answer broke (`AiCall.violations`). Settings → Developer → recent AI calls doesn't show them, so to see why a re-plan failed you query the database. **Status (checked 2026-11-08):** unchanged. You parked it on 2026-10-23: you read the column with SQL when needed. **When to pick up:** sessions 53 and 54 (#228, #229) add rules and graded warnings, so failed re-plans may be more common and more interesting. A violations column (or an expandable row) in that table would then pay off. Pairs with #180.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ckreidl/trainer#179
No description provided.