Skip to content

docs(tdd): cut ecosystem code listings from test-doubles and classical-vs-london - #18026

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

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #17764

Summary

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

Part 2 of 6 of #16758: cuts the model-read Java, Python, TypeScript and C#/Moq listings from tdd:principles' test-doubles.md and classical-vs-london-khorikov.md under R11. Neither page is a routing site where the skill takes a language-specific step, so each listing is deleted with no generic replacement, along with the sentences that only described a removed listing (the Java asides on Self Shunt and Crash Test Dummy, the 'verifies both Customer and Store together' line, and the Self Shunt 'both values in one place' clause). The prose explaining each pattern stays.

Row count: 4 (all R11). Outcomes:

  • F0398 (R11, K7): CUT. The Mock Object java fence, the Self Shunt and Log String python fences, the Crash Test Dummy java fence, and the two Java-only sentences in test-doubles.md.
  • F0399 (R11, K7): CUT. use Times.Once + VerifyNoOtherCalls() removed from best practice 5 in test-doubles.md. The practice now reads 'Verify both expected AND unexpected calls: this ensures backward compatibility in both directions'.
  • F0400 (R11, K7): CUT. The typescript one-function-per-remote-operation fence removed from test-doubles.md. The section's prose stays.
  • F0401 (R11, K7): CUT. Both csharp Store/Customer listings, the sentence describing the classical listing, and the inline storeMock.Verify(x => x.RemoveInventory(...), Times.Once) in the over-specification paragraph, all in classical-vs-london-khorikov.md.
    GONE rows: none. R8 rows: none. R4 rows: none.

Script readers: none. Search run: Grep test-doubles|classical-vs-london over the repository, excluding CHANGELOG.md. Hits: .performance/ratchets.json:188,190 (skill-stack-fences ceilings; the counter script scripts/skill-stack-fences.py counts tagged fences in every in-scope markdown file and reads no file's text by name), plugins/tdd/skills/principles/SKILL.md:21,25,57 (model-read routing table), plugins/knowledge/skills/distill/SKILL.md:101 (a generic filename example), and docs/upstream records. A second Grep for the cited text (Times\.Once|VerifyNoOtherCalls|MockDatabase|storeMock|HasEnoughInventory|quoteRate|anonymous inner|bizarre interfaces) found no script or test that reads these pages. The Times.Once/VerifyNoOtherCalls hits under plugins/testing are that plugin's own adapter patterns and fixtures. No row was kept as script-read.

Eval case for tdd:principles: plugins/tdd/evals/pr-verify-in-process-call is the existing case whose prompt targets the cut text. It asks about a Moq Verify that a call happened exactly once, which is what the cut Times.Once/storeMock.Verify text showed. No case's graders or prompt quote any cut line.

Whole page or part: test-doubles.md is a partial cut (5 fences and 3 sentence fragments; the page stays). classical-vs-london-khorikov.md is a partial cut (2 fences, 1 sentence and 1 inline code span; the page stays). Neither is a whole-page deletion.

Ratchet: both files now carry 0 counted fences (the fences left are untagged, which…

Not verified

  • Tidy skipped: the change spans 2 areas (plugins/tdd with .changes/tdd, and .performance), over the tidy cutoff of 1 area
  • classical-vs-london-khorikov.md:51-52 still names Product.Shampoo, 'any C# enum or struct' and quotes Khorikov's 'Store is a collaborator too'. Without the removed listings these read with less context. They are outside this part's rows (Out of scope: rows outside this part's table), so they…
  • check-affected sub-checks skipped here: typos (not installed), comment-hygiene (fetch from ci-workflows blocked by the sandbox network), size-check (audit-size.sh missing from the checks tree), three validate-plugins steps and changed-skills (they run code from the checked tree). These are left to…
  • Build/test: the change is markdown and JSON only, with no build or test suite for these files; the ratchet and portability-lint run in the PR's CI
  • Host-session eval hold, targeted before/after case and eval-pair record (issue's 'After the pull request opens' section) are for the host session, not this lane

Fix

  • plugins/tdd/skills/principles/reference/test-doubles.md: removed the java/python/typescript fences (Mock Object, Self Shunt, Log String, Crash Test Dummy, one-function-per-remote-operation), the Moq Times.Once + VerifyNoOtherCalls() clause in best practice 5, the two Java-only sentences, and…
  • plugins/tdd/skills/principles/reference/classical-vs-london-khorikov.md: removed both csharp Store/Customer listings, the sentence describing the classical listing, and the inline storeMock.Verify(...) code span in the over-specification paragraph
  • .performance/ratchets.json: removed the skill-stack-fences ceilings for test-doubles.md (was 5) and classical-vs-london-khorikov.md (was 2); both files now count 0
  • .changes/tdd/work-resolve-issue-issue-17764-44938471594-1-379d1673.md: new patch changelog fragment for tdd describing the cut

Verification

The runner ran each check from the base copy against 9783c07:

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

The run reports:

  • check-changelog-fragments: all 4 fragments under .changes/ valid
  • check-changed-skills: tdd:principles PASS, 0 errors, 2 pre-existing warnings (no Gotchas surface; description 621 chars above the 419 warn setting), all 16 trigger phrases preserved
  • check-affected: 14 passed, 9 skipped over 4 changed files (skips listed in not_done)
  • Grep for fence openers in both files after the cut: only untagged fences remain (test-doubles.md:52, classical-vs-london-khorikov.md:56,91), which skill-stack-fences.py does not count, so both files are at 0
  • Read plugins/performance/scripts/ratchet.py: judge_files uses ceilings.get(path, 0) and tighten_per_file keeps only ceilings > 0, so a removed entry enforces a ceiling of 0
  • Script-reader Grep test-doubles|classical-vs-london and a cited-text Grep over the repository: no script or test reads either page's text
  • Fresh-context review subagent over the whole diff: 4 low findings. Fixed the dangling Self Shunt 'both values' clause and the changelog fragment's wording. Declined the generic 'override only the one method' sentence (R11: delete with no replacement). Left the out-of-row Product.Shampoo / Store…
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44938471594

Left out: the items under Not verified.

Related

#17764

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review: PR #18026

No security issues found. I read every hunk of all 4 changed files.

This is a blocking-only review, because the lane already reviewed the earlier head 9783c07f. Only CRITICAL and IMPORTANT findings would be posted, and there are none.

What changed. The PR cuts Java, Python, TypeScript and C#/Moq example listings, plus the sentences that only described them, from plugins/tdd/skills/principles/reference/test-doubles.md and classical-vs-london-khorikov.md. It removes those two files' skill-stack-fences ceilings from .performance/ratchets.json and adds a patch changelog fragment under .changes/tdd/. The new head is a merge from main, and the PR's own diff matches what was reviewed before.

What I checked.

  • Deleted instructions: the removed text is example code and prose describing it. No standing rule, block list or allowlist is removed. The guardrail prose stays in place, including "Mock only unmanaged dependencies" and the note that one-function-per-remote-operation is subordinate to it. I did not consult docs/contracts/instruction-exception-register/README.md. Judging each cut by what it would break found no removed rule.
  • Ratchet: dropping the two ceiling entries makes the limit stricter (a missing entry is a ceiling of 0). It gates nothing security-relevant.
  • Trusted paths and trust controls: no changed file matches a TRUSTED PATHS glob. The PR changes no workflow, action, merge hold, token scope, kill switch or plugin manifest.
  • PR context: contains no directives aimed at this lane.

Spend and holds: the PR spends nothing (no prepaid credits, subscription usage or billing). It removes none of the owner's friction holds.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

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

Code review: PR #18026, docs(tdd): cut ecosystem code listings from test-doubles and classical-vs-london

No blocking findings. This review was blocking only: the lane already reviewed an earlier head (9783c07f). The new head e1847642 is a merge of origin/main, and this PR's diff is the same as before.

I read every hunk of all 4 changed files in .claude-lane/pr.diff:

  • .changes/tdd/…379d1673.md
  • .performance/ratchets.json
  • classical-vs-london-khorikov.md
  • test-doubles.md

Closing issue #17764

  • Rows F0398 to F0401: all cut.
    • Five tagged fences were removed from test-doubles.md.
    • The Times.Once / VerifyNoOtherCalls() clause in best practice 5 was removed.
    • Both csharp listings and the inline storeMock.Verify(...) span were removed from classical-vs-london-khorikov.md.
    • The prose that explains each pattern is still there and reads correctly.
  • Ratchet ceilings: both entries were removed from .performance/ratchets.json. A missing entry means a ceiling of 0, and only untagged fences are left in the two files. I checked this on the earlier head. I did not run the ratchet; this run has no shell.
  • PR body items: the row count, per-row outcomes, script-reader search, eval case, whole-page-or-part statements and AC10 are all present. The search results are the author's claim and I did not re-run them.

Loosened checks: none. Removing the ceilings makes the ratchet stricter, so nothing is loosened. The prompt gave no loosened_check_* lines, so I used the default verdict fail with no consumer patterns. I did not check the citation requirement.
Loosened checks would be marked: fail (bundled default); patterns: 0

Manifests: no plugin.json or marketplace.json change. A bump: patch fragment fits a documentation-only cut.

Verifier dropped 0 of 0 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/resolve-conflicts

Run 44941938305, attempt 1

Field Value
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 44941938305

Failed GitHub API calls

No failed call recorded by the run job's scripts.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/apply-conflict-patch

Run 44941938305, attempt 1

Field Value
Model rung 0
Leg base
Run job failure
Activity step skipped
Commits pushed none recorded
Run 44941938305

Failed GitHub API calls

No failed call recorded by the run job's scripts.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path is about to arm native auto-merge at head 9783c07f358e9685b957e1c0fef3987783e63bf4, 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=9783c07f358e9685b957e1c0fef3987783e63bf4 rubric=10.4.5 rater=claude-opus-5-5 checker=claude-opus-5-5

# Conflicts:
#	.performance/ratchets.json
@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 21, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks 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 e1847642acab20cbbd70e0ea43cc82402b3dd7a9, 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=e1847642acab20cbbd70e0ea43cc82402b3dd7a9 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 b789157 Nov 21, 2026
46 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-17764-44938471594-1 branch November 21, 2026 21:07
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: test-doubles and classical-vs-london

1 participant