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 the
MoSCoW
Must have
Points
2
Priority
Critical
State
Unverified
Type
Testing
labels 2026-03-07 23:06:17 +00:00
brent.edwards was assigned by freemo 2026-03-07 23:06:36 +00:00
freemo added this to the v3.2.0 milestone 2026-03-07 23:06:36 +00:00
freemo added a new dependency 2026-03-07 23:57:21 +00:00
freemo added a new dependency 2026-03-08 22:11:40 +00:00
brent.edwards added
State
Completed
and removed
State
Unverified
labels 2026-03-10 18:45:46 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: cleveragents/cleveragents-core#638