Skip to content

feat: agent tool-boundary fields#4

Open
Atman36 wants to merge 2 commits intobasilisk-labs:mainfrom
Atman36:feat/agent-tool-boundaries
Open

feat: agent tool-boundary fields#4
Atman36 wants to merge 2 commits intobasilisk-labs:mainfrom
Atman36:feat/agent-tool-boundaries

Conversation

@Atman36
Copy link

@Atman36 Atman36 commented Feb 9, 2026

Summary

  • Extend agent schema with allowed_tools, denied_tools, model_preference fields
  • Add overlap detection (allowed vs denied) in lintAgent
  • Add model_preference enum validation (fast | balanced | powerful)
  • Apply tool-boundary fields to all 22 agent definitions (.agentplane/agents/ + assets/agents/)
  • 3 new tests for tool restrictions (validates, rejects invalid model_preference, detects overlap)

Depends on

Stacked on #3 (feat/agent-schema-lint). Merge #3 first, then rebase this PR.

Test plan

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

🤖 Generated with Claude Code

Atman36 and others added 2 commits February 9, 2026 11:17
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>
…preference)

Extend agent schema and validation with tool-boundary fields:
- allowed_tools/denied_tools arrays with overlap detection in lintAgent
- model_preference enum (fast/balanced/powerful)
- Add fields to all 22 agent definitions (.agentplane + assets)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link

coderabbitai bot commented Feb 10, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Comment @coderabbitai help to get the list of available commands and usage tips.

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