LearnNewsExamplesServices
Frontmatter
id7670
titleRefactor: Shorten AGENTS.md by removing query tool documentation
stateClosed
labels
documentationenhancementai
assigneestobiu
createdAtOct 27, 2025, 9:50 AM
updatedAtOct 27, 2025, 9:59 AM
githubUrlhttps://github.com/neomjs/neo/issues/7670
authortobiu
commentsCount0
parentIssue7668
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtOct 27, 2025, 9:59 AM

Refactor: Shorten AGENTS.md by removing query tool documentation

Closed v11.0.0/archive-v11-0-0-chunk-4 documentationenhancementai
tobiu
tobiu commented on Oct 27, 2025, 9:50 AM

This ticket is part of Epic #7668 and depends on the completion of #7669.

Once the query_documents tool is self-documenting via its OpenAPI specification, we must refactor AGENTS.md to remove the redundant documentation.

Changes Required

  1. Remove Detailed Sections: Delete the following sections from AGENTS.md under Section 3, "The Knowledge Base: Your Primary Source of Truth":

    • "How to Interpret Query Results"
    • All query strategy subsections ("Strategy for High-Level Conceptual Questions", "Discovery Pattern", "Targeted Content-Type Searching")
    • "When Queries Fail to Find Information"
  2. Replace with a Pointer: Replace the removed content with a concise pointer to the tool's own documentation. The new section should look like this:

        ### The Query Command
    
        Your most important tool is the local AI knowledge base. To use it, call the `query_documents` tool.
    
        **Critical**: The `query_documents` tool is self-documenting. Read its description carefully for:
    - How to interpret results
    - Query strategies for different scenarios
    - Content type filtering
    - Handling edge cases
    
        The tool contains complete guidance on effective querying. Follow its documented patterns.

This change will significantly shorten AGENTS.md and ensure that the tool's documentation is the single source of truth.