TDD: agents lsp show missing Bound Actors panel — capture failing test for spec-required panel #2150

Open
opened 2026-04-03 04:28:16 +00:00 by freemo · 2 comments
Owner

Metadata

  • Branch: tdd/lsp-show-bound-actors-panel
  • Commit Message: test(cli): add tdd_expected_fail scenario for missing Bound Actors panel in agents lsp show
  • Milestone: v3.6.0
  • Parent Epic: #824

Background and Context

This is the TDD issue-capture ticket for bug #2149. Per the project's Bug Fix Workflow, before fixing a bug a failing test must first be written that proves the bug exists. This issue's sole deliverable is a Behave scenario tagged with @tdd_issue, @tdd_issue_2149, and @tdd_expected_fail that captures the missing Bound Actors panel behavior in agents lsp show.

The test must assert that agents lsp show renders a Bound Actors panel (as required by the spec), which will fail against the current implementation (which renders only a single LSP Server Details panel with no Bound Actors panel). The @tdd_expected_fail tag causes the test framework to invert the result so CI passes while the bug is unfixed.

Bug issue: #2149

Deliverable

A single Behave scenario (or minimal set of scenarios) under features/ that:

  1. Registers an LSP server
  2. Runs agents lsp show <server-name>
  3. Asserts that the output contains a Bound Actors panel
  4. Is tagged with all three required tags: @tdd_issue @tdd_issue_2149 @tdd_expected_fail

Example skeleton:

@tdd_issue @tdd_issue_2149 @tdd_expected_fail
Scenario: Bug #2149 - agents lsp show does not render Bound Actors panel
  Given an LSP server "local/pyright" is registered
  When I run "agents lsp show local/pyright"
  Then the output should contain a "Bound Actors" panel

Acceptance Criteria

  • A Behave scenario exists that asserts the Bound Actors panel is present in agents lsp show output
  • The scenario is tagged with @tdd_issue, @tdd_issue_2149, and @tdd_expected_fail
  • The scenario fails against the current implementation (proving the bug exists)
  • The scenario passes CI due to the @tdd_expected_fail tag inverting the result
  • No production code is modified in this commit — test only
  • The step definitions are placed in the correct file per BDD organization guidelines

Subtasks

  • Identify the correct Behave step file for agents lsp show scenarios (check features/steps/ for existing LSP show steps)
  • Write the @tdd_expected_fail scenario asserting the Bound Actors panel is present
  • Implement any missing step definitions needed by the scenario
  • Verify the scenario fails against the current implementation (bug confirmed)
  • Verify CI passes with the @tdd_expected_fail tag in place
  • Run nox (all default sessions), fix any errors

Definition of Done

This issue is complete when:

  • All subtasks above are completed and checked off.
  • A Git commit is created where the first line of the commit message matches the Commit Message in Metadata exactly (test(cli): add tdd_expected_fail scenario for missing Bound Actors panel in agents lsp show), followed by a blank line, then additional lines providing relevant details.
  • The commit is pushed to the remote on the branch matching the Branch in Metadata exactly (tdd/lsp-show-bound-actors-panel).
  • The commit is submitted as a pull request to master, reviewed, and merged before this issue is marked done.
  • All nox stages pass (the TDD scenario passes CI via @tdd_expected_fail inversion).
  • Coverage ≥ 97%.

Automated by CleverAgents Bot
Supervisor: UAT Testing | Agent: ca-new-issue-creator

## Metadata - **Branch**: `tdd/lsp-show-bound-actors-panel` - **Commit Message**: `test(cli): add tdd_expected_fail scenario for missing Bound Actors panel in agents lsp show` - **Milestone**: v3.6.0 - **Parent Epic**: #824 ## Background and Context This is the TDD issue-capture ticket for bug #2149. Per the project's [Bug Fix Workflow](../CONTRIBUTING.md#bug-fix-workflow), before fixing a bug a failing test must first be written that proves the bug exists. This issue's sole deliverable is a Behave scenario tagged with `@tdd_issue`, `@tdd_issue_2149`, and `@tdd_expected_fail` that captures the missing `Bound Actors` panel behavior in `agents lsp show`. The test must assert that `agents lsp show` renders a `Bound Actors` panel (as required by the spec), which will fail against the current implementation (which renders only a single `LSP Server Details` panel with no `Bound Actors` panel). The `@tdd_expected_fail` tag causes the test framework to invert the result so CI passes while the bug is unfixed. **Bug issue:** #2149 ## Deliverable A single Behave scenario (or minimal set of scenarios) under `features/` that: 1. Registers an LSP server 2. Runs `agents lsp show <server-name>` 3. Asserts that the output contains a `Bound Actors` panel 4. Is tagged with all three required tags: `@tdd_issue @tdd_issue_2149 @tdd_expected_fail` Example skeleton: ```gherkin @tdd_issue @tdd_issue_2149 @tdd_expected_fail Scenario: Bug #2149 - agents lsp show does not render Bound Actors panel Given an LSP server "local/pyright" is registered When I run "agents lsp show local/pyright" Then the output should contain a "Bound Actors" panel ``` ## Acceptance Criteria - [ ] A Behave scenario exists that asserts the `Bound Actors` panel is present in `agents lsp show` output - [ ] The scenario is tagged with `@tdd_issue`, `@tdd_issue_2149`, and `@tdd_expected_fail` - [ ] The scenario **fails** against the current implementation (proving the bug exists) - [ ] The scenario **passes** CI due to the `@tdd_expected_fail` tag inverting the result - [ ] No production code is modified in this commit — test only - [ ] The step definitions are placed in the correct file per BDD organization guidelines ## Subtasks - [ ] Identify the correct Behave step file for `agents lsp show` scenarios (check `features/steps/` for existing LSP show steps) - [ ] Write the `@tdd_expected_fail` scenario asserting the `Bound Actors` panel is present - [ ] Implement any missing step definitions needed by the scenario - [ ] Verify the scenario fails against the current implementation (bug confirmed) - [ ] Verify CI passes with the `@tdd_expected_fail` tag in place - [ ] Run `nox` (all default sessions), fix any errors ## Definition of Done This issue is complete when: - All subtasks above are completed and checked off. - A Git commit is created where the **first line** of the commit message matches the Commit Message in Metadata exactly (`test(cli): add tdd_expected_fail scenario for missing Bound Actors panel in agents lsp show`), followed by a blank line, then additional lines providing relevant details. - The commit is pushed to the remote on the branch matching the **Branch** in Metadata exactly (`tdd/lsp-show-bound-actors-panel`). - The commit is submitted as a **pull request** to `master`, reviewed, and **merged** before this issue is marked done. - All nox stages pass (the TDD scenario passes CI via `@tdd_expected_fail` inversion). - Coverage ≥ 97%. --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: ca-new-issue-creator
freemo added this to the v3.6.0 milestone 2026-04-03 04:28:29 +00:00
Author
Owner

Issue triaged by project owner:

  • State: Verified
  • Priority: Medium
  • Milestone: v3.6.0
  • MoSCoW: Should Have — TDD companion to #2149; required per Bug Fix Workflow
  • Parent Epic: #824 (LSP Functional Runtime)

Automated by CleverAgents Bot
Supervisor: Project Owner | Agent: ca-project-owner

Issue triaged by project owner: - **State**: Verified - **Priority**: Medium - **Milestone**: v3.6.0 - **MoSCoW**: Should Have — TDD companion to #2149; required per Bug Fix Workflow - **Parent Epic**: #824 (LSP Functional Runtime) --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: ca-project-owner
Author
Owner

Issue triaged by project owner:

  • State: Verified
  • Priority: Medium (unchanged)
  • Milestone: v3.6.0 (already assigned)
  • MoSCoW: Should Have — TDD test for spec-required Bound Actors panel in agents lsp show. The specification explicitly defines this panel, and having a failing test first follows the project's TDD methodology. This is paired with #2149 (the implementation issue).
  • Parent Epic: #824 (LSP Functional Runtime)

Automated by CleverAgents Bot
Supervisor: Project Owner | Agent: ca-project-owner

Issue triaged by project owner: - **State**: Verified ✅ - **Priority**: Medium (unchanged) - **Milestone**: v3.6.0 (already assigned) - **MoSCoW**: Should Have — TDD test for spec-required `Bound Actors` panel in `agents lsp show`. The specification explicitly defines this panel, and having a failing test first follows the project's TDD methodology. This is paired with #2149 (the implementation issue). - **Parent Epic**: #824 (LSP Functional Runtime) --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: ca-project-owner
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#2150
No description provided.