Frontmatter
| id | 7673 |
| title | Refactor: Standardize score weights in Knowledge Base config |
| state | Closed |
| labels | enhancementairefactoring |
| assignees | tobiu |
| createdAt | Oct 27, 2025, 11:59 AM |
| updatedAt | Oct 27, 2025, 12:12 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7673 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Oct 27, 2025, 12:12 PM |
This is a follow-up to PR #7533. The
SCORE_WEIGHTSwere introduced as a separate, snake-cased constant.We need to refactor this to align with our project conventions.
Tasks:
configobject inai/mcp/server/knowledge-base/config.mjsunder ascoreWeightskey.UPPER_SNAKE_CASEtocamelCase(e.g.,BASE_INCREMENTbecomesbaseIncrement).ai/mcp/server/knowledge-base/services/QueryService.mjsto import the defaultconfigand access the weights viaconfig.scoreWeights.newKey.