GitHub PR / Release Control Tower

Cross-repo PR and release, from one control tower

PR Helper orchestrates real GitHub PR and deployment workflows with Lanes. Linear stages, independent merge routes, dynamic source rules, and convergence gates, e.g. feature/* + fix/* → dev → main. GitHub remains the authority for branch protection, reviews, checks, and deployments.

Lane workflow

The complete pipeline from PR intake to production rollback

  1. Configure Lane

    Define stages, source rules (feature/*, fix/*), merge routes, convergence gates

  2. GitHub App install

    Authorize per-repo, issue short-lived installation tokens

  3. PR intake

    Webhooks update the Lane board in real time

  4. Gate decisions

    domain.ts evaluates reviews/checks/mergeability from GitHub facts

  5. Stage advance

    Dependent stages wait for predecessor merge + post-merge gates

  6. Deploy tracking

    Deployment records, environment state, health checks

  7. AI PR drafts

    24-hour drafts and streaming, session-only keys

  8. Web Push

    Closed-tab delivery when SW + VAPID + reconciliation are ready

  9. Confirmed rollback

    Explicit user action; dispatch with full audit events

Why PR Helper

Not a board, not a merge queue: accountability for the full release flow

GitHub is the authority

GitHub remains the authority for branch protection, reviews, checks, mergeability, Actions, and Environment protection. PR Helper never bypasses a GitHub rejection in UI state.

Lane orchestration

A Lane contains linear stages, independent merge routes, dynamic source rules, and convergence gates. Dependent stages need predecessor merge + post-merge gates; independent routes need not wait for earlier linear stages.

Real fact chain

Gate decisions are grounded in real GitHub Checks, Reviews, Mergeability, deployment records, and health checks, not Agent or UI self-report. Unexecuted verifications cannot be marked as passed.

Explicit production actions

Production merge and rollback are explicit user actions. No automatic production merge or rollback is added without an approved design. Rollback dispatch records full audit events.

Real-time + reconciliation

Webhooks provide real-time speed; scheduled reconciliation guarantees correctness. Supabase persists workflow and monitoring state; ordered migrations are the single source of truth for schema.

Credential safety

GitHub App secrets and short-lived installation tokens stay behind server modules under api/_lib/, never exposed to the browser. AI keys are session-only and not persisted before encryption is designed.

Compared to adjacent products

PR Helper doesn't compete with task board tools on tasks or deploy platforms on deploy speed

PR Helper vs task board tools, merge queue tools, deploy platforms, and manual coordination
DimensionPR HelperTask board toolsMerge queue toolsDeploy platformsManual
Unit managedCross-repo release workflowTasks/issuesPR merge orderDeploy hostingSpreadsheets/IM
Platform-nativeYes, native app + webhookYesYesPartialNo
Cross-repo LaneYes, linear/independent/convergenceLimitedNoNoAd hoc
Convergence gateYesNoNoNoManual check
Gate decision sourceRepo fact chainIssue statusQueue statusDeploy statusHuman judgment
Web Push deliveryYes, closed-tabLimitedNoLimitedNo
Confirmed rollbackExplicit user action + auditNoNoInstant rollbackManual rollback
AI PR draftsYes, 24h + streamingNoNoNoNo

Responsibility Boundary

Transparent split between GitHub authority and the orchestration layer

GitHub authority

  • Branch protection rulesets (source of truth)
  • Reviewer assignment and approval decisions
  • Actions, Checks, and Environment protection
  • Mergeability and merge method
  • Repository and GitHub App installation scope
  • Final decision on production merge and rollback

PR Helper is responsible for

  • Cross-repo Lane state orchestration and advance
  • Gate decisions evaluated from GitHub facts
  • Real-time Webhook ingestion and scheduled reconciliation
  • Closed-tab Web Push delivery
  • AI-generated PR drafts (session-only keys)
  • Deployment tracking, health checks, and audit events
  • Rollback dispatch only after explicit user confirmation

PR Helper guarantees process and evidence integrity, not a replacement for GitHub branch protection or human approval.

Product Constitution Excerpts

Core principles that constrain platform behavior

01

GitHub is the authority

GitHub remains the authority for branch protection, reviews, checks, mergeability, Actions, and Environment protection. Never bypass a GitHub rejection in UI state.

02

Explicit production actions

Production merge and rollback are explicit user actions. No automatic production merge or rollback is added without a separately approved product and safety design.

03

External facts over self-report

Gate decisions are grounded in real GitHub Checks, Reviews, Mergeability, deployment records, and health checks, not Agent or UI natural-language summaries.

04

Real-time + reconciliation

Webhooks provide real-time speed; scheduled reconciliation guarantees correctness. Both coexist; neither alone is sufficient.

05

Credentials never reach the browser

GitHub App secrets and installation tokens stay behind server modules under api/_lib/. AI keys are session-only and not persisted before encryption is designed.

06

Migrations are the truth

Database changes go only in new ordered migration files. No runtime DDL, and never edit an already-applied migration.

Frequently Asked Questions

Key questions about GitHub authority, rollback safety, and automation limits

What is PR Helper?

PR Helper is a GitHub-first PR / Release Control Tower that coordinates real pull-request and deployment workflows across repositories. A Lane can contain linear stages, independent merge routes, dynamic source rules, and convergence gates, e.g. feature/* + fix/* → dev → main. It is not a board or a merge queue; its minimum unit is the release workflow.

Does PR Helper bypass GitHub branch protection?

No. GitHub remains the authority for branch protection, reviews, checks, mergeability, Actions, and Environment protection. PR Helper never bypasses a GitHub rejection in UI state. Gate decisions are grounded in real GitHub Checks, Reviews, and Mergeability, not self-report.

Are production merge and rollback automatic?

No. Both production merge and rollback are explicit user actions. No automatic production merge or rollback is added without a separately approved product and safety design. Rollback dispatch executes only after explicit user confirmation, with full audit events recorded.

Where are GitHub credentials and installation tokens stored?

GitHub App secrets and short-lived installation tokens stay behind server modules under api/_lib/, never exposed to browser code. AI API keys are session-only and are not persisted server-side until encryption and key management are explicitly designed.

How are workflow and monitoring state persisted?

Workflows and monitoring state persist in Supabase Postgres via DATABASE_URL; ordered migrations live in db/migrations/ as the single source of truth for schema. Webhooks plus scheduled reconciliation ensure real-time speed and correctness; Web Push requires Service Worker, VAPID, subscription, and server reconciliation to all be in place.

What is a Lane? Can independent routes proceed without earlier stages?

A Lane is a project orchestration unit containing linear stages, independent merge routes, dynamic source rules, and convergence gates. A dependent stage advances only after all predecessor stages merge and their post-merge check/deployment gates succeed; independent routes may proceed without an earlier linear stage.

How is PR Helper different from task board tools, merge queue tools, or deploy platforms?

Task board tools manage tasks, merge queue tools manage PR merge ordering, and deploy platforms manage hosting. PR Helper manages the full cross-repo release workflow: Lanes orchestrate PR intake, gate decisions, stage advance, deployment tracking, health checks, and confirmed rollback, grounded in repository facts.

Turn cross-repo releases from chaos into control

Orchestrate real GitHub PRs, checks, deployments, and rollbacks with Lanes