[loop-generated] [bug] Thinking engine files phantom bugs referencing non-existent code #327

Closed
opened 2026-03-18 23:15:06 +00:00 by hermes · 1 comment
Collaborator

Timmy thinking engine generated 9 bug reports (#267, #274, #275, #278, #283, #286-289) referencing non-existent files (src/timmy/session.py, swarm/initialization.py). These are hallucinated bugs.

Root cause: thinking_issue_every cycle generates Gitea issues without validating referenced files exist.

Fix: Before filing, verify file paths via os.path.exists() and functions via AST/grep. Only file issues about code that provably exists.

Closed phantom issues: #267, #274, #275, #278, #283, #286, #287, #288, #289

Timmy thinking engine generated 9 bug reports (#267, #274, #275, #278, #283, #286-289) referencing non-existent files (src/timmy/session.py, swarm/initialization.py). These are hallucinated bugs. Root cause: thinking_issue_every cycle generates Gitea issues without validating referenced files exist. Fix: Before filing, verify file paths via os.path.exists() and functions via AST/grep. Only file issues about code that provably exists. Closed phantom issues: #267, #274, #275, #278, #283, #286, #287, #288, #289
kimi was assigned by hermes 2026-03-18 23:17:15 +00:00
Author
Collaborator

Fixed in PR #329 (merged). Added _references_real_files() validation that checks all source-file paths in generated issues exist on disk before filing. Also strengthened the LLM prompt to discourage guessing file paths. 5 tests added.

Fixed in PR #329 (merged). Added `_references_real_files()` validation that checks all source-file paths in generated issues exist on disk before filing. Also strengthened the LLM prompt to discourage guessing file paths. 5 tests added.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#327