Publishing
eval-dashboards publish renders a static dashboard and then publishes it to the selected target.
Publishing does not perform the shared check/report gate evaluation. In 0.11.0, its regenerated reports explicitly show not-evaluated (npm 0.10.0 does not render this decision); publishing alone is not evidence of passing policy. Run check in CI to enforce the configured gates. Applications can use the complete policy API before rendering those same artifacts; publication still does not run that evaluation.
This page describes publishing dashboard artifacts. npm package publication
uses a separate trusted-publishing workflow and verified release.
Verified release (2026-11-02): npm latest is 0.11.0; its registry gitHead and
GitHub tag match the checked main revision. See the release receipt.
Version 0.11.0 uses a
Node 20-compatible GitHub client and checks the installed publisher with simulated
responses; see runtime compatibility.
The hosted PostgreSQL storage foundation is
separate source-only work, including project-bound credential lookup and
bearer-header helpers and
authenticated private intake source, plus
worker lease coordination. Static
publish does not write that database or
provide artifact ingestion; the offline portable package still needs no server.
Source calibration corrections after 0.11.0 are tracked in the
changelog and gate guide.
They are not yet part of the published 0.11.0 package.
When calibration preflight applies, the separate check command requires its
evidence to pass a declared agreement bar on the relevant judge’s labels.
Run check before publishing when you need that enforcement; publish itself
does not evaluate calibration policy.
The optional minCalibrationRows bar also applies during check, including
the relevant judge’s preflight evidence. See the minimum sample guide.
Published static reports can display calibration statistics
without enabling a gate. Configure minJudgeKappa and run check separately
when you need a kappa threshold enforced.
Supported targets:
dirgithub-pagesazure-static-webappazure-storagegithub-pr-comment
The command supports both live publish and preview mode (--dry-run).
Command surface (truth-synced)
eval-dashboards publish [options]
Options:
--input=<path> Artifact directory to read. Default: .evals_output
--report-dir=<path> Generated report directory. Default: eval-report
--target=<name> Publish target: dir|github-pages|azure-static-webapp|azure-storage|github-pr-comment
--out-dir=<path> Output directory for --target=dir. Default: published-eval-report
--dry-run Preview target actions without writing remote state
--redact Strip sensitive evidence text (prompts, outputs, judge/agent reasoning,
tool call args/results, questions) before rendering and publishing;
only the public tier (ids, counts, rates, categories, severities,
verdicts, versions) is emitted.
--allow-sensitive-publish Override the publish preflight hard-fail that triggers when
unredacted sensitive evidence fields are present in the payload.
Use of this override is always recorded in publish-run-record.json.
--bypass-log=<path> Append a JSON-lines bypass-usage record when --allow-sensitive-publish
was actually needed (i.e. sensitive fields were present); also
configurable via bypassLogFile in the config file.
Publish preflight:
Publishing fails (exit code 2) when the report being published still contains
sensitive evidence fields (question, input, output, expected, reason,
judgeReasoning, agentReasoning, groundTruthAnnotation, turn content, tool
call results) and --allow-sensitive-publish was not passed. Pass --redact to
strip these fields, or pass --allow-sensitive-publish to publish anyway.
GitHub Pages target options:
--repo=<owner/repo> Required for --target=github-pages
--branch=<name> Target branch. Default: gh-pages
--token=<token> Optional GitHub token override (else uses GITHUB_TOKEN)
Azure Static Web App target options:
--app-name=<name> Required for --target=azure-static-webapp
Azure Storage target options:
--account=<name> Required for --target=azure-storage
--container=<name> Blob container. Default: $web
GitHub PR-comment target options:
--pr-number=<n> PR number to comment on. Falls back to GITHUB_EVENT_PATH
(pull_request/pull_request_target payload) or PR_NUMBER env var.
--comment-marker=<text> Hidden HTML-comment marker used to find and update the same
comment on repeat runs instead of creating duplicates.
Default: "<!-- eval-dashboards:pr-comment -->"
Requires --repo=<owner/repo>. Posts the markdown-summary reporter output
(report-dir/summary.md) as the comment body. Dry-run by default outside CI
(no GITHUB_ACTIONS/CI env). Requires GITHUB_TOKEN with `pull-requests: write`
permission. Never logs the token.
Example GitHub Actions step:
permissions:
pull-requests: write
steps:
- run: npx eval-dashboards publish --input=.evals_output --report-dir=eval-report \
--target=github-pr-comment --repo=${{ github.repository }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Redacted evidence
--redact removes tool arguments from both toolCalls[].args and conversation turns[].toolCall.args, as well as raw prompts, outputs and results. Redaction runs before comparison and history generation, so JSON comparison buckets (including disappeared baseline rows) receive the same treatment as the visible HTML. Public case IDs and outcome counts remain available.
Publish preflight checks both current and baseline evidence, including tool arguments and conversation tool results. A sensitive field present only in a disappeared baseline row still requires redaction or the explicit sensitive-publish override.
Operational notes
diris local-only and preserves offline-first behavior.github-pagesneeds--repoand a GitHub token (GITHUB_TOKENor--token).--dry-runneeds the token too: the token check runs before the preview, so without one the command exits 2. Any placeholder value is enough for a preview.azure-storagerequires authenticated Azure CLI and access to the target resource.azure-static-webappcurrently supports dry-run validation only; non-dry-run returns a clear not-implemented error until a verified execution path lands.github-pr-commentposts (or updates in place) a PR comment containing themarkdown-summaryreporter output. It requires--repoand a resolvable PR number (--pr-number,PR_NUMBER, or a GitHub Actionspull_request/pull_request_targetevent payload). It defaults to dry-run outside CI (noCI/GITHUB_ACTIONSenv vars) so local runs never post; in CI it requiresGITHUB_TOKENwithpull-requests: writepermission and never logs the token. Repeat runs update the same comment (matched via a hidden HTML-comment marker) instead of creating duplicates.
Examples
eval-dashboards publish --target=dir --input=.evals_output --report-dir=eval-report --out-dir=published-eval-report
eval-dashboards publish --target=github-pages --dry-run --repo=IcodeNet/eval-dashboards
eval-dashboards publish --target=github-pages --repo=IcodeNet/eval-dashboards --branch=gh-pages
eval-dashboards publish --target=azure-static-webapp --dry-run --app-name=eval-dashboard
# non-dry-run currently returns a not-implemented error
eval-dashboards publish --target=azure-storage --dry-run --account=myevalreports --container='$web'
eval-dashboards publish --target=azure-storage --account=myevalreports --container='$web'
eval-dashboards publish --target=github-pr-comment --dry-run --repo=IcodeNet/eval-dashboards --pr-number=123
# In CI (GITHUB_ACTIONS=true), with GITHUB_TOKEN set and a pull_request event:
eval-dashboards publish --target=github-pr-comment --repo=IcodeNet/eval-dashboards
GitHub reviewer-gated merge pattern:
docs/github-approval-gate-pattern.mdexamples/github-actions/eval-quality.ymlexamples/github-actions/eval-approval-gate.ymlexamples/github-actions/cleanup-pr-eval-results.yml
What --redact removes
--redact keeps only the public tier. It removes prompts, outputs, questions, expected text and
reasons; judge and agent reasoning; judge traces and per-axis reasoning; human-review notes and
reviewer names; check expected and actual values; every value in the run config snapshot;
trace and span URLs; and free-form row metadata (provenance and lifecycle are kept). Trace and
span ids are kept.
Row name and run tags are not redacted. They are labels you choose, so do not put secrets or
personal data in them. The publish preflight fails (exit 2) until --redact is used or
--allow-sensitive-publish is given, and that override is recorded in the run record.