Skip to content

Record how a control skill's app is launched and isolated, and make ready mean usable from empty data #15798

Closed

Description

@kyle-sexton

Parent

Refs #15659. Third of five alignment items that bring app-control closer to Lauren Tan's verification skills (cursor/plugins pstack/skills/create-verification-skill, MIT).

Depends on

  • none: on the frontier now

Outcome

A control skill records how its app is launched and isolated, and "ready" means a user could use the app, starting from nothing.

Demo: this repository's control skill hub states whether two instances can run side by side; its Ready check fails when the port is held by another process; a prove run launches from an empty data directory.

What her skills require, kept:

  • "Ready means usable, not just that a process answers" (create-verification-skill/SKILL.md:27): usable from an empty data directory, migrations and seed data included.
  • A separate data directory per run; for a short-lived command-line or terminal app, build once and use one isolated session per drive; state whether two instances can run side by side (create-verification-skill/SKILL.md:19, :27).
  • The health check confirms the port belongs to this app and that credentials are valid, not only that something answers.

Decisions

  • Owner, 2026-11-12: align closer with how her skill launches and health-checks the app. The upstream record had left the empty-data rule as "not taken, owner to decide"; this decides it: taken.
  • /verification:confirm already states "ready means usable" for its own live drive; this item puts it in the control-skill contract's launch and ready rules and in the create flow's prove step.
  • Every value here is the consumer's: the data directory, the isolation model and the checks are recorded in the consumer's control skill and config, never assumed by the plugin.
  • These are additions to the contract; existing control skills pick them up at their next refresh.

Key interfaces

  • The contract's hub rows for launch and ready, the discovery step's data row, and the prove step.

Done when

  • The contract's launch rule requires a start from empty data with migrations and seed, and a per-run data directory where the app has one.
  • The hub records the launch model: whether instances can run side by side, and for a short-lived app, build once and one isolated session per drive.
  • The Ready rule covers port ownership and credential validity.
  • The create flow's prove step launches from empty state.
  • This repository's control skills record their launch model (dogfood), named in the pull request body.
  • The pstack upstream record's empty-data line changes from undecided to taken.
  • Changed skill text ships on a two-version compare of the changed skills' cases (opus and sonnet aliases, three runs per side, --case filter, a --max-cost-usd ceiling, no new batch after a usage-limit error), run in the one local eval-runner session; the pull request carries do-not-merge until the record lands.

Out of scope

  • Reusing one long-lived instance across features during upkeep (the upkeep alignment item, which depends on this one).

Activity

  1. added
    agent-ready
    on Nov 13, 2026
  2. melodic-automation-lanes commented on Nov 13, 2026

    @melodic-automation-lanes
    Contributor

    No work-resolve-issue run started in the 1 hour since agent-ready was last added. work-unblock removed and added agent-ready back to start a fresh run on main's workflow files. If this run ends the same way, it re-fires the issue again, waiting longer each time.

  3. melodic-automation-lanes commented on Nov 13, 2026

    @melodic-automation-lanes
    Contributor

    No work-resolve-issue run started in the 1 hour since agent-ready was last added. work-unblock removed and added agent-ready back to start a fresh run on main's workflow files. If this run ends the same way, it re-fires the issue again, waiting longer each time.

  4. melodic-automation-lanes commented on Nov 13, 2026

    @melodic-automation-lanes
    Contributor

    No work-resolve-issue run started in the 1 hour since agent-ready was last added. work-unblock removed and added agent-ready back to start a fresh run on main's workflow files. If this run ends the same way, it re-fires the issue again, waiting longer each time.

  5. removed
    agent-ready
    on Nov 13, 2026
  6. github-actions commented on Nov 13, 2026

    @github-actions
    Contributor

    Size: Medium
    Complexity: Medium
    Uncertainty: Known
    Flags: none
    Blocked by: none

    Understood: add launch-model and isolation rules, plus an empty-data "ready means usable" check (port ownership, credential validity), to the control-skill contract, the hub, and the create flow's prove step. Also dogfood this in the repo's control skills and update the pstack upstream record. The issue records the owner's decision and has a bounded done-when list. The two-version eval compare is a local-session step, so it is not a blocker for triage. I found no duplicate. Nothing more is needed from the reporter.

    Automated triage. A maintainer reviews it.

  7. melodic-automation-lanes commented on Nov 13, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"3c8aac22f70cec391ed450c77e8b61ac13a4479a1b720b0222cc15df2458f5a1","body_sha256":"1c6b13d2f7e039b1c36ea1a220e3fe05a4b98b8264969f04f4fa99f6226f2099"}

  8. github-actions commented on Nov 13, 2026

    @github-actions
    Contributor
    No description provided.
  9. melodic-automation-lanes commented on Nov 13, 2026

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue run that agent-ready started failed or was cancelled before it reported, or it stopped or the token broker refused it because its workflow files differ from main's. work-unblock removed and added agent-ready back to start a fresh run on main's workflow files. If this run ends the same way, it re-fires the issue again, waiting longer each time.

  10. github-actions commented on Nov 13, 2026

    @github-actions
    Contributor
    No description provided.
  11. added
    host-run
    on Nov 13, 2026
  12. melodic-automation-lanes commented on Nov 13, 2026

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue lane stopped on this issue (patch-protected-path): the change needs a path the issue lane may not push, which a maintainer session builds by hand.
    It added host-run and set Work status to confirmed: an agent run on a host builds it, and it waits on no decision from a person.

    In the run's words:

    The run stopped early (patch-protected-path): its change needs a path the issue lane may not push, which a person changes instead. In the run's words: patch-protected-path: .claude/skills/control-claude-code-plugins/SKILL.md. The issue's demo ("this repository's control skill hub states whether two instances can run side by side; its Ready check fails when the port is held by another process") and its done-when item "This repository's control skills record their launch model (dogfood)" require editing this repository's control skill hub, which sits under .claude/skills/, a path Claude Code protects and this lane cannot push. Stopped before any edit.

    What the run says it did not do:

    • Every done-when item: the run stopped before any edit because the dogfood item needs the protected path .claude/skills/control-claude-code-plugins/SKILL.md
    • The two-version eval compare (opus and sonnet, three runs per side) has to run in the local eval-runner session; this lane cannot run it

    Run: https://github.com/melodic-software/claude-code-plugins/actions/runs/43397918513

    To hand it back to the lane, remove host-run and set Work status to agent-ready again.

  13. kyle-sexton commented on Nov 15, 2026

    @kyle-sexton
    MemberAuthor

    Eval record for the done-when item "changed skill text ships on a two-version compare". Result: met on opus, not met on sonnet (one case drop). #16370 stays a draft with do-not-merge until the owner decides.

    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. Before = the branch's merge base; after = #16370's measured head; the eval case files are identical on both sides. 50 existing cases plus the new case check-missing-launch-model, 3 runs per side, margin 0.05.

    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. In all four failing runs (one before, three after) the reply says the hub's Launch steps are copied from nowhere, and two of the after-side replies say no run-<name> skill exists "in the directory": they looked inside the control skill's own directory, while the run-shop skill sits beside it. Each failing run took 7 turns; the two passing runs took 10 and name the run-shop skill. The branch does not change the check's copied-recipe step, and that step does not say where a recipe lives. With 3 runs a side this record cannot tell a real loss from a case that already failed one run in three.
    • Two sonnet cases not decided and left out of the paired set: threads-capture-recheck-fails-interactive (0 counted after-side runs) and unattended-production-write-off (1 counted after-side run).
    • New case, both models: the launch-model line is reported in 3 of 3 after-side runs and 0 of 3 before.
    • Amendment after launch: the first launch stopped at batch 30 on a helper defect (the helper read a file's side from a substring of the case name). The helper was fixed to read the side from the file name's position, batches 1 to 30 were rechecked, and the owner decided on 2026-11-15 ("go w/ recomendations") that this stop is not counted in the verdict.
    • Interim look, disclosed: while the fix was tested, the sonnet result was computed once over batches 1 to 30. It fed no decision.
  14. kyle-sexton commented on Nov 16, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded.

    Owner, 2026-11-15, asked what happens to #16370 with the compare met on opus and not met on sonnet on one case drop (merge with the drop stated and close on the record, with a follow-up fix to the check's copied-recipe step; or fix that step inside #16370 and rerun the case first; or hold): "go w/ recommednations", which is merge with the drop stated and close on the record. Asked later which running instance drive may reuse, after a review finding on #16370: "go w/ recommendations", which is only an instance in the run's own launch record; otherwise drive launches fresh or the person passes --attach.

    The eval record is in the comment above and in #16370's body.

    What is left, none of it in this issue:

  15. removed
    host-run
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    Work status

    confirmed

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions