Skip to content

fix: reject unknown top-level config keys - #46

Merged
royalpinto007 merged 2 commits into
AgentPostmortem:mainfrom
sharadvc:cursor/fix-unknown-config-keys-8b45
Sep 12, 2026
Merged

fix: reject unknown top-level config keys#46
royalpinto007 merged 2 commits into
AgentPostmortem:mainfrom
sharadvc:cursor/fix-unknown-config-keys-8b45

Conversation

@sharadvc

Copy link
Copy Markdown
Contributor

Summary

normalizeConfig now rejects unknown top-level keys (e.g. typos like disabledRule) with a clear error instead of silently ignoring them.

Test plan

  • npm test

Fixes #29

@royalpinto007
royalpinto007 merged commit d616e13 into AgentPostmortem:main Sep 12, 2026
10 checks passed
@github-actions

Copy link
Copy Markdown

This is in, @sharadvc. Really appreciate it.

Good, focused change. Exactly the kind of thing MCP-audit needs.

If MCP-audit is useful to you, a star goes a long way.

Happy to see more from you whenever you have the time.

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.

Unknown top-level config keys silently ignored

2 participants