Skip to content

[Task] M2: enforce solo-maintainer PR and quality protection #4

Closed

Description

@DavidVFitzGerald

Delivery phase

Workflow / roadmap / environment bootstrap — repository review controls.

Goal

Enable the specified main-branch review and relevant CI gates when GitHub's repository plan permits them, or record an explicitly approved alternative without claiming native enforcement.

Context and authority

Read current specification §0.2 and §9.2, AGENTS.md, docs/adr/README.md and roadmap M2. Repository DavidVFitzGerald/LCA-diff is private. On 13 November 2026 GET /repos/DavidVFitzGerald/LCA-diff/branches/main/protection returned HTTP 403: Upgrade to GitHub Pro or make this repository public to enable this feature. The connected account has repository admin permission, so this is a reported plan restriction rather than absent repository write access.

Requirements and constraints

Maintainer chooses any plan/account change. Do not make the repository public, spend money, weaken required reviews, install tools or change visibility as a workaround. An alternative deviating from PRD/spec requires an ADR and updates to both current documents in the same PR. Add required status contexts only after real corresponding CI checks exist and have run.

Acceptance criteria

  • AC1 — Maintainer resolves the entitlement limitation or explicitly chooses a documented alternative through the ADR/current-document workflow.
  • AC2 — Where supported, main requires PR review and prevents bypass of required relevant checks; evidence of effective configuration is linked.
  • AC3 — As frontend CI is introduced, its real status contexts are added and demonstrated to block a failing PR, without requiring unbuilt backend checks.
  • AC4 — Roadmap and issue setup records accurately state whether protection is enforced and identify any remaining release/review limitation.

Out of scope and follow-ups

CI implementation is owned by F1 tasks starting at #5. M2 issues/forms setup is #3. No billing/visibility change or application feature implementation in this task.

Verification plan

Use GitHub settings and gh api repos/DavidVFitzGerald/LCA-diff/branches/main/protection to verify effective review/check policy after the maintainer decision. Run any test PR CI checks in the configured containers and capture the expected blocked/allowed merge behavior. Retain exact API error evidence if still blocked; do not mark PASS.

Dependencies and readiness

PM: BLOCKED on maintainer plan/entitlement decision; CI status-context configuration also depends on the F1 workflow issue. This limitation is recorded independently of publishing the frontend backlog.

Current policy implementation — 2026-11-14

The repository is now public; the historical entitlement blocker above is resolved. The maintainer explicitly selected solo maintenance. PM: READY for a proposed solo-policy PR and isolated candidate validation. Real quality CI exists after merged PR #37; browser checks remain a later extension in #10.

Engineering proposal at 4830f56: #39. ADR 0004 is Proposed, with synchronized PRD §6/specification §0.2, agent rules, roadmap/index and versioned .github/main-protection.json. Require PRs, zero native approvals, independent agent QA and explicit maintainer merge, strict quality from GitHub Actions app15368, administrator/conversation enforcement and no force pushes/deletion or bypass actors.

Candidate payload was applied/read back only on temporary verify/issue-4-target. Probe PR #38 at617b70e intentionally failed a container-reproduced unit assertion (exit1), hosted quality failed, and GitHub reported BLOCKED. Recovery at917911f and independent policy QA are underway. Probe PR must remain unmerged.

Main remains unchanged until the maintainer approves and merges PR #39. Then apply the accepted payload to main and verify actual main failing/recovery enforcement before closing #4. AC1–4 are not yet complete; the isolated probe is candidate evidence only. Exact commands and remaining activation are in docs/engineering/review-protection.md. This supersedes the historical account-plan blocker without erasing it.

Proposal QA handoff

Independent QA: PASS for policy proposal4830f56 / PR #39. All candidate readback fields match the committed JSON. Probe38 failed quality at617b70e with BLOCKED merge state, then recovered at917911f with successful quality and CLEAN merge state. Runs43532439206 (failure),43532776193 (recovery),43532780691 (policy PR green) retain the evidence. Probe38 closed unmerged and temporary protection/branches removed.

Full issue QA: BLOCKED pending approved ADR merge and actual-main activation verification; main still returns HTTP404. No native independent-human review is claimed. After maintainer merge of PR39, apply the accepted payload to main, verify readback and actual-main failed/recovered quality enforcement, then independently QA before closure. No further review-policy input is required.

Activity

  1. added
    task
    bootstrap
    blocked
    on Nov 13, 2026
  2. DavidVFitzGerald commented on Nov 13, 2026

    @DavidVFitzGerald
    OwnerAuthor

    Bootstrap tracking: this issue was created after the prepared work it records. Current status: BLOCKED; see dependencies and readiness.

    Dependencies: #10. No application QA, environment PASS or approved merge is claimed. Follow AGENTS.md and the linked role instructions; keep this issue open until the recorded gates are satisfied.

  3. changed the title [-][Task] M2: resolve the private-repository branch-protection limitation[/-] [+][Task] M2: enforce solo-maintainer PR and quality protection[/+] on Nov 14, 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

    blockedbootstraptask

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions