Skip to content

docs(testing): cut restated upstream behavior from audit and run-e2e pointers - #17105

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-16833-44271883729-1
Nov 18, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-16833-44271883729-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #16833

Summary

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

Rewrote the four testing audit passages that restated Playwright, Vitest, Jest and tsd behavior as the scan's own rule with its reason, each with an anchored pointer to fetch live. Also cut the per-link summaries from run-e2e's evidence pointers. Kept rewritten: (1) the type-test exemption keeps the reason 'evaluated by the type checker, run by no runner' because the au-type-test-not-scanned eval expects it. (2) The forbidOnly note keeps 'any non-false expression passes' as the rule. (3) The Vitest/Jest note keeps 'the Action is the retry count' as the rule. Cut to a pointer: the test.describe.configure quote, and the run-e2e parentheticals. Upstream sections now carrying each behavior: type tests at https: //vitest.dev/guide/testing-types#testing-types and https: //github.com/tsdjs/tsd#overview; describe.configure retries at https: //playwright.dev/docs/test-retries#retries; forbidOnly form at https: //playwright.dev/docs/api/class-testconfig#test-config-forbid-only; no flaky guard at https: //vitest.dev/config/retry#retry and https: //jestjs.io/docs/jest-object#jestretrytimesnumretries-options; automated-scan limits at https: //playwright.dev/docs/accessibility-testing#introduction; same-environment baselines at https: //playwright.dev/docs/test-snapshots#introduction. No listed passage was skipped as already gone, and no pointer gained an as-of date or recheck trigger.

Not verified

  • tidy: not run, because the change touches scripts/ (a listed shared path) and spans 2 areas (plugins/testing, scripts), over the 1-area cutoff.
  • check-affected skipped typos (not installed) and comment-hygiene (its ci-workflows fetch was denied by the network sandbox); the PR's CI runs both, plus the CI-only link and eval checks.
  • Left unchanged by scope: the audit SKILL.md CLI-flags basis still cites the test-retries page's --retries=3 example inside a stamped stored-value record; the pytest/Vitest retry-paths bullet (outside the four listed passages); and the scanner's own Action strings in cant-fail-scan.sh that say 'no…
  • Evals not executed here: au-type-test-not-scanned and au-playwright-only-not-forbidden were read and their expected facts are still stated, but no eval run was made.
  • Left uncommitted in the working tree, per the lane's instruction; the runner turns it into the patch.

Fix

  • plugins/testing/skills/audit/SKILL.md: rewrote the type-test exemption, the test.describe.configure quote, the forbidOnly scaffold-idiom sentence and the Vitest/Jest no-guard bullet as the scan's own rules with reasons, plus anchored live-fetch pointers; dropped the upstream quote and paraphrases.
  • plugins/testing/skills/run-e2e/context/e2e.md: replaced the parenthetical page summaries in Evidence pointers with anchored links keyed to the step each backs; restated the existing recheck sentence as the trigger of step 4's rule, with no new trigger or date added.
  • scripts/docs-anchor-baseline.txt: lowered the e2e.md anchorless-link baseline from 4 to 2, since two of its links now carry section anchors (validate-plugins required it).
  • .changes/testing/work-resolve-issue-issue-16833-44271883729-1-a6269936.md: new patch fragment for the testing plugin.

Verification

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

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

The run reports:

  • read https: //vitest.dev/guide/testing-types: *.test-d.ts is the default type-test pattern, and Vitest statically analyzes those files rather than running them; the section anchor is #testing-types.
  • read https: //github.com/tsdjs/tsd: the Overview names the .test-d.ts extension and says those files are not executed.
  • read https: //playwright.dev/docs/test-retries: the #retries section covers test.describe.configure retries and the --retries CLI example.
  • read https: //playwright.dev/docs/api/class-testconfig: the forbidOnly anchor is #test-config-forbid-only, and its example uses !!process.env.CI.
  • read https: //vitest.dev/config/retry: no option fails a run on a retry-earned pass; the top anchor is #retry.
  • read https: //jestjs.io/docs/jest-object: the jest.retryTimes anchor is #jestretrytimesnumretries-options, and none of its options fails a run on a retry-earned pass.
  • read https: //playwright.dev/docs/accessibility-testing: the Introduction disclaimer says automated scans miss problems that need manual testing.
  • read https: //playwright.dev/docs/test-snapshots: the Introduction says rendering varies by host and that baselines should be generated in the same environment.
  • check-changelog-fragments: all 6 fragments valid.
  • check-changed-skills: audit and run-e2e PASS, 0 errors; the warnings are size and TOC warnings that already existed.
  • check-affected: first run failed validate-plugins on a stale docs-anchor-baseline row (e2e.md 4 -> 2); after the fix, 14 passed, 8 skipped, 0 failed.
  • fresh-context review subagent: no high findings. Fixed the two medium findings (the false claim about adapter type-test handling; the Vitest/Jest heading that still restated upstream and omitted that an expression also fires) and the low findings on the forbidOnly reason, wrapping, the e2e trigger…
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44271883729

Left out: the items under Not verified.

Related

#16833

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

Copy link
Copy Markdown
Contributor

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

Code review: PR #17105, docs(testing): cut restated upstream behavior from audit and run-e2e pointers

No findings. This PR changes only documentation. It touches four files: a changelog fragment, plugins/testing/skills/audit/SKILL.md, plugins/testing/skills/run-e2e/context/e2e.md and scripts/docs-anchor-baseline.txt. I read every hunk of all four.

Checked against the code:

  • Type-test exemption. The text says "no adapter's file globs match" *.test-d.ts. That matches the adapters: js-jest.yaml lists only *.test.* and *.spec.* globs, and bash-harness.yaml lists only *.test.sh. The au-type-test-not-scanned eval expects the reply to say the type checker evaluates these files, and the rewrite still says so.
  • Vitest/Jest note. It now says "a count above zero or an expression fires". The scanner's threshold strings agree (cant-fail-scan.sh lines 1154–1155: "> 0 or an expression"). So does the test at cant-fail-scan.test.sh:849, which asserts that a Vitest retry expression fires.
  • test.describe.configure rewrite. It is still the fourth of the "Four paths" the bullet heading counts, so the heading's count still holds.
  • forbidOnly note. It keeps "any non-false expression passes", which is the rule the au-playwright-only-not-forbidden eval relies on.
  • run-e2e step mapping. Step 1 maps to the accessibility scan, step 3 to the pixel baseline and step 4 to the vision look. These match the numbered list in e2e.md.
  • Anchor baseline (4 → 2). Two of the four anchorless links in e2e.md now carry section anchors. Lowering the allowed count makes the check stricter, not looser. The claim that validate-plugins required this change is the author's; I did not verify it.

Closing issue #16833, done-when:

  1. Met. The four audit passages are either rewritten as the scan's own rule with its reason, or cut to an anchored pointer. The e2e.md pointers lost their per-link summaries. These are prose-only changes; the existing evals cover the rules that were kept.
  2. Met. The PR body names the upstream section that now carries each cut behavior, lists the passages rewritten as rules, and states that no passage was skipped as already gone.
  3. Met. No pointer gains an as-of date or a recheck trigger. Step 4's sentence in e2e.md restates the trigger that was already there.

Other checks:

  • No .claude/rules/ path-scoped rule matched these files.
  • No plugin manifest changed. The bump: patch fragment fits a docs-only change.
  • No changed file matches a trusted-path glob.
  • I ran nothing. Evals and CI results in the PR body are the author's claims and unverified.

Loosened-check verdict: fail (default; the wrapper supplied no loosened_check_verdict: or loosened_check_patterns: line); patterns: 0. The change loosens no check.

Verifier dropped 0 of 0 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

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

Security review: PR #17105

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

  • plugins/testing/skills/audit/SKILL.md: four passages that restated Playwright, Vitest, Jest and tsd behavior are rewritten as the scan's own rules, each with its reason and an anchored link to fetch live. I checked these under the instruction-surface lens. What the scan decides does not change: type tests stay unscanned, test.describe.configure retries stay unread, a non-false forbidOnly expression still passes, and the Vitest/Jest Action is still the retry count. No guardrail is deleted or softened. The new "fetch … live" pointers go to fixed first-party documentation URLs (vitest.dev, github.com/tsdjs/tsd, playwright.dev, jestjs.io). They are reading material, not input to any command or tool argument, so they add no exploitable path.
  • plugins/testing/skills/run-e2e/context/e2e.md: the evidence-pointer prose is reworded and two links gain section anchors. "No issues found is never a pass" is unchanged. Nothing is removed that a protected class relies on.
  • scripts/docs-anchor-baseline.txt: one baseline count for anchorless links drops from 4 to 2. That only tightens a docs lint, and no trust control or gate reads it.
  • .changes/testing/...md: a new changelog fragment, data only.

No changed file matches a trusted path, and none touches a trust control, merge hold, plugin manifest, workflow or token scope. The protected-class register (docs/contracts/instruction-exception-register/README.md) was not opened. The rewrites keep every rule's outcome, so I judged them by consequence: no rule is removed.

The PR context file contains no embedded directives aimed at this lane.

critical-findings: 0

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head bd4b80c884a6a158fefebefc2af436cced929430, the head its arming checks judged.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=LOW demote=false head=bd4b80c884a6a158fefebefc2af436cced929430 rubric=10.3.2 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 18, 2026
Merged via the queue into main with commit d781dba Nov 18, 2026
50 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-16833-44271883729-1 branch November 18, 2026 11:06
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit d781dbafe3872b63fa72da291569ac7e886a6c86; 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.

docs: cut restated upstream behavior left by the stamp sweep (batch 6) - part 1 of 6

0 participants