Skip to content

feat(prototype): add an observe option to prototype:pressure-test - #12048

Merged
kyle-sexton merged 3 commits into
mainfrom
work-resolve-issue/issue-12022-41336252942-1
Nov 1, 2026
Merged

kyle-sexton merged 3 commits into
mainfrom
work-resolve-issue/issue-12022-41336252942-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #12022

Summary

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

/prototype:pressure-test now takes an observe option. With it, the agent builds each variant of a fork that a run can settle and drives all of them from one disposable harness on the same inputs. It records behavior, output and per-variant timing labeled timing (unqualified), then recommends a variant and cites the observed evidence. Product and preference calls stay with the person, a fork that is itself a performance target goes to /performance:goal, the auto-invoke STOP gate is restated and discipline.md is untouched, and the existing durable-note capture and shell deletion still apply. Design choice, based on the existing pt-* cases: the new eval case puts its prompt inline in case.yaml with one llm grader and labeled samples, and its fork (str.split versus Python's csv module on a quoted comma) is one that two variants settle by running.

Not verified

  • The issue's 'PR's CI is green' item: left to the PR's CI.
  • CI-only checks check-affected listed but did not run here, among them evals-schema, evals-quality, line-citations and lychee-offline: left to the PR's CI.
  • /evals:validate on the new case and a paid judge calibration of the new llm grader's samples: the evals plugin and the claude CLI are not available in this lane.
  • Tidy did not run every pass. Passes 1-3 found nothing to do (no code or comments in the yaml/json lines). Pass 4 ran write-for-agents on SKILL.md and cut two sentences that restated the section, but write-for-humans was not invoked on README.md or the fragment. Pass 5's ai-slop detector script is no
  • Review nits not acted on: the frontmatter description and the 'Two shells' section do not mention the observe harness (the issue requires only the argument-hint), and the new case cites the SKILL.md section by heading rather than by line range.

Fix

  • plugins/prototype/skills/pressure-test/SKILL.md: argument-hint is now \[observe\] \[scope\]; the Arguments and Purpose lines name observe; new section 'Observe: the agent runs the fork' (build and run each variant, per-variant record of behavior, output and unqualified timing, recommendation with
  • plugins/prototype/README.md: the skills table row and the Configuration inputs sentence list the observe option
  • plugins/prototype/evals/pt-html-demo-offline/case.yaml: re-pointed the MB:SKILL.md line citation from 111-113 to 114-116, because three lines were inserted above the CSP lines
  • plugins/prototype/evals/pt-observe-recommends/case.yaml: new case (schema_version 1.1) that invokes /prototype:pressure-test observe on a two-variant CSV-splitting fork; its expected_outcome states the per-variant record, the unqualified timing label and the csv-module recommendation
  • plugins/prototype/evals/pt-observe-recommends/graders/record-and-recommend.md: new llm grader (last_message) for the record, the timing label and the evidence-backed recommendation
  • plugins/prototype/evals/pt-observe-recommends/samples/record-and-recommend.json: labeled pass and fail samples for that grader
  • .changes/prototype/work-resolve-issue-issue-12022-41336252942-1-e69cdf94.md: new fragment with bump: minor and an Added entry describing observe

Verification

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

  • 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 after the edits, after tidy and after the review fixes)
  • check-changed-skills: pressure-test PASS, 0 errors, 4 advisory warnings (description length and body size above the Pocock reference sizes, body grew 214 -> 255 lines, no Gotchas surface)
  • check-affected: 11 passed, 7 skipped, 0 failed over 7 changed files; the rest are listed as CI only
  • git-read diff --unified=0 HEAD: plugins/prototype/context/discipline.md is not in the diff
  • local review by a fresh-context subagent: no blocking findings; 2 should-fix and 4 nits; both should-fix findings and 2 nits fixed (see not_done for the rest)
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41336252942

Left out: the items under Not verified.

Related

#12022

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

Security review: PR #12048, incremental since cfe66855

I found no security issues. I read every hunk of both in-scope files in .claude-lane/incremental.diff. Neither file matches a TRUSTED PATHS glob.

What I checked:

  • plugins/prototype/evals/pt-observe-recommends/graders/runs-harness.md: the regex grader's pattern now also matches a .py path that starts with an escaped double quote ((?:\\")?), such as python3 \"/tmp/.../harness.py\". The grader runs only in the eval harness, against the trace of the case's own run. It executes nothing, grants no tool and never reaches installed users. The added optional group does not change how the pattern backtracks in any way that matters.
  • plugins/prototype/evals/pt-observe-recommends/samples/runs-harness.json: one new labeled sample for that grader. It is static data that nothing executes.
  • Instruction surface: this change adds no standing instruction and deletes, narrows or softens none.
  • Plugin manifests: this change touches no plugin.json or marketplace.json, so there are no manifest lines to report.
  • Prior findings: this lane's only earlier post is a summary with 0 findings, so nothing carries forward. The round cap does not apply because this review is not past it.
  • PR context and settled threads: I found no embedded text that tells the review to pass the PR, skip a check, drop a finding or post somewhere else.

Spend: the regex grader runs locally and calls no paid judge, so it adds no model spend.

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

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

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

Code review (incremental): PR #12048, from cfe66855 to 3a946878

Scope. I read every hunk of the two files that changed since the last review, graders/runs-harness.md and samples/runs-harness.json, and both files at the head commit. I used the full diff, the PR context, the settled threads and the prior findings only for context.

Last round's inline finding (a double-quoted harness path failed the grader): fixed. The pattern now allows an optional escaped quote ((?:\\")?) before the .py path. There is a new pass sample, python3 \"/tmp/pressure-test-a1B2c3/harness.py\" (samples/runs-harness.json L11-L14). I worked the new pattern through all 8 samples by hand, and each one comes out on the side its label says:

  • The new pass sample matches. \\" matches the JSON-escaped quote. [^\s"\\]+ stops at harness, \.py matches, and \b falls between y and the closing \.
  • The 3 earlier pass samples still match. The new group is optional, so they match exactly as before.
  • The 4 fail samples still don't match.
    • The Read and Write samples have no Bash tool_use.
    • In python3 --version, -- is not accepted as a flag, and nothing after it ends in .py.
    • The tool_result sample has no "name":"Bash","input":{ prefix.

I did not run a regex engine or /evals:validate. The author's verification claims are still unverified.

Findings

  1. (advisory, untested criterion, restated from the last round) The closing issue's criterion says: "That section says that product and preference calls stay with the person, and that it hands off to /performance:goal only when the fork is itself a performance target." The section meets it, but no eval in the PR or the repository would fail if those sentences broke. pt-observe-recommends/case.yaml uses a correctness fork, which involves neither a preference call nor a performance target. Nothing in this round changes that.

No embedded text in the PR context, settled-threads or prior-findings files directs this lane.

Spend: this round adds no runs. The changed grader is a regex check over the existing case's trace and uses no model.

@melodic-automation-lanes

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

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head 3a9468788c0f68287ae3756b5ffa765e167333ce. The lanes clear this reason on their own; 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

The unattended merge path armed native auto-merge at head 9568423e9a407c50340916645a5ff4a973b438d6.

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

Copy link
Copy Markdown
Contributor Author

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

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

claude-lane: claude-review

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

Copy link
Copy Markdown
Contributor Author

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

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 1, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 3a9468788c0f68287ae3756b5ffa765e167333ce.

Merged via the queue into main with commit 1d678ce Nov 1, 2026
43 checks passed
@kyle-sexton
kyle-sexton deleted the work-resolve-issue/issue-12022-41336252942-1 branch November 1, 2026 19:49
kyle-sexton added a commit that referenced this pull request Nov 1, 2026
…lls-prototype

Conflict in plugins/prototype/skills/pressure-test/SKILL.md: keep this
branch's measured description (line 2) and take main's argument-hint
"[observe] [scope]" from #12048. Main did not change the description.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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(prototype): add an observe option to /prototype:pressure-test

1 participant