Roadmap — @icodenet/eval-dashboards
This document captures the prioritized improvement plan for the project.
It complements docs/STATUS.md (tactical checklist) and docs/PRP.md (original product requirements).
Last updated: 2026-11-06
Table of contents
- Phase 1: Fix consistency & polish the foundation (COMPLETE)
- Phase 2A: Strengthen the contract & teach taxonomy (COMPLETE)
- Phase 2B: Improve HTML reporter & grouping (COMPLETE)
- Phase 2C: Complete examples & publishing (COMPLETE)
- Phase 3: Documentation & Discoverability (COMPLETE)
- Phase 3B: Governance Hardening & Output Safety (COMPLETE)
- Phase 3C: Decision-Oriented Reporting UX (COMPLETE)
- Phase 4 (Core Shipping & Adoption Infrastructure): COMPLETE
- Phase 4A: Reference Integration Proving Ground & Setup Layer
- Phase 4B: CLI Setup Automation for Agent Evals
- Phase 4L: Astro docs site with search, glossary and sidebar (COMPLETE)
- Phase 4C: Product Docs Website + Interoperability Guides
- Phase 4E: Trust hardening for CI gating and eval methodology
- Phase 4G: Teaching curriculum consistency
- Phase 4F: Evidence, confidentiality, and org rollout
- Phase 4H: Documentation navigability
- Phase 4I: GitHub PR-native visibility
- Phase 4D: Trusted confidence reports and adoption execution
- Phase 4J: OTel GenAI evaluation-span mapping
- Phase 4K: Full historical reports
- Gate and calibration review follow-up
- Phase 5: Hosted evaluation platform
Note on ordering: sections below are in the order they were added, not strict numeric order. Physical order is 4A, 4B, 4C, 4E, 4G, 4F, 4H, 4I, 4D, 4J, 4K. Phase letters were assigned when each initiative was scoped, and later phases (4E, 4G, 4F, 4H) were slotted into ongoing work ahead of 4D, which was drafted earlier but landed last. Sections are not reordered to match the letters because several docs and commit messages already link to specific phase headings; use the table of contents above to navigate instead of relying on physical position.
✅ Phase 1: Fix consistency & polish the foundation (COMPLETE)
- Naming alignment across legacy
eval-reportsreferences - Implement
eval-dashboards initconfig generation - Full config loading from
eval-dashboards.config.ts,.js, andpackage.json - Enforce suite-manifest gate policy thresholds in
check - Add GitHub Actions CI workflow (typecheck + test + build + example smoke tests)
Outcome: Foundation is solid. Test suite, TypeScript, and CI workflow are green.
✅ Phase 2A: Strengthen the contract & teach taxonomy (COMPLETE)
The schema is only useful if runners emit it. Phase 2A made taxonomy first-class through docs + examples.
What’s done:
- Export JSON Schema for
eval-report/v1→schemas/eval-report-v1.schema.json(published and maintained in-repo) - Create
docs/taxonomy.md→ Complete teaching guide with definitions, examples, and checklist - Taxonomy-complete init fixture →
examples/taxonomy-complete-fixture/run-complete.json+ README - Runner cookbook for Vitest, Jest, and plain Node (with examples and step-by-step guides)
- README updated to lead with schema + taxonomy + adoption messaging + Visual Gallery with live dashboards
- Taxonomy completeness score (0–100%) displayed in HTML reports as visual indicator
Adoption KPIs (live tracking for Phase 2A by 2026-Q4):
- Target 1: 5+ external eval runners discover this project (GitHub stars, discussions)
- Target 2: 1 external runner emits taxonomy-complete artifacts (demonstrates schema adoption)
- Target 3: JSON Schema cited in 2+ other eval projects (external validation)
- Target 4: 100+ npm weekly downloads (ecosystem adoption)
- Tracking loop:
pnpm metrics:adoptionwritesdocs/adoption-metrics/latest.jsonand readsdocs/adoption-metrics/manual-signals.json
✅ Phase 2B: Improve HTML reporter & grouping (COMPLETE)
- HTML styling and theming (light/dark modes with CSS variables and data-theme attribute)
- Grouping by dataset and scenario with collapsible sections
- Taxonomy completeness score (0–100%) with visual indicators for missing fields
- Pass-rate trend visualization with sparklines and direction indicators (↑ improving, ↓ regressing, → stable)
- Flaky row detection and persistent failure classification via
analyzeRowStability() - Kind badges (deterministic, agent, llm-judge, human-review) for row classification
- Severity chips (low, medium, high, critical) for failure prioritization
✅ Phase 2C: Complete examples & publishing (COMPLETE)
- Jest custom reporter example with README and step-by-step guide
- Vitest eval example with README and patterns
- Plain Node/TypeScript eval example with README and use cases
- Azure Static Web Apps dry-run validation path implemented (non-dry-run execution path pending)
- Azure Storage publishing adapter implemented (dry-run and execution paths)
- Explicit baseline selection by run id via
selectBaseline()and--baseline-run-idCLI flag - Persistent failure and flaky row classification with historical trend analysis
✅ Phase 3: Documentation & Discoverability (COMPLETE)
- Expanded README with:
- Working screenshots of light and dark themes with Visual Gallery section
- One-command “try it” using existing examples
- Value prop section: “Why @icodenet/eval-dashboards?” (vs full platforms)
- Direct link to schema and taxonomy.md
- Added
CONTRIBUTING.mdwith development workflow, project structure, and commit guidelines - Added
CODE_OF_CONDUCT.md(Contributor Covenant-based) - Created GitHub issue templates (bug report, feature request)
- Started
CHANGELOG.mdand adopted semantic versioning (0.x while evolving)
✅ Phase 3B: Governance Hardening & Output Safety (COMPLETE)
This phase closes gaps discovered while comparing the package against a mature regulated eval workflow. Focus: make comparisons trustworthy, strengthen taxonomy correctness, and enforce safe report output defaults.
Backlog (all identified gaps)
- Enforce baseline compatibility in gates (blocked baseline must fail
checkunless explicitly bypassed) - Fix taxonomy completeness scoring bug for
judgeVerdict: falserows - Add report output redaction safeguards for forbidden organization tokens in rendered dashboards
- Tighten suite manifest validation rules for rubric governance (e.g., stricter
rubricVersionrequirements) - Add first-class row provenance and lifecycle conventions in schema/docs (portable, runner-agnostic)
- Add optional dataset/rubric changelog artifact surface and reporter rendering
- Extend gate threshold support beyond pass rate (e.g., tool recall and other typed metrics)
- Add fast semantic/taxonomy lint preflight before expensive eval stages
Implementation order
- Trustworthy gating first
- baseline compatibility enforcement in
check - keep backward compatibility with explicit opt-out flag/config
- baseline compatibility enforcement in
- Taxonomy correctness next
- fix
judgeVerdictfalse handling in completeness scoring - add regression tests
- fix
- Output safety defaults
- redact forbidden organization tokens in rendered output
- add tests covering banner/meta/row content
- Contract hardening
- stricter rubric governance validation
- provenance/lifecycle/changelog schema extensions (optional, additive)
- Richer policy gates + preflight lint
- typed threshold evaluators
- fast lint command for semantic consistency
✅ Phase 3C: Decision-Oriented Reporting UX (COMPLETE)
This phase ports proven reporting concepts from production eval workflows while keeping this package runner-agnostic and artifact-first.
Backlog (portable concepts)
- Add report-level provenance badge in HTML (single-suite
ds/rbor multi-suite manifest hash) - Add suite pass-rate pills in HTML header for faster triage
- Expand markdown summary with decision-oriented diff (
newly failing/newly passing) - Add report metadata cards parity pass (reported duration, build, branch, commit with richer help semantics)
- Add optional “how to read this report” reference section for onboarding
- Add optional gate-policy source linking convention (dataset/rubric source paths, additive contract extension)
- Add multi-report grouped index mode (agent/judge target rollups from discovered artifacts)
Implementation order
- Fast triage surfaces first
- provenance identity in header
- suite pass-rate pills
- PR review ergonomics
- markdown diff sections for row flips
- Adoption usability
- metadata clarity and reference help
- Portfolio view
- grouped multi-report dashboard mode
✅ Phase 4 (Core Shipping & Adoption Infrastructure): COMPLETE
Per user directive: “adoption and shipping should be done last when we are ready.”
Completed in-repo shipping/adoption assets:
- Publish to npm (when public API is stable after Phase 2C)
- Make GitHub Actions + Azure DevOps examples production-ready and copy-paste friendly
- Open well-scoped “good first issues” for contributors
- Establish feedback loop with early runners
- Add partnership tracking log and outreach stage definitions
- Add adoption metrics snapshot script and manual signal tracker
Phase 4 prerequisites:
- npm trusted-publishing workflow (manual
workflow_dispatchfrom verifiedmain; the workflow publishes through OIDC, then creates the version tag and GitHub release). - Community seeding loop infrastructure (outreach log + metrics cadence)
External outcomes remain ongoing:
- Real-world adoptions, citations, and partnerships are tracked as KPIs in
docs/adoption-metrics/latest.jsonanddocs/community-partnership-log.md.
🚧 Phase 4A: Reference Integration Proving Ground & Setup Layer (PARTIALLY COMPLETE; NEXT SLICES REMAIN)
Immediate release milestone (P0)
- Finish one coherent eval-dashboards milestone with all required local checks, dependency audit, packed-package verification, release assets, and evidence-backed review passing for the exact proposed tree. Completed in the 0.8.0 milestone; the exact-tree evidence is recorded in
docs/reviews/2026-10-07-deliverables.md. - Open a reviewable eval-dashboards PR, inspect its required raw CI logs, resolve findings, and merge the approved milestone to
main. PR #7 merged as966ef2fe64e296b685dadcf7f68e7fe0e30556d7; the exact-main CI run passed after raw-log inspection. - Verify the resulting
maincommit and run the trustedPublish to npmworkflow frommain; inspect the raw publish log and confirm both the GitHub release/tag and the npm registry version. Publish run 37686201637 published@icodenet/eval-dashboards@0.8.0with signed provenance; releasev0.8.0points to966ef2fe64e296b685dadcf7f68e7fe0e30556d7. - Update the assistant-ui integration to consume that published version before collecting real model-run evidence or opening its upstream draft PR. The local integration branch resolves
@icodenet/eval-dashboards@0.8.0; external completion remains gated on the upstream draft PR below.
Release order is mandatory: milestone evidence -> PR and green CI -> merge to
main -> verify main -> publish from main -> verify npm -> assistant-ui
measurement and upstream PR.
This phase runs two parallel streams that feed each other:
- reference integration stream proves the package against a real assistant eval program.
- eval-dashboards setup-layer stream turns repeated integration patterns into reusable presets, templates, and guidance.
The schema should remain runner-agnostic and portable. Domain-specific suite names should generally be shipped as documented presets/templates rather than hard-coded schema enums, unless a concept proves broadly reusable across eval programs.
Stream A: reference integration eval stream
- Inspect the existing reference integration eval runner, datasets, and CI wiring
- Add
@icodenet/eval-dashboards@0.8.0as an explicit dev dependency in the reference integration repo. assistant-ui PR #9044 contains the published dependency and lockfile; the standaloneevalsharness resolves 0.8.0. - Map current reference integration eval results into
eval-report/v1 - Emit
.evals_output/*.jsonartifacts from existing eval runs - Add suite manifests, dataset versions, rubric versions, and dashboard gates
- Run
eval-dashboards lint,check, andreportagainst the reference integration. Audit 2026-09-14: commands were run manually and are documented; they are not wired into a committed CI workflow in the reference repo. - Add rubric contracts plus row provenance/lifecycle metadata
- Surface the generated
/eval-dashboard/report in the host app instead of a bespoke summary-card dashboard. assistant-ui PR #9044 adds the docs-app rewrite and tests both/eval-dashboardand/eval-dashboard/. - Generate a first dashboard baseline locally and document initial quality gaps. Audit 2026-09-14: the quality-gap findings are substantive; no published baseline URL or committed baseline history manifest exists.
Integration update 2026-10-08: assistant-ui draft PR #9044 now contains the published 0.8.0 dependency, tested trial adapter, five registered behavior cases, lint/check/report commands, raw real-model artifacts, and the docs-app /eval-dashboard/ route. Seven focused eval tests, eval typecheck, the synthetic dashboard smoke test, and five docs-route tests pass. GitHub Actions completed successfully and its raw quality and coverage logs were inspected; the external Rupic review remains pending. Dated records: docs/case-studies/assistant-ui/2026-10-07-integration.md and docs/reviews/2026-10-08-assistant-ui-upstream-pr.md.
Stream B: eval-dashboards setup-layer evolution
- Publish TypeScript declaration files for package consumers (
dts: trueintsup.config.ts;main/types/exportsinpackage.json). Verified 2026-10-07:scripts/verify-packed-package.mjspacks the package, installs it into an isolated consumer, compiles public types, and executes runtime/schema/CLI exports.pnpm verify:packagepassed locally and in the exact-main CI run; the verified package was published as 0.8.0. Seedocs/reviews/2026-10-07-deliverables.md.- Generate
.d.tsfiles indistduringpnpm build. - Add package metadata (
types/ export typings) so imports likeimport type { EvalReportV1 } from '@icodenet/eval-dashboards'resolve in downstream projects. - Add a package-consumer smoke test that installs/builds against the packed package and verifies public types resolve.
- Generate
- Define reusable agent-quality suite templates, starting with:
retrieval-recallanswer-groundednessanswer-qualityrefusal-safetyprompt-injection-resiliencemcp-routingcontent-coverageregression-incidentsjudge-calibration
- Decide which concepts belong in schema fields/enums vs preset files vs documentation
- Add setup scaffolding for common agent eval programs (for example,
init --preset agent-quality) - Add starter dataset and rubric templates with versioning, provenance, lifecycle, and calibration examples
- Add docs showing how suite presets map to
riskArea,target,graders, gates, and rubric contracts - Add a repo-context glossary for terms that may be new to users, especially
eval-report/v1,suite,dataset, andrubric- Explain
eval-report/v1as version 1 of the JSON artifact contract that runners emit and eval-dashboards validates/reports on. - Explain each term in the context of the artifact contract, setup scaffolding, generated reports, and real integrations such as reference integration.
- Show how the terms relate: datasets provide cases, suites group cases by intent/risk, and rubrics define the scoring rules and pass/fail expectations.
- Explain
- Add runner-adapter primitives for teams starting from existing eval results
- Do not absorb app-specific dataset contracts or exact host-application summary object shapes.
- Provide portable inputs for run metadata, suite case results, suite manifest defaults, rubric contracts, provenance/lifecycle defaults, and output writing.
- Helpers compute suite totals from rows so adapters cannot drift into aggregate-only summaries.
- Keep raw test case data as a project concern; only the normalized row evidence and governance metadata should cross into
eval-report/v1.
- Capture GitHub approval-gate and dashboard branch pattern as reusable docs/examples
- Document branch-as-database layout (
main/,pr/, history manifests,pr-meta.json) and retention caps. - Provide workflow templates for status transitions (
pending->success|failure) with environment approvals. - Provide cleanup workflow template for closed PR data in the publish branch.
- Document branch-as-database layout (
- Feed reference integration lessons back into templates before treating them as stable
- Directory inputs are safer than literal glob strings in config (
input: ['.evals_output']). - Blocking suite manifests need explicit
rubricVersionvalues. - Setup scaffolding should clean generated
.evals_outputbefore writing the current artifact. - Summary totals must be row-complete; aggregate-only suites create lint failures.
- Host apps must expose or embed the generated static report; separate handcrafted dashboard cards drift from the canonical renderer.
- Deploy workflows should fail if the expected generated dashboard is missing instead of publishing a placeholder or stale report.
- Published packages need explicit
main,types, andexportsmetadata; declaration files indistare not enough for downstream TypeScript consumers.
- Directory inputs are safer than literal glob strings in config (
Proposed suite preset mapping
| Suite preset | Primary risk area | Target | Typical graders |
|---|---|---|---|
retrieval-recall |
relevance |
agent |
deterministic-assertions, tool-call-check |
answer-groundedness |
groundedness |
agent |
llm-judge, human-labelled-calibration |
answer-quality |
response-quality |
conversation |
llm-judge, human-labelled-calibration |
refusal-safety |
prompt-safety / pii |
agent |
deterministic-assertions, llm-judge |
prompt-injection-resilience |
prompt-safety |
agent |
deterministic-assertions, llm-judge |
mcp-routing |
tool-routing |
agent |
tool-call-check |
content-coverage |
relevance |
agent |
deterministic-assertions, llm-judge |
regression-incidents |
custom |
agent |
deterministic-assertions, llm-judge |
judge-calibration |
custom |
judge |
human-labelled-calibration |
Implementation rule
Start with presets, fixtures, docs, and CLI scaffolding. Amend eval-report/v1 only when reference integration or another real integration proves that a setup concept is portable enough to become part of the shared artifact contract.
Setup-layer planning slices
These slices turn the reference integration proving-ground work into reusable setup-layer work without baking reference integration-specific suite names into the core contract.
Dataset governance
- Define dataset file layout conventions for golden sets, labelled judge sets, regression incidents, and calibration examples.
- Require stable case ids, dataset versions, lifecycle status, owner/reviewer notes, and change reasons in examples/templates.
- Teach promotion flow: proposed case -> active blocking case -> deprecated/archived case, with changelog evidence.
- Include setup checks that fail on duplicate ids, missing lifecycle metadata, or suites whose totals do not match row evidence.
Versioned rubrics
- Provide starter rubric contracts for retrieval, groundedness, answer quality, factuality, tone of voice, refusal safety, content safety, prompt-injection resilience, tool routing, and judge calibration.
- Ensure rubric axes cover high-signal safety and trust domains that are common across industry eval programs (for example: toxicity/hate, self-harm, sexual safety, violence, bias/fairness, privacy/PII handling, and hallucination resistance), while keeping schema requirements runner-agnostic.
- Treat rubric versions as gate inputs: blocking suites must declare rubric versions and source paths.
- Document when to bump rubric versions: scoring scale changes, axis changes, prompt wording changes that alter expected verdicts, or calibration-set changes.
- Keep rubric templates as preset/docs first; only add schema fields when multiple integrations need the same portable concept.
Judge calibration
- Add a human-labelled calibration preset with expected verdicts, axis scores, and allowed tolerance bands.
- Include drift checks that compare current judge output to labelled examples before live quality gates run.
- Track judge model, judge prompt/rubric version, sample size, and disagreement rate in artifacts and reports.
- Keep calibration report-only until the labelled set is stable, then allow teams to opt into blocking thresholds.
CI quality tiers
- Define three tiers in templates: offline wiring gates for PRs, live quality gates for main/deploy, and scheduled monitoring for drift.
- Make expensive live checks opt-in and secret-aware, while still producing a report-only artifact when cloud credentials are absent.
- Recommend
lintbefore expensive evals,checkafter artifact emission, andreport/publishafter gates are evaluated. - Include fallback behavior for deploys: if dashboard generation fails, serve an explicit placeholder rather than silently showing stale data.
Suite templates
- Ship suite template docs/fixtures for the proposed presets above, each with target, risk area, graders, dataset expectations, rubric contract, and suggested gates.
- Mark presets experimental until at least reference integration plus one other integration validates the shape.
- Keep preset names stable enough for docs and generated config, but avoid requiring them in
eval-report/v1.
Setup scaffolding
- Extend
initwith an agent-quality preset that writes config, example datasets, rubric templates, and CI snippets. - Generate directory-based config inputs by default (
input: ['.evals_output']) and clean generated output before writing a new artifact. - Include host-app static dashboard guidance: generate
eval-dashboard/, copy it into the deployed static app, and link/embed/eval-dashboard/as the canonical report surface. - Provide a dry-run mode that prints planned files and commands before writing templates.
Runner adapter primitives
- Add a small public adapter API for teams that already have an eval runner but no artifact discipline yet.
- Recommended shape: a normalized
RunnerEvalResult/RunnerEvalCaseResultinput pluscreateEvalReportArtifact(...)andwriteEvalReportArtifact(...)helpers. - The helper should accept project-specific row mapping callbacks, because prompts, questions, expected source files, and local categories differ by product.
- The helper should own repeatable mechanics: stable row ids, suite totals from rows, suite manifest defaults, rubric contract attachment, provenance/lifecycle defaults, run metadata, validation, and generated-output cleanup.
- Avoid hard-coding reference integration suite ids. Use suite presets as optional defaults that can be renamed or overridden by the consuming team.
Schema and taxonomy decision rules
- Add schema fields only for concepts that are portable across runners and domains, not for one assistant’s suite taxonomy.
- Prefer preset metadata or docs for opinionated setup defaults; use validation/lint rules to teach completeness before making fields required.
- Keep
eval-report/v1additive until a breaking change is unavoidable, then introduce a new schema version with migration notes. - Use reference integration as evidence for setup ergonomics, not as the sole basis for hard-coded artifact semantics.
🚧 Phase 4B: CLI Setup Automation for Agent Evals (EXPANSION OF EXISTING INIT)
This phase focuses on the adoption path where a team installs @icodenet/eval-dashboards and asks a local coding agent to bootstrap guardrails, evals, judges, and multi-turn test setup with minimal manual wiring.
Primary product goal:
eval-dashboards init should become a practical setup assistant, not only a config generator.
4B.1 Expand initializer profiles and setup flags (P0)
- Expand existing
eval-dashboards init --preset=agent-qualitywith explicit setup profiles and composable flags, for example:--preset=agent-quality--setup=guardrails,evals,judges,multiturn--runner=vitest|jest|node|python--ci=github|azure|none--dry-runfor preview-only output
- Add CLI shell completion support with install/use examples (bash/zsh/fish), including preset/setup/runner/ci values and command flags.
- Generate profile-specific starter assets together:
- dataset files
- rubric contracts
- suite manifests
- reporter/check commands
- CI snippets aligned to selected runner
- Keep all generated outputs taxonomy-complete by default.
- Preserve backward compatibility for existing
init --preset=agent-qualityand--write/--dry-runflows.
Acceptance criteria:
- A new repo can run one
init --writecommand and immediately run lint/check/report on the generated sample artifact. --dry-runprints exactly what files and commands would be created without writing to disk.
4B.2 Local-agent setup instructions output (P0)
- Add optional generation of a checked-in setup playbook (for example
docs/evals-setup-playbook.md) that a local coding agent can follow safely. - Include copy-paste prompts for adding cases, updating rubrics, calibrating judges, and wiring multi-turn suites.
- Include a strict “verify before merge” command block with
lint,check, andreportcommands.
Acceptance criteria:
- A user can hand the generated playbook to a coding agent and get reproducible eval wiring without undocumented repo knowledge.
4B.3 First-class importer/adapters from common eval outputs (P0)
- Add import adapters so teams can convert existing outputs into
eval-report/v1quickly:- promptfoo
- deepeval
- openevals / agentevals
- Provide adapter CLI entrypoints (for example
eval-dashboards import --from=<tool> --input=<path> --out=.evals_output/...). - Preserve source-run metadata in run evidence fields (
importSource,importInputPath). Audit 2026-09-14: row-level provenance is constructed by each importer butmapRowforwards onlycaseResult.metadata, and no test asserts rowsourceRefsurvives into the emitted artifact. - Implement importers as thin conversion frontends over existing adapter helpers (
createEvalReportArtifact(...)/writeEvalReportArtifact(...)) to avoid duplicate normalization logic.
Current slice status:
- Promptfoo importer +
eval-dashboards importcommand implemented. - DeepEval importer implemented.
- AgentEvals importer implemented.
Acceptance criteria:
- Each supported importer has fixtures + tests proving valid
eval-report/v1output and correct suite/row totals.
4B.4 Statistical gating mode (P2)
- Add optional confidence-aware regression gates (bootstrap confidence interval over pass-rate deltas vs baseline).
- Keep deterministic threshold gates as default; statistical mode remains opt-in.
- Show confidence context in markdown/html summaries.
Acceptance criteria:
- Same artifact evaluated in deterministic mode vs statistical mode yields clearly explained gate decisions.
4B.5 Red-team/guardrail reporting profile (P1)
- Add a guardrail-focused report layout for attack-style suites:
- category breakdown
- severity distribution
- failure pattern grouping
- Map to existing risk areas and avoid tool-specific lock-in.
- Reuse the industry-audit safety taxonomy and preset naming so guardrail reporting does not create a parallel classification layer.
Acceptance criteria:
- Teams running safety/guardrail suites can triage by attack class without custom dashboard code.
4B.6 Trace-link fields first, CI-native outputs second (P1)
- Add optional trace reference fields (portable IDs/URLs) in artifacts and render as links where present.
- Keep CI-native machine outputs as a follow-on slice after trace-link fields and import adapters are stable.
Acceptance criteria:
- A failing check can be consumed by standard CI tooling and traced back to row evidence in one hop.
4B.7 Human adjudication package (P2)
- Add export/import flow for reviewer adjudication bundles:
- unresolved rows export
- reviewer verdict merge-back
- provenance trail in artifact metadata
Acceptance criteria:
- Teams can run human review loops without adopting a hosted platform.
4B.8 Cost-quality frontier and benchmark packs (P2)
- Add optional cost/latency-quality frontier views when row metrics are present.
- Add versioned benchmark pack templates (for example safety, tool-routing, groundedness bundles) with compatibility guidance.
Acceptance criteria:
- Users can compare quality vs cost trade-offs and bootstrap standardized packs with stable version metadata.
4B.9 Promptfoo export-compat metadata preservation (P1)
- Extend the Promptfoo importer to preserve export-time evaluator context fields that now appear in Promptfoo exports (for example
metadata.sessionId, grader comments, and latency) instead of dropping them during conversion. - Map preserved latency to
rows[].durationMs, keep grader comments inrows[].reason, and store source session ids in row metadata for downstream grouping/filtering. - Add fixture coverage proving these fields survive
eval-dashboards import --from=promptfooand pass schema validation + taxonomy lint.
Acceptance criteria:
- Importing a Promptfoo export containing session ids and latency yields an
eval-report/v1artifact where those values are queryable (rows[].durationMs,rows[].reason,rows[].metadata.sourceSessionId) and validated by tests.
Rationale (2026-09-16 scan): Promptfoo release notes call out metadata.sessionId export visibility and richer export context, so preserving those fields removes migration friction for teams already standardizing on Promptfoo outputs. Source: https://www.promptfoo.dev/docs/releases
4B.10 Promptfoo fallback-id stability for partial dataset fetches (P1)
- When importing Promptfoo rows with no explicit
id/testCase.id, derive a deterministic fallback id from stable case payload fields (suite + prompt/vars/expected/description) instead of array position. - Keep duplicate safety by suffixing repeated derived ids inside one file (
#2,#3) and add tests proving ids remain stable when row order changes between runs. - Document the fallback-id rule in
docs/integrations/promptfoo.mdso baseline comparisons remain meaningful for Promptfoo exports that include partial dataset fetch results.
Acceptance criteria:
- Promptfoo imports without row ids no longer emit index-based ids; tests demonstrate the same case keeps the same id across reordered inputs and duplicate rows are disambiguated deterministically.
Rationale (2026-10-06 scan): Promptfoo shipped eval robustness fixes for partial HuggingFace dataset fetches (fix(eval): keep HuggingFace rows when a prefetch fails), which makes row-order-dependent ids noisy in downstream baseline diffs. Source: https://github.com/promptfoo/promptfoo/commit/13f82c3f15fedc62a7d667b33cce28d05870cfd8
4B execution order
- 4B.1 Initializer profiles and setup flags
- 4B.2 Local-agent setup instructions output
- 4B.3 Import adapters
- 4B.6 Trace-link fields (portable optional IDs/URLs)
- 4B.5 Red-team/guardrail reporting profile
- 4B.4 Statistical gating mode
- 4B.7 Human adjudication package
- 4B.8 Cost-quality frontier and benchmark packs
✅ Phase 4L: Astro docs site with search, glossary and sidebar (COMPLETE)
Why: the published docs at GitHub Pages are 11 hand-written HTML pages in docs-site/v1/. The repo holds 86 Markdown files under docs/. A reader of the site cannot reach most of them. Checked against the code on 2026-10-19:
- Search (
docs-site/v1/search.html) matches only a hand-typed list of 11 pages by title, summary and keywords. It does not read page text, and it does not cover any file indocs/. - There is no glossary. The word “glossary” appears in
docs/ROADMAP.mdanddocs/STATUS.mdonly. - Navigation is a flat link list copied into each of the 11 pages by hand.
docs/docs-site-stack-decision.md(2026-09-13) chose to keep the static pages and deferred a migration. Its own revisit trigger 3 (“docs update throughput drops due to hand-maintained page duplication”) now applies. Phase 4L supersedes that decision, and the decision record must be updated in 4L.1.
Reference implementation: github.com/IcodeNet/ai-engineering (not cloned locally at the time of writing; MIT licence). What it does, verified by reading it:
- Astro 7,
output: 'static', content kept as files undersrc/content/, one catch-all routesrc/pages/[...path].astro, and a page list insrc/data/pages.json. - Search with no outside service:
scripts/build-search.cjsruns beforedevandbuild, strips tags from every page, and writeslocal-search-index.json. A small browser script loads it, opens a dialog on Ctrl/Cmd+K or a#searchlink, ranks title hits above body hits, and shows a snippet. - A check script (
scripts/check.cjs) validates built pages, assets and internal links. - A left sidebar and glossary panel exist in its built output (
GlossaryPanelscript), but the Astro source for them was not available upstream, so their design is not a reusable source.
What does not carry over: that project is a reconstruction of downloaded HTML, keeps content as HTML and not Markdown, and has no glossary data file in its source. We copy the search approach and the check script idea. We design the sidebar and glossary ourselves.
4L.1 Astro project and decision record (P0)
- Add an Astro project for the docs site (
docs-site/) withoutput: 'static', so the site stays offline-capable and repo-owned. Evidence:docs-site/astro.config.mjs,docs-site/package.json. - Render Markdown from
docs/directly, so one file is the single source and nothing is copied by hand. Evidence:docs-site/src/content.config.ts(glob loader on../docs),docs-site/src/pages/docs/[...slug].astro; 86 pages built. - Keep every existing
docs-site/v1/*.htmlURL working. They are served byte for byte fromdocs-site/public/, so no redirects are needed. Evidence:test/docs-site.test.ts(14 legacy URLs and a byte comparison ofcli.html). - Update
docs/docs-site-stack-decision.mdto record that revisit trigger 3 fired and what replaced the static pages. - Update
.github/workflows/docs-site-pages.ymlto build the Astro site and upload its output. Deploy only after the build and the checks pass. Evidence: run 39223155625 log shows “86 page(s) built”, “Docs site check passed”, then the deploy step.
Verified live on 2026-10-19: https://icodenet.github.io/eval-dashboards/ and the /v1/, /docs/, /docs/gates/ and /docs/roadmap/ pages return 200, and the live v1/cli.html is identical to the repo file.
Acceptance criteria:
- The public docs URL serves every page currently in
docs-site/v1/at the same address or through a redirect. - A change to a file in
docs/shows on the site after merge with no second edit.
4L.2 Left sidebar navigation (P0)
- Build the sidebar from a single data file that groups pages by audience, starting from the groups in
docs/README.md. Evidence:docs-site/src/data/sidebar.mjs(10 groups, 85 pages plus the index link),docs-site/src/components/Sidebar.astro. - Highlight the current page and keep the open group on page load. Evidence:
aria-current="page"and an open<details>for the current group, asserted intest/docs-site.test.ts. - Make it work on small screens (collapsible) and with the keyboard. Evidence:
docs-site/src/layouts/DocLayout.astroMenu button witharia-expanded,docs-site/public/docs.css(focus outlines, 860px breakpoint); checked in a browser at 1280px and 390px width with no sideways scroll. - Add a test that fails when a page in
docs/is in no sidebar group, so no page is orphaned. Evidence:test/docs-sidebar.test.ts; adding an unlisted doc, a missing target and a duplicate each failed it when tried.
Acceptance criteria:
- Every published page is reachable from the sidebar in two clicks or fewer. Met: all 86 pages are linked from the sidebar on the docs index page, so one click.
4L.3 Full-text search (P0)
- Generate a search index at build time from all published pages (title, headings, body text), with no outside service and no network call at read time. Evidence:
docs-site/src/pages/search-index.json.ts(97 entries: 86 docs and 11 legacy pages),docs-site/src/search/build-index.mjs. - Open search with Ctrl/Cmd+K and from a visible search box. Show a snippet around the match. Evidence:
docs-site/src/components/Search.astro; also opens from#search. Checked in a browser: Ctrl+K opened it with the input focused, and Close and click-outside closed it. The Escape key could not be checked, because a synthetic Escape did not close even a plain<dialog>in the test browser. - Replace the hand-typed page list in
docs-site/v1/search.html. Not replaced: the legacy page is kept byte for byte so its address and content do not change. Its 11 pages are in the new index instead, and the docs pages carry the new search button. - Test the index builder with literals. Evidence:
test/docs-search.test.ts(21 tests).--baseline-gate-config, which the old search page did not contain, returnsdocs/gates/first.
Acceptance criteria:
- Searching for a term that appears only in a
docs/*.mdfile, such as a flag name fromdocs/gates.md, returns that page. Met.
4L.4 Glossary (P1)
- Add one glossary data file (term, plain-English definition, link to the page that explains it). Evidence:
docs-site/src/data/glossary.mjs(18 terms). The seed list in the roadmap named 13 terms; “redaction tier” became Redaction, “champion and rolling baseline” became two entries, and Runner, Dataset, Suite, Row, Rubric, Newly failing, Persistent failure and Disappeared were added because the docs use them heavily. - Add a glossary page, searchable like any other page. Evidence:
docs-site/src/pages/docs/glossary.astro, linked at the top of the sidebar, and included insearch-index.json. - Link the first use of a glossary term on each page to its entry. Evidence:
docs-site/src/plugins/glossary-links.mjs; on the built site 74 pages carry 190 links, none inside a heading, code, table or existing link, and none repeated on a page. Six terms (Champion baseline, Dataset, Row, Rubric, Runner, Suite) are on the glossary page but are not auto-linked, because those words are too common in running text to link safely. - Add a test that fails when a glossary entry links to a page that does not exist, and when two entries share a term. Evidence:
test/docs-glossary.test.ts(10 tests). Turning the link plugin off, and removing the site-base guard, each failed it when tried.
Acceptance criteria:
- Every term in the glossary file has a definition of at most two sentences and a working link. Met, and enforced by the test.
4L.5 Checks and Pages deploy gate (P0)
- Add a docs check, run in CI before deploy, that fails on a broken internal link, a missing asset, a missing
#anchor, or an orphan page. A glossary link to a missing entry is a missing anchor, so it is covered. Evidence:docs-site/scripts/check-site.mjs,test/docs-site.test.ts;.github/workflows/ci.ymlruns it on every pull request, and.github/workflows/docs-site-pages.ymlruns it before the deploy step. Tried and failed as intended: a planted broken link, a planted missing anchor, a planted orphan page, and a broken link written intodocs/faq.md. - Keep
docs:flags,teach:verifyand the docs-commands test passing, since the site renders the same Markdown. Evidence: all three pass in CI on the merged Phase 4L pull requests. - Pin the Astro version. Evidence:
docs-site/package.jsonpinsastro7.4.0,satteri0.10.5 and@astrojs/markdown-satteri0.4.4 exactly, andpnpm-lock.yamlrecords them. The Node floor (22.22) is indocs-site/package.jsonengines; the Pages workflow uses22.x, which resolved to 22.23.3 when checked. - Verify the deployed site from the raw GitHub Actions log and open the live URL. Evidence: the deploy run logs for the 4L.1, 4L.2, 4L.3 and 4L.4 merges show the page build, “Docs site check passed” and the deploy step, and each time the live URLs, the search index and the sidebar and glossary markup were fetched and checked. Search was exercised in a browser against a local build, not against the live site.
Acceptance criteria:
- A broken link in
docs/fails the pull request and does not reach the live site. Met: the check runs in the pull request CI and before the deploy step, and a broken link written intodocs/faq.mdfailed it.
Out of scope for 4L: translations, multi-version docs (revisit trigger 2 of the stack decision), and any hosted search service.
🚧 Phase 4C: Product Docs Website + Interoperability Guides (NEW)
This phase creates a public product docs site (GitHub Pages) focused on adoption. It explains how to install and use @icodenet/eval-dashboards, and how to combine it with existing eval tooling instead of replacing everything.
Primary product goal:
Make onboarding and ecosystem fit obvious in one place: setup path, CI path, taxonomy path, and interoperability path.
4C.1 Docs site foundation on GitHub Pages (P0)
- Create a docs-site structure under version control (for example
docs-site/or equivalent static-docs layout) and publish via GitHub Pages workflow. - Keep docs fully static and repo-owned (no hosted dependency required).
- Add versioned navigation sections for: Getting Started, CLI, Schema/Taxonomy, CI Gates, Publishing, Integrations.
Acceptance criteria:
- A stable public docs URL exists and is generated from this repository on merge to main.
- Every core CLI command page includes runnable examples. Audit 2026-09-14: unmet —
docs-site/v1/cli.htmlis a single combined page, not per-command pages.
Implementation recommendation (docs generation stack):
- Record docs stack decision for the current milestone: keep the repo-owned static docs-site (
docs-site/v1/*.html) as production, with migration to VitePress + TypeDoc deferred until explicit revisit triggers are met. - Keep GitHub Pages as the publish target using the existing Actions-based deploy workflow.
- Reserve Docusaurus as a future migration fallback only if multi-version docs complexity materially exceeds the static-site path.
Decision reference: docs/docs-site-stack-decision.md
Rationale:
- Fits current TypeScript + pnpm toolchain with minimal operational overhead.
- Preserves static, offline-friendly output and repo-owned content.
- Keeps API docs synchronized with source without hand-maintained reference drift.
4C.2 CLI-first onboarding path (P0)
- Add a dedicated onboarding journey centered on
eval-dashboards init+ setup flags. - Document install-and-run flows by runner (
vitest,jest,node,python) with copy-paste commands. - Add a local-agent section: safe prompt templates for asking coding agents to wire guardrails, judges, and multi-turn suites.
Acceptance criteria:
- A new team can follow one docs path and reach first passing
lint+check+reportrun without reading internal code.
4C.3 Interoperability guides with existing eval ecosystems (P0)
- Add explicit “Works with” pages for major adjacent tools and workflows:
- promptfoo
- deepeval
- openevals / agentevals
- tracing/observability stacks (for optional trace-link fields)
- For each integration page, document:
- what that tool does well
- what eval-dashboards adds
- minimal conversion path into
eval-report/v1 - example commands and expected artifact shape
- Keep positioning runner-agnostic and non-adversarial.
Acceptance criteria:
- Users can identify in under 5 minutes whether they should adopt eval-dashboards alongside their current tooling and exactly how.
4C.4 Assistant-UI reference integration track (P1)
- Use assistant-ui integration as the living reference example for agent-eval adoption docs.
- Publish a case-study style walkthrough: baseline setup, emitted artifacts, lint/check/report wiring, dashboard publish flow, and key lessons.
- Keep example aligned with current branch/PR state and update docs when integration steps change. The dated sync record in
docs/reviews/2026-10-08-assistant-ui-upstream-pr.mdlinks the upstream head, raw artifacts, commands, CI runs, and remaining review state. - Expand the assistant-ui eval program beyond its current comment-hygiene cases with additional named suites whose baselines reproduce a documented product or contributor risk and whose rubrics can be reviewed independently.
registry-source-of-truthandoptional-host-sdk-dependencyboth reproduced at baseline 0/3. - Run the expanded suites against real configured agent and judge models, preserve the raw
eval-report/v1artifacts, and useeval-dashboards lint,check, andreportto measure them. PR #9044 recordsclaude-haiku-4-5as agent andclaude-sonnet-5as judge; its evidence directory preserves seven raw reports. - Review the measured dashboard row by row, record model versions, trial counts, failures, limitations, and resulting fixes, then rerun the affected suites to produce comparable evidence. The final new-suite paired runs reached baseline 0/3 and guidance 3/3, while the unresolved
pr-review-commentsguidance regression remains recorded at 0/3. - Open a draft PR in
assistant-ui/assistant-uicontaining the integration and suite changes, with the measured dashboard evidence and exact verification commands linked in the PR description. Draft PR #9044 exists and all GitHub Actions checks passed after raw-log inspection; keep this item open until the pending external Rupic review (Rupic is an AI code-review GitHub App at rupic.dev; the PR carries its “Track in Rupic” badge) completes and is inspected. Checked 2026-10-19: the PR is still a draft, with no human review and no review comments. Its Rupic page shows 0 review rounds and was last updated 2026-10-11, so no Rupic review has arrived. GitHub reports the branch as conflicting withmaininassistant-ui/assistant-ui, so it needs a rebase before anyone could merge it. That rebase is a change to someone else’s repository and was not made.
Acceptance criteria:
- The docs site contains an end-to-end reference integration page tied to real repo artifacts and reproducible commands.
- The upstream draft PR is based on real model runs from the expanded suites, rather than only the synthetic adapter smoke test, and states both positive results and unresolved findings.
4C.5 Adoption measurement for docs effectiveness (P1)
- Add lightweight docs adoption signals (page-to-action checks, integration example usage markers, docs update cadence).
- Track friction points as documentation backlog items, not only product backlog items.
Acceptance criteria:
- Docs changes are prioritized using observed adoption friction instead of intuition only.
4C.6 Documentation truth-sync sweep (P0)
- Run a cross-doc consistency pass so roadmap/status/docs/readme/help/examples reflect actual implementation and live site state.
- Remove stale claims about blocked GitHub Pages or cloud publish dry-run-only behavior where implementation is already live.
- Add a docs consistency checklist to release hygiene so stale state claims are caught before merge. Evidence:
CHECKS_LEDGER.md:13-42section “1a) Docs Consistency Checklist (completion-claim gate)” — requirespath:lineevidence in the commit message before any- [ ]becomes- [x], and rules out external-repo, docs-only, and unfalsifiable process claims.
Acceptance criteria:
- No contradictory claims across
README.md,docs/STATUS.md,docs/ROADMAP.md,docs/publishing.md, anddocs/examples.mdfor the same capability. - CLI help text, docs examples, and implementation support matrix are aligned for publish/import/teach flows.
4C.7 Supplementary eval tooling map + interoperability expansion (P1)
- Add/expand “Works with” guidance for major eval/observability ecosystems:
- promptfoo, DeepEval, OpenAI eval surfaces, Anthropic eval methodology,
- Langfuse, W&B Weave, Arize Phoenix, Braintrust, Ragas, TruLens, Patronus.
- For each guide, document: what the tool does well, tradeoffs, and minimal conversion path into
eval-report/v1. - Keep positioning runner-agnostic and non-adversarial (co-existence over replacement).
Acceptance criteria:
- Each integration page includes at least one concrete conversion/adapter pattern into
eval-report/v1. Audit 2026-09-14: partially met — all pages point at the same generic mapper, which records--sourcein metadata but does not apply per-tool field mappings. - Teams can decide in under 10 minutes whether to pair
eval-dashboardswith their current stack.
4C.8 Integration risk register and mitigations (P1)
- Track known integration risks and mitigations in docs:
- runtime version mismatches,
- Python-sidecar dependency for some toolchains,
- schema drift across external outputs,
- cloud coupling vs offline-first defaults,
- synthetic-dataset overfitting risk.
- Tie each risk to owner, trigger condition, and mitigation playbook.
Acceptance criteria:
- Risk register exists and is referenced from interoperability docs.
- New integrations cannot be marked complete without explicit risk/mitigation entries. Audit 2026-09-14: stated as a prose convention in
docs/integrations/risk-register.md; nothing enforces it in lint or CI.
4C.9 Trace-first evidence hardening (P1)
- Strengthen trace-link guidance and examples using
rows[].tracefields (traceId,spanId,traceUrl,spanUrl). - Add at least one end-to-end example showing failure triage from dashboard row to trace deep link.
Acceptance criteria:
- Report output demonstrates clickable trace evidence on at least one maintained example.
- Docs and maintained examples include trace capture as optional but first-class evidence for agent/tool failures.
4C.10 Adopt-now path + existing-runner adoption map (P1)
- Publish
docs-site/v1/adopt-now.htmlwith a simple copy-paste adoption path that preserves existing runners. - Publish
docs/adoption-map.mdwith candidate PR-style change sets for three known external repos. - Add non-endorsement disclaimers where external repo candidates are referenced in public docs-site pages.
Acceptance criteria:
- Adopt-now page is linked from the docs-site index and includes a copy-paste flow.
- Adoption map documents candidate-only positioning, evidence anchors, and risk notes.
- Public docs surfaces include non-endorsement language for external candidate repos.
4C.11 OpenAI Evals sunset migration path (P0)
- Add a dedicated OpenAI Evals migration guide and import-source aliases (
oaieval,oaievals,openai-eval) that normalize to--from=openai-evalsso teams can keep CI running while migrating before shutdown.
Acceptance criteria:
eval-dashboards importacceptsoaieval,oaievals, andopenai-evalas aliases foropenai-evalswith completion/help text updated.- Integrations docs include a concrete migration path from OpenAI Evals exports to
eval-report/v1plus known limitations.
Rationale: OpenAI states the Evals platform becomes read-only on 2026-10-31 and is scheduled to shut down on 2026-11-30, so low-friction migration paths are time-sensitive for adopters (https://developers.openai.com/api/docs/guides/evals).
Verification 2026-10-07: aliases and conversion are covered by test/import-adapters-openai-evals.test.ts:25; completion by test/completion.test.ts:26; guide at docs/integrations/openai-evals.md. The guide now distinguishes supported oaieval logs from arbitrary hosted API exports and lists only supported event types. Real CLI runs verified all aliases and expected passing/failing gates; see docs/reviews/2026-10-07-deliverables.md.
4C.12 Promptfoo error-row import resilience (P1)
- Extend the Promptfoo import adapter so provider/eval error rows (where
gradingResultmay be absent) import as explicit failedeval-report/v1rows instead of aborting conversion.
Acceptance criteria:
eval-dashboards import --from=promptfoomaps Promptfoo error rows (error,response.error,providerResponse.error, orfailureReason: 2) topassed: falserows with preserved failure reasons.- Adapter tests include at least one mixed payload (normal assertion rows + provider error rows) proving conversion succeeds and marks only error rows as failures.
- Promptfoo integration docs call out the error-row mapping so CI users can distinguish transport/evaluator errors from assertion failures after import.
Rationale: Promptfoo documents that gradingResult/componentResults can be absent on error rows, so importers must handle these rows without dropping the run (https://www.promptfoo.dev/docs/configuration/outputs/).
4C.13 Promptfoo native JSON export import compatibility (P1)
- Extend the Promptfoo import adapter to ingest Promptfoo’s documented JSON export shape where rows are nested under
results.outputs[], not onlyresults[]or JSONL rows.
Acceptance criteria:
eval-dashboards import --from=promptfooaccepts exports withresults.outputs[]and converts rows without requiring pre-transformation.- Adapter tests cover at least one
results.outputs[]payload and validate the imported row identity/suite/pass fields. - Promptfoo integration docs explicitly list the supported input shapes (
results[],results.outputs[], JSONL rows).
Rationale: Promptfoo’s output docs define the default JSON export with rows under results.outputs[]; import support should match the primary documented format to reduce migration friction (https://www.promptfoo.dev/docs/configuration/outputs/).
4C.14 LangSmith runs import path (P1)
- Add first-class
--from=langsmithimport support plus a LangSmith integration guide that maps recentquery_runs/fetch_runsoutputs toeval-report/v1with explicit pass/fail inference rules.
Acceptance criteria:
eval-dashboards import --from=langsmith --input=<path>accepts array andruns[]/data[]containers and emits a schema-valid artifact.- Pass/fail inference is deterministic and documented (status/error/score/feedback precedence) with regression tests for ambiguous input.
Rationale: LangSmith’s Cloud changelog now promotes run-query tooling for costs/tokens and cursor pagination (query_runs, with fetch_runs deprecated), so a direct adapter removes migration friction for teams standardizing on LangSmith exports (https://docs.langchain.com/langsmith/changelog).
4C.15 LangSmith address + revision provenance compatibility (P1)
- Extend the LangSmith import adapter to preserve
addressandrevision_id/revisionIdas row metadata without treating a shared address as run identity.
Acceptance criteria:
eval-dashboards import --from=langsmithkeeps run-specificidasrows[].idand retains the deterministic suite+index fallback when it is absent.addressvalues are preserved inrows[].metadata.langsmithAddress;revision_id/revisionIdvalues are preserved inrows[].metadata.langsmithRevisionId.- Adapter tests cover multiple address-only rows sharing one address and prove that their row ids remain distinct while both provenance fields are retained.
Rationale: LangSmith SDK v0.14.5 added typed addresses (AgentAddress/ExperimentAddress/EvaluatorAddress) plus revision-id support. Addresses identify destinations or query targets rather than individual runs, so imports should preserve them as provenance without weakening row identity (https://github.com/langchain-ai/langsmith-sdk/releases/tag/v0.14.5).
Verification 2026-10-11: importer mapping is implemented in src/cli/import-adapters.ts; the duplicate-address regression is covered by test/import-adapters-langsmith.test.ts; mapping and limitations are documented in docs/integrations/langsmith.md. Exact commands, results, review resolution, and limitations are recorded in docs/reviews/2026-10-11-pr14-langsmith-provenance.md.
4C.16 Inspect AI log import compatibility (P1)
- Add first-class
--from=inspect-aiimport support for Inspect log JSON (samples[]) with deterministic pass/fail mapping and task/sample description preservation.
Acceptance criteria:
eval-dashboards import --from=inspect-aiaccepts one Inspect log object (or array of logs) and emits a schema-valid artifact.- Row
questionpreservessamples[].description(fallback:eval.description) so agent-intent context survives import. - Import adapter tests cover mixed pass/fail score objects and explicit failure when no pass/fail signals are present.
- Integration docs explain
.evalvs JSON (inspect log dump) and the current mapping limits.
Rationale: Inspect AI 0.3.278 added task/sample description fields to eval logs and dataframe exports, so a direct adapter removes conversion glue for teams standardizing eval evidence in CI (https://github.com/UKGovernmentBEIS/inspect_ai/releases/tag/0.3.278).
Verification 2026-10-31: src/cli/import-adapters.ts:1065, test/import-adapters-inspect-ai.test.ts:100, and acceptance evidence.
4C.17 Langfuse score-provenance export parity (P1)
- Extend the Langfuse import adapter to preserve optional
score_metadataand score-provenance export fields so downstream gates and audits can trace who/what produced each score.
Acceptance criteria:
eval-dashboards import --from=langfusemapsscore_metadata/scoreMetadatatorows[].metadata.langfuseScoreMetadatawhen present.eval-dashboards import --from=langfusemapsscore_provenance/scoreProvenanceplus flattened provenance columns (author_user_id,config_id,queue_id,evaluator_id,evaluation_rule_id,execution_trace_id) torows[].metadata.langfuseScoreProvenance.- Adapter tests cover both nested and flattened provenance shapes and verify schema validation succeeds.
- Langfuse integration docs describe the mapping so teams can keep warehouse joins and evaluator-trace debugging after import.
Rationale: Langfuse added optional score metadata/provenance field groups for scheduled exports, including execution_trace_id for evaluator trace linkage; preserving these fields removes evidence loss in CI migrations (https://langfuse.com/changelog/2026-10-22-blob-storage-score-field-groups).
Verification 2026-10-31: src/cli/import-adapters.ts:651, test/import-adapters-ragas-langfuse.test.ts:111, and PR #93 handoff evidence.
4C.18 Promptfoo assertion-component evidence parity (P1)
- Preserve
gradingResult.componentResults[]in schema-validrows[].checks[]using the existing runner-defined check type and pass fields. - Cover mixed assertion sets, thresholds/weights, missing values, malformed components, and the public runner adapter; document mapping limits.
Evidence: src/cli/import-adapters.ts:215, src/adapters/runner.ts:100, test/import-adapters.test.ts:188, test/runner-adapter.test.ts:36.
Acceptance: assertion evidence survives JSON/JSONL import without changing row-level gate semantics or eval-report/v1. See PR #92 and Promptfoo exports.
4C.19 Phoenix decision-model evidence parity (P1)
- Extend the Phoenix import adapter to preserve decision-model export evidence (
metadata.confidence,metadata.probabilities) and trace links (traceId/spanIdplustraceUrl/spanUrl) ineval-report/v1rows.
Acceptance criteria:
eval-dashboards import --from=phoenixmapstraceId/trace_id,spanId/span_id,traceUrl/trace_url, andspanUrl/span_urlintorows[].tracewhen present.metadata.confidencemaps torows[].metadata.phoenixDecisionConfidenceandmetadata.probabilitiesmaps torows[].metadata.phoenixDecisionProbabilities.- Adapter tests cover the decision-model shape and schema validation still passes.
docs/integrations/arize-phoenix.mddocuments the mapping and uses the built-inimportcommand path.
Rationale: Phoenix release notes (2026-10-27) document decision-model evaluators emitting metadata.probabilities and metadata.confidence; preserving those fields prevents evidence loss during CI migration (https://arize.com/docs/phoenix/release-notes/10-2026/10-27-2026-decision-model-evaluators-and-project-onboarding).
Verification 2026-11-01: src/cli/import-adapters.ts:1037, test/import-adapters-phoenix-braintrust.test.ts:65 and :111; see review evidence. Null trace IDs are omitted without dropping valid aliases or URLs.
4C execution order
- 4C.1 Docs site foundation
- 4C.2 CLI-first onboarding path
- 4C.3 Interoperability guides
- 4C.6 Documentation truth-sync sweep
- 4C.4 Assistant-UI reference integration
- 4C.5 Adoption measurement loop
- 4C.7 Supplementary tooling map + interoperability expansion
- 4C.8 Integration risk register
- 4C.9 Trace-first evidence hardening
- 4C.10 Adopt-now path + existing-runner adoption map
🚧 Phase 4E: Trust hardening for CI gating and eval methodology (NEW)
Mission
Close the gaps identified by an external architect + methodology review before recommending eval-dashboards as the standard evals layer for agent teams building on shared CI/CD infrastructure. Stay a runner-agnostic, offline-first reporting/gating toolkit — do not expand into a hosted observability platform (that is a separate, explicitly out-of-scope decision; see “Non-goals for this phase” below). Scope amendment 2026-10-31: hosted functionality is now approved under Phase 5; the exclusion applies only to this historical phase.
Review inputs
- Staff Platform/DevOps Architect review (2026-09-13): CI-native outputs and gate primitives are strong; missing alerting, gate-reliability telemetry, and adjudication/dataset rigor before broad rollout.
- Senior AI/ML Evaluation Methodologist review (2026-09-13): taxonomy/gating primitives are strong; calibration enforcement, multi-reviewer adjudication defaults, and dataset governance are the top trust gaps; curriculum teaches mechanics more than judgment.
4E.1 Alerting adapters (P0, S)
- Add notification adapters for gate failure / trend regression: Slack webhook, Teams webhook, generic email/SMTP.
- Ship as opt-in CLI flags/config (for example
check --notify=slack --notify-webhook=<url>), independent of hosting decisions.
Acceptance criteria:
- A blocking gate failure or a newly-blocked baseline can trigger at least one notification channel without custom scripting.
- Notification payload includes run id, failing suite(s), and a link back to the published report or artifact path.
4E.2 Gate reliability heartbeat (P0, S)
- Emit a machine-readable gate-run status (
ran|skipped|errored) alongside existingcheckoutputs. - Document how to wire this heartbeat into existing CI monitoring so a silently skipped/errored gate is itself an alertable signal.
Acceptance criteria:
- A CI job where
checkerrors non-fatally or is skipped produces a distinguishable status from a clean pass, and this is documented with an example.
4E.3 Mandatory pre-gate calibration check (P0, M)
-
checkrefuses to run ablockinggate against a suite with judge-calibration configured unless an independent calibration run exists within a configurable recency window and matches the currentjudgeModelplus the configured calibration-suite rubric contract. - Default behavior on missing/stale calibration: warn loudly in report-only mode, fail in blocking mode (configurable escape hatch documented).
Acceptance criteria:
- A blocking judge-scored suite with no matching recent calibration run fails
checkwith an actionable message naming the missing calibration evidence. - Audit 2026-11-06: existence/recency matching is implemented, but evidence quality is not enforced yet; 4E.12.2 tracks that separate acceptance gap.
4E.4 Multi-reviewer adjudication as the default (P0, M)
- Require ≥2 independent reviewers for calibration ground truth by default; single-reviewer mode becomes an explicit opt-down flag, not the default path. (
src/adjudication/bundles.ts:255-270:mergeAdjudicationBundleskips rows withskippedInsufficientReviewersunless--allow-single-reviewer/allowSingleReviewer: trueis passed; CLI flag wired insrc/cli/index.ts:1177-1180.) - Report inter-rater disagreement rate alongside judge agreement/disagreement in artifacts and reporters. (
src/adjudication/bundles.ts:281-297,352-368: per-rowadjudicationDisagreementsand overalldisagreementRate/interRaterAgreementrecorded inMergeAdjudicationResultandreport.metadata.adjudication.imports[].interRaterAgreement; surfaced in CLI import summary atsrc/cli/index.ts:1191-1197.)
Acceptance criteria:
- Default
init --setup=judgesscaffolding and docs demonstrate two-reviewer adjudication; single-reviewer mode is documented as an explicit reduced-rigor opt-out. (exportUnresolvedRowsBundleinsrc/adjudication/bundles.ts:151emitsreviews: [{}, {}]by default;src/cli/init-scaffold.ts:278-283,752teach-mode/prompt copy documents the two-reviewer default and the--allow-single-revieweropt-out.) Verified vianpx vitest run(216/216 passing, including newtest/adjudication.test.tscases for agree/disagree/single-reviewer paths) andnpx tsc --noEmit(clean).
4E.5 Dataset governance hardening (P1, M)
- Add
lintchecks for duplicate dataset case ids, orphanedscenarioIdreferences, and minimum coverage-per-category warnings. - Document these checks in the dataset governance section of the taxonomy docs.
Acceptance criteria:
lintfails or warns (configurable strictness) on a fixture containing duplicate case ids or orphaned scenario references.
4E.6 Ship scoped P1 security presets (P1, M)
- Implement
output-handling-safetyandprompt-leakage-resiliencepresets already scoped indocs/industry-coverage-audit.md. - Split
content-safety-style guidance into category-specific suites (violence, self-harm, hate/harassment) rather than one undifferentiated bucket.
Acceptance criteria:
- Each new preset has dataset/rubric templates, gate defaults, and scaffold output parity with existing presets.
4E.7 “Diagnose a red run” exercise (P1, S)
- Add an 11th teach-exercise workbook (
docs/teach-exercises/11-diagnose-a-red-run.md) built around a pre-authored failing artifact combining a blocked baseline, a statistical gate failure, and flaky rows. - Walk the learner through root-causing each failure type distinctly, not just re-running until green.
Acceptance criteria:
- The exercise ships its own fixture artifact and expected diagnostic conclusions the learner can check their answer against.
Shipped:
docs/teach-exercises/11-diagnose-a-red-run.md(150 lines), linked fromdocs/teach-curriculum.md:54, ships its own fixture and walks blocked-baseline, statistical-gate, and flaky-row failures as distinct root causes.
4E.8 Product-owner / non-engineer reading track (P1, S)
- Add a 2-exercise mini-track for reading the HTML dashboard: interpreting severity, taxonomy-completeness score, and a baseline-blocked banner — no CLI/JSON authoring required.
- Link this track from
docs/teach-curriculum.mdas an alternate on-ramp for product managers and reviewers.
Acceptance criteria:
- A non-engineer can complete the track using only a browser and a provided sample report, reaching correct conclusions about pass/fail and drift status.
Shipped:
docs/teach-exercises/pm-01-reading-a-report.md(116 lines) anddocs/teach-exercises/pm-02-reading-drift.md(113 lines), both linked fromdocs/teach-curriculum.md:57-58under a “Non-engineer reading tracks” section.
4E.9 Complete coded import adapters (P2, M)
- Ragas and Langfuse portions: real coded
importadapters (--from=ragas,--from=langfuse) with fixtures and passing tests, matching the existing promptfoo/deepeval/openevals pattern. - Phoenix and Braintrust portions: real coded
importadapters (--from=phoenix,--from=braintrust) with fixtures and passing tests, matching the existing pattern.
Acceptance criteria:
- Each converted adapter has a fixture, a passing test proving valid
eval-report/v1output, and correct suite/row totals, matching 4B.3 acceptance criteria. - Status: 4 of 4 sources (ragas, langfuse, phoenix, braintrust) meet this bar. Done.
4E.11 eval-ai-library import adapter (P2, S)
- Add
--from=eval-ai-librarytoeval-dashboards import, converting output from theeval-ai-libraryPython package (https://github.com/meshkovQA/eval-ai-library, docs at https://library.eval-ai.com/) intoeval-report/v1. Rationale (2026-09-15 competitive scan of library.eval-ai.com and the meshkovQA/eval-ai-library repo): it is a harness, not a reporting/gating layer — out of category, not a competitor to replicate — but it is a real upstream source teams may already be using, matching the existing promptfoo/deepeval/ragas/langfuse/phoenix/braintrust/openai-evals adapter pattern (4B.3/4E.9). Evidence:src/cli/import-adapters.ts:768(evalAiLibraryRows) plusresolveImportSource/dispatch wiring for'eval-ai-library'; verified bytest/import-adapters-eval-ai-library.test.ts(all 3 tests pass). - Map its named metric/scorer categories (answer_relevancy, faithfulness,
contextual_precision/recall, bias, toxicity, goal_achievement,
task_success, tools_correctness, jailbreak_detection,
prompt_injection_detection, pii_leakage, exact_match, etc.) onto this
repo’s
category/riskAreataxonomy fields as a documented reference table (docs/taxonomy.mdor a new interop page), so adopters coming from that library have a direct mapping instead of guessing. Evidence:docs/import-eval-ai-library-taxonomy.md(full mapping table), cross-linked fromdocs/taxonomy.mdsection “6. Import Adapter Metric Mappings”; mapping table also lives in code asEVAL_AI_LIBRARY_METRIC_TAXONOMYinsrc/cli/import-adapters.ts.
Acceptance criteria:
- Fixture + passing test proving valid
eval-report/v1output with correct suite/row totals, matching 4B.3/4E.9 acceptance criteria. Verified:test/fixtures/eval-ai-library-sample.json+test/import-adapters-eval-ai-library.test.ts(“imports eval-ai-library test case results into a valid eval-report/v1 artifact” — 2 rows, 1 passed/1 failed, suite totals{ total: 2, passed: 1, failed: 1 }). - Metric-to-taxonomy mapping table is committed and cross-linked from
docs/taxonomy.md. Verified:docs/taxonomy.md:481-486links todocs/import-eval-ai-library-taxonomy.md. - No harness/scoring logic is imported or reimplemented — only artifact
conversion, matching the runner-agnostic charter.
Verified:
evalAiLibraryRowsinsrc/cli/import-adapters.tsonly reads pre-computedmetrics_data/successfields from the input JSON; no eval-ai-library package is a dependency (seepackage.json).
4E.10 JSONL import ingress for eval migration paths (P1, S)
- Allow
eval-dashboards importto accept newline-delimited JSON (.jsonl) inputs in addition to JSON objects/arrays, so teams can ingest line-oriented exports without pre-conversion.parseJsonFileinsrc/cli/import-adapters.tsnow falls back to line-by-line JSON.parse when the whole-file parse fails, with a clear error naming the offending line if a line isn’t valid JSON either. Help text anddocs/cli-help/import.txtupdated to say JSON/JSONL.
Acceptance criteria:
- A JSONL fixture imports through at least one adapter path and emits a valid
eval-report/v1artifact with correct row/suite totals. Verified:test/import-adapters.test.ts“imports newline-delimited JSON (JSONL) rows” — 2-row promptfoo JSONL fixture imports, validates aseval-report/v1, row ids and provenance metadata correct. Full suite 209/209, typecheck clean, build clean.
Rationale: OpenAI’s eval workflow documentation explicitly uses uploaded JSONL datasets and teams migrating off hosted eval surfaces increasingly handle line-oriented artifacts first (https://developers.openai.com/api/docs/guides/evals).
4E.12 Gate and calibration review follow-up (2026-11-06)
Prioritize gate correctness before further hosted indexing. The owner-provided
review was checked against current main: missing calibration observations can
pass agreement/disagreement/axis thresholds, preflight only checks matching
evidence exists, and zeroCritical counts passing critical rows. Reproduce each
bug with a failing regression before fixing it. Keep one fix per commit, record
red/green evidence, run the full required checks, and add a changelog entry.
Preserve the portable eval-report/v1 contract and the existing review/merge
and 0.x milestone release rules. Version 1.0.0 remains owner-gated.
- 4E.12.1 — Missing calibration observations (P0). Blocking agreement and
disagreement bars must fail when there are no paired judge/human verdicts.
Blocking axis-delta bars must fail when there are no shared scored axes.
Report-only manifest thresholds are not evaluated. Missing is
unknown, not perfect agreement or zero disagreement. Diagnostics must name
the missing evidence; genuine measured zeros remain valid observations.
Configured blocking thresholds also fail when their suite summary is missing;
Canonical IDs and unique aliases resolve the same rows; ambiguous names cannot
borrow labels from another suite. Paired axis scores must be finite.
Source evidence:
src/gates/check-gates.tsandtest/calibration-missing-evidence.test.ts(red then green, including CLI). - 4E.12.2 — Calibration evidence quality (P0). A recent independent
matching run must meet its declared agreement bar before it qualifies as
calibration evidence. Missing or failed bars do not qualify. Check the
relevant judge model and rubric; other judges’ rows must not hide failure.
Preserve explicit warning-only/escape-hatch behavior and its accounting.
Source evidence:
src/gates/evaluate-policy.tsandtest/calibration-preflight-quality.test.ts(red/green and actual CLI). - 4E.12.3 — Minimum calibration sample (P1). Add a configurable minimum
number of eligible labelled pairs. Fail below it; unlabelled rows do not
increase the denominator. Exercise small samples and per-judge eligibility.
Source evidence:
src/gates/check-gates.ts,test/calibration-minimum-sample.test.ts(red/green, real CLI), andexamples/calibration-minimum-sample/. - 4E.12.4 — Calibration statistics (P1). Report raw agreement, paired
counts, Cohen’s kappa and per-category agreement. Thresholds are opt-in.
Keep undefined/degenerate cases explicit rather than manufacturing a pass.
Source evidence:
src/analytics/calibration.ts,test/calibration-statistics.test.ts(red/green, reporter and gate parity), anddocs/calibration-statistics.md. Reporting is descriptive;minJudgeKappais opt-in. - 4E.12.5 — Critical failures (P1). Make
zeroCriticalcount failed critical rows, consistent with suite critical-failure thresholds. Prove that a passing critical row does not fail it, while a failed critical row does. Evidence:src/gates/check-gates.tsandtest/critical-failures-only.test.ts(red/green, suite/public API/CLI parity). - 4E.12.6 — Multi-class labels (P1). Add an optional declared label scale,
judge/human class labels and explicit pass-class mapping. Support agreement,
kappa, validation and reports without changing boolean verdicts or repurposing
failure-category fields. Keep schema, examples and adjudication aligned.
Evidence:
src/analytics/class-calibration.ts,test/calibration-class-labels.test.ts(red/green, gates/reports/review), andexamples/calibration-class-labels/. - 4E.12.7 — Baseline version keys (P1). Add optional comparability keys
for model digest, prompt hash, tool contract and instance configuration.
Compare declared values when both runs carry them; surface missing metadata
clearly. Do not mistake an intentional experiment treatment for uncontrolled
drift or silently call absent metadata a verified match.
Evidence:
src/history/version-keys.ts,test/baseline-version-keys.test.ts(red/green, gates/CLI/analytics/reports), andexamples/baseline-version-keys/.
Recorded for later; do not implement as part of this correction sequence:
- 4E.12.8a — Experiment scoping. Filter current/baseline/history by an explicit experiment ID, beyond the existing display labels. Prevent unrelated projects/experiments in one input directory from silently mixing.
- 4E.12.8b — Any-two-run row comparison. Add a side-by-side evidence view for two selected runs, building on current matched-case analytics, explicit baselines and full history rather than duplicating those capabilities.
- 4E.12.8c — History append. Add an append operation with clear identity, ordering, retention and concurrency behavior for file/SQLite/future stores.
- 4E.12.8d — Langfuse import follow-up. Reproduce trace-link and categorical
score issues against current source, then preserve
row.traceand require an explicit categorical mapping. Do not assume older-checkout observations are still current or silently convert unknown labels into booleans.
The review’s 0.10.0 release snapshot and some statistical/history claims describe an older checkout. Portable 0.11.0 is published, opt-in paired comparisons and full historical artifacts already exist, and hosted work is approved under Phase 5. This follow-up records verified gaps without replacing those completed features or claiming the hosted service is shipped. M2 indexing work is retained for resumption after the correctness fixes.
Non-goals for this phase
- Hosted ingestion API, time-series store, auth-gated dashboard app, and cross-repo/team rollup views are explicitly out of scope for 4E. (Update: a local history store behind a storage adapter is now in scope under Phase 4K; the hosted API and auth-gated app remain out of scope.) They require a separate, explicitly resourced platform decision (see review verdict: pair with an existing hosted observability product, or fork into a new service with its own team/SLA) and must not be bolted on incrementally under this phase. Scope amendment 2026-10-31: hosted functionality is now approved under Phase 5; the exclusion applies only to this historical phase.
4E execution order
2026-11-06 priority: complete 4E.12.1–4E.12.7 in the order above before resuming new hosted indexing features; 4E.12.8 stays roadmap-only.
Revised after the 2026-09-14 multi-role review (see Phase 4F review inputs). Ordering is by adoption impact, not by item number.
- 4E.1 Alerting adapters — done
- 4E.2 Gate reliability heartbeat — done
- 4E.3 Mandatory pre-gate calibration check — done; still to surface calibration age/agreement on the HTML report face
- 4E.5 Dataset governance hardening — done (duplicate dataset case ids, orphan scenario references, and low category coverage warnings shipped in lint + docs). Follow-up extension: dataset-staleness and required-taxonomy-field checks.
- 4E.7 Diagnose-a-red-run exercise — cheapest antidote to “rerun until green”
- 4E.8 Product-owner reading track — pair with the 4F.1/4F.2 confidentiality work before promoting a non-engineer view
- 4E.6 Scoped P1 security presets — build in loss-given-failure order:
output-handling-safety, thenprompt-leakage-resilience, then category-split content safety - 4E.9 Complete coded import adapters — decide by surveying which runners teams actually use; promote sharply if Ragas/Langfuse/Phoenix/Braintrust are in real use
- 4E.4 Multi-reviewer adjudication — done as the default path, with
--allow-single-revieweras the explicit opt-down for teams that can’t yet afford two-reviewer ground truth on every calibration run.
Related follow-up captured in 4F: the statistical gate knobs (--confidence-level, --bootstrap-samples) are over-exposed. A misconfigured statistical gate is worse than a blunt one; prefer one opinionated preset over raw knobs.
🚧 Phase 4G: Teaching curriculum consistency (NEW)
Mission: the teaching track is the adoption funnel. An independent review on
2026-09-14 executed all 19 files in docs/teach-labs/ and docs/teach-exercises/
and found the set is bimodal — four strong files and fifteen thin ones — plus
several commands that do not do what the docs say. Fix the broken commands
first, then normalise the rest onto the format the four strong files already use.
Reference files (the bar, no changes needed): teach-labs/04-release-readiness.md,
teach-labs/05-post-release-monitoring.md, teach-exercises/11-diagnose-a-red-run.md,
teach-exercises/pm-01-reading-a-report.md.
P0 — broken commands (a learner following instructions exactly hits these)
- 4G.1 Fix
07-judge-calibration.md: the exercise’s own row failslintwithmissing-row-lifecycleandmissing-row-provenance(exit 1) while the doc claims “Commands run without schema errors” (docs/teach-exercises/07-judge-calibration.md:89-90). Root cause is cross-file: Ex05 addssuiteManifests, promoting the suites to dataset-governed, which makes provenance/lifecycle mandatory in Ex07. Either add the required fields or teach the error as the lesson. Acceptance: the exercise runs clean, or the failure is the documented teaching point. Fixed by addingmetadata.lifecycle.status/metadata.provenance.sourceto both new rows and explaining why Ex05’s manifest requires them. Verified by running Ex02→04→05→07 verbatim from the doc in a clean scratch dir: exit 0, warnings only. - 4G.2
history --history-dirwas a non-existent flag, silently ignored, that wrote to the default path while appearing to work. Fixed two ways: the doc now uses--out(docs/teach-exercises/11-diagnose-a-red-run.md:66), and the CLI now rejects unknown flags with exit 2 (src/cli/args.tsassertKnownFlags, 19 tests intest/cli-args-validation.test.ts). Commite562b1f. - 4G.3 Fix
08-gates-release.md: the doc primes the learner to expect a failingcheck(exit 1) but the minimal artifact has one passing row, so the gate passes and exits 0. Either change the fixture or change the text. Fixed by keeping the real pass (exit 0) as step 1 and adding step 2: append one critical failing row and show the real exit-1 output, so the learner sees both outcomes instead of a false claim. Verified against a real run in both states. - 4G.4 Fix
05-suite-taxonomy.md: it adds manifests forrefusal-safetyandanswer-quality, neither of which exists in the artifact, while the one suite that does exist (quality) gets none — so lint goes from clean tomissing-suite-manifest. Doing the exercise correctly makes lint worse and the doc says nothing. Also the origin of the Ex05 → Ex07 trap in 4G.1. Fixed by dropping the inventedrefusal-safetymanifest and keeping onlyanswer-quality(the real suite Ex07 adds next), with an explicit note that manifesting an existing suite likequalityretroactively would make its rows require lifecycle/provenance metadata — deferred, not silently triggered. Verified the full Ex02→04→05→06→07 chain end-to-end from the actual doc scripts: exit 0 throughout, output matches what each file now documents. - 4G.5 Fix the dangling
pm-02-reading-drift.mdlink inpm-01-reading-a-report.md: write the file or drop the reference. “Reading track A” also implies a track B that does not exist. Wrotedocs/teach-exercises/pm-02-reading-drift.md: a two-report comparison (run-003 healthy 92.3% vs run-004 red 61.5%) teaching that a pass-rate delta is not the same as a confirmed regression count when the baseline is blocked. Verified both header strips and baseline chips against real generated HTML (Baseline compatible/Baseline blocked) before writing them into the doc. - 4G.6 Fix
fde-role-workflow.md: steps 1-5 runnpx eval-dashboardsagainst a hypothetical customer repo, so none of them are runnable as written. Re-verified all 5 steps plus the practical-lab fixture script end-to-end in a clean scratch dir: every command actually runs and exits 0 against the realinit --preset=agent-quality --writefixture — the commands were already correct. The real gap was hygiene: nothing told the reader to run this outside a real customer repo or this checkout. Added an explicit note before the task loop pointing at the scratch-directory rule.
P1 — the curriculum contradicts its own best work
- 4G.7 Index the two best exercises.
docs/teach-curriculum.mddoes not reference11-diagnose-a-red-run.mdorpm-01-reading-a-report.mdat all (verified: zero matches), so they are unreachable from the curriculum index. Added both, plus the newpm-02-reading-drift.md, todocs/teach-curriculum.mdunder a new “Non-engineer reading tracks” section. - 4G.8 Replace the placeholder expected-result string. “Commands run without
schema errors. Artifact is updated as described in the goal.” appears verbatim
in four exercises and is factually false in Ex07. Replace each with verbatim
real output, as Labs 04/05 do. Acceptance: no file contains the placeholder.
Fixed in all four files (05, 06, 07, 10) with real verified command output.
Confirmed zero remaining matches across
docs/teach-exercises/anddocs/teach-labs/. - 4G.9 State the prerequisite chain. Every exercise carries identical boilerplate that never names its real dependency. The actual chain (Ex02 → Ex04 → Ex05 → Ex06 → Ex07 → Ex09 → Ex10) mutates one shared artifact, which is why Ex05 silently breaks Ex07. Name the real prerequisite per file. Added a specific “Finish Exercise N” line per file (02, 04-10) naming its real predecessor and what it inherits, plus a chain summary in teach-curriculum.md’s “Exercise rules”.
- 4G.10 Add an artifact-hygiene rule: exercises run in a scratch directory,
never the repo root. Ex03 runs
init --write, dropping five files including a workflow snippet into the working directory, and labs/README tells learners to work inside the checkout. Reviewers and learners both polluted the repo this way. Added a scratch-directory rule to teach-curriculum.md’s “Exercise rules” with a concretemkdir -p /tmp/... && cd ...example. - 4G.11 Reframe
10-iteration-loop.md. Its “fix” is editingpassed: falsetopassed: truein the artifact — falsifying evidence, the exact behaviour this package exists to prevent. Needs a loud framing that this simulates a rubric change and is never done to a real run. Highest-risk content in the set. Added an explicit warning before the steps: this method is legitimate only when the underlying rubric was wrong and is being hand-edited solely because the exercise has no live runner; a real pipeline re-runs the suite instead. Verifiedcheck --min-pass-rate=0.9 --zero-criticalstill exits 0 after the edit and change note, from a clean scratch dir.
P2 — normalise the remaining files
- 4G.12 Apply the section template from the four reference files to the fifteen thin ones: what this teaches (numbered ideas), why this matters, question this answers, named prerequisites, where to run it, per-step rationale, verbatim expected output, how-to-read-it table, common mistakes, definition of done. Applied “what this teaches” / “question this answers” / “common mistakes” to 13 files (docs/teach-exercises/01,02,03,04,05,06,08,09,10 and docs/teach-labs/01,02,03,fde-role-workflow.md); prerequisites and why-this-matters were already present pre-batch. 09-reports-history.md and 04-release-readiness.md (reference) also got a “how-to-read-it” table; the remaining files still lack that specific table element — tracked as a follow-up, not silently dropped. All additions were prose-only; no existing shell command or documented output was changed. 209/209 tests passing after each batch.
- 4G.13 Teach
disappearedproperly. Three separate labs printdisappeared= 4and none explains that it is ID churn rather than four fixed bugs — a reviewer reading the fixture cold concludes “nothing changed”, which is wrong. Fixed in Labs 01 and 03 (05 already handled this correctly from an earlier batch): named the real ids (rq-fail-2,rq-fail-4,tu-fail-1,tu-fail-2), stated explicitly thatdisappeared!= improvement, and that onlynewlyPassingis a confirmed fix. - 4G.14 Teach where thresholds come from. Lab 02 uses 0.95 and 0.99 against a
fixture at 0.973 without saying the thresholds were chosen to straddle it. A
threshold is a negotiated risk position, not a constant.
Added a “Why these two thresholds” section to Lab 02 stating the actual
pass rate (97.33%) and that 0.95/0.99 were chosen to straddle it on
purpose, plus the explicit warning not to copy these numbers as a real
policy. Re-verified both
checkinvocations still pass/fail as before. - 4G.15 Use the “four evidence classes” spine (history / progress / gate / row detail) from labs/README to label every lab step. Declared once, never used. Labeled every numbered step in Labs 01, 02, 03 with its evidence class(es).
- 4G.16 Surface
--min-matched-expectation-rate. Ex03 introducesexpectationas “one extra field” and never mentions the gate that consumes it. Clarified that the dataset’sexpectationfield is distinct from the artifact’sexpectedOutcomefield the gate actually reads; added a new step 4 that converts the 4 rows into an artifact with one deliberate mismatch and runscheck --min-matched-expectation-rate=1.0. Also fixed a real bug found while verifying: the scaffold JSONL has no trailing newline, so a plaincat >>corrupts the file by gluing lines together — addedprintf '\n' >>before the append. Verified end-to-end from a clean scratch dir: exact matched-expectation-rate 0.750, exit 1.
🚧 Phase 4F: Evidence, confidentiality, and org rollout (NEW)
Mission
Make eval results defensible as evidence and safe to publish, and make multi-agent rollout legible to product and leadership — without becoming a hosted platform. Every item here is an artifact field, a lint rule, a CLI flag, or a static output. The original phase excluded hosting; the owner-approved Phase 5 now owns hosted functionality.
Review inputs (2026-09-14, four independent role reviews)
- Staff Platform/DevOps Architect: CI-native outputs are strong; no alerting, no gate telemetry, no rollup.
- Senior AI/ML Evaluation Methodologist: calibration enforcement and dataset governance are the top methodology gaps.
- Principal Engineering Manager / Head of AI Platform: the emitter is the adoption tax, not the dashboard; cross-agent trends and bypass accounting are the month-2/3 walls; leadership cannot trust a gate whose bar the gated party can lower.
- Principal Security & Governance Architect: the published-report model is a data-egress failure independent of HTML escaping; gate results are self-attested and therefore inadmissible as audit evidence.
Consensus blockers: cross-agent rollup does not exist; published reports have no access control and no redaction; gate evidence carries no resolved config, no versions, no digests, and no signature.
4F.1 Two-tier artifact split (P0, 5-8 d)
- Split emitted artifacts into a public tier (counts, rates, ids, categories, severities, verdicts, versions) and a sensitive tier (prompts, model outputs, retrieved chunks, judge reasoning).
- Publish targets consume the public tier by default; the sensitive tier stays in the controlled store.
Acceptance criteria:
- A publish run against an artifact containing evidence text emits only the public tier, and the sensitive tier is verifiably absent from the published output.
4F.2 Redaction profile and publish preflight (P0, 4-6 d)
- Add a
--redactdeny-by-default profile: evidence text fields are dropped unless explicitly allow-listed per suite. Regex/entity PII detection is a secondary net, never the primary control. - Publish preflight hard-fails when evidence fields are present in the payload, with an explicit
--allow-sensitive-publishoverride recorded in the run record. - Record the applied
redactionProfilein the run record.
Acceptance criteria:
- Publishing an artifact with unredacted evidence fails without the override, and the override’s use is visible in the resulting run record.
4F.3 eval-check-result/v2 provenance fields (P0, 3-4 d)
- Extend the check-result payload with: fully resolved gate configuration, per-suite
datasetVersionandrubricVersion, sha256 digests of every input artifact, subject (commit SHA / release / image digest), and CI environment (provider, run id, run URL, actor).
Acceptance criteria:
- An auditor can read a single check-result file and determine which thresholds were in force, against which dataset and rubric versions, for which commit — without reading workflow YAML at that commit.
- Evidence:
eval-dashboards check --json-v2-out=<path>writeseval-check-result/v2(src/cli/index.ts:251-373buildsresolvedGateConfig,suiteProvenance,artifactDigests,subject,ciEnvironment;src/cli/index.ts:1575-1591wires it into thecheckcommand).--json-out/eval-check-result/v1is unchanged (same object,Omit<..., 'schemaVersion'>base type). Covered bytest/cli-check-json-v2-output.test.ts. Documented indocs/artifact-format.mdanddocs/cli-help/check.txt.
- Evidence:
4F.4 Artifact digest and detached signature (P0, 4-6 d)
- Hash artifacts and gate results; emit a detached signature using cosign keyless via CI OIDC.
- Add a
verifycommand that re-validates digest and signature.
Acceptance criteria:
- A hand-edited check-result claiming
passed: truefailsverify, and a genuine one passes with its producing workflow, repo, and commit identifiable from the signature.- Evidence:
eval-dashboards sign --artifact=<path> [--out=<path>]hashes (sha256) the artifact and writes aneval-check-signature/v1record (src/sign/sign.ts). In CI with a Sigstore/Fulcio OIDC token, it shells out tocosign sign-blob --yes --bundlefor a real keyless signature and embeds the bundle (workflow/repo/commit identifiable via the Fulcio certificate + Rekor entry inside the bundle). cosign is not installed in this sandbox and keyless signing requires a CI OIDC token it cannot obtain locally, so here it gracefully degrades tomethod: "unavailable"with a explicit reason instead of failing or fabricating a signature — never silently claiming a signature that isn’t real.eval-dashboards verify --artifact=<path> [--signature=<path>](src/cli/index.ts) re-hashes the artifact, fails closed on digest mismatch (hand-edited artifact) and onmethod: "unavailable"/missing signatures, and shells out tocosign verify-blobfor realcosign-keylessbundles. Covered bytest/sign.test.tsandtest/cli-sign-verify.test.ts(digest-mismatch rejection, missing-signature rejection, graceful local degradation). CLI help snapshots:docs/cli-help/sign.txt,docs/cli-help/verify.txt.
- Evidence:
4F.5 Waiver and exception register (P1, 5-7 d)
- Support a waiver file recording suite/row, justification, risk owner, ticket reference, and expiry date (
src/gates/waivers.tsWaiverV1/loadWaiverRegister). -
checkhonours active waivers, reports them prominently, and fails on expired waivers (src/cli/index.tswiring viaapplyWaivers,--waiver-file/waiverFileconfig;test/waivers.test.ts,test/cli-check-waivers.test.ts).
Acceptance criteria:
- A release with a known failure can ship via a recorded, expiring waiver instead of a disabled gate; an expired waiver fails the gate.
Note: waiver files are plain JSON, not signed (the register’s own integrity relies on repo/PR review, same trust boundary as gate config); “signed” as literally cryptographically signed is not implemented and would need sign/verify-style detached signatures layered on top if required later.
4F.6 Threshold-change detection (segregation of duties) (P1, 3-4 d)
- Detect when resolved gate configuration loosens relative to the baseline; fail the gate or require CODEOWNER approval.
- Surface the loosening in
check --json-outso it is visible in both the diff and the artifact.
Acceptance criteria:
- A PR that lowers
minPassRatewhile introducing failures cannot pass on its own authority.
4F.7 Heartbeat verifier (P1, 2-3 d)
- Add a scheduled verification path asserting that every release subject has a fresh heartbeat within N hours; absence raises an alert.
Shipped
eval-dashboards heartbeat-verify --heartbeat=<path> --max-age-hours=<n>(src/cli/index.tscommand handler;src/gates/heartbeat.tsverifyHeartbeatFile/verifyHeartbeatFreshness). Reads aneval-check-heartbeat/v1file independently of the release pipeline that produced it: a missing file, malformed JSON, stalegeneratedAt(beyond--max-age-hours), orgateRunStatusofskipped/erroredall fail closed (exit 1) with an explicit message naming the deleted/skipped-gate possibility; a healthy fresh heartbeat exits 0. Missing/invalid flags exit 2.
Acceptance criteria:
- Deleting or skipping the gate step on a release produces an alert rather than silent success. Absence of evidence becomes detectable.
- Evidence:
test/heartbeat-verify.test.ts—verifyHeartbeatFileand theheartbeat-verifyCLI command both fail (exit 1) when the heartbeat file at the expected path does not exist at all (the direct analogue of a deleted/skipped gate step never writing one), when it is stale beyond the freshness window, and whengateRunStatusisskipped/errored; pass (exit 0) only for a freshranheartbeat. Documented with a scheduled-job wiring example indocs/gates.md. 14 new tests, 277/277 total passing;pnpm typecheckandpnpm buildclean.
- Evidence:
4F.8 Static org rollup index (P1, M)
- Render a single offline overview from N published history artifacts across repos: pass rate, critical failures, and baseline drift per agent over time.
Shipped
eval-dashboards org-rollup --input=<dir> --out=<path>(src/cli/index.tscommand handler;src/history/org-rollup.tsbuildOrgRollup/repoHistoryFromPayload;src/reporters/org-rollup.tsrenderOrgRollupHtml). Recursively findshistory.jsonfiles already published by each repo’s ownhistory/report --reporter=htmlrun, derives a per-repo trend (regressed/improved/stable/new) from pass-rate delta, new critical failures, and new failures, and renders one static HTML page sorted regressed-first. - Remains a static, offline-first output — no server, no ingestion API, no auth system.
The command only recursively reads local JSON files under
--inputand writes one HTML file to--out; it has no listener, no auth, and makes no network calls of its own.
Acceptance criteria:
- With three or more agent repos publishing history, one generated page answers “which agent regressed this week” without opening each repo’s site.
- Evidence:
test/org-rollup.test.ts(10 tests — payload parsing, repo-label derivation, regression/critical-failure/new-repo trend classification, regressed-first sort) andtest/cli-org-rollup.test.ts(5 tests — CLI renders from multiple publishedhistory.jsonfiles, guides the user when none are found (exit 3), skips malformed files while still rendering the valid ones, rejects unknown flags, and prints--help). 16 new tests, 293/293 total passing;pnpm typecheckandpnpm buildclean.
- Evidence:
4F.9 Bypass accounting (P1, S)
- Count and report use of
--allow-blocked-baseline,--allow-stale-calibration, and--allow-sensitive-publishas a first-class org metric in history and rollup views.
Acceptance criteria:
- Gate erosion over time is visible as a trend rather than discovered during an audit.
- Evidence:
check --bypass-log=<path>andpublish --bypass-log=<path>(alsobypassLogFilein the config file) append oneeval-bypass-log-entry/v1JSON-lines record per invocation recording which of--allow-blocked-baseline/--allow-stale-calibration/--allow-gate-loosening/--allow-sensitive-publishwere used (src/gates/bypass-accounting.ts).check --json-out/--json-v2-outalways includes abypassUsagefield ({ flags, used, count }) so a clean run is a verifiablecount: 0, not an absent field.history --bypass-log=<path>joins the log by run id into eachRunHistoryEntry.bypassUsage(src/history/history.ts), andorg-rollupsurfaces a per-repobypassCountcolumn plus atotalBypassCountsummary card (src/history/org-rollup.ts,src/reporters/org-rollup.ts) so bypass use is visible per-run, per-repo, and org-wide without reading CI logs. Tests:test/bypass-accounting.test.ts(8 tests — usage summarizing, JSON-lines round-trip, aggregation, run-id join with retry union) andtest/cli-bypass-accounting.test.ts(3 tests —check --json-outreportsbypassUsage.count: 0cleanly,check --bypass-logappends a record with the flag used,history --bypass-logjoins it into the run’s history entry). 304/304 total tests passing;pnpm typecheckandpnpm buildclean.
- Evidence:
4F.10 PR-subset vs full-suite tiering with cost budget (P2, M)
- Add a first-class concept of a fast PR subset versus a full scheduled suite, with judge cost and runtime reporting per run.
Acceptance criteria:
- A team can keep PR gating under an explicit time and cost budget instead of moving the gate to nightly and losing PR protection entirely.
Shipped: suiteManifests[].tier (pr | full | both, default both so untagged
suites are never silently dropped from PR gating) in src/model/eval-report-v1.ts;
src/gates/pr-tiering.ts filters a report to a tier’s suites/rows and sums
durationMs/metadata.costUsd (tolerating the documented cost aliases) into a
TierCostSummary; check --tier=pr|full filters before all other gates run,
and --max-pr-cost-usd/--max-pr-duration-ms fail the gate when the selected
tier’s totals exceed budget. check --json-out always includes a prTier
summary when --tier is passed, so “PR gate is under budget” is a verifiable
number. Tests: test/pr-tiering.test.ts (14 unit tests) and
test/cli-pr-tiering.test.ts (3 end-to-end CLI tests covering tier filtering,
cost-budget failure, and invalid --tier rejection).
4F.11 Evidence export bundle (P2, 3-4 d)
- Produce one signed bundle per release containing report, gate result, active waivers, approval trail, and a manifest. Audit 2026-10-31: digest-manifest export and integrity checks exist, but an optional signature is only embedded; bundle/signer authentication is not verified. Signed-bundle acceptance remains open.
Acceptance criteria:
- A single artifact can be handed to an examiner and independently verified.
Shipped: src/evidence/bundle.ts defines eval-evidence-bundle/v1:
buildEvidenceBundle reads each referenced input file (eval report,
check-result artifact, waiver register, optional bypass log, optional
approval trail, optional sign detached signature), hashes it (sha256), and
embeds its exact bytes verbatim, plus a top-level bundleDigest computed
over all per-entry digests (so tampering with the entry list itself —
add/remove/swap — is detectable even if an individual entry’s own
digest still matches its contents). verifyEvidenceBundle recomputes both
and fails closed on any mismatch, needing nothing but the bundle file
itself. New CLI commands: eval-dashboards evidence-export --report=<path> --check-result=<path> [--waiver-file=<path>] [--bypass-log=<path>] [--approval-trail=<path>] [--signature=<path>] [--run-id=<id>] [--baseline-run-id=<id>] --out=<path> and
eval-dashboards evidence-verify --bundle=<path>. Tests:
test/cli-evidence-export.test.ts (10 tests — unit-level digest/tamper
coverage plus CLI-level export+verify round trip, missing-flag exit 2, and
hand-edited-bundle detection).
4F.12 CI dependency-audit gate (P1, S)
- Add a
pnpm audit(ornpm audit) step to.github/workflows/ci.ymlthat hard-fails the build above a configurable severity threshold (defaulthigh), not merely a reporting/informational step. Rationale (2026-09-15 competitive scan): verified via direct inspection that this repo’s CI currently has no dependency-vulnerability check at all — not gating, not even reporting. A competitor repo’s own incident writeup (egnaro9/eval-dashboard) documented a worse but related failure mode: audit run non-blocking (|| true), README claiming “0 vulnerabilities” while real vulns silently accumulated. This repo’s gap is currently strictly worse (zero check), which is inconsistent with a package whose entire thesis is “claims must be enforced, not asserted.” Evidence:.github/workflows/ci.yml:56-57adds a “Dependency audit (fails on high/critical)” step runningpnpm audit --audit-level=highin thelint-and-testjob, after the existing CLI/typecheck/build steps, following the same job/step conventions as the rest of the file. Verified locally (2026-09-15): before this changepnpm audit --audit-level=highreported 8 high-severity advisories (fast-uri x5, js-yaml x2, nanoid x1, all transitive devDependencies of commitlint/release tooling/tsup/vitest); fixed by pinning patched versions viaoverridesinpnpm-workspace.yaml:6-9(fast-uri >=3.1.6,js-yaml >=4.3.2,nanoid >=3.3.18). Afterpnpm install,pnpm audit --audit-level=highexits0(3 remaining findings are 1 low + 2 moderate, below thehighthreshold, so they correctly do not fail the gate). - Document the severity threshold and an explicit override/waiver path,
consistent with the existing bypass-accounting pattern (4F.9) so a
justified exception is loggable rather than requiring
|| true. Evidence:docs/gates.md:409-448(“CI dependency-audit gate (4F.12)”) documents thehighthreshold, how to fix a real finding viapnpm-workspace.yamloverrides, and the recording/scoping requirements for an intentional override, mirroring the 4F.9 principle that a bypass must be loggable and time-bounded rather than a silent|| true.
Acceptance criteria:
.github/workflows/ci.ymlfails a PR that introduces a dependency with a vulnerability at or above the configured threshold.- An intentional override is possible but recorded, not silent.
4F.13 Client-side compare for the static HTML report (P2, M)
- Add an optional, fully offline “load another eval-report/v1 file” control
to the generated HTML report (
src/reporters/render.ts/html.ts): a file picker/drag-drop reads a second JSON file viaFileReaderclient-side (no server call, no new CLI surface required) and renders it alongside or diffed against the currently baked-in report. Rationale (2026-09-15 competitive scan, reinforced by three independent precedents): egnaro9/eval-dashboard’s static export supports loading an arbitrary run without rebuilding; Comet Opik has side-by-side experiment comparison; Confident AI has an A/B “Compare Test Results” page picking an arbitrary prior run. This repo’s HTML reporter currently bakes one run’s data into the page at generation time with no way to point the same static file at a different artifact. Evidence:src/reporters/render.ts— a “Compare against another report” collapsible section (added near line 1802) renders a<input type="file" id="compare-file-input">picker wired toonchange="handleCompareFile(...)"; the current run’s suite pass-rate data is baked into<script id="eval-report-current-summary" type="application/json">(near line 1830) so the page never needs to re-fetch anything. The inline<script>block (from line ~1930) addshandleCompareFile, which usesnew FileReader()/reader.readAsText(file)to parse the picked file client-side, validatesschemaVersion === 'eval-report/v1', and renders a side-by-side suite pass-rate delta table viarenderCompareResult. Test:test/report-compare-client.test.ts(“renders the file-picker control, its script id, and FileReader logic”) asserts on the generated HTML for the input element, theonchangewiring,new FileReader(),reader.readAsText(file), the baked-in summary script, and the absence of any<script src=...>ortype="module"(so it still works fromfile://with no bundler/server). - Keep it fully client-side and offline — no schema change, no hosted
comparison service, matching the “still out of scope in 4F” non-goals.
Evidence: no new CLI flag, no network call, no artifact schema change —
handleCompareFileinsrc/reporters/render.tsonly reads the user-picked file viaFileReaderand renders into the existing DOM; nofetch/XMLHttpRequest/import()is used anywhere in the added code.
Acceptance criteria:
- Opening the generated
index.htmldirectly from disk (file://) still works with no server, and a user can load a secondeval-report/v1JSON file to compare against the baked-in one, entirely in the browser. Verified:test/report-compare-client.test.ts(“still renders existing report content unchanged with the compare feature present”) confirms pre-existing sections (Suite summary, Failing rows, All rows, How to read this report) are unaffected, and a real-CLI-generated report (report --input=... --reporter=html) was manually inspected: opening the outputindex.htmlin a browser shows the new “Compare against another report” section with a working file picker alongside the unchanged existing report content.
4F.14 Compliance-framework tagging (P1, S)
- Add optional
rows[].complianceRefs?: string[](opaque free-form ids like"owasp:llm:01","nist:ai:measure:1.1","eu:ai-act") and optionalsuites[].manifest.complianceFrameworks?: string[]to theeval-report/v1model. Keep ids as opaque strings — do NOT hard-code a canonical enum of frameworks; that’s harness/classification territory. - HTML/markdown/JSON reporters group/filter by these tags when present; no UI change when absent (empty state).
- Update
docs/artifact-format.mdanddocs/taxonomy.mdwith the new optional fields plus 2-3 example ids. - Fixture + test proving round-trip and reporter grouping.
4F.15 Free-form run-level tags (P2, S)
- Add optional top-level
tags?: Record<string,string>to theeval-report/v1artifact (e.g.{"pr": "42", "model": "gpt-4o"}) for ad hoc CI context beyond the existing fixedbranch/commit/buildfields. Purely descriptive — no gating semantics. - Echo
tagsin the HTML report’s metadata header card and in--json-out. - Update
docs/artifact-format.md; fixture + test.
4F.16 Trace span-type tagging (P2, S)
- Add optional
spanType?: stringtoTraceReference(free-form, runner-defined; e.g."retrieval","generation","tool","agent") — no enum lock-in, purely a label for grouping evidence by pipeline stage. - HTML/markdown reporters show the span type next to trace links when present; no change when absent.
- Update
docs/artifact-format.md; fixture + test.
4F.17 Per-axis judge reasoning (P2, S)
- Add optional
axisReasoning?: Record<string, string>sibling to the existingaxisScores?: Record<string, number>field — one explanation string per axis, mirrors the existing row-leveljudgeReasoning. - HTML reporter shows per-axis reasoning inline with each axis score when present.
- Update
docs/artifact-format.mdanddocs/taxonomy.md; fixture + test.
4F.18 Declared score scale on a suite (P2, S)
- Add optional
scoreScale?: { min: number; max: number }to the suite manifest (not per-row) so non-normalized scores (e.g. a 0-3 Likert rubric) render correctly instead of being assumed 0-1. - HTML reporter uses the declared scale when rendering score bars/gauges for that suite; falls back to 0-1 assumption when absent.
- Update
docs/artifact-format.md; fixture + test.
4F.19 Multi-reviewer human-review fields (P2, S)
- Add optional
rows[].humanReviews?: Array<{ reviewer: string; verdict: string; category?: string; note?: string; decidedAt?: string }>and optionalrows[].reviewAgreement?: number(0-1) — captures independent multi-reviewer verdicts and inter-rater agreement on a row, distinct from the existing singulargroundTruthVerdict/groundTruthAnnotation. Additive/optional; validate leniently. Inspired by Arize Phoenix’s multi-annotator review model (charter-compatible: schema field only, not their harness/evaluators). Evidence: test/validate.test.ts:788, test/render.test.ts:352.
4F.20 Run experiment/variant grouping key (P2, S)
- Add optional
run.experimentId?: stringandrun.variantLabel?: stringto therunobject — lets report/history tooling cluster 3+ variant runs (e.g. prompt v1/v2/v3) for side-by-side comparison, beyond the existing single baseline-vs-current model. Additive/optional; validate leniently. Inspired by Arize Phoenix’s Experiments concept (schema field only, not their dataset/experiment abstractions or hosted comparison UI). Evidence: test/validate.test.ts:63, test/render.test.ts:418.
4F.21 Judge evidence snapshot (P2, S)
- Add optional
rows[].judgeVerdict.traces?: { input?: string; output?: string }— a small, bounded snapshot of what the judge actually saw/produced, distinct from full transcripts orjudgeReasoning. String-only, no size enforcement in the schema (reporters may truncate for display). Inspired by Ragas’sMetricResult.tracesconvention (input/output only, not a full trace tree). Purely additive; render near existing judge-verdict/reasoning row detail. Evidence: test/validate.test.ts:577, test/render.test.ts:251.
4F.22 Repeated-run aggregation record (P2, S)
- Add optional
rows[].repeated?: { runs: number; passes: number; aggregation: 'mean' | 'majority' | 'all' }to represent a row’s result when a judge was run multiple times to absorb non-determinism, instead of collapsing straight to a single boolean. Inspired by Ragas’s_ensemble()repeated-metric pattern and community CI examples that gate on N-of-M passes rather than one run. Purely additive; render as an optional badge/detail near the row’s pass/fail.
4F.23 Gate repeat-run mode (P2, S) — depends on 4F.22
- Extend gate config with an optional
gate.repeat: { runs: number; requiredPasses: number }mode, evaluated againstrows[].repeatedwhen present (fall back to existing pass-rate/threshold modes otherwise). Document indocs/gates.md. Small CLI/config addition, not a new engine — the gate still only reads fields already in the artifact.
4F.24 Structured per-row assertion evidence (P1, M)
- Add optional
rows[].checks?: Array<{ type: string; expected?: unknown; actual?: unknown; threshold?: number; pass: boolean; weight?: number }>toEvalRow. Promptfoo-style gap scan (2026-09-16): todaygradersis only a free-text category on the suite, and a row collapses straight to a single booleanpassed— there’s no way to record which named check ran, its expected/actual/threshold, or a per-check weight for a weighted-assertion-set row. Purely additive: validate leniently, render as a per-row checks table/badges near existing pass/fail evidence, and letdocs/gates.mdmention (documentation only, no new engine) thatcheck.typevalues are free-form strings a runner defines, not a fixed enum — this repo doesn’t own an assertion DSL, it only stores the result. Not adopting promptfoo’s YAML assertion syntax; only the taxonomy of “a check has a type/expected/actual/threshold/weight” is in scope.
4F.25 Evidence-bundle input validation (P1, S)
- Validate entry shapes, known roles, string contents/source paths, and SHA-256 digest declarations before hashing. Malformed JSON bundles return deterministic diagnostics instead of throwing.
- Test malformed entries, unsupported digest algorithms, additive unknown properties, and CLI exit 1 for verification failures.
Evidence: src/evidence/bundle.ts:145, test/evidence-bundle-validation.test.ts:15, test/cli-evidence-export.test.ts:196; see verification record. The digest algorithm and valid bundle format are unchanged. This hardens 4F.11 integrity verification; signer authentication remains separate pending work.
Still out of scope in 4F
- Hosted ingestion API, time-series store, auth-gated dashboard app, and multi-tenant service remain non-goals. (Update: a local history store behind a storage adapter is now in scope under Phase 4K; the hosted API, auth-gated app and multi-tenant service remain non-goals.) Access control, durable per-run URLs, and live dashboards should be solved by pairing with an existing hosted product or by a separately resourced component with its own owner and SLA — not by growing a service inside this package. Scope amendment 2026-10-31: hosted functionality is now approved under Phase 5; the exclusion applies only to this historical phase.
4F execution order
- 4F.1 Two-tier artifact split — done
- 4F.2 Redaction profile and publish preflight — done
- 4F.3
eval-check-result/v2provenance fields — done - 4F.4 Artifact digest and detached signature — done
- 4F.5 Waiver and exception register — done
- 4F.6 Threshold-change detection — done
- 4F.7 Heartbeat verifier — done
- 4F.8 Static org rollup index — done
- 4F.9 Bypass accounting — done
- 4F.10 PR-subset tiering with cost budget — done
- 4F.11 Evidence export bundle — done
4F.1 through 4F.11 have all shipped: publish --redact/preflight hard-fail,
eval-check-result/v2 provenance, sign/verify (cosign keyless in CI),
a waiver register, threshold-loosening detection, heartbeat-verify,
bypass-usage trend accounting (4F.9), PR-subset cost tiering (4F.10), and
the evidence export bundle (4F.11, evidence-export/evidence-verify) are
all real, tested, and merged to main.
🚧 Phase 4H: Documentation navigability (NEW)
Why: a docs-navigability review (2026-09-15) found docs/ has grown to
94 files (29 top-level) with no index, no grouping by audience, and two
competing “canonical” surfaces (docs-site/v1/*.html, 11 curated pages,
vs. raw docs/*.md, 94 files) with no doc stating which one to trust for
a given question. Multi-perspective findings (new adopter, contract
contributor, CI/governance engineer, roadmap owner, docs maintainer) all
converged on the same root cause: no entry point, no grouping, no
freshness automation. Full findings: see review notes attached to this
phase’s commit message.
4H.1 docs/README.md index grouped by audience (P1, S)
- Add
docs/README.md: groups all 94 files into “Start here” (artifact-format, taxonomy, configuration), “Contract & schema” (artifact-format, taxonomy, schema-taxonomy-decisions), “CI & governance” (gates, publishing, github-approval-gate-pattern, sign/ verify/waivers/heartbeat/bypass docs), “Teaching” (teach-curriculum, teach-exercises, teach-labs), “Product & roadmap” (PROPOSITION-*, PRP, STATUS, ROADMAP), “Integrations”, “Reference” (cli-help, reporters). - State explicitly in the new index which surface is canonical:
raw
docs/*.mdis source of truth;docs-site/v1/*.htmlis a curated, smaller subset for external readers.
4H.2 README Documentation Index regrouped (P1, XS)
- Replace the current flat 20-item bullet list in README.md’s “Documentation Index” section with the same audience groups as 4H.1, plus a 3-link “Start here” block above the full index for brand-new adopters.
4H.3 docs/teach-exercises/README.md index (P2, XS)
- Add an index file for
docs/teach-exercises/matching the existing pattern indocs/teach-labs/README.md, so both curricula are discoverable the same way without requiringteach-curriculum.mdto be read first.
4H.4 docs/ROADMAP.md table of contents + phase reorder note (P2, S)
- Add a table of contents at the top of
docs/ROADMAP.mdlinking to each phase heading. - Add a one-line note next to any phase whose section order doesn’t match its number (current file has 4A, 4B, 4C, 4E, 4G, 4F, 4D in that physical order) explaining why, or reorder sections to match numbering if it’s cheap to do safely (verify no external doc links to a specific line number in ROADMAP.md before reordering).
4H.5 Automated stale-embedded-help-text sweep (P1, S) — DONE
- Generalized the ad hoc
docs/publishing“command block matches publish –help” check inscripts/verify-cli-init-and-completion.shinto a loop that scans everydocs/**/*.mdandREADME.mdfile for fenced ```sh blocks whose first line matcheseval-dashboards <command> [options], and diffs the block body against that command’s live--helpoutput, so newly embedded help copies are covered automatically instead of requiring a new hand-written check every time. This directly addresses the stale-docs regression class caught 4 separate times in the 4F.1–4F.9 shipping session (publish.txt, check.txt, root.txt, publishing.md).
🔮 Longer-term ideas (post-v1.0)
- Plugin system for custom reporters (existing custom-reporter-plugin example is a starting point)
- Optional local web-server mode for interactive exploration (pure-static output remains default)
- Deeper risk-area / tool-routing focused views
- Cost / token / latency aggregation when rows carry those fields
- Diff views between any two runs (not just latest-vs-previous)
- AI-powered suggestions for suite manifests and rubric versions based on historical data
📦 npm release policy note (ship gate)
Registry verification 2026-11-02: npm latest is 0.11.0. The portable M1
milestone was published from verified main after reviewed green merges and
owner authorization. Registry gitHead and the GitHub tag identify
7824440aa95b00f49296196b6558a4587b0ab325.
See the release receipt.
Continue merging reviewed green PRs and release coherent portable 0.x milestones. Do not bump for each PR or wait for all hosted M2–M6 work before a portable minor release. Version 1.0.0 and hosted deployment retain explicit owner gates.
- The 1.0.0 release remains an owner decision. Phase 4K (full historical reports) is complete, but no 1.0.0 release has been published. Remaining work includes 4F.11 signed-bundle authentication and 4C.4, which is parked awaiting the external Rupic review. Publish
1.0.0only when the owner says so. - npm package history for
@icodenet/eval-dashboardsis immutable; this package cannot be republished “as if first release” under the same name. - When all remaining roadmap checklist items are complete, and verification passes (
pnpm test,pnpm typecheck,pnpm build, plus CLI verifier scripts), publish the first stable milestone as1.0.0. - If a true first-ever release presentation is required, publish under a new package name/scope instead of attempting to reset existing npm history.
🚧 Phase 4I: GitHub PR-native visibility (NEW)
Why: a 2026-09-15 competitive scan (Promptfoo, DeepEval, Braintrust,
LangSmith, Langfuse, Phoenix, RAGAS, Patronus, TruLens, W&B Weave) found this
repo’s CI-gating rigor (calibration preflight, multi-reviewer adjudication,
waivers, bypass accounting, signed evidence bundles, org rollup) already
matches or exceeds every competitor — none of them have cryptographic signing,
waiver registers, or bypass-accounting telemetry. The one visible-diff gap
found: Braintrust’s eval-action auto-posts a live, update-in-place PR
comment with a score-table diff; this repo only emits static JSON/HTML/
markdown files that a workflow author must wire into a PR comment manually.
Source: research summary attached to this phase’s introducing commit.
4I.1 GitHub PR-comment publish adapter (P0, M)
- Add a
publishtarget (e.g.--target=github-pr-comment) that posts the markdown-summary reporter output as a PR comment viaGITHUB_TOKEN, updating the same comment in place on repeat runs (matching Braintrust’seval-actionUX) rather than creating a new comment every run. - Dry-run mode by default in local/non-CI contexts; never log the token.
- Document required permissions (
pull-requests: write) and a copy-paste GitHub Actions snippet.
Acceptance criteria:
- A fixture PR (in a scratch/test repo or via a mocked GitHub API in tests)
shows one comment created, then updated (not duplicated) on a second run.
Done:
test/publish.test.tsmocks the Octokit client and assertscreateCommentfires once thenupdateCommentfires on the second run against the same comment id. - No secrets appear in logs or dry-run output. Done: dry-run messages never
include the token;
GITHUB_TOKEN/--tokenare only read when actually making an API call.
4I.2 Versioned, marketplace-listed composite GitHub Action (P1, S)
- Package the existing example workflow YAML as a versioned composite
Action (
uses: IcodeNet/eval-dashboards@v0.8.0) instead of a copy-paste snippet, lowering adoption friction to match competitor packaging.
Acceptance criteria:
action.ymlexists, is referenced from README/docs, and a real workflow run usinguses: ./(local composite action path) succeeds in CI. Done:action.yml(composite action: report → check gates → optional publish);.github/workflows/action-smoke-test.ymlexercisesuses: ./againstexamples/basic-jsonand asserts outputs; README links the action.
🚧 Phase 4D: Trusted confidence reports and adoption execution (NEW)
Mission
Make eval-dashboards the de facto place to learn evals and produce trusted confidence reports and benchmarks for agents.
Ground-truth inputs for this slice
- Current repository files are the source of truth for all roadmap/docs claims.
Non-negotiables
- Preserve runner-agnostic, artifact-first design.
- Do not break
eval-report/v1compatibility (additive-only unless explicitly approved). - No marketing wording; use concrete, testable acceptance criteria.
4D.1 Single-truth drift closure (P0)
- Add schema-generation + schema-drift CI guard slice to roadmap and status.
- Remove stale line-count, test-count, and completion-state claims across roadmap/status/docs.
- Add concrete, tracked report-power artifacts (history/progress/gates/detail) and document deterministic regeneration.
- Add teach delivery-stage labs and FDE role workflow docs with artifact-driven acceptance criteria.
Acceptance criteria:
- A generated-schema source path is defined and documented.
- CI fails when generated schema drifts from source model.
- No stale count claims remain in maintained docs surfaces.
4D.2 Prioritized execution backlog from review findings (P0)
- Schema enum sync from TS + CI drift guard (
pnpm schema:check). Audit 2026-09-14:scripts/sync-eval-report-v1-schema.tspatches enums/consts into a hand-maintained schema; it does not generate the schema from TS types, so a newly added optional field does not trip the guard. - Runtime validation hardening with a stable error shape (
ValidationIssue { code, path, message }). Audit 2026-09-14: validation is hand-rolled insrc/model/validate.ts, not Ajv — Ajv is not a dependency — andpathis reverse-parsed from message strings, which is fragile. - CI-native machine outputs (JUnit, SARIF, GitHub annotations).
- First-class usage metrics path (tokens/cost/latency).
rows[].usage(promptTokens/completionTokens/totalTokens/costUsd/model) is now a typed, schema-validated field (src/model/eval-report-v1.ts,schemas/eval-report-v1.schema.json,src/model/validate.ts); latency remains the existingdurationMsfield. Reporters readusage.costUsdfirst, falling back to legacymetadata.costUsdaliases, and surface per-row usage plus artifact-wide cost/token totals (src/reporters/render.ts). Tests:test/validate.test.ts,test/render.test.ts. - Python emitter/adoption path.
- Interop adapter expansion (Ragas, Langfuse, Phoenix, Braintrust, OpenAI eval outputs). Audit 2026-09-15: Ragas, Langfuse, Phoenix, and Braintrust now have real coded adapters, fixtures, and passing tests (
src/cli/import-adapters.ts,test/import-adapters-ragas-langfuse.test.ts,test/import-adapters-phoenix-braintrust.test.ts). OpenAI eval outputs now also have a real coded adapter (--from=openai-evals, parsingoaievalJSONL events logs —spec/match/metrics/final_reportevent types), a fixture, and passing tests (test/import-adapters-openai-evals.test.ts). All 5 sources meet the 4B.3 acceptance bar. Done. - Judge calibration workflow and measurable agreement reporting.
- Trace-link evidence hardening guidance (
rows[].tracedeep links). Audit 2026-09-14: OpenTelemetry-specific guidance is still missing — no semantic-convention or span-attribute mapping indocs/integrations/trace-stacks.md.
Acceptance criteria:
- Each item has a named owner recommendation, dependency chain, and objective pass/fail checks.
4D.3 14-day execution window (exactly 6 items)
- Schema generation source of truth + CI drift check
- Suggested owner: core maintainer
- Dependency: none
- Acceptance: schema generation command exists; CI fails on drift
- Stable validation error contract (Ajv/runtime)
- Suggested owner: model/validation maintainer
- Dependency: item 1
- Acceptance: deterministic error shape documented + tested
- CI machine output v1 (
--json-outbaseline + annotation mapping)- Suggested owner: CLI/gates maintainer
- Dependency: item 2
- Acceptance: one-hop row anchors emitted for newly failing rows
- Docs truth-sync sweep for stale claims
- Suggested owner: docs maintainer
- Dependency: items 1-3
- Acceptance: roadmap/status/help/examples consistent by grep evidence
- Extend adopt-now path with per-runner walkthroughs and richer validation examples (base path delivered in 4C.10)
- Suggested owner: docs/adoption maintainer
- Dependency: item 4
- Acceptance: at least three runner-specific walkthroughs and validation examples published on top of the base adopt-now path
- Proofreader + full verification gate for this window
- Suggested owner: release gatekeeper
- Dependency: items 1-5
- Acceptance: stronger-model proofreader verdict + test/typecheck/build green
4D.4 45-day execution window (exactly 8 items)
- JUnit output for check/lint CI consumers
- Suggested owner: CLI maintainer
- Dependency: 14-day item 3
- Acceptance: deterministic JUnit file with failing row linkage
- SARIF output for code-scanning style surfaces
- Suggested owner: CLI maintainer
- Dependency: 45-day item 1
- Acceptance: SARIF artifact includes stable report location plus row-anchor metadata
- GitHub annotation helper path
- Suggested owner: CI integrations maintainer
- Dependency: 45-day items 1-2
- Acceptance: workflow example emits actionable annotations
- Usage metrics contract (tokens/cost/latency) and docs
- Suggested owner: schema/model maintainer
- Dependency: 14-day items 1-2
- Acceptance: additive fields documented; reporters surface metrics when present
- Python emitter path (first-class adoption)
- Suggested owner: adapters maintainer
- Dependency: 14-day item 5
- Acceptance: python example emits valid
eval-report/v1without manual JSON editing
- Interop adapter expansion pack
- Suggested owner: integrations maintainer
- Dependency: 14-day item 3
- Acceptance: each adapter has fixture + conversion docs + verification tests
- Judge calibration workflow hardening
- Suggested owner: eval methodology maintainer
- Dependency: 14-day item 2
- Acceptance: measurable agreement/disagreement and threshold examples in docs/tests
- Trace/OTel evidence hardening
- Suggested owner: observability maintainer
- Dependency: 14-day items 3 and 5
- Acceptance: maintained end-to-end example from failing row to trace deep link
4D.5 Risk register entries (critical/high)
- Schema drift risk (critical)
- Risk if ignored: contract divergence between model and published schema
- Trigger signals: validator/schema mismatch, docs disagree with runtime
- Mitigation: generated-schema source + CI drift gate
- Unstable validation surface (high)
- Risk if ignored: non-deterministic CI behavior and hard-to-debug failures
- Trigger signals: same bad input yields different error text/shape
- Mitigation: stable structured error contract + tests
- Missing CI-native outputs (high)
- Risk if ignored: gates fail without actionable pointers in CI systems
- Trigger signals: CI failures with no row-level mapping
- Mitigation: json/junit/sarif outputs with row anchor links
- Weak usage-metrics path (high)
- Risk if ignored: teams cannot evaluate quality/cost/latency trade-offs
- Trigger signals: decision docs omit cost/latency evidence
- Mitigation: additive metrics fields + reporter/docs coverage
- Interop stagnation risk (high)
- Risk if ignored: adoption stalls in teams with established toolchains
- Trigger signals: repeated manual conversion workarounds
- Mitigation: adapter expansion with tested fixtures and docs
4D.6 Discoverability constraints
- Keep top-level README docs-site entry prominent.
- Keep roadmap/status/publishing/examples/help surfaces synchronized per release gate.
Immediate (next 1–2 weeks):
- Close 4C.4 once the external Rupic review of draft PR #9044 is available and inspected.
Medium term:
2. Owner decision on publishing 1.0.0 (publishing is on hold; no 1.0.0 release has been made).
3. External adoption push and community feedback loop.
🚧 Phase 4J: OTel GenAI evaluation-span mapping (NEW)
Why: a 2026-09-15 competitive/gap scan found the OpenTelemetry GenAI
semantic-conventions SIG shipped gen_ai.evaluation.result (added in the
GenAI conventions v1.38.0 cut, Oct 2025) specifically to attach an
evaluation’s evaluation.name, score.value, score.label, and
explanation to the span/trace that produced the underlying model or tool
call. Langfuse, Arize Phoenix, and Datadog LLM Observability already consume
this event on the standard OTLP endpoint. docs/integrations/trace-stacks.md
mentions OpenTelemetry only in a one-line “applies to” sentence and 4D.2
already flags (Audit 2026-09-14) that no semantic-convention or
span-attribute mapping exists. This repo’s TraceReference (traceId,
spanId, traceUrl, spanUrl) is a generic evidence link with no
documented way to round-trip against gen_ai.evaluation.result, so a team
piping OTel-instrumented agent traces into eval-report/v1 has to invent the
mapping from scratch. Source:
https://john-hodge.com/blog/opentelemetry-genai-semantic-conventions (state
of the spec as of July 2026, confirms gen_ai.evaluation.result landed in
v1.38.0 and the GenAI surface remains Development/unstable, so document as
best-effort/versioned guidance, not a hard schema dependency).
4J.1 Document and test the gen_ai.evaluation.result ↔ EvalRow mapping (P1, S)
- Add a documented field mapping table to
docs/integrations/trace-stacks.md(or a newdocs/integrations/otel-genai.md) fromgen_ai.evaluation.resultattributes (gen_ai.evaluation.name,gen_ai.evaluation.score.value,gen_ai.evaluation.score.label,gen_ai.evaluation.explanation) plus the correlating span’strace_id/span_idtoEvalRowfields (judgeCategory/score/judgeReasoning/trace.traceId/trace.spanId).- Explicitly note the GenAI conventions are unstable/Development status per
the OTel spec and that consumers should pin a convention version, matching
this repo’s existing “additive, versioned” posture toward
eval-report/v1.
- Explicitly note the GenAI conventions are unstable/Development status per
the OTel spec and that consumers should pin a convention version, matching
this repo’s existing “additive, versioned” posture toward
- Add one runnable example (fixture OTLP/JSON span export containing a
gen_ai.evaluation.resultevent →eval-dashboards import-style or adapter-helper conversion → valideval-report/v1row withtracepopulated) with a passing test asserting the mapped fields round-trip. - Cross-link this doc from
docs/adoption-map.mdand the existing trace-first evidence example (4C.9) so OTel-based teams have one concrete, tested path instead of ad hoc field guessing.
Acceptance criteria:
- A fixture containing a
gen_ai.evaluation.resultevent maps to anEvalRowwithtrace.traceId/trace.spanIdpopulated and a passing test proves it, matching the existing 4B.3 importer acceptance bar (fixture + test + correct field mapping). docs/integrations/trace-stacks.md(or the new OTel-specific page) states the OTel GenAI evaluation-event mapping explicitly instead of only naming OpenTelemetry as a supported trace backend in passing.
4J.2 Preserve provider request/response correlation ids from OTel imports (P1, S)
- Extend the
otel-genaiimporter to mapgen_ai.response.idand (when present)gen_ai.request.idinto row evidence metadata, and usegen_ai.response.idas the row-id prefix fallback whenspanIdis absent. - Add adapter tests covering log-record events without
spanIdthat still produce stable non-positional ids and retain both correlation ids in metadata. - Update
docs/integrations/otel-genai.mdmapping table and id-stability notes to document the new behavior.
Acceptance criteria:
- A fixture/log-record case with no
spanIdbut withgen_ai.response.idimports toid=<responseId>:<metric>instead of a positional id. - Imported rows preserve
metadata.sourceResponseId(andmetadata.sourceRequestIdwhen emitted), with passing adapter tests.
Verification 2026-10-07: mapping in src/cli/import-adapters.ts:1119, log-record regression test in test/import-adapters-otel-genai.test.ts:188, and mapping notes in docs/integrations/otel-genai.md:47; the full Node 22 suite passed.
Rationale: Inspect AI added provider request/response id logging for every model call on 2026-10-04, increasing pressure for portable evaluation artifacts to carry those correlation handles too: https://github.com/UKGovernmentBEIS/inspect_ai/commit/15c4a65ab80848f1d5011e915fa5071079099746
✅ Phase 4K: Full historical reports (COMPLETE)
Why: history today is file-based (history.json built in src/history/history.ts, rolled up by org-rollup). History is now queryable over long periods; 1.0.0 stays unpublished until the owner releases it.
Decision (supersedes the 4E and 4F non-goal on a time-series store): a history store is now in scope. The offline-by-default and artifact-first rules still hold, so the store sits behind a swappable adapter. SQLite is the first backend. The file store stays as the default and the fallback. Other backends (Redis, Cosmos) can be added later behind the same adapter. Redis is a weak fit for long-term history unless persistence is on. Hosted ingestion APIs and auth-gated dashboard apps stay out of scope. Scope amendment 2026-10-31: hosted functionality is now approved under Phase 5; the exclusion applies only to this historical phase.
Why SQLite: it is a serverless single-file database, so there is nothing to host and no cost. It supports date, branch and suite queries with SQL and indexes. Node ships node:sqlite built in, so no native npm package is needed. Verified 2026-10-18: node:sqlite loads on Node 26.7.0 here. Web sources say it was added in Node 22.5.0 and is still experimental (prints a warning) on Node 22.
Constraints to resolve first:
package.jsondeclaresengines.node >=20, butnode:sqliteneeds Node 22.5 or later. Resolved: the SQLite backend loads lazily and fails with a clear message on older Node, soenginesstays>=20.- CI runs Node 22.x and publish runs 22.14.0. Confirm
node:sqliteworks there without a flag, and handle the experimental warning. - Keep
history.jsonexport soorg-rollupand published static reports keep working.
4K.1 History storage adapter interface (P1, M)
- Define a small storage interface for reading and writing run history, with the current file store as the default implementation. Evidence:
src/history/store.ts, used by thehistorycommand insrc/cli/index.ts. - Add tests proving the file store behaves identically before and after the refactor. Evidence:
test/history-store.test.ts;historyoutput onexamples/screenshot-fixtureis byte-identical tomain.
4K.2 SQLite backend (P1, M)
- Implement the adapter on
node:sqlitewith a versioned schema and indexes on date, branch and suite. Evidence:src/history/sqlite-store.ts,test/history-sqlite-store.test.ts. - Add a CLI option to choose the backend, plus import of existing
history.jsonfiles and export back tohistory.json. Evidence: backend chosen by output extension increateHistoryStoreForPath;history-convertcommand;test/cli-history-store.test.ts;docs/history-storage.md. - Verify on the CI Node version and on the oldest supported Node, with a clear error where unsupported. Evidence:
node:sqliteran on Node 22.14.0 (publish version) without a flag, with an experimental warning; on Node 20 the built bundle stops with a clear message whilehistoryto JSON still works.enginesstays>=20because the SQLite module loads lazily.
4K.3 Long-range historical views (P1, M)
- Query history by date range, branch and suite, with retention rules. Evidence:
src/history/query.ts,test/history-query.test.ts,history-reportcommand. - Render trend views over long periods in the HTML report. Evidence:
src/reporters/history-trend.ts,test/cli-history-report.test.ts,docs/history-storage.md.
Product philosophy
- Runner-agnostic core: No dependency on a single eval harness, LLM vendor, or cloud
- Artifact-first: Improving the contract is more important than adding one-off dashboard features
- Offline by default: Static reports work without a server
- Teaching via examples: The taxonomy is taught through docs, schema, and runnable fixtures—not discovered by trial-and-error
The core idea — an Istanbul-style, offline, artifact-first reporting layer for agent and LLM evals — is timely and differentiated. Finishing Phase 2A + 2B establishes the contract and makes it visible; Phase 3–4 drives ecosystem adoption through community.
Phase 5: Hosted evaluation platform (approved scope; foundations in progress)
The owner decision on 2026-10-31 supersedes historical hosted-platform exclusions in earlier phases. Preserve the portable core, external runners, and offline exports. Assistant-UI remains parked.
See requirements, architecture, and acceptance criteria. Deliver M1 shared decision semantics, then M2 tenant-safe ingestion, M3 hosted decision workflows, M4 trade-offs and coverage, M5 live progress and scale, and M6 launch readiness. M1 has shared decisions, matching-case analytics, paired/repeated uncertainty, and a complete policy evaluator merged in #103. Portable M1 acceptance is covered by committed regression tests, including public/CLI/reporter parity. M2–M6 stay open in STATUS. Portable M1 was published as 0.11.0 on 2026-11-02 after release verification; see the release receipt above.
M2 begins with the PostgreSQL storage foundation: tenant/project row policies and composite keys, immutable artifact references, idempotency associations, and processing/quality state separation with real database checks. Project-bound credential lookup now intersects stored key scopes with current membership and rejects expired/revoked keys. Private bearer helpers generate random secrets and check parsed headers against the stored project/scope on every request. Private artifact intake now connects authenticated HTTP, bounded core validation, durable private files and transactional PostgreSQL artifact/key/job acceptance. Real HTTP/database checks cover retries, revision conflicts, rollback and tenant isolation. The worker lease protocol now adds concurrent claims, heartbeat, bounded retries and fenced settlement. M2 remains open for accounts and key issuance, service composition, artifact indexing, retention and operational acceptance. No hosted deployment is claimed.