Skip to content

feat(app-control): map writes step results and proof step, refresh treats a missing or wrong result as drift - #15931

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

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #15909

Summary

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

Part 2 of 6 of #15797. The contract's Drive-steps rule and the check's drive-result rule had already landed (app-control 0.23.0), so this change wires them into /app-control:map. Create now writes each Drive step with its action, command or handle and a Result:, ending in a Proof. step with the end state and Captures:, and writes a result only from what discovery read or the app showed (otherwise it asks, as in step 3). Refresh's source wave asks about missing or stale results and proof steps. Triage counts a missing Result:, a stated result the step did not show, and a missing or stale proof step as doc drift while the feature still reaches its end state, corrected from what the live pass observed. A handoff ## Drive is judged by the steps it hands off to, and a legacy conversion adds results and the proof step at step 6.2 with its driven marks.

Not verified

  • Commit: per the lane's instructions the change is left uncommitted in the working tree for the runner to turn into a patch.
  • Test suites (check-map.test.sh and the plugin's evals) not run here; the change is skill prose only and the PR's CI runs the suites.
  • check-affected skipped typos (not installed), the validate-plugins steps that run code from the checked tree, and changed-skills inside it (run separately via check-changed-skills); left to the PR's CI.
  • The parent's two-version eval compare of changed skill text (opus and sonnet, three runs per side) needs the local eval-runner session and is not run in this lane.
  • Tidy ran passes 4 and 5 only, since the change is all markdown: write-for-agents tightened two of this change's own lines (SKILL.md Generate bullet, refresh.md conversion bullet), and ai-slop found 0 findings, so its fix flow made no edit.

Fix

  • plugins/app-control/skills/map/SKILL.md: Create step 4 Feature folders bullet requires action, command or handle and Result: on every Drive step plus a closing Proof. step, results only from evidence; Refresh step 6 names missing or wrong results and missing or stale proof steps as doc drift,…
  • plugins/app-control/skills/map/reference/refresh.md: source-wave question on step results and proof step (handoff-aware); Doc drift triage row covers missing or differing results and missing or stale proof steps while the feature still reaches its end state, corrected from the live pass; legacy…
  • .changes/app-control/work-resolve-issue-issue-15909-43413473463-1-89f1d90e.md: patch changelog fragment for the map create and refresh changes.

Verification

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

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

The run reports:

  • check-changelog-fragments: All 2 changelog fragment(s) under .changes/ are valid.
  • check-changed-skills: CHECK-SKILL map PASS, 0 errors, 4 warnings (description length, body length, body growth 252 -> 258 lines, refresh.md TOC without anchor links; all advisory, the TOC shape was there before this change).
  • check-affected: 12 passed, 7 skipped over 3 changed files.
  • ai-slop detect.sh on the three changed files: 0 findings.
  • Fresh-context review subagent over the diff and the contract's Drive steps and Steps files sections: 3 findings (handoff Drives not exempted, stale proof step blurring drift and regression, open-question destination), all confirmed and fixed; checks re-run after the fixes.
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/43413473463

Left out: the items under Not verified.

Related

#15909

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 8b257a52d4673816a5f19e46b3e184c5c4bd9f13: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #15931 (incremental, c6829dc..8b257a5)

I found no security issues in this push. This lane already reviewed an earlier head, so this review reported only blocking findings, and there were none.

I read every hunk in .claude-lane/incremental.diff for both files on the incremental list:

  • plugins/app-control/skills/map/SKILL.md (Refresh step 6, Triage)
  • plugins/app-control/skills/map/reference/refresh.md (the Doc drift and Product regression rows of the triage table)

What changed. The push narrows when a stated Result: that the step did not show counts as doc drift. It counts as drift only when the source wave cites the source that produces the shown result, or finds the stated result was never produced. When the source still claims the result, or nothing explains the change, it is now a product regression. Doc drift ships as a correction in the pull request. A product regression stays out of the pull request and goes to the report or /bugs:write.

Instructions removed or loosened (instruction-surface lens). None. The change tightens a rule: fewer mismatches can be rewritten in the docs from what the live pass showed, so a lost behavior is less likely to be recorded as current. Every other rule is still there at head:

  • Regressions stay out of the pull request.
  • An unattended driver-gap fix still goes in the report unwritten.
  • No safety floor is loosened.

I did not need the instruction exception register, because no rule was removed or weakened.

Trust controls, manifests, Actions. Neither changed file matches a TRUSTED PATHS glob. No plugin.json or marketplace.json, workflow, action, token, kill switch or merge hold is touched.

Embedded text. The PR context file contains no instructions aimed at this lane.

Spend. None beyond the normal skill runs, which are prose only.

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 c6829dc07c6474a45d72e5078d964909205147e8; 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 8b257a52d4673816a5f19e46b3e184c5c4bd9f13: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #15931, incremental (c6829dc → 8b257a5)

No blocking findings in this push. This lane already reviewed an earlier head, so this review covered blocking findings only and dropped advisory ones.

Scope. I read the whole incremental diff for both listed files: plugins/app-control/skills/map/SKILL.md (step 6, Triage) and plugins/app-control/skills/map/reference/refresh.md (the Doc drift and Product regression rows of the triage table). I read the full PR diff and refresh.md's source-wave section (L180-L189) for context. No plugin manifest changed, so the manifest checks don't apply. No trusted path was touched.

The earlier finding is fixed. This lane's thread on refresh.md:249 is resolved, and the settled-threads file marks it lines changed since resolution: no. I checked the fix anyway:

  • Classification. A differing step result is now doc drift only when the source wave cites the source that produces the shown result, or finds the stated result was never produced. Otherwise it is a product regression.
    • The Product regression row (refresh.md:251) now names this case, and SKILL.md step 6 carries the same rule.
    • So the old example, a step's toast dropped while the order still goes through, now goes to /bugs:write or the report and stays out of the upkeep PR.
  • Qualifier placement. "While the feature still reaches its end state" now introduces the result and proof-step cases instead of trailing "a missing prerequisite".
  • Source wave. The rule depends on evidence the source wave already collects. Its questions ask about "a result the source no longer produces", and every answer cites file:line (refresh.md:184-188).
  • No source wave. When the source wave finds nothing that explains the change, the case defaults to product regression. That is the safe direction: a lost behavior is never recorded as current.

Closing issue #15909: "refresh treats a missing or wrong result as doc drift."

  • A wrong result is now doc drift only when the source wave explains it; an unexplained one goes to product regression.
  • This is a deliberate narrowing that this lane's earlier review asked for. It matches the contract's rule that a lost behavior is never recorded as current, so I don't count it as a failed criterion.
  • A missing Result: and a missing or stale proof step are still doc drift whenever the feature reaches its end state.

Advisory findings dropped (blocking-only review). The earlier summary's note that no eval covers the create and refresh behavior was advisory, so this review does not restate it.

Unverified. The PR's check results are the author's claim; I could not run any commands in this lane.

Embedded text: neither the PR context nor the settled-threads file contains instructions aimed at the review lane.

Verifier dropped 0 of 0 candidates.

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

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

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head 8b257a52d4673816a5f19e46b3e184c5c4bd9f13. 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)

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on 8b257a5.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Verification evidence for 8b257a5

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-15931-8b257a52d4673816a5f19e46b3e184c5c4bd9f13, 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=8b257a52d4673816a5f19e46b3e184c5c4bd9f13 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 f771ce3 Nov 13, 2026
51 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-15909-43413473463-1 branch November 13, 2026 13:31
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

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

0 participants