LearnNewsExamplesServices
Frontmatter
id7252
titleAdd Ticket Archive to Knowledge Base
stateClosed
labels
enhancement
assigneestobiu
createdAtSep 24, 2025, 1:46 PM
updatedAtSep 24, 2025, 2:59 PM
githubUrlhttps://github.com/neomjs/neo/issues/7252
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtSep 24, 2025, 2:59 PM

Add Ticket Archive to Knowledge Base

Closed v11.0.0 enhancement
tobiu
tobiu commented on Sep 24, 2025, 1:46 PM

To make the context of all past work searchable, the archived tickets will be integrated into the AI Knowledge Base. This will allow developers and agents to query for the history and rationale behind previous changes.

Scope of Work

  1. Enhance createKnowledgeBase.mjs:

    • The script will be modified to glob for and process all markdown files within the .github/ISSUE_ARCHIVE/ directory and its sub-directories.
    • These files will be chunked and assigned a new content type of ticket.
  2. Enhance queryKnowledgeBase.mjs:

    • The --type command-line option will be updated to accept ticket as a new valid value.
    • Type-based filtering is now handled directly within the database query using a where clause, replacing the previous, less efficient post-query filtering in JavaScript.
    • The scoring algorithm has been adjusted to apply a penalty to ticket type results in general queries (--type all) to reduce noise, ensuring they are discoverable only when explicitly queried via --type ticket.
tobiu assigned to @tobiu on Sep 24, 2025, 1:46 PM
tobiu added the enhancement label on Sep 24, 2025, 1:46 PM
tobiu referenced in commit fd4f711 - "Add Ticket Archive to Knowledge Base #7252" on Sep 24, 2025, 2:59 PM
tobiu closed this issue on Sep 24, 2025, 2:59 PM