Skip to content

fix(tdd): cut ecosystem specifics from principles SKILL.md and test-design - #17933

Merged
melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-17763-44901848006-1
Nov 21, 2026
Merged

melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-17763-44901848006-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #17763

Summary

Opened by the work-resolve-issue lane. The run's own summary:

Cuts this part's 6 rows (R11 5, R4 1) from tdd:principles per ADR 0101 and its 2026-11-16 amendment: the DateTime.Now routing keyword, the tool-doc names in the web-sourced source list, the 10 java/csharp fences in test-design.md, the xUnit.net [Theory]/[InlineData]/[MemberData]/[Fact] guidance and the Fluent Assertions library pick. Row outcomes: F0391 (R11, SKILL.md routing keyword DateTime.Now): CUT, the anti-patterns row keeps time and routes to a language-neutral page, so it takes no language-specific step and gets no generic replacement. F0392 (R11, SKILL.md Hypothesis, fast-check, ApprovalTests, Verify, Jest docs as sources): CUT, the list's preamble already says the files were built from tool docs, and each reference file keeps its own source list. F0394 (R11, test-design.md Beck sections' java fences, 4 fences): CUT. F0395 (R11, naming and Object Mother section, C#-flavored, 2 csharp fences plus the 'in C#' clause): CUT. F0396 (R11, xUnit.net parameterized-test section, 3 csharp fences, the attribute API names and the [MemberData] paragraph): CUT. F0397 (R4, Fluent Assertions recommendation and 'justify the additional package'): CUT, so no library recommendation survives; the section is renamed 'Readable Assertions' and keeps only the subject-action-object principle. No row was GONE on main. Where a deleted listing was the only place a language-neutral rule appeared (evident expected values, failing an exception test that returns normally, Khorikov's naming refinements, Object Mother's optional-parameter rationale), the rule is stated in prose, the same way the tdd 0.6.3 cut handled it. The local review flagged these as principle losses, and the issue's eval gate is no-loss. Per changed file: plugins/tdd/skills/principles/SKILL.md is a partial cut; plugins/tdd/skills/principles/reference/test-design.md is a partial cut (no whole-page deletion). Script readers: the search was Grep test-design|tdd/skills/principles over the whole repository, excluding the tdd reference pages. Hits: .performance/ratchets.json:189 (the skill-stack-fences ceiling this PR lowers), plugins/tdd/probes/principles.json:4 (skill_dir only; probes exercise the frontmatter description, which is unchanged), scripts/evals-warrant-exemptions.txt:21 (skill dir), docs/skill-cheat-sheet.md:180 (summary line), .claude-plugin/marketplace.json and plugins/tdd/.claude-plugin/plugin.json (keyword test-design, not the file), plus prose mentions in docs/upstream and other plugins' skills. No script reads either file's cut text: scripts/skill-stack-fences.py reads every skill .md generically to count fences, and that count is the ratchet this PR lowers. So no row is held back, and the Script readers list is empty. Eval case for tdd:principles: none reads the cut text. A case-insensitive Grep of plugins/tdd/evals for test-design, Fluent, InlineData, Theory, parameteri, DateTime, Object Mother, Hypothesis, fast-check, ApprovalTests, Jest, naming and exception found…

Not verified

  • tidy: not run because the change spans 2 areas (plugins/tdd with .changes/tdd, and .performance), over the 1-area tidy cutoff
  • verify (build and tests): markdown and JSON only, with no build or test target for these files here; the PR's CI runs the suites, the skill-stack-fences ratchet and portability-lint
  • check-affected skipped comment-hygiene (its fetch of a ci-workflows action was denied network), size-check (script missing from the lane checks tree), typos (not installed) and three validate-plugins sub-checks that run code from the checked tree; all are left to the PR's CI
  • Changes were left uncommitted in the working tree, as the lane's system prompt directs; the runner turns them into the patch
  • Follow-up outside this part's rows, from the review: test-design.md's Beck xUnit Patterns section still has JUnit-flavored inline code and tool names (assertEquals/assertTrue, TestCase subclass, testAssertPosInfinityNotEqualsNegInfinity, JProbe, Jester). These are inline code, not fences, and are…
  • Host-session eval hold (do-not-merge, targeted sonnet before/after case, eval-pair record) is the host session's step, not this lane's

Fix

  • plugins/tdd/skills/principles/SKILL.md: dropped the DateTime.Now routing keyword (F0391), and dropped the Hypothesis, fast-check, ApprovalTests, Verify and Jest doc names from the web-sourced reference list (F0392)
  • plugins/tdd/skills/principles/reference/test-design.md: removed 4 java and 6 csharp fences (F0394, F0395, F0396), the 'in C#' Object Mother clause, the xUnit.net attribute guidance and the [MemberData] paragraph (F0396), and the Fluent Assertions recommendation, trade-off and BeEquivalentTo…
  • .performance/ratchets.json: removed the skill-stack-fences ceiling for test-design.md (10 -> 0 fences left; the ratchet stores a 0 ceiling as an absent entry)
  • .changes/tdd/work-resolve-issue-issue-17763-44901848006-1-b844596e.md: new patch changelog fragment for tdd describing the cut

Verification

The runner ran each check from the base copy against c578d55:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • check-changelog-fragments: all 2 fragments valid (the first run failed for a missing ### section, which is now fixed)
  • check-changed-skills: CHECK-SKILL principles PASS, 0 errors, 2 warnings, both pre-existing (description length 621 > 419 warn, no Gotchas surface); all 16 base-ref trigger phrases preserved
  • check-affected: 14 passed, 9 skipped over 4 changed files
  • Grep for ``` | csharp | java | xUnit.net | Fluent | DateTime | [Theory] | InlineData in SKILL.md and test-design.md after the cut: no matches, so test-design.md has 0 counted fences
  • Grep test-design|tdd/skills/principles across the repo (script-reader search): no script reads the cut text; hits listed in summary
  • Grep of plugins/tdd/evals for the cut terms: no eval case reads the cut text
  • Fresh-context review subagent over the whole diff: no blocking defects; 4 findings about language-neutral rules that only the deleted listings carried, all 4 fixed in prose; ratchet JSON confirmed valid, with 4 java + 6 csharp = 10 fences matching the old ceiling
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44901848006

Left out: the items under Not verified.

Related

#17763

Lane-Activity: work-resolve-issue/resolve-issue
@melodic-automation-lanes melodic-automation-lanes Bot added the do-not-merge Hard merge gate: do not merge while applied. label Nov 21, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Held for the before-and-after eval that cut item #17763 needs. The pr-merge release step lifts this hold when an eval-pair record exists for the current head.

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed ed56728c8a06adc1829fbbf7f8acd34635bca4fb: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Security review (incremental, blocking only): no security issues found

This review covers only what changed since c578d552. The only file in scope is plugins/tdd/skills/principles/reference/test-design.md, and I read both of its hunks.

  • Evident Data: the sentence now states the inputs behind the example calculation: an amount of 100, a rate of 2 and a commission of 0.015.
  • Positive/negative split pattern: one sentence was added, saying a combined test passes the expected result in as a Boolean parameter.

Both edits add testing guidance in prose. Neither deletes, narrows or softens a rule that guards a destructive, credential, publishing or trust action. Neither tells the model to run a command, fetch a URL or use more tools. The file matches no trusted-path glob, and the push changed no manifest, workflow, action, hook or trust control.

This is a blocking-only review, because this lane already reviewed an earlier head. The earlier review had no findings to carry forward, and no settled threads apply to this change. The PR context file has no embedded text aimed at the review lane.

critical-findings: 0

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on c578d552eec581362adcd0ec0f2363f2def49c6c; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed ed56728c8a06adc1829fbbf7f8acd34635bca4fb: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #17933, incremental review (c578d55..ed56728)

Blocking only. This lane already reviewed an earlier head, so this pass reports only blocking findings. Nothing blocks the merge.

Scope. One file changed since the last review: plugins/tdd/skills/principles/reference/test-design.md. I read every hunk of it in the incremental diff.

What changed. This push fixes this lane's earlier advisory finding on lines 40 and 180, and the owner resolved that thread:

  • Line 40: the Evident Data example now says what 100, 2 and 0.015 are ("converting an amount of 100 at a rate of 2 with a 0.015 commission"). The expected-value calculation can now be traced back to its inputs.
  • Line 178: the split-pattern paragraph now says "A combined test passes the expected result in as a Boolean parameter". That gives the next paragraph's "expected Boolean parameter" (line 180) something to refer to.

Both edits are prose. They add no code fences, so the skill-stack-fences ratchet, which treats a missing entry as a ceiling of 0, still passes. Leaving out a currency word follows the owner's stated reason (scripts/check-cost-figures.sh would read one as a price). The checks in the PR body are claims from the author's run. I did not run them.

Closing issue #17763. The Done-when check from the earlier review still stands, and this push affects none of its items.

Loosened checks: none found. Loosened checks would be marked: fail (the default; the prompt had no loosened_check_verdict: or loosened_check_patterns: line); patterns: 0. The prompt had no loosened_check_decision_record: line, so I did not check the citation requirement.

Embedded text: none found in the PR context, settled threads or prior findings.

Verifier dropped 0 of 0 candidates.

…inputs

Review thread PRRT_kwDOTCGFQM66WMLk: with the listings cut, the
`100 / 2 x (1 - 0.015)` example named no inputs, and "the `expected`
Boolean parameter" had no antecedent. The example now says what 100, 2 and
0.015 are, and the split-pattern paragraph says a combined test passes
the expected result as a Boolean parameter.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton kyle-sexton removed the do-not-merge Hard merge gate: do not merge while applied. label Nov 21, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path is about to arm native auto-merge at head ed56728c8a06adc1829fbbf7f8acd34635bca4fb, the head its arming checks judged. The arm fails if the head moves first.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=MEDIUM demote=false head=ed56728c8a06adc1829fbbf7f8acd34635bca4fb rubric=10.4.5 rater=claude-opus-5-5 checker=claude-opus-5-5

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit 6f0add2 Nov 21, 2026
71 of 72 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-17763-44901848006-1 branch November 21, 2026 19:35
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit 6f0add2f80598fe636a3050bec72257aed509ac1; later checks count it verified from this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cut the model-read ecosystem specifics from tdd: principles SKILL.md and test-design

1 participant