Skip to content

Lane hardening after zero: egress, intake text, protected paths, local stop - part 3 of 7 #17725

Open

Description

@melodic-automation-lanes

Part 3 of 7 of #16967, split at intake (owner Q93). The done-when below is copied from #16967 as written.

Done when

  • A GitHub-side stop for local lanes. Today the kill switch reaches only CI lanes.

Activity

  1. added
    needs-triage
    on Nov 21, 2026
  2. github-actions commented on Nov 21, 2026

    @github-actions
    Contributor

    Size: Medium
    Complexity: Medium
    Uncertainty: Knowable
    Flags: intent
    Blocked by: none
    Blast radius: the kill-switch mechanism and the local lane runners that would poll or honour it. CI lanes already use the kill switch.
    Reversible: yes; revert the change and the local lanes go back to having no GitHub-side stop.
    Open questions:

    1. What counts as a "GitHub-side stop" for local lanes, and how do they see it? The issue gives no signal, no polling point and no definition of stopped.
      RECOMMENDED: reuse the existing CI kill-switch signal. Local lanes check it before starting each run and between steps, and refuse to continue once it is set. Basis: the issue says the switch today reaches only CI lanes, so extending the same signal is the smallest change that leaves the design unchanged.
    2. Is a local lane that cannot reach GitHub allowed to run (fail open) or must it stop (fail closed)?
      RECOMMENDED: fail closed. Basis: judgment; this is a hardening item and a stop that fails open would not stop anything.

    This is part 3 of 7 of #16967. Parts 1, 2 and 4 to 7 (#17722, #17724, #17726 to #17729) are siblings, not duplicates. I found no merged pull request that already covers this.

    To answer, post a comment that starts with this line:

    **Decision recorded.** <answer>
    

    Automated triage. A maintainer reviews it.

  3. removed
    needs-triage
    on Nov 21, 2026
  4. added
    needs-owner-decision
    needs-triage
    on Nov 21, 2026
  5. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    ContributorAuthor

    The triage verdict left this issue at needs-owner-decision:

    • flagged: intent
    • held by needs-owner-decision
    • no lanes App verdict comment shows whether an earlier verdict was flagged

    Reason: intent

  6. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    ContributorAuthor

    Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.

    Intended outcome: Local lanes (work-loop, attend-queue, babysit) read the existing GitHub-side lanes kill switch (CLAUDE_LANES_DISABLED and CLAUDE_LANES_REPO_DISABLED) before each run and between steps, and stop when either is not 'false'.

    Related work

    Open questions

    1. What is the GitHub-side stop signal for local lanes: the existing variables CLAUDE_LANES_DISABLED and CLAUDE_LANES_REPO_DISABLED, or a new signal such as a label, an issue or a file on the default branch?
      RECOMMENDED: Reuse CLAUDE_LANES_DISABLED and CLAUDE_LANES_REPO_DISABLED, read through the GitHub API. Stopped means either is set to anything other than 'false'. Basis: docs/standards/configuration-switch-naming.md:14
    2. Where do local lanes check it: only before each run, or also between steps and before each merge or push?
      RECOMMENDED: Check before each run, between steps, and before any merge or push. The criteria should name the exact lane entry points. Basis: judgment
    3. If a local lane cannot read the switch (no network, API error, auth failure), does it fail closed and stop, or fail open?
      RECOMMENDED: Fail closed, as the CI hold path does when it cannot judge the switch. Basis: scripts/ci-lanes-pr-hold.test.sh:387
    4. Which local lanes are in scope, and can a local lane read the variable at all, given that org variables may need a token with a scope the local launcher lacks?
      RECOMMENDED: Cover work-loop, attend-queue and the babysit loop. Confirm the local launcher's token can read Actions variables before committing to this design. Basis: docs/contracts/loop-lane/README.md:1160

    Sources read

    • docs/standards/configuration-switch-naming.md:14: names CLAUDE_LANES_DISABLED among the org variables, with default semantics where unset means on.
    • scripts/ci-lanes-pr-hold.test.sh:375: the CI kill switch is on when CLAUDE_LANES_DISABLED or CLAUDE_LANES_REPO_DISABLED is not 'false'.
    • scripts/ci-lanes-pr-hold.test.sh:387: a hold module that cannot judge the kill switch fails closed.
    • docs/contracts/loop-lane/README.md:1160: lists the local lanes (work-loop, attend-queue, babysit) and says they launch via the lanes launcher with no tracked launch settings.
    • scripts/check-killswitch-hoist.sh:4: a different kill switch, for hooks, not for lanes.

    To answer, post a comment that starts with this line:

    **Decision recorded.** <answer>
    

    Automated refinement by the lanes App. Answer with a comment whose first line is **Decision recorded.**.

  7. added this to the After zero milestone on Nov 21, 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

    needs-owner-decisionneeds-triage

    Type

    Fields

    Work status

    needs-owner-decision

    Priority

    medium

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions