Skip to content

Refuse a lane launch that arms the stop gate under a profile without autonomy #16562

Description

@kyle-sexton

Problem

Since #16523 a lane can name a plugin profile. The lane's own settings and the profile are merged into one settings file, and the profile wins on its own keys, enabledPlugins included. A lane that arms the autonomy lane-stop gate under a profile that leaves autonomy off starts without the gate, with no warning. pr-verify raised this as a note on #16523.

Of the shipped profiles on main, only build.yaml lists autonomy@melodic-software; always-on, discovery, harness-upkeep, interface-design, planning and review do not.

No lane has a profile set today, so nothing runs exposed. It matters as soon as one is given a profile other than build.

Done when

  • A lane launch that arms the lane-stop gate checks the merged settings file it is about to start with. When autonomy is not enabled in it, the lane is not launched and the error names the lane, the profile and the fix (a profile that includes autonomy).
  • The check sits in the one place that already decides a profiled lane's launch (lane_claude_prefix and the restart preflight use it), not per launch path.
  • A lane with no stop gate, or with no profile, launches as it does today.
  • Tests cover: gate armed with build (launches), gate armed with a profile lacking autonomy (refused), no gate (launches).

Part of #16428.

Activity

  1. added
    host-run
    on Nov 16, 2026
  2. added
    needs-triage
    on Nov 16, 2026
  3. github-actions commented on Nov 16, 2026

    @github-actions
    Contributor

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

    Understood: a lane that arms the autonomy lane-stop gate but runs under a profile without autonomy enabled should be refused at launch, with an error naming the lane, the profile and the fix. The check belongs in the single place that decides a profiled lane's launch. Lanes with no gate or no profile launch as today, and tests cover the three cases listed. The done-when items are exact, so nothing more is needed from you. I found no duplicate among the open issues and no merged pull request that already covers this.

    Automated triage. A maintainer reviews it.

  4. removed
    needs-triage
    on Nov 16, 2026
  5. melodic-automation-lanes commented on Nov 16, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane: it carries host-run. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).

  6. 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

    Type

    Fields

    Work status

    confirmed

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions