Skip to content

feat: validate knowledge source integration config#81

Merged
manthan787 merged 1 commit intomainfrom
codex/knowledge-source-config-validation
Feb 18, 2026
Merged

feat: validate knowledge source integration config#81
manthan787 merged 1 commit intomainfrom
codex/knowledge-source-config-validation

Conversation

@manthan787
Copy link
Collaborator

Summary

  • extend knowledge source config schema with integration fields used by notion, github, and api sources (apiKey, token, and API auth union)
  • add validation checks for incomplete knowledge.sources entries so integration misconfigurations fail fast with actionable messages
  • include env-var fallback support checks for Notion and GitHub credentials
  • add unit tests for valid source credentials, env fallbacks, and incomplete source errors

Validation

  • npm run test -- src/utils/__tests__/config.test.ts
  • npm run typecheck

@manthan787 manthan787 merged commit ead8850 into main Feb 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments