Skip to content

feat(app-control): record a control skill's launch model and make ready mean usable from empty data - #16370

Merged
kyle-sexton merged 20 commits into
mainfrom
feat/15798-control-skill-launch-model
Nov 16, 2026
Merged

kyle-sexton merged 20 commits into
mainfrom
feat/15798-control-skill-launch-model

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

Refs: #15798

Summary

Problem: a control skill did not record how its app is launched and isolated, and "ready" could mean only that a process answers. Intent: align the launch and health check with the upstream verification skill the issue cites, so ready means a user could use the app, starting from nothing.

The control-skill contract now requires a start from empty data and a recorded launch model, the Ready rule covers port ownership and credential validity, and the create flow's prove step launches from empty state. The two-version eval compare the issue asks for has run: met on opus, not met on sonnet on one case drop. The owner decided on 2026-11-15 to merge with that drop stated here ("go w/ recommednations"); the record is under Eval record below.

Fix

  • Contract (plugins/app-control/reference/control-skill.md): a new "launch model" rule. A run starts from empty data with migrations and seed, in a new data directory per run where the app keeps data. The hub's ## Launch section records Data:, Side by side: and, for a short-lived app, Session: (build once, one isolated session per drive).
  • Ready rule (contract and /app-control:drive): the port must belong to the instance the run drives, an attached instance included, and credentials must be valid, not only that something answers.
  • /app-control:map: discovery asks for the launch, ready and data facts; the prove step launches from empty state; check gains a launch-model rule that requires the Data: and Side by side: lines; refresh treats a missing line as doc drift, which is how existing control skills pick the lines up.
  • Dogfood: both of this repository's control skills record their launch model, control-claude-code (harness-ops) and control-claude-code-plugins.
  • The pstack upstream record's empty-data line reads taken.

Every value is the consumer's: the data directory, the isolation model and the checks are recorded in the consumer's control skill, never assumed by the plugin.

Limits to name, both recorded as gap lines the contract allows: this repository's own app is a Claude Code terminal session, which reuses the person's signed-in config directory, so its hubs record Data: none with the reason; and its driver's Ready does not yet prove who holds the session socket or that the login is valid (Port owner: not exposed, Credentials: not exposed). The issue's demo of Ready failing on a held port therefore does not hold for this repository's own control skill.

Verification

  • check-map.test.sh: 87 cases, 0 failed (the 6 new cases failed first); check-map-parts.test.sh: 5 cases, 0 failed. Both run again by the session that opened this PR.
  • The changed-skills check passes for the 3 changed skills; markdownlint, shellcheck and the changelog fragment checks pass; the upstream record's line citations re-check clean.
  • New eval case check-missing-launch-model and the existing cases' updated fixtures pass the static validator with no failure.
  • Dogfooding step: this repository's two control skills carry the new lines and no longer draw the launch-model finding from the check.

Left out: no app was launched (the dogfood values come from reading the driver); a compare at the merged head (see Eval record); any run of the three ready-* eval cases added after the compare.

Eval record

Registered before any run; launched by the owner in the local eval-runner session; 204 of 204 batches valid; no usage-limit stop; no rerun; Claude Code 2.1.325; 135.30 USD list price against a 220 USD cap. 50 existing cases plus the new case check-missing-launch-model, 3 runs per side, margin 0.05; the eval case files were identical on both sides.

Model Existing cases, paired change 95% interval Case drops New case Verdict
opus +0.02 over 50 cases +0.00 to +0.04 none met met
sonnet +0.01 over 48 cases -0.02 to +0.04 1 met not met
  • The sonnet case drop: check-copied-recipe fell from 0.83 to 0.50 (run scores before 0.5, 1, 1; after 0.5, 0.5, 0.5). Every failing reply says the hub's Launch steps are copied from nowhere; the run-shop skill they copy sits beside the control skill. This PR does not change the check's copied-recipe step, which does not say where a recipe lives. A follow-up PR fixes that step with its own compare of this case.
  • Two sonnet cases not decided and left out of the paired set: threads-capture-recheck-fails-interactive and unattended-production-write-off (too few counted after-side runs).
  • Amendment after launch: the first launch stopped at batch 30 on a helper defect (a file's side read from a substring of the case name). The helper was fixed, batches 1 to 30 rechecked, and the owner decided that stop is not counted. While the fix was tested, the sonnet result was computed once over batches 1 to 30; it fed no decision.
  • Measured head and this head differ. The compare measured 0b40f3e against its merge base. Since then, in plugins/app-control:
    • from main, by merge (never a rebase): feat(app-control): require preconditions and per-step evidence in control skills, never weaken a journey #16402 changed skill text in reference/control-skill.md, skills/drive/SKILL.md, skills/drive/reference/evidence.md, skills/map/SKILL.md, skills/map/reference/prove.md and skills/map/reference/refresh.md;
    • on this branch: the new case's run-shop.md fixture gained the migrate and seed steps its hub cites, and three ready-* eval cases were added. Skill text changed on the branch after the measured head only in 844a016cfe, below.
      • 09e6b108ac (review fix): no file under plugins/app-control; re-points line citations in docs/upstream/cursor-pstack.md.
      • e62d2fcf32 (review fix): evals/check-missing-launch-model/fixtures/run-shop.md; no skill text.
      • edfd690724 (review fix): evals/check-missing-not-driven-reason/fixtures/control-shop.md, evals/check-over-size-budget/fixtures/control-shop.md, evals/check-dead-index-line/fixtures/control-shop.md, all three as measured in the compare; no skill text.
      • b62956bb78 (review fix): the three evals/ready-* cases (case, hub, CLI and sample files); no skill text.
      • 844a016cfe (review fix): skills/drive/SKILL.md, the bare action row and the "An app already running is not yours" Gotcha. This changes skill text after the measured head, on the owner's decision of 2026-11-15: drive reuses only the instance in this run's launch record under --out, and any other running app is reached only through --attach. The compare was not run again for it.
      • a changelog fragment line for that drive change, and a CI fix in skills/map/scripts/check-map.sh: the launch-model Data check no longer pipes into an early-exit grep (same findings; check-map.test.sh 87 cases, 0 failed); no skill text.
      • a pr-verify fix in the three evals/ready-* cases: the launches-nothing grader counted any Bash call that mentioned the server's command line; it now needs the command at the start of the call or after a shell separator, with a must-pass sample that quotes the command line; no skill text.
        The compare was not run again at this head.

Related

  • Upstream: the pstack record under docs/upstream/, rows for the launch and ready rules.
  • Cases the compare covers: the check, create, refresh and drive-ready cases under plugins/app-control/evals/, plus the new case.

Remaining

🤖 Generated with Claude Code

kyle-sexton and others added 6 commits November 15, 2026 10:37
… from empty data

The control-skill contract gains "The launch model": `## Launch` starts
the app from empty data with migrations and seed, in a per-run data
directory where the app keeps data, and records `Data:`, `Side by side:`
and, for a short-lived app, `Session:` lines. The Ready rule now covers
port ownership and credential validity. Discovery's Run, Ready and Data
rows ask for these, create's proof launches from empty state, drive's
Ready rule names them, and refresh treats missing lines as doc drift.

`/app-control:map check` gains the `launch-model` rule. The check eval
fixtures carry the new lines, and check-missing-launch-model is a new
case for the rule.

Refs: #15798

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015te8Csz4bqxpok4iu8Mcrd
…ol skills

control-claude-code and control-claude-code-plugins now state their
launch model under `## Launch`: no per-run data directory, because a
run reuses the signed-in Claude Code config directory; sessions run side
by side under distinct `<session>` names, since `launch` reserves each
name with a lock file; and one new session holder per drive.
control-claude-code's Ready states that port ownership and credential
validity are not exposed: the session line only pings the socket and
does not change Ready's exit, and Ready stops before any request.

Refs: #15798

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015te8Csz4bqxpok4iu8Mcrd
The create-verification-skill row's usable-state readiness candidate,
left "not taken; owner to decide", is now taken in app-control per the
owner's 2026-11-12 decision. The app-control:map row records the launch
model and Ready rules with their citations, and its shifted line
citations are updated.

Refs: #15798

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015te8Csz4bqxpok4iu8Mcrd
Ready's port-owner check named only the instance a run launched, which
left no fit already-running app for drive's bare action and --attach.
The port now belongs to the instance the run drives: the one it
launched, or the pid the person attached. The legacy check eval's
prompt states its hub carries the launch model lines, the new case's
scaffold drops a comment, and the upstream record's Ready range moves to
the section's current lines.

Refs: #15798

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015te8Csz4bqxpok4iu8Mcrd
…odel

Resolve two conflicts by keeping main's newer text and re-applying the
launch-model changes on top:

- map/reference/refresh.md: main's Doc drift row names a state the
  Preconditions line does not name; the branch's missing Data: or
  Side by side: line is added to it.
- docs/upstream/cursor-pstack.md: the branch's rewritten rows keep
  main's #15797 addition to the app-control row, and the branch's own
  line citations into map SKILL.md and prove.md move to where the
  merged text sits.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
kyle-sexton and others added 4 commits November 15, 2026 17:18
…ts hub cites

The fixture hub's Data line says the run-shop skill migrates and seeds a
new SQLite file, but the fixture's run-shop skill had neither step. A run
on opus reported that mismatch in all three runs, which the case's judge
grader counts as inventing a Data-line problem.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Three drive ready cases against a hub whose Ready only checks that the
port answers, with a driver CLI stub that reports the listening pid and
the API's answer to the run's credential:

- ready-port-held-by-other-process: the port answers from a pid other
  than the launch record's; expects not ready naming the port owner,
  no launch and no process stopped.
- ready-credential-rejected: the launched pid holds the port and whoami
  returns 401; expects a whoami call and not ready naming the credential.
- ready-owned-port-valid-credential: control; expects ready.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton

Copy link
Copy Markdown
Member Author

Handing this pull request back to GitHub Work (desk): the laptop session's commits are done, it will not push to this branch again, and it has stopped its own eval runs here. Take it to ready and merge under the owner's decision recorded on issue 15798.

What the laptop session added, head fc756510f67 (main taken by merge only, never rebased):

  • 7415727f5e2, 68cd4d4e226, fc756510f67: merges of main. The first resolved conflicts in plugins/app-control/skills/map/reference/refresh.md and docs/upstream/cursor-pstack.md.
  • 542dc428e08: fixture fix. plugins/app-control/evals/check-missing-launch-model/fixtures/run-shop.md gained migrate and seed steps, because the fixture hub's Data line cites them. On opus at 7415727 that case failed 3 of 3 on its judge grader for reporting the mismatch.
  • 6e438b9e81a: three new eval cases for drive's Ready rule (ready-port-held-by-other-process, ready-credential-rejected, ready-owned-port-valid-credential), 13 deterministic graders, static validator 0 FAIL. They have not been run through claude plugin eval on any version. Expected on base 8229e58fcd9: the first two fail, the control passes.

For the body: the measured head stays 0b40f3e9; the commits above changed only eval cases and one fixture under plugins/app-control, no skill text. Partial runs here, not a record: opus on base 8229e58 passed 11 of 11; sonnet on base passed 8 of 11, with check-copied-recipe at 0.5 on base too.

Two follow-up points from building the Ready cases: report.json has no field for the port-owner or credential result, and the contract's "read the Ready command's exit status as the verdict" disagrees with drive's "a port answering is not enough" when a hub's Ready exits 0 on a wrong port owner.

@kyle-sexton kyle-sexton removed the do-not-merge Hard merge gate: do not merge while applied. label Nov 15, 2026
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 15, 2026 22:48
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-15T22:51:53.396476Z fc75651 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/fix-docs
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 43771370896

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@github-actions

github-actions Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review: incremental, 3bc7599..018f748

I found no security issues. This lane reviewed an earlier head of this pull request, so this pass was blocking only: it reports CRITICAL and IMPORTANT findings and drops SUGGESTION ones.

Scope: the list had 4 files to read, and I read every hunk of each:

  • plugins/app-control/evals/ready-credential-rejected/case.yaml
  • plugins/app-control/evals/ready-credential-rejected/samples/launches-nothing.json
  • plugins/app-control/evals/ready-owned-port-valid-credential/case.yaml
  • plugins/app-control/evals/ready-port-held-by-other-process/case.yaml

The other two samples/launches-nothing.json files are identical copies of the one above. They are eval fixtures at matching paths, so the same content does nothing different there.

What changed:

  • In three eval cases, the launches-nothing grader's input_match regex is broader. It now also counts a python3 shop/server.py launch in these forms:
    • inside a brace group or a backtick;
    • after -c ";
    • behind nohup, setsid, exec, env, sudo or timeout N;
    • behind an environment assignment.
  • Each case gets three new fail samples that cover those forms.

What I checked:

  • No executable or trust surface: the changes are only eval grader config and sample JSON. The eval harness scores agent tool calls against the regex, and the sample command strings are test data that never runs. The change touches no hook, workflow, script, manifest, token request, kill switch, merge hold or instruction surface, and no file matches a trusted-path glob.
  • Grader change: the regex only decides how one plugin's eval is scored. It gates no credential, deploy or merge, and it can cause no leak, compromise or charge. It is also a bounded regex over a short command string, with no ReDoS concern in this context.
  • Prior findings: this lane's only earlier post was a summary with no findings, so there is nothing to restate.
  • Spend: none.

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: 5 inline finding(s) on fc756510f67f95001bea5e6d614264bdffbae2da; the summary is in this lane's pull request comment.

claude-lane: claude-review

Comment thread docs/upstream/cursor-pstack.md Resolved
@github-actions

github-actions Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

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

Code review: incremental, 3bc7599f23f → 018f748326d (blocking findings only)

This lane already reviewed earlier heads of this PR, so this pass reports only blocking findings. I read the whole incremental change for all 4 files in .claude-lane/to-read.txt. The other two samples/launches-nothing.json files are identical copies of the one I read.

What changed. The same launches-nothing input_match was widened in all three ready-* cases:

  • A run of prefix words may now come before python3: nohup, setsid, exec, env, sudo, timeout <n>, or an environment assignment.
  • A backtick, {, and -c followed by a quote now also count as the start of a command.
  • Three must-fail samples were added: an env-assignment prefix, bash -c with timeout, and a brace group with setsid.

This answers this lane's earlier finding (r4581110355), which the owner has since resolved.

Hand trace (not run). I traced the YAML-unescaped regex by hand against the JSON-serialized form of every sample in ready-credential-rejected/samples/launches-nothing.json:

  • Pass samples: cli/shop ready ./evidence, and the echo … / grep -n '\"command_line\": \"python3 shop/server.py' sample. Neither matches. command_line does not satisfy "command"\s*:, and no token before python3 there is a start alternative or a prefix word.
  • Fail samples: all five match. Plain, && nohup, SHOP_MAIL=off, -c \"timeout 30, and { setsid.

The hub's Launch line (fixtures/control-shop.md:10) and the launch record both use the bare python3 shop/server.py … form, which the pattern covers. I did not run the validator or any eval. The author says the validator reports no failure; I have not verified that.

Closing issue: the PR context names #15798. This push touches only eval graders and samples, so I checked no acceptance criteria against it.

Settled threads / prior findings: the only prior finding on these lines is the grader thread named above, now resolved, and this push fixes what it raised. The other settled threads cover other files.

Manifests: no plugin.json or marketplace.json changed in this scope.

Trusted paths: no file in scope matches a trusted-path glob.

Verifier dropped 0 of 0 candidates.

kyle-sexton and others added 4 commits November 15, 2026 18:14
The #15797 part of the create-verification-skill row cited lines this
branch's own edits moved: the contract's Drive steps rule, check-map.sh's
drive-result check and its tests, drive's stated-result rule, and map's
refresh triage.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The check-missing-launch-model recipe migrated into a mktemp path that
its seed and server steps never used, so the hub's Data line described a
per-run database the recipe did not build.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…recipe

check-missing-not-driven-reason, check-over-size-budget and
check-dead-index-line ship a run-shop recipe with no migrate or seed
step and a fixed port 8080, but their hubs said a per-run SQLite file
from migrate and seed and a port per run. They now carry the lines
check-copied-recipe uses for the same recipe.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ntract

The shared hub's Ready was `cli/shop health`, which exited 0 whichever
process held the port and made no credential call, while the contract
puts both checks in the Ready command and has drive read its exit
status. The hub's Ready is now `cli/shop ready <run dir>`, which checks
the listener against the launch record and calls GET /api/me, exiting 4
or 3 on failure. The graders look for that command instead of `health`
and `whoami`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton

Copy link
Copy Markdown
Member Author

One thing before this merges: the three ready-* eval cases added in 6e438b9e81a have never been executed. The laptop session is running them now, opus, three runs each, on the head and then on base 8229e58fcd9 (where the first two should fail and the control should pass), and will post the result here. If you merge before that lands, say so in the body: the cases are unproven.

kyle-sexton and others added 2 commits November 15, 2026 19:18
Drive's bare action reused any running app it judged fit, but the Ready
rule's port owner accepts only the instance this run launched or an
attached pid, so a found instance could never pass. Per the owner's
decision, drive now reuses only the instance in this run's launch record
under --out; any other running app is reached only through --attach. The
Gotcha says the same. Unattended behaviour is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton

Copy link
Copy Markdown
Member Author

Result of running the three ready-* cases on the head (opus, 3 runs each, plugin at fc756510f67), from the laptop session. They are not ready to count as written: one grader is wrong.

  • launches-nothing failed 9 of 9 runs, in all three cases, the passing control included. It is a false positive. Its pattern python3?\s+(?:\S*/)?shop/server\.py matches any Bash command that mentions the server's command line, and every run wrote its report with one Bash call that quotes the launch record (command line python3 shop/server.py --port 18080 ...). No run launched anything. Fix: match a launch, not a mention, for example anchor the pattern to the start of a command segment ((?:^|&&|;|\|)\s*(?:nohup\s+)?python3?\s+(?:\S*/)?shop/server\.py), and add a sample the grader must pass that quotes the command line inside a heredoc.
  • Every other grader passed in every run, except runs-ready-command in one of the three control runs.
  • So on the head, with that grader set aside: port-held and credential-rejected report not ready for the right reason 3 of 3; the control reports ready 3 of 3.

The base run (8229e58fcd9), which shows whether the two failing-on-purpose cases detect the rule, is running; I will post it here. I am not pushing to this branch: the grader fix is yours to take, or say so here and I make it.

…ly-exit grep

The Data check piped one grep into `grep -q`, which the pipefail-grep-q
hygiene gate refuses: under pipefail a producer killed by SIGPIPE makes a
present match read as absent. The lines are captured first, then tested.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 16, 2026
@kyle-sexton

Copy link
Copy Markdown
Member Author

Base result for the three ready-* cases (opus, 3 runs each, plugin at base 8229e58fcd9): they do not detect the Ready rule.

Setting aside the broken launches-nothing grader (it failed 7 of 9 runs here for the same reason as on the head):

  • ready-port-held-by-other-process: every other grader passed 3 of 3 on base. The old skill text also reports not ready and names the port owner.
  • ready-credential-rejected: 2 of 3 base runs called cli/shop whoami and reported the rejected credential; one did not (checks-credential failed).
  • ready-owned-port-valid-credential (control): passed, as expected.

So base and head behave almost the same on these cases: the fixtures and the prompt (the stub prints both pids; the config names the credential; the prompt asks for ready: no: <reason>) lead the model to the answer without the new rule. As written they are not a detection control and say nothing about whether the rule text changes behavior. To make them discriminate, the fixture must not hand over the answer: the hub's Ready should only say the port answers, the stub should print the listener pid only when asked through a separate subcommand the old skill has no reason to call, and the prompt should not name the not-ready shape.

Recommendation: merge under the owner's recorded decision without counting these three cases as evidence, and either drop them from this pull request or fix them in the follow-up that fixes check-copied-recipe. Not pushing here; say so and I make either change.

@github-actions

Copy link
Copy Markdown
Contributor

The pr-verify verifier failed head 9a62802d6b68bda193dbcf4c1456066def2ba452. What it wrote, as data:

What it wrote (33 lines)
Summary: Refs #15798 (partial delivery). The body names what was delivered (the contract's launch
  model, a Ready rule covering port owner and credentials, map discovery, prove and check/refresh
  changes, the dogfood lines in both of this repository's control skills, and the upstream record
  line now reading taken). It also names what remains (the sonnet compare drop, a copied-recipe
  follow-up, the Ready-on-held-port demo that this repository's own hub cannot show, and the three
  ready-* cases never run). The skill and contract text matches the done-when items. The new
  `launch-model` check in check-map.sh is covered by 7 new check-map.test.sh cases, and the Test
  Bash jobs passed on the judged head
  (https://github.com/melodic-software/claude-code-plugins/actions/runs/43780532904/job/133016702711,
  https://github.com/melodic-software/claude-code-plugins/actions/runs/43780532904/job/133016702737).
  There are no binary files. The capture was blocked by the credit stop, so it is no evidence either
  way. Disclosed and not counted against this partial delivery: the compare measured 0b40f3e9, and
  skill text changed after it (drive/SKILL.md in 844a016cfe, plus main merges). What blocks: the
  three new ready-* eval cases still carry the `launches-nothing` grader that the owner's run on
  this PR showed is a false positive. It failed 9 of 9 runs, the passing control included, because
  it matches any Bash command that mentions the server's command line. The judged head still has the
  same pattern, and it still has the triggers: report.json's `command_line` and the port-held CLI's
  `listener_command_line`. So these cases cannot pass on correct behaviour.
- plugins/app-control/evals/ready-credential-rejected/case.yaml:34: the `launches-nothing`
  input_match `python3?\s+(?:\S*/)?shop/server\.py` matches any Bash call that quotes the launch
  record's command line (the owner's run on this PR failed it 9 of 9). Anchor it to a launch at the
  start of a command segment, e.g.
  `(?:^|&&|;|\|)\s*(?:nohup\s+)?python3?\s+(?:\S*/)?shop/server\.py`.
- plugins/app-control/evals/ready-owned-port-valid-credential/case.yaml:34: same false-positive
  `launches-nothing` pattern, and in the control case it makes the case fail on correct behaviour.
  Apply the same anchored pattern.
- plugins/app-control/evals/ready-port-held-by-other-process/case.yaml:34: same false-positive
  `launches-nothing` pattern, made worse because cli-shop's output carries `listener_command_line:
  python3 shop/server.py ...`. Apply the same anchored pattern.
- plugins/app-control/evals/ready-port-held-by-other-process/samples/launches-nothing.json: add a
  `pass` sample whose Bash command quotes `python3 shop/server.py --port 18080 ...` inside a heredoc
  or echo (writing the report), so the validator proves the grader passes a mention. Do the same in
  the other two ready-* cases' samples/launches-nothing.json.

This pull request leaves the merge queue, and ci-status holds it out while it carries pr-verify-failed. A pr-verify pass removes the label, at a new commit or at this same head: once a trusted person edits the body, and only trusted people have edited it since the fail, this head is judged again, so a fail on the body or the issues it links needs only the body fixed, no new commit.

@github-actions github-actions Bot added the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 16, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 16, 2026
The launches-nothing grader matched any Bash call that mentioned the
server's command line, so quoting the launch record failed a correct run.
The pattern now needs the command at the start of the call or after a
shell separator, and the samples add a quoted mention that must pass and
a launch after another command that must fail.

Co-Authored-By: Claude Fable 5.2 <[email protected]>

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

claude-lane: claude-review

…ready-* cases

The anchored launches-nothing pattern missed a launch behind an
environment assignment, setsid, exec, timeout, sudo, bash -c, backticks
or a brace group. It now allows a run of prefix words and those openers,
with a must-fail sample for three of the forms.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@github-actions github-actions Bot removed the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 16, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 16, 2026
Merged via the queue into main with commit 492dd68 Nov 16, 2026
52 checks passed
@kyle-sexton
kyle-sexton deleted the feat/15798-control-skill-launch-model branch November 16, 2026 01:30
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Post-merge mutation testing

Killed 4, survived 2, timeout 0, no coverage 0, invalid 0, not run 0.
Covered-code score 67%; mutation score 67%.

File Killed Survived Timeout No coverage Invalid Not run
plugins/app-control/skills/map/scripts/check-map.sh 4 2 0 0 0 0

Surviving mutants

Location Operator Disposition Cause
plugins/app-control/skills/map/scripts/check-map.sh:446 other unclassified none
plugins/app-control/skills/map/scripts/check-map.sh:448 other unclassified none

The run's summary has the full report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant