TDD: agents skill add does not register skill test #637

Closed
opened 2026-03-07 23:06:04 +00:00 by freemo · 1 comment
Owner

Metadata

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

Parent

Bug: #620agents skill does not register when skills are added

Background and Context

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

Root cause needs investigation. Likely candidates: persistence not committed, registry not updated, or config file path resolution issue.

Acceptance Criteria

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

Dependencies

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

Definition of Done

TDD tests reproducing bug #620 are merged to master.

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

fixed in PR #640

fixed in PR #640
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#637
No description provided.