Skip to content

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

Open

Description

@melodic-automation-lanes

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

Done when

  • Egress firewall on lane jobs. Add .github/egress-firewall.yaml to the protected paths.
  • A server-side guard for protected paths outside workflows (.husky/, other .github/ files). On this free public repository, only the applying script guards them today.

Activity

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

    @github-actions
    Contributor

    Size: Medium
    Complexity: High
    Uncertainty: Knowable
    Flags: none
    Blocked by: none
    Blast radius: lane job workflows, the protected-paths list, and a new server-side check for .husky/ and other .github/ files. Every lane run and every pull request touching those paths is affected.
    Reversible: yes; revert the workflow and config changes. An egress allowlist that is too strict would stop lane jobs until it is loosened.
    Open questions: none
    I read this as part 1 of the split of #16967. It asks for two things: an egress firewall on lane jobs, with .github/egress-firewall.yaml added to the protected paths, and a server-side guard for protected paths outside workflows. Both come from the done-when and the parent's owner-approved split, so I am not asking for a decision. Choosing the guard mechanism and the egress allowlist contents looks like an implementation choice for the issue lane to settle on evidence. My suggestion is a required status check or ruleset-style check, since the repository is free and public. Parts 2 to 7 (#17724 to #17729) are sibling split children of #16967, not duplicates.

    Automated triage. A maintainer reviews it.

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

    @melodic-automation-lanes
    ContributorAuthor

    {"v":1,"actor_id":337595936,"title_sha256":"cfbf053dc60699cbb758c97cddf263b342beb541b8eb2b00eb9824d781ee90dd","body_sha256":"114faab6a49ec93c5b596be8636af41ab1cf72b44bc1d4cb9ac3aceb270766af"}

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

    @melodic-automation-lanes
    ContributorAuthor

    This records a re-fire of an earlier stop, not a new one. The start gate stopped run 44843941137, the work-resolve-issue run that agent-ready started, before any model turn, because the GITHUB_TOKEN budget was under its start-gate share, or the window was projected to have under its start-project share of the header's limit left by the run's expected end (github-token start-gate, start-project and start-run-minutes in rate-limits.json; the run's start-gate notice names which); that run ended at 2026-11-21T00:29:10Z. work-unblock has now removed and added agent-ready back to start a fresh run. A budget stop is the lanes' load, not a fault in this issue: it never counts toward limits.limit-stops-per-issue or the kill-switch wait.

  6. github-actions commented on Nov 21, 2026

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

    @github-actions
    Contributor
    No description provided.
  8. added
    host-run
    on Nov 21, 2026
  9. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    ContributorAuthor

    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: .github/workflows/work-resolve-issue.yml (and every other lane workflow under .github/workflows/). Turning on GitHub's native egress firewall for lane jobs means changing each lane job's runs-on: ubuntu-24.04 (for example work-resolve-issue.yml lines 83, 224, 476, 550, 694, 798, 897, 1010, 1073 and 1159) to runs-on: ubuntu-24.04-firewall and granting each of those jobs contents: read. This lane cannot push to .github/workflows/. Item 2, a server-side guard for .husky/ and other .github/ paths, also needs either a required check in .github/workflows/** or a repository ruleset or settings change, so this lane cannot reach it either.

    What the run says it did not do:

    • Egress firewall on lane jobs: changing runs-on to ubuntu-24.04-firewall and adding contents: read on lane jobs in .github/workflows/**, and writing .github/egress-firewall.yaml. Not done because workflow files are a protected path for this lane, and the allowlist (log vs enforce, which hosts)…
    • Adding .github/egress-firewall.yaml to the protected paths (PATH_RULES in .github/scripts/apply-patch/protected-paths.mjs, the refuse lists in .github/actions/resolve-config/patch-rules.json, and the matching Edit deny in deny-rules.mjs). This could be pushed on its own, but I held it back under…
    • Server-side guard for protected paths outside workflows (.husky/, other .github/ files). It needs a required check in .github/workflows/** or a ruleset or repository settings change (manual-external), and this lane can reach neither.
    • Tidy, review, verify and checks pipeline steps: skipped because the run stopped before any edit and there is no diff.

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

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

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

    host-run

    Type

    Fields

    Work status

    confirmed

    Priority

    medium

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions