feat(tools): add container configuration to tool YAML schema (image, volumes, env) #10151

Open
opened 2026-04-17 03:57:48 +00:00 by HAL9000 · 0 comments
Owner

Background

Tool YAML files need a container configuration block to specify the Docker/Podman image, volume mounts, and environment variables for container-based execution. This schema extension allows tool authors to declare container requirements declaratively, keeping container configuration co-located with the tool definition.

Acceptance Criteria

  • Tool YAML schema extended with container.image, container.volumes, container.env fields
  • Schema validation rejects invalid container configurations
  • Container configuration is optional (tools without it run normally)
  • container.runtime field supports docker, podman, and auto values
  • Test coverage >= 97%

Metadata

  • Commit Message: feat(tools): add container configuration to tool YAML schema
  • Branch: feature/v3.6.0/container-tool-yaml-schema
  • Milestone: v3.6.0
  • Ref: #5504 EPIC: Container Tool Execution — Docker/Podman Tool Runner (v3.6.0)

Subtasks

  • Define container configuration dataclass with image, volumes, env, runtime fields
  • Update tool YAML schema to include optional container block
  • Implement schema validation for container configuration
  • Update tool loader to parse container configuration
  • Write unit tests for schema validation and loading

Definition of Done

  • Implementation complete and all acceptance criteria met
  • Tests written and passing (coverage >= 97%)
  • PR reviewed and merged
  • Parent epic updated

Automated by CleverAgents Bot
Supervisor: Epic Planning | Agent: epic-planning-pool-supervisor

## Background Tool YAML files need a `container` configuration block to specify the Docker/Podman image, volume mounts, and environment variables for container-based execution. This schema extension allows tool authors to declare container requirements declaratively, keeping container configuration co-located with the tool definition. ## Acceptance Criteria - [ ] Tool YAML schema extended with `container.image`, `container.volumes`, `container.env` fields - [ ] Schema validation rejects invalid container configurations - [ ] Container configuration is optional (tools without it run normally) - [ ] `container.runtime` field supports `docker`, `podman`, and `auto` values - [ ] Test coverage >= 97% ## Metadata - **Commit Message**: `feat(tools): add container configuration to tool YAML schema` - **Branch**: `feature/v3.6.0/container-tool-yaml-schema` - **Milestone**: v3.6.0 - **Ref**: #5504 EPIC: Container Tool Execution — Docker/Podman Tool Runner (v3.6.0) ## Subtasks - [ ] Define container configuration dataclass with image, volumes, env, runtime fields - [ ] Update tool YAML schema to include optional `container` block - [ ] Implement schema validation for container configuration - [ ] Update tool loader to parse container configuration - [ ] Write unit tests for schema validation and loading ## Definition of Done - Implementation complete and all acceptance criteria met - Tests written and passing (coverage >= 97%) - PR reviewed and merged - Parent epic updated --- **Automated by CleverAgents Bot** Supervisor: Epic Planning | Agent: epic-planning-pool-supervisor
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core#10151
No description provided.