TDD: agents tool add does not register tool test #638

Closed
opened 2026-03-07 23:06:08 +00:00 by freemo · 0 comments
Owner

Metadata

  • Commit Message: test(tool): add TDD failing tests for tool add registration
  • Branch: tdd/tool-add-not-registering

Parent

Bug: #621agents tool does not register when tools are added

Background and Context

Per CONTRIBUTING.md TDD Bug Fix Workflow. Bug #621 reported by @brent.edwards on Day 27. After agents init and agents tool add -c /app/examples/tools/mcp-tool.yaml, running agents tool list shows "No tools found." The tool add command appears to succeed silently but the tool is not persisted/registered.

Root cause needs investigation. Likely shares root cause with #620 (skill add not registering) — possibly a common persistence/registry issue in the resource add flow.

Acceptance Criteria

  • Behave BDD scenarios tagged @tdd_bug @tdd_bug_621 @tdd_expected_fail
  • Scenario: tool add followed by tool list should show the added tool
  • Scenario: tool add with valid YAML config should persist to database
  • Robot Framework integration smoke tests for tool lifecycle
  • ASV benchmark for tool add/list round-trip
  • Tests fail until bug #621 is fixed

Dependencies

  • Blocked by: #627, #628 (TDD infrastructure)
  • Blocks: #621 (bug fix)

Definition of Done

TDD tests reproducing bug #621 are merged to master.

## Metadata - **Commit Message**: `test(tool): add TDD failing tests for tool add registration` - **Branch**: `tdd/tool-add-not-registering` ## Parent Bug: #621 — `agents tool` does not register when tools are added ## Background and Context Per CONTRIBUTING.md TDD Bug Fix Workflow. Bug #621 reported by @brent.edwards on Day 27. After `agents init` and `agents tool add -c /app/examples/tools/mcp-tool.yaml`, running `agents tool list` shows "No tools found." The tool add command appears to succeed silently but the tool is not persisted/registered. Root cause needs investigation. Likely shares root cause with #620 (skill add not registering) — possibly a common persistence/registry issue in the resource add flow. ## Acceptance Criteria - [ ] Behave BDD scenarios tagged `@tdd_bug @tdd_bug_621 @tdd_expected_fail` - [ ] Scenario: tool add followed by tool list should show the added tool - [ ] Scenario: tool add with valid YAML config should persist to database - [ ] Robot Framework integration smoke tests for tool lifecycle - [ ] ASV benchmark for tool add/list round-trip - [ ] Tests fail until bug #621 is fixed ## Dependencies - Blocked by: #627, #628 (TDD infrastructure) - Blocks: #621 (bug fix) ## Definition of Done TDD tests reproducing bug #621 are merged to master.
freemo added this to the v3.2.0 milestone 2026-03-07 23:06:36 +00:00
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.

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