Skip to content

feat(app-control)!: require a stated result on every drive step and a closing proof step - #15918

Merged
melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-15908-43394074445-1
Nov 13, 2026
Merged

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #15908

Summary

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

The control-skill contract now has a Drive steps subsection. Each step under a feature's ## Drive is one list item that names the action, the exact command or handle, and, after Result:, what a user should observe. The last step is a **Proof.** step whose Result: is the end state and whose Captures: names the Capture kinds that show it. Steps files give each step the same result. /app-control:map check gains one rule, drive-result, which reports a step with no Result: or nothing after it. A step is a list item at the line start joined with its indented lines; a ## Drive that hands off in prose has no steps and is not reported. Design choice: one Result: label on every step, the proof step included, so the check stays one rule (the parent issue's 'The contract check gains one rule'), and the proof step's end state is its result. This is part 1 of 6 of #15797: map create/refresh, drive's report, run-e2e, the dogfood refresh of this repository's control skills, the upstream record and the eval compare are sibling parts.

Not verified

  • check-map.test.sh was not executed here (the lane runs no interpreter, and check-affected did not run it); it is left to the PR's CI. The fixes from the hand trace are in, but no run has confirmed the suite passes.
  • Tidy skipped: the change touches 12 files, above the 10-file tidy cutoff.
  • This repository's control skills now report drive-result findings when checked: .claude/skills/control-claude-code-plugins/features/mods, discipline/wait-what and discipline/tighten-your-output, plus 8 feature files of plugins/harness-ops/skills/control-claude-code. Refreshing them is the parent's…
  • Refresh evals that seed Drive bullets with no Result (map-converts-flat-control-skill, map-reports-legacy-upkeep-branch) may behave differently, since refresh runs Check on files it writes; making refresh treat a missing result as doc drift is a sibling part (map create/refresh). This was not…
  • Eval runs and the two-version skill compare were not run here; they belong to the sibling part that ships the changed skill text.

Fix

  • plugins/app-control/reference/control-skill.md: the ## Drive row of the feature-file table now requires a result on each step and a closing proof step; new ### Drive steps subsection gives the step form (action, command or handle, Result:), the **Proof.** step (Result: end state,…
  • plugins/app-control/skills/map/scripts/check-map.sh: new drive-result rule (header entry, drive_steps awk helper joining a list item with its indented lines, and the per-feature-README check that the step has Result: followed by text)
  • plugins/app-control/skills/map/scripts/check-map.test.sh: the clean fixture's drive steps state a Result: and end with a **Proof.** step; new cases cover a step with no Result, a proof step with no Result, an empty Result:, a Result on an indented line after a blank line, a Result on an…
  • plugins/app-control/evals/check-copied-recipe/fixtures/cart-README.md, check-dead-index-line/fixtures/cart-README.md, check-missing-not-driven-reason/fixtures/cart-README.md, check-over-size-budget/fixtures/cart-README.md: the drive step states its Result and a Proof step follows (Captures: logs,…
  • plugins/app-control/evals/check-copied-recipe/fixtures/export-README.md, check-dead-index-line/fixtures/export-README.md, check-missing-not-driven-reason/fixtures/export-README.md, check-over-size-budget/fixtures/export-README.md: the same for the export feature
  • .changes/app-control/work-resolve-issue-issue-15908-43394074445-1-4e009c93.md: minor changelog fragment (breaking contract change while the plugin is below 1.0, per the parent issue's decision)

Verification

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

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

The run reports:

  • check-changelog-fragments: all 3 fragments under .changes/ valid
  • check-changed-skills: map skill PASS, 0 errors, 3 warnings that predate this change (description length, body length, refresh.md TOC)
  • check-affected: first run failed markdownlint MD038 on code spans with trailing spaces in control-skill.md; reworded; rerun 13 passed, 6 skipped, over 12 changed files
  • fresh-context review subagent traced every check-map.test.sh case by hand against check-map.sh and found a dropped space in the link case's assert_equals (would abort the suite under set -u), a contract example whose proof step contradicted 'every step names an action', fixtures naming a capture…
  • read https: //raw.githubusercontent.com/cursor/plugins/main/pstack/skills/create-verification-skill/references/feature-map-example/README.md: the drive section 'uses labeled bullets that pair each user action with an exact command and observable result' and starts with Preconditions:; proof…
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/43394074445

Left out: the items under Not verified.

Related

#15908

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

github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review: PR #15918 (incremental, blocking only)

I found no security issues in this push.

Scope. This was an incremental review covering the changes since a5465d14. One file changed: plugins/app-control/reference/control-skill.md. I read every hunk of it in .claude-lane/incremental.diff. The file matches no trusted-path glob. This lane already reviewed an earlier head (blocking only: yes), so I would have reported only CRITICAL and IMPORTANT findings.

What I checked.

  • The new lines in the "Steps files" paragraph (around line 361) are contract prose. They say the proof step belongs to the step list a run expands to, so an included file needs no proof step of its own. They also say that in a steps file the proof step has an id, a result and capture kinds, but no action or command, and that the run performs nothing for it.
  • This change adds a rule and makes it clearer. It deletes, narrows or softens no standing instruction, so the instruction-surface lens finds nothing to report.
  • Nothing in the change touches code, a workflow, a plugin manifest, a token request, a trust control or a merge hold.
  • This push answers the lane's resolved advisory thread on this line, so there is nothing to raise again.
  • The PR context file contains no embedded text telling the lane to pass the PR, skip a check, drop a finding or post elsewhere.

No hold applies, and this change spends nothing.

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

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

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

Code review: PR #15918, incremental review (blocking only)

Scope. This review covers only what changed since a5465d14: one hunk in plugins/app-control/reference/control-skill.md, the ## Steps files paragraph at lines 358-367. I read that whole change, so 1 of 1 listed files was read. This lane already reviewed an earlier head, so the review was blocking only: it posts blocking findings and manifest flags, and drops advisory findings.

What the push changes. The new wording answers both questions in this lane's earlier advisory, a thread that is now resolved:

  1. The proof step belongs to the list a run expands to, and it sits in the feature's own steps file. An included file, such as a shared/ sign-in file, needs no proof step.
  2. In a steps file, the proof step has an id, a result and capture kinds, and no action or command. The run performs nothing for it and reports it by its id, with its captures, after the steps before it.

This matches /app-control:drive's rule for steps files: report each step by its id, and name artifacts with the step id (drive/SKILL.md#L221-L226). It also matches the ### Drive steps definition, "takes no action of its own" (control-skill.md#L267). The new text contradicts nothing in the Step ids, Includes or Finally steps rules that follow it.

Blocking findings: none.

No plugin manifest is in this push. Nothing in the settled-threads or prior-findings files told the lane what to do. The earlier advisory's thread is resolved and its point is settled, so it is not raised again. I ran nothing: this lane has no shell.

No verifier was dispatched: the review read one paragraph and checked it by hand, with no fan-out. Verifier dropped 0 of 0 candidates.

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

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes

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

Copy link
Copy Markdown
Contributor Author

Verification evidence for 9b22d5c

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-15918-9b22d5c294beab3669a2ba5db967a98a12798cd2, expires on 2026-12-13.

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on 9b22d5c.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=HIGH demote=true head=9b22d5c294beab3669a2ba5db967a98a12798cd2 rubric=8.4.16 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 13, 2026
Merged via the queue into main with commit c221316 Nov 13, 2026
51 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-15908-43394074445-1 branch November 13, 2026 09:26
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

kyle-sexton added a commit that referenced this pull request Nov 13, 2026
…eader

The light default is breaking. The 13 adopting plugins at 1.0.0 or later
now carry bump: major; the 13 still on 0.x keep bump: minor, as the
0.x breaking change in #15918 did (app-control 0.22.5), since major
version zero may change at any time under SemVer 2.0.0 item 4.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RMa43z1UkcP7TaART7rVjB
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.

State the observable result on every drive step and end each feature with a proof step - part 1 of 6

0 participants