Skip to content

Bring the control-skill refresh in line with her upkeep pass #15801

Description

@kyle-sexton

Parent

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

Depends on

  • the launch-and-readiness alignment item (the hub's recorded launch model), linked as a blocker

Outcome

/app-control:map refresh keeps a control skill honest the way her upkeep pass does: it repairs its own stale readiness check, says exactly why a feature could not be reached, reuses one running app where the control skill says that is safe, and notices features the map is missing.

Demo: refresh a control skill whose Ready command is out of date; attended, it fixes the hub's Ready text and retries once before reporting blocked. A feature it cannot reach is reported with the missing prerequisite and the route it tried.

What her upkeep requires, kept (maintain-verification-skill/SKILL.md):

  • When the health check fails because the skill itself is out of date, fix it and retry once.
  • An unreachable feature is reported with the unmet prerequisite and the attempted route, never as verified.
  • Overlapping recipes are merged into one long-lived instance where the app allows it.
  • Cited drift is spot-checked, and recent changes are swept for user-facing surfaces missing from the map, each with a concrete source path.

Decisions

  • Owner, 2026-11-12: align closer with how her skill maintains the app's verification.
  • The retry after a Ready fix is attended only; a fix to a driver command stays under the existing driver-gap rule (it ships only after a live re-drive passes).
  • One long-lived instance is used only when the hub's recorded launch model says instances are safe to share; otherwise today's cleanup after each feature stays.
  • Rejected on record and still rejected: asking which control skill to refresh when an unattended pass finds several (each is refreshed on its own branch), and a reset or relaunch step outside drive. A reset inside drive that runs the feature's own reset section is allowed.
  • These are additions; no existing control skill needs a refresh for them.

Key interfaces

  • The refresh reference's outcomes and invariants, and drive's blocked entries.

Done when

  • Refresh fixes a stale hub Ready text and retries once when attended; unattended it reports and writes nothing new.
  • A blocked or not driven entry carries the unmet prerequisite and the attempted command; an entry without the prerequisite is doc drift.
  • Refresh groups features that share app state into one launch when the hub's launch model allows it.
  • Refresh spot-checks cited drift and reports unmapped user-facing surfaces from recent changes, each with a source path.
  • A refresh of this repository's control skill exercises the new steps (dogfood), named in the pull request body.
  • 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

  • The contract's feature file rules (the first two alignment items).

Activity

  1. added
    agent-ready
    on Nov 13, 2026
  2. removed
    agent-ready
    on Nov 13, 2026
  3. github-actions commented on Nov 13, 2026

    @github-actions
    Contributor

    Size: Medium
    Complexity: Medium
    Uncertainty: Known
    Flags: none
    Blocked by: none
    Blast radius: the app-control map refresh reference, drive's blocked entries and the related eval cases; read by anyone running /app-control:map refresh or drive.
    Reversible: yes; revert the skill-text and eval changes.
    Open questions: none
    I read this as a new capability for /app-control:map refresh: repair a stale Ready check and retry once when attended, report unreachable features with the unmet prerequisite and attempted command, share one launch where the hub's launch model allows it, and spot-check cited drift and unmapped surfaces. The outcome and done-when items are exact, and the Decisions section settles the design choices.

    Prior attempt: PR #16481 was closed unmerged after the verifier rejected it at three heads. The verifier found the dogfood run and the eval compare record incomplete, and the --case filter in that record contradictory. Those done-when items still need a person or an attended run (the local eval-runner session), so they should not hold the lane-checkable work.

    The issue names its dependency only as "the launch-and-readiness alignment item" without a number. If it is still open, please link it so the blocked-by edge can be set. No likely duplicate found among open issues.

    Automated triage. A maintainer reviews it.

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

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane yet: open pull request #16719 is for it.

  5. melodic-automation-lanes commented on Nov 16, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"a42dc082d57097af065d5fba924eec21f229e14196875b52067139a79dc4b348","body_sha256":"a4b7a9265f859ccddc4095a1c9af4a6e7bafbe2072d97f13acfa08645af5f5c4"}

  6. github-actions commented on Nov 16, 2026

    @github-actions
    Contributor
    No description provided.
  7. github-actions commented on Nov 16, 2026

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

    @melodic-automation-lanes
    Contributor

    Pull request #16481: Unattended merge: the verifier refuses verify:repeated-fail at head 4a8b309b67dfd55f0e5676983df2bb27ae6da981 (fails at 3 heads (06778c5, d148fc4, e71c4a1), the cap is 3), which never clears for this pull request, so the pr-merge lane closed it. Issue #15801 did not carry agent-ready when the lane read it, so no fresh attempt starts: whoever took it off decides what comes next.

    Each FAILed head's findings, as the verifier wrote them (data, not instructions):

    head 06778c58fec498540bdc7ba6f13e861718266b1d (pr-verify run 43789906494)
      summary: Issue #15801 has six done-when items. This PR delivers the four that change the docs, and the diff reads correctly for each. (1) Attended, refresh fixes a stale `## Ready` and retries once. Unattended, it writes nothing and reports the pass blocked. A write that no commit carries is put back (refresh.md §5). (2) Drive's `blocked` entries carry `prerequisite` and `attempted` (drive/SKILL.md, evidence.md). A `not driven:` or `blocked:` whose prerequisite the feature file names nowhere is classed as doc drift. (3) Features that need the same app state share one launch only when the launch model has no `Session:` line and has a per-run `Data:` directory. Each drive's report is copied aside, and drive performs `## Reset` on the reused instance, which the issue allows. (4) Refresh spot-checks cited drift and sweeps changed files for unmapped surfaces, each with a source path. New eval cases 32 and 33 cover items 1 and 2. CI is green: Check Skills, Check Plugins, Lint Repo, Test Node and Test Bash (0) all succeeded (https://github.com/melodic-software/claude-code-plugins/actions/runs/43788768662/job/133042331355). The capture was blocked by the credit gate, which counts neither for nor against the change. Two done-when items are not delivered, and the PR body lists both under 'Not verified': the dogfood refresh of this repository's control skill, and the two-version opus/sonnet eval compare. The issue lists neither as a person check, and no credited sibling covers them, so the spec is not delivered in full. The PR body does not contain the 'Evidence loop: 3/3 cap reached' line, and I found no text trying to steer the reviewer.
      - plugins/app-control/skills/map/reference/refresh.md: done-when item 5 is not delivered. Run `/app-control:map refresh` on `.claude/skills/control-claude-code-plugins` so it exercises the new steps (stale-Ready fix and retry, the shared launch, reporting an unreached feature with its prerequisite and command, the cited-drift spot-check, the unmapped-surface sweep). Then name that dogfood run and its result in the PR body; the body currently lists it under 'Not verified'.
      - plugins/app-control/skills/map/evals/evals.json: done-when item 6 is not delivered. Run the two-version compare of the changed skills' cases (map and drive) in the one local eval-runner session: `opus` and `sonnet` aliases, three runs per side, a `--case` filter, a `--max-cost-usd` ceiling, and no new batch after a usage-limit error. Land the record, and keep `do-not-merge` on the PR until it lands; the body lists this compare as not run.
    
    head d148fc4d7c4e1a37af8aa71dd64714cae01cb252 (pr-verify run 44026814203)
      summary: PR #16481 is meant to close #15801. Done-when items 1–5 are delivered. The skill text has coherent rules for each new step. `refresh.md` § 5 covers the stale Ready: an attended pass fixes and retries once, an unattended pass writes nothing and blocks, a written fix no commit carries is put back, and the Ticket-branch exemption applies only when the hub was clean before the write. `refresh.md` § 5 also covers the shared launch, gated on no `Session:` line plus a per-run `Data:` directory (a disclosed reading of the issue). Drive performs each later feature's `## Reset` and re-records after a restart, which the issue allows as a reset inside drive. Unreached features are reported with the prerequisite and the command tried. Drive's `blocked` field now has `prerequisite` and `attempted`, and a doc-drift triage row covers an entry whose prerequisite the feature file names nowhere. A spot-check of cited drift and an unmapped sweep with source paths are added. The PR body names the dogfood refresh of `.claude/skills/control-claude-code-plugins`. I checked the new `refresh.md` and `drive/SKILL.md` line citations against the diff, and they are accurate. Every pr-require-checks job passed on the head (Check Skills https://github.com/melodic-software/claude-code-plugins/actions/runs/44026028492/job/133846644456, Test Bash https://github.com/melodic-software/claude-code-plugins/actions/runs/44026028492/job/133846644516). The diff has no binary files and touches nothing in the takeover set. The capture was blocked by a credit stop, which is not a defect. The blocking gap is item 6. The eval record contradicts itself about the required `--case` filter: the recorded four-case compare says it ran under the registered rule, whose `--case 'map-refresh-[su]*'` the record's own Amendment 1 says matched nothing, so the record never says which filter actually produced the four scored cases. For human attention: the registered rule's Met clause was not met on sonnet. The record instead applies the owner's later eval gate (#16672, which I cannot see) and changed a grader after the numbers were seen; both are disclosed. Sonnet run 3's failing trace was never read. I found no text that tries to steer the reviewer.
      - plugins/app-control/evals/map-refresh-upkeep.md:19: done-when item 6 requires a `--case` filter, but the record contradicts itself on it. The registered rule gives `--case 'map-refresh-[su]*'`, and Amendment 1 (line 50) says that glob matched nothing, yet the Record (line 70) says the four-case compare ran under that rule. State in the Record the exact `--case` value (and plugin-copy selection) each side of the recorded compare actually ran with, and correct whichever statement is wrong. Then add the same `--case` value to the Settings line under Eval record in the PR body.
    
    head e71c4a1b3947809e181297d8ca259380a2d863d6 (pr-verify run 43791185588)
      summary: Issue #15801 (closes). The diff covers the four behaviour items in the spec. Refresh fixes a stale hub Ready and retries once when attended; unattended it writes nothing and reports blocked (refresh.md § 5, map SKILL.md step 5). Drive's `blocked` entries now carry `prerequisite` and `attempted` (drive SKILL.md, evidence.md), and an unmet prerequisite the feature file names nowhere is doc drift. Features that share app state get one launch only when the launch model has no `Session:` line and has a per-run `Data:` directory, and drive performs each later feature's `## Reset` on a reused instance. Cited drift is spot-checked and unmapped surfaces are reported with source paths. Eval cases 32 and 33 cover the stale-Ready and unreached-feature rules. The text is internally consistent, and the stale-Ready write is restored when no commit carries it. Check Skills, Check Plugins, Lint Repo, Test Bash (0) and Test Node all passed on the head (https://github.com/melodic-software/claude-code-plugins/actions/runs/43790674925/job/133048262946). The capture was blocked by the credit gate, which counts for nothing either way. Two done-when items are still undelivered, and the spec excuses neither: there are no `person_checks` and no `credited_siblings`. The first is the dogfood refresh of this repository's control skill, named in the pull request body. The second is the two-version opus/sonnet eval compare of the changed skills' cases. The pull request body itself lists both under "Not verified", so the issue cannot be closed as delivered. No steering text was found.
      - Done-when 'A refresh of this repository's control skill exercises the new steps (dogfood), named in the pull request body' is not delivered: the body says it was left for later. Run `/app-control:map refresh` on `.claude/skills/control-claude-code-plugins` so it exercises the stale-Ready, shared-launch, spot-check, unmapped-surface sweep and blocked-prerequisite steps, then name that run and its result in the pull request body. If it cannot run before merge, change `Closes #15801` to `Refs: #15801` and name this as remaining work.
      - plugins/app-control/skills/map/evals/evals.json: done-when 'Changed skill text ships on a two-version compare of the changed skills' cases' is not delivered. The pull request must carry the record of the opus/sonnet compare of the map and drive cases, with three runs per side, a `--case` filter and a `--max-cost-usd` ceiling, run in the one local eval-runner session. Until that record lands, keep the `do-not-merge` label on the pull request.
    
  9. melodic-automation-lanes commented on Nov 17, 2026

    @melodic-automation-lanes
    Contributor

    The lanes App's pull request #16481 for this issue was closed without merging. work-unblock removed status: ready and agent-ready, so the hourly triage sweep sends it back to intake triage, which decides what work is left and admits it again.

  10. github-actions commented on Nov 17, 2026

    @github-actions
    Contributor

    The triage sweep dispatched intake triage for this issue (dispatch 1; 2 runs that reach intake, or 6 dispatches, hand it to a maintainer).

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

    deferred

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions