Skip to content

Lane hardening after zero: egress, intake text, protected paths, local stop #16967

Open
0 of 7 issues completed
Open

Description

@kyle-sexton

Problem

Lane hardening candidates were deferred until open issues and PRs reach zero. Each one tightens a control, and none is tracked. No item below has a surface exposed today: only our own actors trigger lane workflows.

Items

  • Egress firewall on lane jobs. Add .github/egress-firewall.yaml to the protected paths.
  • Intake fetch, in ci-workflows intake-triage.yml: strip HTML comments and invisible characters from issue text before the model reads it.
  • 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.
  • A GitHub-side stop for local lanes. Today the kill switch reaches only CI lanes.
  • Check whether lane secrets are declared as code, as the broker's variables are in github-iac.
  • Check whether the CI resolve-issue lane can reach a project's control skill (app-control) to drive the app.
  • Check the push path for an agent commit that edits a workflow: whether a file identical to one on another branch commits without the workflow scope, and which control then holds.
  • Narrowing the org's Claude credential secrets from all repositories to selected ones is a permission change, so it is the owner's decision. It matters once any org workflow runs fork code with secrets.

Done when

Each box is either ticked with its PR, or closed with the reason it is not needed.

Sub-issues

Sub-issues

0 of 7 Issues completed
Loading 7 sub-issues

Activity

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

    @github-actions
    Contributor

    Size: Large
    Complexity: Medium
    Uncertainty: Knowable
    Flags: none
    Blocked by: none
    Blast radius: this tracker issue, the "After zero" milestone, and later per-item issues touching lane workflows, protected paths and ci-workflows; read by maintainers and lane runs.
    Reversible: yes; the milestone assignment and any later split issues can be removed or closed.
    Open questions: none
    Recorded decision (#16967 (comment)):

    Decision recorded. Owner, 2026-11-20, typed in the owning session (verbatim): "I want to make sure that the recommendations are grounded in facts, data, metrics, and research from the latest consensus-based research from official, authoritative, and trusted sources, and just go with the recommendations there." The recommendation was checked against the code at origin/main and current official sources before this record; the decision below is the grounded one.

    Q121 (REVISED A)

    A, with one amendment: the "After zero" milestone does not exist on GitHub yet, so the orchestrator creates it, then puts #16967 in it as one tracker. The secret-scope box stays deferred until an org workflow runs fork code with secrets. The tracker splits into per-item issues (the intake-strip item filed in ci-workflows) only when zero is reached. The zero count for open issues excludes issues in the "After zero" milestone. Write that once where the zero goal is checked (morning brief or tracker stats), or the tracker keeps the count from ever reaching zero.
    [quote truncated; the full decision is at the link]

    This decision settles the open questions from the earlier refinement: the secret-scope box is deferred, the split waits until zero, and the intake-strip item goes to ci-workflows. This is a Large tracker that stays parked until then. No fix or timeline is promised.

    Automated triage. A maintainer reviews it.

  3. added
    needs-owner-decision
    on Nov 17, 2026
  4. melodic-automation-lanes commented on Nov 17, 2026

    @melodic-automation-lanes
    Contributor

    The latest triage verdict holds nothing: the issue is at status: ready.

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

    @melodic-automation-lanes
    Contributor

    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: Split the eight-item tracking list into per-item work: four changes, three checks, and one owner decision, each with its own pull request or closing reason.

    Related work

    Open questions

    1. Should the org's Claude credential secrets be narrowed from all repositories to selected ones now, or only once an org workflow runs fork code with secrets?
      RECOMMENDED: Defer until an org workflow runs fork code with secrets, then close that box with this reason. Basis: The issue body says it matters only then and names it the owner's decision; the box is a permission change on an external secret (credential class) that no unattended run can make.
    2. Should this tracking issue be split into one issue per item, since the single done-when (every box ticked with a PR or closed with a reason) cannot be checked as one unattended change?
      RECOMMENDED: Yes: file one issue per item, with the four changes as implementation issues and the three checks as investigation issues that end in a recorded finding. Basis: judgment
    3. Where does the egress firewall run, and what is its allowlist? The repo has no .github/egress-firewall.yaml, and the item names no mechanism or hosts.
      RECOMMENDED: Name the enforcement mechanism and the host allowlist before work starts; the file would be added to the protected paths in the same change. Basis: judgment
    4. The intake strip change belongs in the ci-workflows repository (intake-triage.yml), not this checkout. Is that repo in scope for this issue's lane?
      RECOMMENDED: Move that item to an issue in ci-workflows. Basis: judgment

    Sources read

    • /home/runner/work/claude-code-plugins/claude-code-plugins/refine-data/context.json: the issue lists eight deferred hardening items, one an owner decision, and has no Decision recorded comment
    • /home/runner/work/claude-code-plugins/claude-code-plugins/.base/.github/egress-firewall.yaml: does not exist in the checkout

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

  6. added this to the After zero milestone on Nov 21, 2026
  7. kyle-sexton commented on Nov 21, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded. Owner, 2026-11-20, typed in the owning session (verbatim): "I want to make sure that the recommendations are grounded in facts, data, metrics, and research from the latest consensus-based research from official, authoritative, and trusted sources, and just go with the recommendations there." The recommendation was checked against the code at origin/main and current official sources before this record; the decision below is the grounded one.

    Q121 (REVISED A)

    A, with one amendment: the "After zero" milestone does not exist on GitHub yet, so the orchestrator creates it, then puts #16967 in it as one tracker. The secret-scope box stays deferred until an org workflow runs fork code with secrets. The tracker splits into per-item issues (the intake-strip item filed in ci-workflows) only when zero is reached. The zero count for open issues excludes issues in the "After zero" milestone. Write that once where the zero goal is checked (morning brief or tracker stats), or the tracker keeps the count from ever reaching zero.

    Basis

      • gh api repos/melodic-software/claude-code-plugins/milestones?state=all, run 2026-11-20: returns no milestones. "After zero" exists only as config: .github/actions/resolve-config/admission-rules.json:11 "cordoned-milestones": ["After zero"]. docs/conventions/pr-pipeline/README.md:110: "A milestone in admission-rules.json's cordoned-milestones keeps an issue parked. It never adds agent-ready". The citation is accurate, but the parking has no effect until the milestone exists.
    • No item is exposed today. .github/workflows/intake-triage.yml:35-37 and :61-62: the reusable admits a run only from allowed-author-ids/allowed-bot-sender-ids and "turns away every person when human-ids is empty", so outsider issue text never reaches the intake model, and hidden text is not an exposed surface for item 2. docs/conventions/pr-pipeline/README.md:112-115: the outside-actor workflow has "no model, secret or kill switch". Items 1, 3 and 4 tighten controls on lanes that only our own actors trigger. Items 5-7 are checks. Item 8 matters only once an org workflow runs fork code with secrets (issue body).
    • ~/.claude/CLAUDE.md Security, cost and phase: "maximum throughput until open issues and PRs reach zero; hardening returns afterwards as configuration edits". Less is more: one parked tracker against 8 parked issues that no one acts on before zero.
    • Item 8 exposure, checked 2026-11-20: in this repo, 5 workflow files mention pull_request_target. A grep of all 5 for pull_request.head.(sha|ref), head_ref and secrets. finds secrets only in pr-refine.yml (:334-335, :574-575, :682-683). pr-refine.yml is workflow_dispatch only (:37-54), every job checks out main's tip (ref: ${{ steps.tip.outputs.sha }}, :114-130), and a dispatch comes only from the lanes App or a listed human (:8-17). Across the org, gh search code pull_request_target --owner melodic-software (first 100 hits) returns no workflow file outside this repo. Checked: none runs fork code with secrets.

    Dissent considered

    Intake refinement (2026-11-17T23:09Z) recommended splitting now. Its basis is judgment and names no action before zero. C (close, refile at zero) reaches zero without the exclusion, but it drops the only record of the eight items. The org-wide search stops at 100 hits, so it is a sample, not a complete inventory.

  8. removed
    needs-owner-decision
    on Nov 21, 2026
  9. removed
    needs-triage
    on Nov 21, 2026
  10. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane yet: sub-issue #17722 is open; sub-issue #17724 is open; sub-issue #17725 is open; sub-issue #17726 is open; sub-issue #17727 is open; sub-issue #17728 is open; sub-issue #17729 is open.

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

    @melodic-automation-lanes
    Contributor

    Split at intake (owner Q93). This issue is Size Large, so its done-when is split into 7 sub-issues, each holding its task-list lines as written.

    Automated split by the lanes App. Admission waits on this issue while a sub-issue is open; work-unblock closes it as completed once every sub-issue is closed as completed by a merge or a listed human and its done-when is covered.

  12. kyle-sexton commented on Nov 21, 2026

    @kyle-sexton
    MemberAuthor

    Parking these parts with their parent, per the decision above (Q121, option A as amended): the eight lane-hardening items stay as one tracker in the cordoned "After zero" milestone and split into per-item issues only once open issues reach zero. The size split that followed the decision comment filed them early: #17722, #17724, #17725, #17726, #17727, #17728, #17729. Each part goes into the "After zero" milestone, and the admitted parts take needs-human, a hold label the issue lane skips, so no lane builds hardening before zero. When zero is reached, a person removes the hold and the milestone, and the parts are worked as filed.

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

    ready

    Priority

    medium

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions