optimlight/AgentProof

Local QA gate for AI-generated code and agent PRs.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 2, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: optimlight/agentproof@8fc248d21a1c7710dc207b6d557f0d0ba7c1be5c # v1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
pathProject path to audit.no.
fail-underMinimum score required to pass.no80
observe-onlyKeep reports and verdicts, but do not fail the workflow.nofalse
no-run-scriptsSkip package scripts.nofalse
changedScan only changed files.nofalse
baseBase ref for changed-file scans.noorigin/main
profileRisk profile to apply: relaxed, standard, or strict.nostandard
designEnable DesignGuard for a product type: landing, saas, dashboard, marketplace, ecommerce, webapp, or mobile-app.no""
design-onlyRun only DesignGuard. Keeps path for source UI checks but excludes technical/docs/security gates.nofalse
design-urlURL to render for DesignGuard DOM, CSS, viewport, and screenshot proof.no""
design-routesComma-separated routes to audit with DesignGuard.no""
design-viewportsComma-separated DesignGuard viewports: mobile, tablet, desktop.no""
design-aiRun optional AI design review.nofalse
design-ai-providerAI provider for DesignGuard, either openai-api, codex-auth, or auto.no""
design-ai-modelAI model for DesignGuard, for example gpt-5-mini or gpt-5.3-codex-spark.no""
sarifOptional SARIF output path.no""
badgeOptional SVG badge output path.no""
htmlOptional HTML report path.no""
pr-commentOptional compact Markdown PR comment output path.no""
receiptOptional portable JSON evidence receipt path.no""
summaryOptional compact JSON summary path for bots and dashboards.no""
historyOptional JSONL history file to append this run to.no""
claimOptional final agent claim text or file path to audit.no""
baselineOptional baseline file to exclude known findings from the active score.no""
update-baselineOptional baseline file to write from current findings.no""
github-summaryAppend the compact AgentProof summary to GITHUB_STEP_SUMMARY.notrue
github-annotationsEmit GitHub log annotations for active findings.notrue
namedescription
scoreAgentProof score from 0 to 100.
verdictAgentProof verdict, for example SHIP or DO NOT SHIP.
report-pathMarkdown report path.
receipt-pathReceipt path when the receipt input is set.
summary-pathCompact summary path when the summary input is set.
findingsActive finding count.
technical-scoreTechnicalGate score from 0 to 100.
technical-verdictTechnicalGate verdict.
design-scoreDesignGuard score from 0 to 100 when enabled.
design-verdictDesignGuard verdict when enabled.
design-findingsActive DesignGuard finding count when enabled.