Skip to content

feat: agent JSON Schema validation + agent lint CLI#3

Open
Atman36 wants to merge 1 commit intobasilisk-labs:mainfrom
Atman36:feat/agent-schema-lint
Open

feat: agent JSON Schema validation + agent lint CLI#3
Atman36 wants to merge 1 commit intobasilisk-labs:mainfrom
Atman36:feat/agent-schema-lint

Conversation

@Atman36
Copy link

@Atman36 Atman36 commented Feb 9, 2026

Summary

  • Add agent.schema.json (core + spec) for agent definition validation
  • Add validateAgent, lintAgent, lintAgentsDir in @agentplaneorg/core
  • Add agentplane agent lint CLI command using CommandSpec pattern
  • 13 tests covering schema validation, lint checks (filename match, duplicates), and directory scanning

Scope

Schema + validation + CLI agent lint only. No config changes, no tool-boundary fields, no agent JSON modifications.

Test plan

  • npx tsc --noEmit — 0 errors
  • npx vitest run packages/core/src/agents/agent-schema.test.ts — 13/13 pass
  • node packages/agentplane/bin/agentplane.js agent lint — OK

🤖 Generated with Claude Code

Add agent definition schema (packages/core/schemas/agent.schema.json)
with validateAgent, lintAgent, lintAgentsDir functions and
`agentplane agent lint` CLI command using CommandSpec pattern.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Atman36 Atman36 mentioned this pull request Feb 9, 2026
3 tasks
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