Skip to content

fix(app-control): make /app-control:drive keep the control-skill floors' caller duties #9667

Closed

Description

@kyle-sexton

Problem

The control-skill contract (plugins/app-control/reference/control-skill.md, "Safety floors", added in #9628) gives the caller that runs a feature's ## Drive steps three duties the stateless driver CLI cannot carry:

  • call cli/ sign-in <account> at most once per account per run, and stop the run on a failed attempt;
  • read exit 4 as refused by a floor and record the step blocked, never retry it;
  • pass --attended only when a person is present, and --yes for a granted production write only after the person said yes in this session.

/app-control:map keeps these during its own proof (plugins/app-control/skills/map/reference/prove.md). /app-control:drive runs those same steps on every plain run, and plugins/app-control/skills/drive/SKILL.md names none of them: it cites the contract only as "the shape a control skill follows". Found in the ready-flip code review of #9628.

Fix

Add the three caller duties to drive's SKILL.md (or a pointer to the contract's Safety floors section that drive reads before running Drive steps), keeping attended use as guidance, not enforcement (owner decision on #9581).

Done when

  • drive's SKILL.md states the one-sign-in-per-account rule, the exit-4 blocked rule, and when it passes --attended and --yes.

Activity

  1. added
    needs-triage
    on Oct 24, 2026
  2. github-actions commented on Oct 24, 2026

    @github-actions
    Contributor

    Proposed work class: work-class: scoped
    Basis: automated intake triage; the lanes App applied this class.

    Size: Small
    Complexity: Low
    Uncertainty: Known
    Flags: none
    Blocked by: none

    Understood: drive's SKILL.md should state the three caller duties from the control-skill contract's Safety floors (one sign-in per account per run, exit 4 recorded as blocked and never retried, and when to pass --attended and --yes). It can state them directly or point to the contract section. Attended use stays guidance, not enforcement. The scope and done-when are exact, so nothing is missing. I found no duplicate among the open issues.

    Automated triage, applied by the lanes App.

  3. added and removed
    needs-triage
    on Oct 24, 2026
  4. added
    status: ready
    agent-ready
    needs-human
    and removed
    agent-ready
    on Oct 24, 2026
  5. melodic-automation-lanes commented on Oct 24, 2026

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue lane stopped partway through this issue and needs a person.

    Why, in the run's own words:

    The issue's premise is absent from this checkout (HEAD 40699ae). plugins/app-control/reference/control-skill.md has no "Safety floors" section: a search of the whole repo finds no match for "Safety floors" or "--attended", and none for "sign-in" or "exit 4" in plugins/app-control. There is also no /app-control:map skill or prove.md (plugins/app-control/skills holds only drive). So the three caller duties, the cli/ sign-in verb and the exit-4 floor refusal are not defined anywhere I can read. Writing them into drive's SKILL.md would mean inventing the contract. #9628 appears not to have landed in this branch's base. Re-run once #9628's contract text is on the base branch, or paste the Safety floors text into the issue.

    What the run says it did not do:

    • Edit drive's SKILL.md: the contract's Safety floors text it must state or point at does not exist here. The two repository checks (check-changelog-fragments, check-affected) were not run because nothing changed.

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

    To retry, remove needs-human and add agent-ready again.

  6. kyle-sexton commented on Oct 25, 2026

    @kyle-sexton
    MemberAuthor

    Re-checked on main (2d9ac7f): the "no Safety floors section" premise came from a lane run on stale base 40699ae, before #9628. On main the section is plugins/app-control/reference/control-skill.md:188 (## Safety floors; caller duties at :199, :205-209, :212-216). plugins/app-control/skills/drive/SKILL.md still names none of those duties (it cites the contract only at :82-83), so the Done-when is unmet. Releasing for re-triage.

  7. removed
    needs-human
    on Oct 26, 2026
  8. kyle-sexton commented on Oct 26, 2026

    @kyle-sexton
    MemberAuthor

    Released for re-triage under the owner's 2026-10-26 rule: a person is involved only for "1. A change in original intent/vision 2. Something comes up during implementation ... that alters intent/vision or the primary design 3. If there is a HIGH/CRITICAL security issue". None applies here, so the hold label came off and intake triage runs again now.

    To hold this issue again, add needs-human (or status: needs-decision) and name which of the three applies.

  9. kyle-sexton commented on Oct 26, 2026

    @kyle-sexton
    MemberAuthor

    Released for re-triage under the owner's 2026-10-26 rule: a person is involved only for "1. A change in original intent/vision 2. Something comes up during implementation ... that alters intent/vision or the primary design 3. If there is a HIGH/CRITICAL security issue". None applies here, so the hold label came off and intake triage runs again now.

    To hold this issue again, add needs-human (or status: needs-decision) and name which of the three applies.

  10. removed
    status: ready
    on Oct 30, 2026
  11. github-actions commented on Oct 30, 2026

    @github-actions
    Contributor

    The triage sweep dispatched intake triage for this issue (attempt 1 of 2).

  12. added
    status: ready
    admission-deferred
    agent-ready
    and removed
    admission-deferred
    on Oct 30, 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

    agent-readystatus: ready

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions