Skip to content

feat(testing): make run-e2e consume affected and write e2e-summary.json - #11421

Merged
melodic-automation-lanes[bot] merged 3 commits into
mainfrom
work-resolve-issue/issue-11388-41152437695-1
Oct 31, 2026
Merged

melodic-automation-lanes[bot] merged 3 commits into
mainfrom
work-resolve-issue/issue-11388-41152437695-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Refs: #11388

Summary

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

/testing:run-e2e now finds touched features with /app-control:drive affected instead of matching a control skill's sources globs itself. Both glob-parsing copies, in Step 2 and Step 4, are removed. The skill takes app=, base= and trusted-root= and passes <app> and --trusted-root to every drive call (--base only to affected). Without app-control it reports touched features not matched (app-control not installed). An unattended run writes e2e-summary.json in the C4 shape: route, app, affected, capture {status ran|not-applicable|blocked|skipped, reason, count}, entry_points and publishable. A capture that is not ran fails no entry point. Design choices, based on drive/SKILL.md and drive/reference/evidence.md: trusted-root is a key=value argument, the same form as app= and base=; base= defaults to origin/HEAD; and Step 4 skips the map refresh on a trusted-root run, because /app-control:map takes no --trusted-root. publishable is fail-closed: a path joins only after a scan with the literal values and patterns drive's reports give. Drive does not provide those yet (the Mask contract, #11387, is open with no PR), so publishable is [] for now. Wiring the scan to real values is listed under remaining.

Remaining work

  • Wire the e2e-summary.json scan to drive's Mask literal values and patterns, and drive's publishable list, once the app-control Mask contract (#11387, S3) lands; until then run-e2e's publishable stays [] (fail-closed).

Not verified

  • /skill-quality:check run-e2e and /skill-quality:check validate-evals run-e2e (the issue's Sanity Check and Demo) were not run: the skill-quality plugin is not loaded in this lane, and validate-evals executes eval cases. Left to the PR's CI and a person.
  • ci-status green on the PR head is a PR check; left to the PR's CI.
  • check-affected skipped typos (not installed), the validate-plugins sub-checks and changed-skills (they run checked-tree code), plus its CI-only checks (evals-schema, portability-lint, purged-em-dashes and others). Left to the PR's CI.
  • Tidy did not run every pass. Passes 1 and 2 (code simplify, comment deletion) had nothing to do: the only non-markdown file is JSON evals with no comments. Pass 3 (write-for-agents) made no edits. Pass 4 (ai-slop) ran only its rubric layer by hand: this lane may not run its detector script (detect.s
  • The done-when item 'e2e-summary.json is scanned with drive's literal values and patterns before it joins the publishable set' is only partly done. The fail-closed scan rule is in Step 5, but drive has no Mask values or patterns until #11387 (S3) lands, so publishable is always [] until then. See r
  • The untracked files at the checkout root (.bash_profile, .bashrc, .gitconfig, .idea, .mcp.json, .profile, .ripgreprc, .vscode, .zprofile, .zshrc) were not created by this run and are not part of this change.
  • The changes are left uncommitted in the working tree, as the lane's runner instructions require; the runner turns them into the patch.

Fix

  • plugins/testing/skills/run-e2e/SKILL.md: new app=/base=/trusted-root= arguments. Step 1 detects the control skill through /app-control:drive affected. Step 2 entry points and Step 4 touched features come from affected.json, replacing both sources-glob parsers. New fallback line `touched features not
  • plugins/testing/skills/run-e2e/evals/evals.json: feature-map-03 now takes its touched feature from an affected.json stub with app-control installed, since run-e2e no longer matches globs without it. Added affected-01 (unattended drive route from an affected stub, with trusted-root), affected-02 (app
  • .changes/testing/feat-11388-run-e2e-consume-affected-5c1e9a47.md: new minor-bump changelog fragment for the testing plugin (Added and Changed sections). This is the repository's release convention (ADR 0048): fragments, not a direct version or CHANGELOG bump.

Verification

The runner ran each check from the base copy against 0c16c1b:

  • scripts/check-changelog-fragments.sh --check: passed

The run reports:

  • read https: //github.com/melodic-software/claude-code-plugins/issues /11364: the Plan/Design comments define C4 E2eSummary. S2a depends only on S1. S3 (the Mask contract and publishable set) defines drive's literal values and patterns, and e2e-summary.json is the consumer's to scan.
  • read https: //github.com/melodic-software/claude-code-plugins/issues /11387: S3, the Mask contract and publishable set, is open with no branch or pull request.
  • read https: //github.com/melodic-software/claude-code-plugins/issues /11386: S4a, open with no pull request (used only to map issue numbers to slices).
  • Grep for Mask|mask|publishable under plugins/app-control: no matches, so drive has no mask values, patterns or publishable list on this base.
  • Sanity check grep -n "sources. globs" plugins/testing/skills/run-e2e/SKILL.md (run with the Grep tool): no matches.
  • check-changelog-fragments: all 27 fragments valid (it failed once on a fragment with no ### section, fixed, then passed).
  • check-affected: 11 passed, 7 skipped (shellcheck and ruff had no changed files; typos not installed; validate-plugins sub-checks and changed-skills run checked-tree code), 0 failed.
  • check-evals-quality plugins/testing/skills/run-e2e/evals/evals.json: PASS, 0 warnings.
  • Fresh-context review subagent over the whole diff: 6 findings. Fixed 5: a bare run without app-control drove nothing; no hub read without app-control; --base sent to every drive call; publishable sourced from a drive list that does not exist; a blocked affected call not mapped to capture blocked.
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41152437695

Left out: the items under Not verified.

Related

#11388

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

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 21ce0b5b6f8cebe4accbdbc6a026be089863c11d: 0 finding(s), 0 as inline comments.

No security findings in the incremental change to plugins/testing/skills/run-e2e/SKILL.md.

What changed. Two wording edits in the skill's status semantics:

  • An unattended run with no base ref no longer stops at capture: blocked. It records blocked: no base ref (pass base=<ref>) as affected's line, then goes on to own driving of what the scenario names.
  • capture.status is ran whenever an entry point is driven, even if affected reported blocked:. blocked now means nothing was driven.

Checks.

  • Instruction surface: this narrows a reporting rule. It removes no guardrail or protected-class control (approval, credential, destructive-action or trust boundary).
  • Unattended path: the line I read keeps unattended from invoking the bundled run skill (SKILL.md:50). --trusted-root still goes to every drive call (line 54). The unattended column still asks nothing (line 49). Own driving was already the fallback when drive is unavailable, so no new capability, token scope or trusted actor is added.
  • Manifests: no manifest file is touched.
  • Trusted paths: the file matches none of the trusted-path globs.
  • Spend: an unattended run without a base ref now drives instead of stopping. That spends only prepaid or subscription usage, so it is not a hold.

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 0c16c1b59d739d085dadf8cc4742f7373bf2e72b; the summary is in this lane's pull request comment.

claude-lane: claude-review

Comment thread plugins/testing/skills/run-e2e/SKILL.md Resolved
Comment thread plugins/testing/skills/run-e2e/SKILL.md Resolved
@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 21ce0b5b6f8cebe4accbdbc6a026be089863c11d: 0 finding(s), 0 as inline comments.

Incremental review of plugins/testing/skills/run-e2e/SKILL.md (change since 6f5b9a4). I found nothing to report.

The change fixes a contradiction in the capture status rules. Before, an unattended run with no base ref always recorded capture as blocked, even if it then drove an entry point named by the scenario. Now the rules read:

  • ran wins over every other status, and a blocked: line from affected stays in the report.
  • blocked applies only when no entry point was driven.
  • Step 1, the Step 1 table and reason: the new text agrees with all three.
    • After a blocked affected, the control skill counts as none, so the run takes the own-driving row.
    • capture.reason stays null when capture is ran.
    • not-applicable still needs an affected.json, so a blocked affected with an empty scenario falls to blocked, as intended.

I searched the repository and evals.json for text that restates the old rule, such as no base ref or pass base. I found none, so nothing in the evals contradicts the new wording.

Not covered by evals: no eval exercises the changed path, an unattended run with no base ref that still drives a scenario-named entry point and ends with capture: ran. This is an optional follow-up, not a blocker. The existing affected-01 and affected-02 cases do not reach it.

No manifest files changed, so no manifest <field> lines apply. No settled-threads file or closing-issue section was provided. I did not run any checks myself.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 0c16c1b59d739d085dadf8cc4742f7373bf2e72b.

Lane-Activity: pr-unblock/address-feedback
Lane-Thread: PRRT_kwDOTCGFQM6yMOPJ
Lane-Thread: PRRT_kwDOTCGFQM6yMOPM
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on 6f5b9a4.

@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 6f5b9a4ecec4e7c6682ca748c3a61d2998262f21; the summary is in this lane's pull request comment.

claude-lane: claude-review

Comment thread plugins/testing/skills/run-e2e/SKILL.md Resolved
Lane-Activity: pr-unblock/address-feedback
Lane-Thread: PRRT_kwDOTCGFQM6yMRy5
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 2 of max 4 on 21ce0b5.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 31, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 21ce0b5b6f8cebe4accbdbc6a026be089863c11d.

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.

0 participants