v4.10.0: Enhanced Validator, Pre-commit Hook & Agent Fixes
v4.10.0 — Enhanced Validator, Pre-commit Hook & Agent Fixes
This release brings a comprehensive overhaul of the agent validation system, a pre-commit hook to catch issues before they land, and fixes for 38 issues found across the agent fleet.
Highlights
Enhanced Validator
The validate-agents.js script is now a full schema validator built from three official sources:
- Official tool alias table from the GitHub custom-agents configuration reference
- VS Code qualified tools from the Copilot features reference
- MCP namespace patterns for
<server>/*and<server>/<tool>validation
New checks include:
- Frontmatter property validation against the official schema
- Deprecated
infer:detection with migration guidance - Prompt body size enforcement (30K GitHub.com limit)
- Duplicate tool detection
- Claude Code tool validation (
MCP(...)syntax) --strict,--quiet,--filesCLI flags
Pre-commit Hook
New scripts/pre-commit hook validates only staged agent/skill files before every commit. Runs in --strict mode to block commits with validation warnings.
�ash node scripts/install-hooks.js # one-time setup
38 Agent Fixes
| Fix | Files | Impact |
|---|---|---|
user-invokable typo fixed to user-invocable |
16 agents | Property was silently ignored by Copilot |
Removed deprecated infer: true |
16 agents | Defaults are equivalent; no behavioral change |
Removed duplicate search tool |
repo-manager | Cleaner config |
Added target: vscode |
5 agents | Prevents false positive on 30K char limit |
Other Changes
- MCP server dependency auto-install in
install.ps1/install.sh - MCP setup guide added to
docs/getting-started.md - CI workflow runs
--strictand triggers onclaude-code-plugin/agents/** - Broken link repairs from v4.0.0 follow-up
Upgrade
�ash git pull node scripts/install-hooks.js # install pre-commit hook
Or use the installer:
`powershell
PowerShell
./update.ps1
`
`�ash
Bash
./update.sh
`
Full changelog: v4.0.0...v4.10.0