feat: structural schema lint for server definitions (#54) #58

Merged
the_og merged 1 commits from feat/54-schema-lint into main 2026-07-12 14:00:12 -04:00
Owner

Closes #54.

JSON repair fixes syntax; this adds structure checks. lint_server / lint_servers warn (never block) on: non-string command, args not a list / non-string items, env/headers not dicts or with non-string values, bad type, and unknown top-level fields (informational). The validation label shows the first lint warning in WARN color when nothing blocking exists; Save stays enabled.

11 new tests including "lint-only issues pass validate_servers". (Implemented by a delegated agent; diff reviewed, tests re-run.)

🤖 Generated with Claude Code

Closes #54. JSON repair fixes syntax; this adds structure checks. `lint_server` / `lint_servers` warn (never block) on: non-string `command`, `args` not a list / non-string items, `env`/`headers` not dicts or with non-string values, bad `type`, and unknown top-level fields (informational). The validation label shows the first lint warning in WARN color when nothing blocking exists; Save stays enabled. 11 new tests including "lint-only issues pass validate_servers". (Implemented by a delegated agent; diff reviewed, tests re-run.) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
the_og added 1 commit 2026-07-12 13:57:34 -04:00
feat: structural schema lint for server definitions (#54)
CI / Lint (ruff) (pull_request) Successful in 6s
CI / Tests (py3.10 / ubuntu-latest) (pull_request) Successful in 8s
CI / Tests (py3.12 / windows-latest) (pull_request) Successful in 19s
CI / Tests (py3.13 / ubuntu-latest) (pull_request) Successful in 9s
CI / Tests (py3.12 / ubuntu-latest) (pull_request) Successful in 8s
82ff149373
Closes #54

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
the_og merged commit 6b22ad26f0 into main 2026-07-12 14:00:12 -04:00
the_og deleted branch feat/54-schema-lint 2026-07-12 14:00:12 -04:00
Sign in to join this conversation.