Skip to content

feat(planning): list prototype evidence and what stays unproven in planning:plan - #12047

Merged
melodic-automation-lanes[bot] merged 3 commits into
mainfrom
work-resolve-issue/issue-12024-41336255071-1
Nov 1, 2026
Merged

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #12024

Summary

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

The plan template gains a ### Prototype evidence section: one row per consumed prototype, giving the branch and commit SHA (or the local path with not pushed: <reason>) and what the prototype left unproven. The plan skill's build-technique step now says to fill it from each consumed prototype's durable note and to omit it when no prototype is consumed. The new eval case plan-prototype-evidence-listed checks that the spike's branch, SHA and unproven point land in that section. Design choice: the section sits right after Load-bearing assumptions in both plan-template.md and plan-md-anatomy.md. The anatomy file owns the order of PLAN.md's sections, so the section is listed there too. Its smaller-plan rule also keeps the section, so a Small plan, like the eval's, does not drop it.

Not verified

  • The eval case was not run against a model here (evals spend model runs); left to the PR's CI and eval tooling
  • check-evals-quality does not apply: it lints evals.json sets, and this plugin's evals are case.yaml directories. CI's evals-schema job validates the case
  • Tidy pass 5 ran only its rubric read: this lane cannot run the ai-slop detector script detect.sh, so the deterministic AI-tell scan did not run (CI's purged-em-dashes scanner still covers em dashes)
  • scaffold.sh was written with the Write tool and may lack the executable bit; the sibling scaffold's mode could not be checked here, and the eval runner names it through case.yaml's scaffold_script
  • The issue's done-when item 'The PR's CI is green' is left to the PR's CI
  • Changes are left uncommitted in the working tree, as the runner instructs (the runner turns them into a patch)

Fix

  • plugins/planning/skills/plan/context/plan-template.md: new ### Prototype evidence table (Prototype | Evidence | Left unproven) under the Full Template, after Load-bearing assumptions
  • plugins/planning/skills/plan/templates/plan-md-anatomy.md: the PLAN.md skeleton lists the ### Prototype evidence section, and a smaller plan keeps it whenever it consumes a prototype
  • plugins/planning/skills/plan/SKILL.md: the build-technique step says to fill the section from each consumed prototype's durable note, and to omit it when no prototype is consumed
  • plugins/planning/evals/plan-prototype-evidence-listed/case.yaml: new case, schema_version "1.1" (same as plan-brief-assumption-carried), with a regex grader and an LLM judge checking the branch, the SHA and the unproven point in the Prototype evidence section
  • plugins/planning/evals/plan-prototype-evidence-listed/scaffold.sh: new scaffold with a locked Brief, a tier B early-exit design record and a prototype note holding the branch spike/invoice-approval-states, commit 9c41e7a2b05d3f68e1a7c4d29b8f0e35a6c71d24 and one unproven point (two approvers acting o
  • plugins/planning/evals/plan-prototype-evidence-listed/samples/lists-prototype-evidence.json: new pass and fail samples for the regex grader
  • .changes/planning/work-resolve-issue-issue-12024-41336255071-1-c3900956.md: new bump: minor fragment describing the section and the eval

Verification

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

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

The run reports:

  • check-changelog-fragments: all 4 fragments valid (run before and after tidy and after the review fix)
  • check-changed-skills: CHECK-SKILL plan PASS, 0 errors, 3 warnings that were already there (description length, body length, templates/checklist.md:14 fresh-eyes)
  • check-affected: 12 passed, 6 skipped (typos not installed; validate-plugins and changed-skills sub-checks skipped as they run checked-tree code) over 7 changed files
  • fresh-context review subagent: no findings; it hand-checked the regex against every sample (both pass samples match, all three fail samples do not). It raised one gap, the smaller-plan rule in plan-md-anatomy.md, which is now fixed
  • code-tidying:tidy-diff: passes 1-4 made no edits; pass 5 rubric read found no AI-writing tells
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41336255071

Left out: the items under Not verified.

Related

#12024

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

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review: PR #12047 (changes since bb4aa30)

I found no security issues in the changes made since this lane last reviewed bb4aa309d21cf4d190d3657796e600d086e5d6f9.

I read every hunk of all 3 files in scope in .claude-lane/incremental.diff. None of them matches a trusted-path glob. No plugin manifest changed, so this review has no manifest <field> lines.

What changed: the edits carry out the owner's requests in the two settled threads.

  • plan-brief-assumption-carried/case.yaml
    • Extends expected_outcome to say that PLAN.md has no Prototype evidence section.
    • Adds a no-prototype-evidence regex grader (match: not_contains).
    • The grader's target is the fixed in-workspace path .work/invoice-export/PLAN.md. Nothing in the diff lets a user or model choose that path.
    • Execution settings, tool grants, the scaffold and the existing graders are unchanged.
  • plan-brief-assumption-carried/samples/no-prototype-evidence.json is new pass and fail fixture data. It contains no executable content.
  • plan-prototype-evidence-listed/samples/lists-prototype-evidence.json adds a local-path row to an existing pass sample. The ~/spikes/... path is only text inside a sample string; nothing reads or writes it.

Trust controls: the change touches none of these: the trusted-trigger check, the lane token request or broker, the kill switch, the merge holds, or any other .github/actions/ action.

Instruction surface: the change deletes, narrows or softens no standing instruction.

PR context and settled threads: neither contains instructions aimed at this lane. The two owner-settled threads asked for exactly these changes, and both are marked lines changed since resolution: no.

Prior findings: the previous round reported 0 findings, so nothing carries over. The round cap was not reached.

Spend (not a finding): the plan-brief-assumption-carried eval case uses prepaid model credit each time it runs. The new regex grader is deterministic and adds no model calls.

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

claude-lane: claude-review

Comment thread plugins/planning/skills/plan/SKILL.md Resolved
@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

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

Incremental code review: PR #12047, bb4aa30..ad2f5bd

I read every hunk of all 3 files in scope. I used the full diff only for context. No file in scope matches a trusted-path glob, and no plugin manifest changed. No new findings.

Prior finding resolved: omit rule now tested (discussion_r4436847485)

plan-brief-assumption-carried/case.yaml adds a negative regex grader, no-prototype-evidence, as the owner's reply asked:

  • What it checks: the pattern ^[ \t]*#{1,6}[ \t]*Prototype evidence\b runs on .work/invoice-export/PLAN.md with flags: mi and match: not_contains. The grader fails when that file has a Prototype evidence heading.
  • Grader fields: I looked for each field in the repo's other eval cases:
    • target: { source: file, path: ... } is used in multi-agent/evals/routing/mechanical-edit/repoint-moved-doc-links;
    • match: not_contains is used in several plugin-quality cases;
    • the m flag is used in several work-items cases.
  • Existing graders: they are unchanged. expected_outcome gains one sentence saying the plan has no Prototype evidence section.
  • New sample file: samples/no-prototype-evidence.json. I checked it against the pattern by hand:
    • Both pass samples avoid a match. One has no such heading. The other has the phrase in prose ("No prototype evidence was consumed"), and with m the pattern only matches at the start of a line.
    • Both fail samples match ### Prototype evidence: one has none under it, the other an empty table. These are the exact failures my earlier finding named.
  • Can it pass with no file? No. The Brief is already in this PLAN.md, so the file exists and the check can't pass just because the file is missing.

plan-prototype-evidence-listed/samples/lists-prototype-evidence.json

The first pass sample now has a second row for the local-path, not-pushed spike, as the owner asked in the settled thread on plan-template.md. By hand, lists-prototype-evidence still matches it: the heading, then the branch, the SHA, and "same moment" all fall within the pattern's distance limits. The fail samples are unchanged.

Verification

I ran nothing: the samples were checked by reading them against the patterns, and the eval run itself is unverified.

Spend

This adds one regex grader to plan-brief-assumption-carried. Turn and time limits are unchanged (40 turns, 900 s). Running it uses prepaid or subscription model usage, so it is not a hold.

The PR context, settled-thread and prior-findings files contain no instructions aimed at this review.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head df9dcfdcecfbddfc583b4e4baa7bec2df3e70a02.

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

Copy link
Copy Markdown
Contributor Author

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

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

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head bb4aa309d21cf4d190d3657796e600d086e5d6f9. The lanes clear this reason on their own; the next scheduled run judges it again.

pr-merge's gate holds it on its risk score (unreadable: the head is
  ad2f5bd05c32d2e60703e2f8ce6eff88dfb647c1, not bb4aa309d21cf4d190d3657796e600d086e5d6f9)

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head ad2f5bd05c32d2e60703e2f8ce6eff88dfb647c1.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 1, 2026
Merged via the queue into main with commit b280b2d Nov 1, 2026
47 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-12024-41336255071-1 branch November 1, 2026 20:52
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

feat(planning): list prototype evidence and what stays unproven in /planning:plan

1 participant