Skip to content

feat(testing): compare a run-e2e map pass with a baseline and hand NEW findings to bugs:write - #16624

Merged
melodic-automation-lanes[bot] merged 4 commits into
mainfrom
work-resolve-issue/issue-16568-43941056654-1
Nov 16, 2026
Merged

melodic-automation-lanes[bot] merged 4 commits into
mainfrom
work-resolve-issue/issue-16568-43941056654-1

Conversation

@melodic-automation-lanes

@melodic-automation-lanes melodic-automation-lanes Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Closes #16568

Summary

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

/testing:run-e2e map takes baseline=<findings.json>. It checks the baseline with findings-compare.sh before driving anything, compares the pass with it afterward, and writes compare.json. The report opens with both pass builds, then the NEW, PRE-EXISTING and GONE groups in the order map_report_order names, each with one summary line and its findings by severity. New settings file_findings (none/new) and file_findings_floor (high default): under new the report states the count, then hands each NEW finding at or above the floor to /bugs:write with its id, and never closes a GONE one. Design choice: map_report_order is one scalar, the three group names joined by commas in any of the six orders, default new,pre-existing,gone. The issue names the setting but not its values, and a fixed scalar fits the resolver's existing closed-value check (in_list) and the userConfig options list without adding list parsing. All three keys resolve through resolve-config.sh map in the same layers as map_unit.

Not verified

  • resolve-config.test.sh and setup.test.sh were not executed: this lane runs no interpreter or test runner; left to the PR's CI
  • tidy skipped: the change touches 14 files, over the 10-file tidy cutoff
  • README options table edited by hand to match plugin.json; scripts/sync-plugin-options-docs.py could not be run here, so CI's drift check confirms it
  • Changes left uncommitted in the working tree, as the runner's instructions direct, rather than committed per ci-mode step 3

Fix

  • plugins/testing/skills/run-e2e/context/map.md: baseline= argument and its check before driving; settings table rows for the three keys; new Compare and report section (header with both builds, groups in map_report_order order with per-group summary lines, not-checked baseline findings listed…
  • plugins/testing/skills/run-e2e/SKILL.md: map arguments name baseline=; Map scope summary names comparison and filing; map resolve command passes the three new userConfig values; new compare command
  • plugins/testing/skills/run-e2e/context/e2e-config.md: the map scope's key list and precedence cover all five map keys
  • plugins/testing/scripts/resolve-config.sh: map mode resolves map_report_order, file_findings and file_findings_floor with their allowed values and defaults; --user accepts them
  • plugins/testing/scripts/resolve-config.test.sh: defaults, userConfig, testing.yaml precedence and unknown-value cases for the new keys; scan ignores them; existing map assertions narrowed to their rows
  • plugins/testing/skills/audit/scripts/adapter-load.awk: the scan skips the three new top-level keys
  • plugins/testing/skills/setup/scripts/setup.sh: apply keeps the three new keys in testing.yaml
  • plugins/testing/skills/setup/scripts/setup.test.sh: the apply-keeps-map-keys case covers the three new keys
  • plugins/testing/skills/setup/SKILL.md: lists the new keys among those the scan ignores and apply keeps
  • plugins/testing/.claude-plugin/plugin.json: userConfig options map_report_order, file_findings, file_findings_floor
  • plugins/testing/schemas/testing.schema.json: the three keys with enums and defaults
  • plugins/testing/README.md: map scope paragraph covers baseline= and the new keys; generated options table rows added to match plugin.json
  • docs/contracts/config-cascade/README.md: the testing run-e2e row names the three new map keys
  • .changes/testing/work-resolve-issue-issue-16568-43941056654-1-4957f5b4.md: minor changelog fragment
  • plugins/testing/evals/e2e-map-report-order/: eval case for the map report, a baseline with map_report_order=gone,new,pre-existing; regex graders for the baseline <build> -> this pass <build> header and the groups' summary lines in the setting's order, with samples
  • plugins/testing/evals/e2e-map-baseline-refused/: eval case where the compare script refuses the baseline; graders require its stderr line and no entry point reported passed or failed
  • plugins/testing/evals/e2e-map-file-floor/: eval case with file_findings=new and file_findings_floor=high; graders require Filing: 2 NEW at or above high and both handed ids, and an llm grader checks that the medium, PRE-EXISTING and GONE findings are not handed on and that no issue is closed

Verification

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

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

The run reports:

  • check-changelog-fragments: all 6 fragments valid
  • check-changed-skills: audit, run-e2e and setup PASS, 0 errors (warnings are existing size/description warnings plus body growth of 4 and 2 lines)
  • check-affected: 16 passed, 6 skipped over 14 changed files
  • fresh-context review subagent over the whole diff: no confirmed bugs; applied its suggestions (config-cascade row, non-zero-exit wording, filing section placement, no-baseline filing note, unattended /bugs:write placeholder note, e2e-summary compare/filed fields, setup.test.sh coverage)
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/43941056654
  • The three map-scope eval cases were added in a later review round that ran no command. Their samples are checked by the eval validator in CI, not locally, and the cases have not been run against a model.

Left out: the items under Not verified.

Related

#16568

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

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/fix-docs
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 43945061104

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head ce06855bbee0e06c30df15f86c407c35a732170c. No person needs to act: a lane clears this reason, and the next scheduled run judges it again.

pr-merge's gate refuses its verifier verdict (verify:missing)

@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

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

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

I read every hunk of both files that changed since 45ba26d7. This lane already reviewed an earlier head, so this pass reports only CRITICAL and IMPORTANT findings.

What the push changes: it changes one eval prompt in each of plugins/testing/evals/e2e-map-file-floor/case.yaml and plugins/testing/evals/e2e-map-report-order/case.yaml. The only edit in each is the spelling labelled → labeled.

Why none of it is a security finding:

  • Settings: nothing else changed. Both cases keep allowed_tools: [Read, Glob, Grep], max_turns: 10 and timeout_seconds: 300.
  • Prompt text: the reworded prompts add no instruction and widen no tool grant.
  • Untouched surfaces: neither file matches a TRUSTED PATHS glob. The push changes no manifest, workflow, token, trust control, merge hold or standing instruction.

Prior findings: this lane's earlier summary had no findings, so nothing is carried forward.

Spend: none beyond what the earlier review already noted for these eval cases. They use prepaid API credit or subscription usage only.

PR text: I found no instructions aimed at this lane in the changed prompts.

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: 2 inline finding(s) on 3651de3a14f361ace6b04a30df16648291bb3f09; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

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

Code review (incremental): PR #16624, the map-scope eval cases

This review was blocking only. This lane already reviewed an earlier head (3651de3a), so only blocking findings would be posted. I found none.

Scope. I read every hunk of the 9 files in .claude-lane/incremental.diff. They are three new eval cases, each with its regex-grader samples:

  • plugins/testing/evals/e2e-map-baseline-refused/
  • plugins/testing/evals/e2e-map-file-floor/
  • plugins/testing/evals/e2e-map-report-order/

These cases respond to this lane's two earlier advisory findings on map.md, at lines 142-151 and 155-166. Both threads are resolved, with lines changed since resolution: no, so I did not raise them again.

What I checked against plugins/testing/skills/run-e2e/context/map.md:

  • Header. The header regex matches the form at map.md:143, baseline <build> -> this pass <build>, and accepts optional code spans.
  • Group order. groups-in-setting-order requires each group's summary line, <group>: <n> (critical <n>, high <n>, medium <n>, low <n>) (map.md:146), in the order gone,new,pre-existing. The default order fails it, as the must-fail sample shows. The counts it expects match the findings in the prompt.
  • Filing count. filing-count matches Filing: <n> NEW at or above <floor> (map.md:156). Of the prompt's findings, only checkout-crash-1111 (critical) and login-error-2222 (high) are NEW and at or above high. So any reply that hands on the medium NEW finding or the PRE-EXISTING one gets the wrong count and fails.
  • Refused baseline. names-stderr requires the stderr line named at map.md:10-12. no-entry-rows (not_contains) matches the entry-point row form at map.md:151, <entry> | <entry point> | passed | failed, for the three entries the prompt gives.
  • Case format. schema_version, tags, allowed_tools, match: not_contains and the samples/<grader>.json pass/fail layout all match the existing run-e2e cases, for example e2e-every-entry-point and tv-absence-without-presence.

Advisory note (blocking only, so not posted as a finding). no-entry-rows only rejects rows that end in passed or failed. A reply that listed entries as not checked (...) after the refusal would pass that regex. Only the llm grader's "lists no entry" check would catch it.

Verification. I ran nothing; this lane has no shell. The PR says the eval validator was not run on the new samples and that CI checks them. That is unverified here.

Spend. Three more eval cases, each at most 10 turns with a 300 s timeout, draw on prepaid eval-run usage only.

Verifier dropped 0 of 0 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/address-feedback
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 43965788533

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes

melodic-automation-lanes Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor Author

Verification evidence for b07f1e1

The verifier passed this head. The capture artifact holds the capture summary, which says whether the capture ran, and any screenshot or video that passed the mask check; this comment uploads no file.

Capture artifact: pr-capture-16624-b07f1e1440a32e32b92df9d7ca1a83cf96e0b39d, expires on 2026-12-16.

One comment per pull request, updated in place for each new head.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=HIGH demote=true head=3651de3a14f361ace6b04a30df16648291bb3f09 rubric=10.0.0 rater=claude-opus-5-5 checker=claude-opus-5-5

Lane-Activity: pr-unblock/address-feedback
Lane-Thread: PRRT_kwDOTCGFQM64KEk9
Lane-Thread: PRRT_kwDOTCGFQM64KElD
@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/apply-feedback-patch
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed 45ba26d
Run 43965788533

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on 45ba26d.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/publish-feedback
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none recorded
Run 43965788533

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/fix-ci
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 43972322651

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/apply-patch
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed b07f1e1
Run 43972322651

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=HIGH demote=true head=b07f1e1440a32e32b92df9d7ca1a83cf96e0b39d rubric=10.0.0 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 16, 2026
Merged via the queue into main with commit 3f62bf0 Nov 16, 2026
48 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-16568-43941056654-1 branch November 16, 2026 23:09
@github-actions

Copy link
Copy Markdown
Contributor

Post-merge mutation testing

Killed 5, survived 2, timeout 0, no coverage 0, invalid 0, not run 0.
Covered-code score 71%; mutation score 71%.

File Killed Survived Timeout No coverage Invalid Not run
plugins/testing/scripts/resolve-config.sh 4 2 0 0 0 0
plugins/testing/skills/setup/scripts/setup.sh 1 0 0 0 0 0

Surviving mutants

Location Operator Disposition Cause
plugins/testing/scripts/resolve-config.sh:270 other unclassified none
plugins/testing/scripts/resolve-config.sh:274 other unclassified none

The run's summary has the full report.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

Run a whole-map live verification pass on demand and report what is new since the last pass - part 3 of 6

1 participant