Baseline Production Policy Engine

Production Policy and Enforcement Engine

Production checks that block risky releases before they ship.

Baseline helps engineering, platform, and security teams convert release expectations into deterministic controls. The product is CLI-first today, with real policy gates, readable reports, explain flows, AI-assisted remediation drafts, API-backed auth, and persisted audit history for teams that need one operational surface instead of scattered scripts and tribal process.

Install the CLI with npm i -g baselineprod-cli, then point it at the hosted API when you are ready to connect scans, sessions, and approvals.

Baseline ships frequent fixes right now, so keep your CLI current with npm i -g baselineprod-cli@latest before troubleshooting or trying new dashboard flows.

Live product snapshot

Current shipping surface includes:

Policy Gates CLI Reports Explain Flows AI Scaffolding API Keys OIDC Login Audit Events SQLite Persistence

How It Works

What an implementation looks like from first run to operational use.

01

Standardize The Gate

Roll out baseline check and baseline enforce so every repo is measured against the same production-readiness controls.

02

Make Failures Legible

Use baseline scan, baseline report, and baseline explain so engineers understand exactly why a release was blocked.

03

Shorten Remediation Time

Layer in baseline generate and baseline pr when you want draft remediation support without surrendering control of enforcement.

04

Operationalize It

baseline api serve adds human login, API keys, audit events, dashboard APIs, and persisted operational records once the CLI becomes part of daily delivery.

Current Product Surface

What Baseline already provides today.

Production-readiness policy pack

Implemented checks cover branch protection, CI coverage, tests, secret detection, dependency hygiene, deployment readiness, monitoring, backup, and rollback requirements.

Readable reporting

Teams can export text, JSON, and SARIF outputs so the same signal works for local engineering loops and security scanning platforms.

Single-policy explain path

When a repo fails one control, baseline explain gives a focused remediation path instead of forcing developers to decode the whole policy suite.

AI-assisted remediation drafts

generate and pr help create scaffolds and patch proposals, while humans remain responsible for review and merge decisions.

Auth and machine access

The API supports OIDC-backed human sessions as well as bearer API keys for automation, with CSRF and sensitive-action protections in place.

Operational persistence

SQLite-backed persistence keeps API keys, audit events, and integration job state in one place so the backend can support real operators, not just demos.

Interactive Walkthrough

Explore the three product conversations already supported.

Detected: release-blocking policy violation

Baseline runs locally or in CI and returns a non-zero exit code when a repository misses a required production-readiness control.

  • Triggered checks include A1 through R1
  • Examples: secrets, tests, branch protection, deployment config, rollback docs
  • Output modes: human-readable gate, scan summary, SARIF, JSON

Generated: scaffolded remediation draft

AI support is limited to scaffolding and patch drafting. Policy outcomes remain deterministic and are not decided by the model.

  • baseline generate drafts files for common violations
  • baseline pr can generate, branch, commit, push, and attempt PR creation
  • Human review is still required before merge

Available: API-backed auth and operations

The current backend supports OIDC login, API keys, audit events, and dashboard summary/capabilities/activity endpoints for operational usage.

  • Human auth: Supabase/Auth0 via OIDC callback flow
  • Machine auth: bearer API keys
  • Persistence: SQLite for keys, events, and integration jobs

Who Baseline Helps

Teams with serious release and operations requirements fit best.

Platform Teams

Standardize release gates across repositories without maintaining a growing pile of bespoke CI fragments and local scripts.

Security Engineers

Turn production controls into deterministic checks for secrets, risky code, deployment hygiene, and required operational evidence.

Compliance Programs

Export report artifacts and retain audit events so teams can explain what was checked before a release moved forward.

CI/CD Owners

Use check, enforce, and report in pipelines where failures must map cleanly to release decisions.

Teams Adding Auth + Ops

Start with the CLI, then add API keys, OIDC login, and dashboard summary endpoints when operations need authenticated backend workflows.

Repo Maintainers

Use baseline explain to shorten the loop between a failed policy and the exact remediation guidance developers need.

Integration Coverage

Position Baseline inside the stack you already run.

  • CI/CD: deterministic CLI runs in pull request and release pipelines
  • Reports: text, JSON, and SARIF output for tooling and code scanning platforms
  • Auth: OIDC login with Supabase or Auth0, plus API key auth for automation
  • Integrations: GitHub and GitLab webhook/status ingestion in the API server
  • Storage: SQLite persistence for audit events, API keys, and integration jobs
Repository
Baseline CLI
Report Export
API/Auth Layer
Ops Consumers

Value Estimator

Model the cost of repeated release mistakes and manual review churn.

Projected operational impact

$0 / month

Estimate updates as you move the controls.

Annualized impact: $0 / year

This estimator is directional. The current product reduces review churn by turning repeated release checks into one reusable CLI and API surface. Uptime 2024 | BLS

FAQ

Common questions before rollout.

Is Baseline real today, or mostly roadmap?

It is real today as a CLI-first product. The API, OIDC auth, API key flows, audit events, and dashboard backend endpoints are also implemented, while the dashboard UI is still being expanded.

Can it block CI/CD pipelines automatically?

Yes. baseline check and baseline enforce exit non-zero on blocking violations, which makes them suitable for gate steps in CI.

What does AI do, and what does it not do?

AI helps scaffold fixes and PR content. It does not decide whether a repository passes policy. Enforcement remains deterministic.

Do I need a database to adopt Baseline?

No for CLI-only usage. SQLite becomes useful when you want persistent API keys, audit events, and integration job queues on the API side.