fix(tdd): replace non-standard @tdd_bug tags with @tdd_issue per CONTRIBUTING.md #3292
No reviewers
Labels
No labels
auto/needs-reevaluation
controller-managed
auto/blocked-by-deps
auto/ci-timeout
auto/claimed-implementer
auto/claimed-merge
auto/claimed-reviewer
auto/driver-down
auto/invariant-violation
auto/last-attempt-tier-0
auto/last-attempt-tier-1
auto/last-attempt-tier-2
auto/last-attempt-tier-min
Automation Tracking
auto/needs-conflict-resolution
auto/needs-implementer
auto/postmortem
auto/ready-to-merge
auto/restart-throttled
auto/revert
auto/sentinel
auto/stale-inactivity
auto/unstable
Blocked
Bounty
$100
Bounty
$1000
Bounty
$10000
Bounty
$20
Bounty
$2000
Bounty
$250
Bounty
$50
Bounty
$500
Bounty
$5000
Bounty
$750
MoSCoW
Could have
MoSCoW
Must have
MoSCoW
Should have
Needs Feedback
Points
1
Points
13
Points
2
Points
21
Points
3
Points
34
Points
5
Points
55
Points
8
Points
88
Priority
Backlog
Priority
CI Blocker
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Signed-off: Owner
Signed-off: Scrum Master
Signed-off: Tech Lead
Spike
State
Completed
State
Duplicate
State
In Progress
State
In Review
State
Paused
State
Unverified
State
Verified
State
Wont Do
Type
Automation
Type
Bug
Type
Discussion
Type
Documentation
Type
Epic
Type
Feature
Type
Legendary
Type
Refactor
Type
Support
Type
Task
Type
Testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#2779 UAT: Pre-existing @tdd_bug tags in TDD feature files violate CONTRIBUTING.md TDD tag specification
cleveragents/cleveragents-core
Reference
cleveragents/cleveragents-core!3292
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/tdd-bug-tag-compliance-audit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Audits all feature files for non-compliant
@tdd_bugtag usage and replaces them with the CONTRIBUTING.md-specified@tdd_issue/@tdd_issue_<N>tags.Problem
Three feature files contained non-standard
@tdd_bugand@tdd_bug_<N>tags that violate the CONTRIBUTING.md TDD tag specification. The specification mandates the use of@tdd_issueand@tdd_issue_<N>as the permanent regression reference tags for TDD bug-capture tests.Changes
features/tdd_actor_list_no_db_update.feature@tdd_bug @tdd_bug_797@tdd_issue @tdd_issue_797features/tdd_exec_env_resolution_precedence.feature@tdd_issue @tdd_issue_1080 @tdd_bug @tdd_bug_1080 @mock_only@tdd_issue @tdd_issue_1080 @mock_onlyfeatures/tdd_use_action_automation_profile.feature@tdd_bug @tdd_bug_1076@tdd_issue @tdd_issue_1076Verification
@tdd_bugor@tdd_bug_<N>remain infeatures/validate_tdd_tags()infeatures/environment.pycorrectly recognises the updated tagsnox -s lint✅ — all checks passednox -s unit_tests✅ — 14426 scenarios passed, 0 failedNotes
tdd_actor_list_no_db_update.feature: Bug #797 is fixed; these are permanent regression guards. No@tdd_expected_failneeded.tdd_exec_env_resolution_precedence.feature: Already had correct@tdd_issuetags; only the duplicate@tdd_bugtags were removed. The@tdd_expected_failon the bug-capturing scenario is preserved.tdd_use_action_automation_profile.feature: Bug #1076 (use_action()not propagatingautomation_profile) is already fixed in the codebase. No@tdd_expected_failneeded.Closes #2779
Automated by CleverAgents Bot
Supervisor: Implementation | Agent: ca-issue-worker
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
features/tdd_actor_list_no_db_update.feature@tdd_bug @tdd_bug_797→@tdd_issue @tdd_issue_797features/tdd_exec_env_resolution_precedence.feature@tdd_bug @tdd_bug_1080; kept existing@tdd_issue @tdd_issue_1080 @mock_only@tdd_expected_failon scenario preserved (bug #1080 still unfixed)features/tdd_use_action_automation_profile.feature@tdd_bug @tdd_bug_1076→@tdd_issue @tdd_issue_1076@tdd_expected_failneededStandard Criteria
✅ Commit Message: Follows Conventional Changelog format (
fix(tdd): ...), includes detailed body andISSUES CLOSED: #2779footer✅ Atomic Commit: Single commit with all related changes
✅ PR Description: Detailed summary with change table, verification steps, and
Closes #2779✅ Labels: Has
Type/Buglabel✅ 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 fixDeep Dive: Test Coverage Quality
validate_tdd_tags()function infeatures/environment.pyonly recognizes@tdd_issue,@tdd_issue_<N>, and@tdd_expected_fail. The old@tdd_bugtags 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.Deep Dive: Test Scenario Completeness
tdd_exec_env_resolution_precedence.feature: Correctly preserves the@tdd_expected_failtag on the bug-capturing scenario (bug #1080 is still unfixed). The@mock_onlytag is also preserved. Only the redundant@tdd_bugtags were removed — this is the correct surgical change.tdd_use_action_automation_profile.feature: The feature narrative mentions@tdd_expected_failin 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_failneeded since the bug is fixed.Deep Dive: Test Maintainability
@tdd_issuea reliable filter for all TDD tests across the codebase.grep -r "@tdd_issue" features/will now correctly find all TDD regression tests.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 milestonev3.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
PR Status Update
This PR is ready for review. The following items have been addressed:
✅ Completed Actions
v3.7.0→v3.2.0to match linked issue #2779 (as flagged in the self-review)📊 Current CI Status
All 12 substantive checks are passing:
🔍 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
Independent Review — ca-pr-self-reviewer (APPROVED)
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 hasISSUES 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/Buglabel.✅ 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)
features/tdd_actor_list_no_db_update.feature@tdd_bug @tdd_bug_797@tdd_issue @tdd_issue_797features/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@tdd_bugtags;@tdd_expected_failon scenario preservedfeatures/tdd_use_action_automation_profile.feature@tdd_bug @tdd_bug_1076@tdd_issue @tdd_issue_1076@tdd_expected_failneededDeep Dive: Test Coverage Quality
validate_tdd_tags()function infeatures/environment.py(lines 75–115) only recognizestdd_issue,tdd_issue_<N>(via_TDD_ISSUE_N_RE), andtdd_expected_fail. The old@tdd_bugtags 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.Deep Dive: Test Scenario Completeness
tdd_actor_list_no_db_update.feature(2 scenarios): Permanent regression guards for bug #797 — verifiesactor listdoesn't callupsert_actor()orset_default_actor(). Bug is fixed; scenarios run as normal passing tests. No@tdd_expected_failneeded. ✅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_onlytag is preserved. Only the redundant@tdd_bugtags 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
@tdd_issuea reliable filter for all TDD tests across the codebase.grep -r "@tdd_issue" features/will now correctly find all TDD regression tests — no more invisible@tdd_bugvariants.validate_tdd_tags()can now properly enforce tag rules (e.g.,@tdd_issue_<N>requires@tdd_issue) on these files, catching future tag misconfigurations.@tdd_issuewill now correctly include these files when running targeted TDD test suites.Minor Observations (Non-blocking)
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_failand 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