fix(tdd): replace non-standard @tdd_bug tags with @tdd_issue per CONTRIBUTING.md #3292

Merged
freemo merged 1 commit from fix/tdd-bug-tag-compliance-audit into master 2026-04-05 21:12:21 +00:00
Owner

Summary

Audits all feature files for non-compliant @tdd_bug tag usage and replaces them with the CONTRIBUTING.md-specified @tdd_issue / @tdd_issue_<N> tags.

Problem

Three feature files contained non-standard @tdd_bug and @tdd_bug_<N> tags that violate the CONTRIBUTING.md TDD tag specification. The specification mandates the use of @tdd_issue and @tdd_issue_<N> as the permanent regression reference tags for TDD bug-capture tests.

Changes

File Before After
features/tdd_actor_list_no_db_update.feature @tdd_bug @tdd_bug_797 @tdd_issue @tdd_issue_797
features/tdd_exec_env_resolution_precedence.feature @tdd_issue @tdd_issue_1080 @tdd_bug @tdd_bug_1080 @mock_only @tdd_issue @tdd_issue_1080 @mock_only
features/tdd_use_action_automation_profile.feature @tdd_bug @tdd_bug_1076 @tdd_issue @tdd_issue_1076

Verification

  • Zero occurrences of @tdd_bug or @tdd_bug_<N> remain in features/
  • validate_tdd_tags() in features/environment.py correctly recognises the updated tags
  • nox -s lint — all checks passed
  • nox -s unit_tests — 14426 scenarios passed, 0 failed

Notes

  • tdd_actor_list_no_db_update.feature: Bug #797 is fixed; these are permanent regression guards. No @tdd_expected_fail needed.
  • tdd_exec_env_resolution_precedence.feature: Already had correct @tdd_issue tags; only the duplicate @tdd_bug tags were removed. The @tdd_expected_fail on the bug-capturing scenario is preserved.
  • tdd_use_action_automation_profile.feature: Bug #1076 (use_action() not propagating automation_profile) is already fixed in the codebase. No @tdd_expected_fail needed.

Closes #2779


Automated by CleverAgents Bot
Supervisor: Implementation | Agent: ca-issue-worker

## Summary Audits all feature files for non-compliant `@tdd_bug` tag usage and replaces them with the CONTRIBUTING.md-specified `@tdd_issue` / `@tdd_issue_<N>` tags. ## Problem Three feature files contained non-standard `@tdd_bug` and `@tdd_bug_<N>` tags that violate the CONTRIBUTING.md TDD tag specification. The specification mandates the use of `@tdd_issue` and `@tdd_issue_<N>` as the permanent regression reference tags for TDD bug-capture tests. ## Changes | File | Before | After | |------|--------|-------| | `features/tdd_actor_list_no_db_update.feature` | `@tdd_bug @tdd_bug_797` | `@tdd_issue @tdd_issue_797` | | `features/tdd_exec_env_resolution_precedence.feature` | `@tdd_issue @tdd_issue_1080 @tdd_bug @tdd_bug_1080 @mock_only` | `@tdd_issue @tdd_issue_1080 @mock_only` | | `features/tdd_use_action_automation_profile.feature` | `@tdd_bug @tdd_bug_1076` | `@tdd_issue @tdd_issue_1076` | ## Verification - Zero occurrences of `@tdd_bug` or `@tdd_bug_<N>` remain in `features/` - `validate_tdd_tags()` in `features/environment.py` correctly recognises the updated tags - `nox -s lint` ✅ — all checks passed - `nox -s unit_tests` ✅ — 14426 scenarios passed, 0 failed ## Notes - `tdd_actor_list_no_db_update.feature`: Bug #797 is fixed; these are permanent regression guards. No `@tdd_expected_fail` needed. - `tdd_exec_env_resolution_precedence.feature`: Already had correct `@tdd_issue` tags; only the duplicate `@tdd_bug` tags were removed. The `@tdd_expected_fail` on the bug-capturing scenario is preserved. - `tdd_use_action_automation_profile.feature`: Bug #1076 (`use_action()` not propagating `automation_profile`) is already fixed in the codebase. No `@tdd_expected_fail` needed. Closes #2779 --- **Automated by CleverAgents Bot** Supervisor: Implementation | Agent: ca-issue-worker
fix(tdd): replace non-standard @tdd_bug tags with @tdd_issue per CONTRIBUTING.md
All checks were successful
CI / lint (pull_request) Successful in 34s
CI / typecheck (pull_request) Successful in 51s
CI / security (pull_request) Successful in 52s
CI / quality (pull_request) Successful in 33s
CI / build (pull_request) Successful in 28s
CI / helm (pull_request) Successful in 23s
CI / unit_tests (pull_request) Successful in 6m40s
CI / e2e_tests (pull_request) Successful in 17m40s
CI / integration_tests (pull_request) Successful in 23m10s
CI / coverage (pull_request) Successful in 10m58s
CI / docker (pull_request) Successful in 1m20s
CI / status-check (pull_request) Successful in 1s
CI / benchmark-publish (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Successful in 56m50s
56f424714c
Audit all feature files for non-compliant @tdd_bug tag usage and replace
with the CONTRIBUTING.md-specified @tdd_issue / @tdd_issue_<N> tags.

Three files were affected:

- features/tdd_actor_list_no_db_update.feature:
  @tdd_bug @tdd_bug_797 → @tdd_issue @tdd_issue_797
  (bug #797 is fixed; permanent regression guard, no @tdd_expected_fail)

- features/tdd_exec_env_resolution_precedence.feature:
  Removed duplicate @tdd_bug @tdd_bug_1080 tags; file already had the
  correct @tdd_issue @tdd_issue_1080 tags.

- features/tdd_use_action_automation_profile.feature:
  @tdd_bug @tdd_bug_1076 → @tdd_issue @tdd_issue_1076
  (bug #1076 is fixed in upstream; @tdd_expected_fail not needed)

Zero occurrences of @tdd_bug or @tdd_bug_<N> remain in features/.
All nox quality gates pass: lint   unit_tests  (14426 scenarios passed).

ISSUES CLOSED: #2779
freemo added this to the v3.7.0 milestone 2026-04-05 09:22:32 +00:00
freemo left a comment

Review Summary — ca-pr-self-reviewer (APPROVED)

Reviewed PR #3292 with focus on test-coverage-quality, test-scenario-completeness, and test-maintainability.

This is a clean, minimal tag compliance fix that replaces non-standard @tdd_bug / @tdd_bug_<N> tags with the CONTRIBUTING.md-specified @tdd_issue / @tdd_issue_<N> tags across three feature files.

Changes Verified

File Change Correct?
features/tdd_actor_list_no_db_update.feature @tdd_bug @tdd_bug_797@tdd_issue @tdd_issue_797 Bug #797 fixed; permanent regression guard
features/tdd_exec_env_resolution_precedence.feature Removed duplicate @tdd_bug @tdd_bug_1080; kept existing @tdd_issue @tdd_issue_1080 @mock_only @tdd_expected_fail on scenario preserved (bug #1080 still unfixed)
features/tdd_use_action_automation_profile.feature @tdd_bug @tdd_bug_1076@tdd_issue @tdd_issue_1076 Bug #1076 fixed; no @tdd_expected_fail needed

Standard Criteria

Commit Message: Follows Conventional Changelog format (fix(tdd): ...), includes detailed body and ISSUES CLOSED: #2779 footer
Atomic Commit: Single commit with all related changes
PR Description: Detailed summary with change table, verification steps, and Closes #2779
Labels: Has Type/Bug label
Specification Alignment: Changes align with CONTRIBUTING.md § TDD Issue Test Tags three-tag system
No Forbidden Patterns: No # type: ignore, no code changes, tags-only fix

Deep Dive: Test Coverage Quality

  • Tag validation now works correctly: The validate_tdd_tags() function in features/environment.py only recognizes @tdd_issue, @tdd_issue_<N>, and @tdd_expected_fail. The old @tdd_bug tags were invisible to this validation system, meaning tag rule enforcement was silently bypassed for these files. After this fix, all three files are properly recognized and validated.
  • No test logic changes: Only metadata tags are modified — scenario definitions, step definitions, and assertions are untouched. Test coverage is unaffected.
  • CI verification: PR reports 14,426 scenarios passed with all nox quality gates green.

Deep Dive: Test Scenario Completeness

  • tdd_exec_env_resolution_precedence.feature: Correctly preserves the @tdd_expected_fail tag on the bug-capturing scenario (bug #1080 is still unfixed). The @mock_only tag is also preserved. Only the redundant @tdd_bug tags were removed — this is the correct surgical change.
  • tdd_use_action_automation_profile.feature: The feature narrative mentions @tdd_expected_fail in descriptive text, but no scenarios actually carry the tag. This is consistent with the PR's claim that bug #1076 is already fixed — the scenarios run as normal regression guards.
  • tdd_actor_list_no_db_update.feature: Two scenarios serve as permanent regression guards for bug #797. No @tdd_expected_fail needed since the bug is fixed.

Deep Dive: Test Maintainability

  • Standardization: All TDD test files now use the documented tag convention, making @tdd_issue a reliable filter for all TDD tests across the codebase.
  • Discoverability: grep -r "@tdd_issue" features/ will now correctly find all TDD regression tests.
  • Validation enforcement: validate_tdd_tags() can now properly enforce tag rules (e.g., @tdd_issue_<N> requires @tdd_issue) on these files.

Minor Note (Non-blocking)

⚠️ Milestone mismatch: The linked issue #2779 is assigned to milestone v3.2.0, but this PR is assigned to milestone v3.7.0. Per CONTRIBUTING.md, PRs must be assigned to the same milestone as their linked issue. This should be corrected but does not block the code change itself.

Decision: APPROVED


Automated by CleverAgents Bot
Supervisor: PR Review | Agent: ca-pr-self-reviewer

## Review Summary — ca-pr-self-reviewer (APPROVED) Reviewed PR #3292 with focus on **test-coverage-quality**, **test-scenario-completeness**, and **test-maintainability**. This is a clean, minimal tag compliance fix that replaces non-standard `@tdd_bug` / `@tdd_bug_<N>` tags with the CONTRIBUTING.md-specified `@tdd_issue` / `@tdd_issue_<N>` tags across three feature files. ### Changes Verified | File | Change | Correct? | |------|--------|----------| | `features/tdd_actor_list_no_db_update.feature` | `@tdd_bug @tdd_bug_797` → `@tdd_issue @tdd_issue_797` | ✅ Bug #797 fixed; permanent regression guard | | `features/tdd_exec_env_resolution_precedence.feature` | Removed duplicate `@tdd_bug @tdd_bug_1080`; kept existing `@tdd_issue @tdd_issue_1080 @mock_only` | ✅ `@tdd_expected_fail` on scenario preserved (bug #1080 still unfixed) | | `features/tdd_use_action_automation_profile.feature` | `@tdd_bug @tdd_bug_1076` → `@tdd_issue @tdd_issue_1076` | ✅ Bug #1076 fixed; no `@tdd_expected_fail` needed | ### Standard Criteria ✅ **Commit Message**: Follows Conventional Changelog format (`fix(tdd): ...`), includes detailed body and `ISSUES CLOSED: #2779` footer ✅ **Atomic Commit**: Single commit with all related changes ✅ **PR Description**: Detailed summary with change table, verification steps, and `Closes #2779` ✅ **Labels**: Has `Type/Bug` label ✅ **Specification Alignment**: Changes align with CONTRIBUTING.md § TDD Issue Test Tags three-tag system ✅ **No Forbidden Patterns**: No `# type: ignore`, no code changes, tags-only fix ### Deep Dive: Test Coverage Quality - **Tag validation now works correctly**: The `validate_tdd_tags()` function in `features/environment.py` only recognizes `@tdd_issue`, `@tdd_issue_<N>`, and `@tdd_expected_fail`. The old `@tdd_bug` tags were invisible to this validation system, meaning tag rule enforcement was silently bypassed for these files. After this fix, all three files are properly recognized and validated. - **No test logic changes**: Only metadata tags are modified — scenario definitions, step definitions, and assertions are untouched. Test coverage is unaffected. - **CI verification**: PR reports 14,426 scenarios passed with all nox quality gates green. ### Deep Dive: Test Scenario Completeness - **`tdd_exec_env_resolution_precedence.feature`**: Correctly preserves the `@tdd_expected_fail` tag on the bug-capturing scenario (bug #1080 is still unfixed). The `@mock_only` tag is also preserved. Only the redundant `@tdd_bug` tags were removed — this is the correct surgical change. - **`tdd_use_action_automation_profile.feature`**: The feature narrative mentions `@tdd_expected_fail` in descriptive text, but no scenarios actually carry the tag. This is consistent with the PR's claim that bug #1076 is already fixed — the scenarios run as normal regression guards. - **`tdd_actor_list_no_db_update.feature`**: Two scenarios serve as permanent regression guards for bug #797. No `@tdd_expected_fail` needed since the bug is fixed. ### Deep Dive: Test Maintainability - ✅ **Standardization**: All TDD test files now use the documented tag convention, making `@tdd_issue` a reliable filter for all TDD tests across the codebase. - ✅ **Discoverability**: `grep -r "@tdd_issue" features/` will now correctly find all TDD regression tests. - ✅ **Validation enforcement**: `validate_tdd_tags()` can now properly enforce tag rules (e.g., `@tdd_issue_<N>` requires `@tdd_issue`) on these files. ### Minor Note (Non-blocking) ⚠️ **Milestone mismatch**: The linked issue #2779 is assigned to milestone `v3.2.0`, but this PR is assigned to milestone `v3.7.0`. Per CONTRIBUTING.md, PRs must be assigned to the same milestone as their linked issue. This should be corrected but does not block the code change itself. **Decision: APPROVED** ✅ --- **Automated by CleverAgents Bot** Supervisor: PR Review | Agent: ca-pr-self-reviewer
freemo modified the milestone from v3.7.0 to v3.2.0 2026-04-05 17:53:07 +00:00
Author
Owner

PR Status Update

This PR is ready for review. The following items have been addressed:

Completed Actions

  • Milestone corrected: Updated from v3.7.0v3.2.0 to match linked issue #2779 (as flagged in the self-review)
  • PR body restored: Full description with change table and verification steps is in place
  • Review requests sent: @CoreRasurae and @khird have been requested as reviewers

📊 Current CI Status

All 12 substantive checks are passing:

  • lint | typecheck | unit_tests | coverage
  • integration_tests | e2e_tests | build | docker
  • helm | quality | security | status-check
  • benchmark-regression (non-blocking, still running)
  • benchmark-publish (non-blocking, still running)

🔍 What This PR Does

Replaces non-standard @tdd_bug / @tdd_bug_<N> tags with the CONTRIBUTING.md-specified @tdd_issue / @tdd_issue_<N> tags across 3 feature files. No logic changes — tags only.

Awaiting

2 approving reviews required per CONTRIBUTING.md before merge.


Automated by CleverAgents Bot
Supervisor: Implementation | Agent: ca-issue-worker

## PR Status Update This PR is ready for review. The following items have been addressed: ### ✅ Completed Actions - **Milestone corrected**: Updated from `v3.7.0` → `v3.2.0` to match linked issue #2779 (as flagged in the self-review) - **PR body restored**: Full description with change table and verification steps is in place - **Review requests sent**: @CoreRasurae and @khird have been requested as reviewers ### 📊 Current CI Status All 12 substantive checks are passing: - lint ✅ | typecheck ✅ | unit_tests ✅ | coverage ✅ - integration_tests ✅ | e2e_tests ✅ | build ✅ | docker ✅ - helm ✅ | quality ✅ | security ✅ | status-check ✅ - benchmark-regression ⏳ (non-blocking, still running) - benchmark-publish ⏳ (non-blocking, still running) ### 🔍 What This PR Does Replaces non-standard `@tdd_bug` / `@tdd_bug_<N>` tags with the CONTRIBUTING.md-specified `@tdd_issue` / `@tdd_issue_<N>` tags across 3 feature files. No logic changes — tags only. ### ⏳ Awaiting 2 approving reviews required per CONTRIBUTING.md before merge. --- **Automated by CleverAgents Bot** Supervisor: Implementation | Agent: ca-issue-worker
freemo left a comment

Independent Review — ca-pr-self-reviewer (APPROVED)

⚠️ Posted as COMMENT because Forgejo prevents self-approval. This review recommends APPROVED status for external reviewers.

Reviewed PR #3292 with focus on test-coverage-quality, test-scenario-completeness, and test-maintainability.

This PR performs a targeted audit and fix of non-standard @tdd_bug / @tdd_bug_<N> tags, replacing them with the CONTRIBUTING.md-specified @tdd_issue / @tdd_issue_<N> tags across three feature files. The change is tags-only — no test logic, step definitions, or assertions are modified.


Standard Criteria

Commit Message: Follows Conventional Changelog format (fix(tdd): replace non-standard @tdd_bug tags with @tdd_issue per CONTRIBUTING.md). Detailed body explains each file change. Footer has ISSUES CLOSED: #2779.
Atomic Commit: Single commit containing all related changes — no fix-up commits.
PR Description: Detailed summary with change table, verification steps, and Closes #2779.
Labels: Has Type/Bug label.
Milestone: v3.2.0 — matches linked issue #2779.
Specification Alignment: Changes align with CONTRIBUTING.md § TDD Issue Test Tags three-tag system (@tdd_issue, @tdd_issue_<N>, @tdd_expected_fail).
No Forbidden Patterns: No # type: ignore, no code changes.
CI: All quality gates reported passing (lint, typecheck, unit_tests, coverage, integration_tests, etc.).

Changes Verified (master → branch)

File Master Tags Branch Tags Correct?
features/tdd_actor_list_no_db_update.feature @tdd_bug @tdd_bug_797 @tdd_issue @tdd_issue_797 Bug #797 fixed; permanent regression guard
features/tdd_exec_env_resolution_precedence.feature @tdd_issue @tdd_issue_1080 @tdd_bug @tdd_bug_1080 @mock_only @tdd_issue @tdd_issue_1080 @mock_only Removed duplicate @tdd_bug tags; @tdd_expected_fail on scenario preserved
features/tdd_use_action_automation_profile.feature @tdd_bug @tdd_bug_1076 @tdd_issue @tdd_issue_1076 Bug #1076 fixed; no @tdd_expected_fail needed

Deep Dive: Test Coverage Quality

  • Tag validation now functional for these files: The validate_tdd_tags() function in features/environment.py (lines 75–115) only recognizes tdd_issue, tdd_issue_<N> (via _TDD_ISSUE_N_RE), and tdd_expected_fail. The old @tdd_bug tags were completely invisible to this validation system — these files were silently bypassing all TDD tag rule enforcement. After this fix, all three files are properly recognized and validated by the framework.
  • No test logic changes: Scenario definitions, step implementations, and assertions are untouched. Test coverage numbers are unaffected.
  • CI verification: 14,426 scenarios passed, 0 failed. All nox quality gates green.

Deep Dive: Test Scenario Completeness

  • tdd_actor_list_no_db_update.feature (2 scenarios): Permanent regression guards for bug #797 — verifies actor list doesn't call upsert_actor() or set_default_actor(). Bug is fixed; scenarios run as normal passing tests. No @tdd_expected_fail needed.
  • tdd_exec_env_resolution_precedence.feature (3 scenarios): One bug-capturing scenario with @tdd_expected_fail (bug #1080 still unfixed), plus two regression guard scenarios. The @mock_only tag is preserved. Only the redundant @tdd_bug tags were removed — correct surgical change.
  • tdd_use_action_automation_profile.feature (5 scenarios): Comprehensive coverage of automation profile propagation (action-level, project-scoped, global default, error fallback, plan-level override). No scenarios carry @tdd_expected_fail, consistent with the claim that bug #1076 is fixed.

Deep Dive: Test Maintainability

  • Standardization: All TDD test files now use the documented tag convention, making @tdd_issue a reliable filter for all TDD tests across the codebase.
  • Discoverability: grep -r "@tdd_issue" features/ will now correctly find all TDD regression tests — no more invisible @tdd_bug variants.
  • Validation enforcement: validate_tdd_tags() can now properly enforce tag rules (e.g., @tdd_issue_<N> requires @tdd_issue) on these files, catching future tag misconfigurations.
  • Filtering reliability: Behave tag expressions like @tdd_issue will now correctly include these files when running targeted TDD test suites.

Minor Observations (Non-blocking)

  1. Stale feature description in tdd_use_action_automation_profile.feature: The feature narrative still says "These tests assert the expected behavior and will FAIL until the bug is fixed. The @tdd_expected_fail tag inverts the result so CI passes." — but no scenarios carry @tdd_expected_fail and the bug is reportedly fixed. This stale text is pre-existing (present on master before this PR) and outside the scope of this tag-compliance fix, but could be cleaned up in a future housekeeping pass.

Decision: APPROVED


Automated by CleverAgents Bot
Supervisor: PR Review | Agent: ca-pr-self-reviewer

## Independent Review — ca-pr-self-reviewer (APPROVED) > ⚠️ Posted as COMMENT because Forgejo prevents self-approval. This review recommends **APPROVED** status for external reviewers. Reviewed PR #3292 with focus on **test-coverage-quality**, **test-scenario-completeness**, and **test-maintainability**. This PR performs a targeted audit and fix of non-standard `@tdd_bug` / `@tdd_bug_<N>` tags, replacing them with the CONTRIBUTING.md-specified `@tdd_issue` / `@tdd_issue_<N>` tags across three feature files. The change is tags-only — no test logic, step definitions, or assertions are modified. --- ### Standard Criteria ✅ **Commit Message**: Follows Conventional Changelog format (`fix(tdd): replace non-standard @tdd_bug tags with @tdd_issue per CONTRIBUTING.md`). Detailed body explains each file change. Footer has `ISSUES CLOSED: #2779`. ✅ **Atomic Commit**: Single commit containing all related changes — no fix-up commits. ✅ **PR Description**: Detailed summary with change table, verification steps, and `Closes #2779`. ✅ **Labels**: Has `Type/Bug` label. ✅ **Milestone**: `v3.2.0` — matches linked issue #2779. ✅ **Specification Alignment**: Changes align with CONTRIBUTING.md § TDD Issue Test Tags three-tag system (`@tdd_issue`, `@tdd_issue_<N>`, `@tdd_expected_fail`). ✅ **No Forbidden Patterns**: No `# type: ignore`, no code changes. ✅ **CI**: All quality gates reported passing (lint, typecheck, unit_tests, coverage, integration_tests, etc.). ### Changes Verified (master → branch) | File | Master Tags | Branch Tags | Correct? | |------|-------------|-------------|----------| | `features/tdd_actor_list_no_db_update.feature` | `@tdd_bug @tdd_bug_797` | `@tdd_issue @tdd_issue_797` | ✅ Bug #797 fixed; permanent regression guard | | `features/tdd_exec_env_resolution_precedence.feature` | `@tdd_issue @tdd_issue_1080 @tdd_bug @tdd_bug_1080 @mock_only` | `@tdd_issue @tdd_issue_1080 @mock_only` | ✅ Removed duplicate `@tdd_bug` tags; `@tdd_expected_fail` on scenario preserved | | `features/tdd_use_action_automation_profile.feature` | `@tdd_bug @tdd_bug_1076` | `@tdd_issue @tdd_issue_1076` | ✅ Bug #1076 fixed; no `@tdd_expected_fail` needed | --- ### Deep Dive: Test Coverage Quality - **Tag validation now functional for these files**: The `validate_tdd_tags()` function in `features/environment.py` (lines 75–115) only recognizes `tdd_issue`, `tdd_issue_<N>` (via `_TDD_ISSUE_N_RE`), and `tdd_expected_fail`. The old `@tdd_bug` tags were completely invisible to this validation system — these files were silently bypassing all TDD tag rule enforcement. After this fix, all three files are properly recognized and validated by the framework. - **No test logic changes**: Scenario definitions, step implementations, and assertions are untouched. Test coverage numbers are unaffected. - **CI verification**: 14,426 scenarios passed, 0 failed. All nox quality gates green. ### Deep Dive: Test Scenario Completeness - **`tdd_actor_list_no_db_update.feature`** (2 scenarios): Permanent regression guards for bug #797 — verifies `actor list` doesn't call `upsert_actor()` or `set_default_actor()`. Bug is fixed; scenarios run as normal passing tests. No `@tdd_expected_fail` needed. ✅ - **`tdd_exec_env_resolution_precedence.feature`** (3 scenarios): One bug-capturing scenario with `@tdd_expected_fail` (bug #1080 still unfixed), plus two regression guard scenarios. The `@mock_only` tag is preserved. Only the redundant `@tdd_bug` tags were removed — correct surgical change. ✅ - **`tdd_use_action_automation_profile.feature`** (5 scenarios): Comprehensive coverage of automation profile propagation (action-level, project-scoped, global default, error fallback, plan-level override). No scenarios carry `@tdd_expected_fail`, consistent with the claim that bug #1076 is fixed. ✅ ### Deep Dive: Test Maintainability - ✅ **Standardization**: All TDD test files now use the documented tag convention, making `@tdd_issue` a reliable filter for all TDD tests across the codebase. - ✅ **Discoverability**: `grep -r "@tdd_issue" features/` will now correctly find all TDD regression tests — no more invisible `@tdd_bug` variants. - ✅ **Validation enforcement**: `validate_tdd_tags()` can now properly enforce tag rules (e.g., `@tdd_issue_<N>` requires `@tdd_issue`) on these files, catching future tag misconfigurations. - ✅ **Filtering reliability**: Behave tag expressions like `@tdd_issue` will now correctly include these files when running targeted TDD test suites. ### Minor Observations (Non-blocking) 1. **Stale feature description in `tdd_use_action_automation_profile.feature`**: The feature narrative still says _"These tests assert the expected behavior and will FAIL until the bug is fixed. The @tdd_expected_fail tag inverts the result so CI passes."_ — but no scenarios carry `@tdd_expected_fail` and the bug is reportedly fixed. This stale text is **pre-existing** (present on master before this PR) and outside the scope of this tag-compliance fix, but could be cleaned up in a future housekeeping pass. **Decision: APPROVED** ✅ --- **Automated by CleverAgents Bot** Supervisor: PR Review | Agent: ca-pr-self-reviewer
freemo merged commit 3d7f213527 into master 2026-04-05 21:12:15 +00:00
freemo removed this from the v3.2.0 milestone 2026-04-06 20:50:49 +00:00
Sign in to join this conversation.
No reviewers
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!3292
No description provided.