You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
11
+
12
+
## Scope of Work
13
+
14
+
1.**Enhance `createKnowledgeBase.mjs`:**
15
+
- The script will be modified to glob for and process all markdown files within the `.github/ISSUE_ARCHIVE/` directory and its sub-directories.
16
+
- These files will be chunked and assigned a new content `type` of `ticket`.
17
+
18
+
2.**Enhance `queryKnowledgeBase.mjs`:**
19
+
- The `--type` command-line option will be updated to accept `ticket` as a new valid value.
20
+
- 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.
21
+
- 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`.
0 commit comments