Skip to content

Bug: 3 intent context prompt files lack doc-first safeguard added in #1476 #1517

Description

@mrveiss

Problem

installation_help.md was updated in #1476 to include a prominent CRITICAL: Read Actual Docs Before Answering warning requiring AutoBot to run find/cat commands to read actual documentation before using the static content.

The other 3 intent context prompt files injected by chat_intent_detector.py have the same stale-data risk but do NOT have this safeguard:

  • resources/prompts/chat/architecture_explanation.md — static VM architecture description with hardcoded IPs/versions
  • resources/prompts/chat/troubleshooting.md — static troubleshooting steps
  • resources/prompts/chat/api_documentation.md — static API endpoint list

Impact

AutoBot can still hallucinate outdated architecture details, troubleshooting steps, or API endpoints if RAG retrieval fails to return relevant results for these intents.

Fix

Add the same ## CRITICAL: Read Actual Docs Before Answering block to each file, pointing to the relevant actual documentation files (architecture docs, troubleshooting guide, API reference).

Discovered During

Implementing #1476 and #1494.

Activity

  1. added 2 commits that reference this issue on Mar 14, 2026
  2. github-actions commented on Mar 14, 2026

    @github-actions
    Contributor

    Closed by #1681 (merged to Dev_new_gui).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions