Skip to content

security: establish reviewed main-branch merge protections #70

Closed

Description

@abruption

Observed repository state

On 2026-10-29 the main branch API returned protected: false and protection enabled: false; the repository rulesets collection returned an empty array. The detailed branch-protection endpoint returned 403 Resource not accessible by integration, not a verified absence from a 404. These observations justify reviewing merge policy, but do not establish every administrative/bypass policy.

Current core checks and research checks provide test gates; research checks are path-filtered. PR #62 is currently open and contains deployment-helper work, but its size or presence is not evidence of unsafe execution, missing review, or a CI failure.

Proposed outcome / acceptance

  • Owner chooses and documents a main-branch PR/review policy, required checks, force-push/deletion protections and explicit emergency bypass process.
  • Inspect effective settings with adequate read access; require approval before changing settings. This issue itself changes none.
  • Select exact check contexts from real runs and handle path-filtered research CI so unrelated PRs do not wait forever for a skipped required workflow.
  • Demonstrate on a disposable PR that failing/missing required checks and missing required review block merge, while applicable passing checks allow it; document bypass scope rather than claiming admins cannot bypass without evidence.
  • Preserve existing workflows/release processes and avoid coupling this policy to automatic deployment or merging PR feat: shorten cooldown only after confirmed recovery #62.

Verification boundary

Read-only source/API review on 2026-10-29 at main 2dc8d703abdd932b395e2f08c31e10723caed103. The Claude Code report was treated as a hypothesis, not test evidence. No production scripts, tests, services, deployment, keys or repository settings were changed. Existing open and closed issues and PRs were searched before filing; this is a new, bounded hardening task, not a confirmed compromise.

Activity

  1. added this to the v0.8.0 milestone on Oct 29, 2026
  2. added
    enhancement
    priority: high
    security
    on Oct 29, 2026
  3. self-assigned this
    on Oct 29, 2026
  4. abruption commented on Oct 29, 2026

    @abruption
    OwnerAuthor

    Development implementation is available in PR #74: #74

    Final readback confirms the owner-selected policy: PR path, strict freshness, four GitHub Actions-provider-bound contexts, conversation resolution, no force-push/deletion, zero native approvals, administrator bypass retained. Closed/unmerged PR #73 observed BLOCKED for missing/failing checks and CLEAN for passing checks. No actual non-administrator merge refusal or merge API attempt was performed. Independent CLI review remains a separate procedure.

    The reviewed runtime candidate passed Linux core CI on Python 3.11/3.13 (541 tests each, zero skipped), plus the scoped independent Claude/Codex review process. Exact revisions, research checks, fixture limits and remaining gates: https://github.com/abruption/dots-tailscale/blob/feat/v080/docs/validation/v0.8.0-development-review.md

    PR-head checks are recorded on #74. No merge, tag/release or operating deployment is included in this development update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementpriority: highsecurity

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions