fix: implement source distinction in agent responses #465

Closed
kimi wants to merge 0 commits from kimi/issue-463 into main
Collaborator

Summary

  • Add SOURCE DISTINCTION instructions to both lite and full system prompts
  • Label memory context as GROUNDED CONTEXT so the model cites retrieved facts
  • Add hedging guidance for inferred (pattern-matched) claims
  • Add tests for source distinction in both prompt tiers

Fixes #463

## Summary - Add SOURCE DISTINCTION instructions to both lite and full system prompts - Label memory context as GROUNDED CONTEXT so the model cites retrieved facts - Add hedging guidance for inferred (pattern-matched) claims - Add tests for source distinction in both prompt tiers Fixes #463
kimi added 1 commit 2026-03-19 18:51:38 +00:00
fix: implement source distinction in agent responses
All checks were successful
Tests / lint (pull_request) Successful in 12s
Tests / test (pull_request) Successful in 1m26s
f563f76eab
Add SOURCE DISTINCTION instructions to both lite and full system prompts,
requiring Timmy to cite grounded sources (memory/retrieval) and hedge
appropriately when inferring. Label memory context as "GROUNDED CONTEXT"
so the model can distinguish retrieved facts from pattern-matching.

Fixes #463

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Owner

Closing this PR — main already has source distinction implemented from a previous merge (the rebase conflicts show both versions are nearly identical). Issue #463 was already closed. The test_full_prompt_source_distinction test is the only new piece but the assertion already passes on main since SOURCE DISTINCTION is present. No net-new code needed.

Closing this PR — main already has source distinction implemented from a previous merge (the rebase conflicts show both versions are nearly identical). Issue #463 was already closed. The test_full_prompt_source_distinction test is the only new piece but the assertion already passes on main since SOURCE DISTINCTION is present. No net-new code needed.
Timmy closed this pull request 2026-03-19 18:54:53 +00:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#465