Skip to content

StillMe system status accuracy#139

Closed
anhmtk wants to merge 1 commit into
mainfrom
cursor/stillme-system-status-accuracy-9197
Closed

StillMe system status accuracy#139
anhmtk wants to merge 1 commit into
mainfrom
cursor/stillme-system-status-accuracy-9197

Conversation

@anhmtk
Copy link
Copy Markdown
Owner

@anhmtk anhmtk commented Dec 26, 2025

Ensures StillMe provides accurate, real-time system status and learning source information.

This PR implements a "3-layer defense" to prevent StillMe from "lying" about system health. It introduces an early-return handler for system status queries, injects real-time telemetry into the prompt and RAG context, and enforces strict citation validation to forbid [general knowledge] for status answers, requiring [system telemetry] instead.


Open in Cursor Open in Web

This commit introduces detection for system status queries and integrates real-time telemetry from the RSS fetcher. It ensures that these queries are answered directly with accurate, up-to-date information rather than relying on potentially stale knowledge or hallucinated responses.

Key changes include:
- A new `SystemStatusDetector` to identify system status-related questions.
- Early return in `query_router` for system status queries, bypassing LLM processing.
- Injection of synthetic telemetry documents into RAG context for system status queries.
- Updates to citation validation to enforce specific citation policies for system status answers.
- Enhanced `RSSFetcher` to provide more detailed real-time statistics, including failing feed domains and errors.
- Integration of RSS fetcher stats into the `SystemMonitor`.

This ensures greater accuracy and reliability when users inquire about the system's operational status and learning sources.

Co-authored-by: anh.nguyen.nk86 <anh.nguyen.nk86@gmail.com>
@cursor
Copy link
Copy Markdown

cursor Bot commented Dec 26, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@github-actions
Copy link
Copy Markdown

Test Results (Python 3.12)

55 tests  ±0   42 ✅ ±0   17s ⏱️ -1s
 1 suites ±0    3 💤 ±0 
 1 files   ±0    9 ❌ ±0   1 🔥 ±0 

For more details on these failures and errors, see this check.

Results for commit ee056b1. ± Comparison against base commit b85ade9.

@github-actions
Copy link
Copy Markdown

Test Results (Python 3.11)

55 tests  ±0   42 ✅ ±0   12s ⏱️ -1s
 1 suites ±0    3 💤 ±0 
 1 files   ±0    9 ❌ ±0   1 🔥 ±0 

For more details on these failures and errors, see this check.

Results for commit ee056b1. ± Comparison against base commit b85ade9.

@anhmtk anhmtk closed this Dec 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants