P2-07: No precedent expiry / override / invalidation mechanism #17
Loading…
Add table
Add a link
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?
Severity: P2 (Medium)
File:
decider/precedent.pyProblem
Bad decisions (from LLM hallucination, config errors, prompt injection) become permanent precedents:
Example: if the LLM wrongly approves
rm -rf /once, that bad precedent repeats forever.Fix
expires_atcolumn (nullable) to precedents tablePOST /precedents/{id}/invalidate(logical delete)--precedent-expire,--precedent-invalidateoutcomefield (success/failure) that gets updated when a follow-up shows the decision was right or wrong