Veritas and Surface#

Veritas provides a standalone CLI and an importable evaluation engine (@kontourai/veritas/engine). Its optional Governance Kit distributes workflows and agent skills through Flow Agents. Surface supplies the evidence and trust primitives used internally.

Most Veritas users should not need to choose between them, configure Surface directly, or learn Surface vocabulary first. Use Veritas when the job is repo standards, change boundaries, evidenceChecks, merge readiness, repo conformance, or change guidance.

Use Veritas For Repo Governance#

Use Veritas when you want to:

  • define repo standards
  • map work areas and change boundaries
  • give developers and agents just-in-time change guidance
  • evaluate merge readiness for a change
  • track repo conformance for standing requirements
  • protect the standards that define what good looks like
  • improve standards from observed outcomes

Veritas may emit Surface-format trust state underneath, but that is an implementation and interoperability detail for normal repo governance workflows.

In readiness reports, merge readiness can be explained as a verdict that comes from the evaluated requirements, evidenceChecks, attestations, and evidence freshness for the change. If a blocking Requirement is rejected, stale, or disputed, the readiness verdict should reflect that weaker underlying result rather than stand as an unrelated status.

Use Surface For Product Transparency#

Use Surface directly when you are building a different product that needs to expose claims, evidence, freshness, conflicts, transparency gaps, trust panels, or portable trust snapshots.

Surface does not know what a repo, work area, boundary crossing, or merge readiness result is. Those are Veritas concepts.

How They Relate#

Veritas owns the repo-native workflow:

  • repo standards
  • repo maps
  • requirements
  • evidenceChecks
  • verification authorities
  • attestations and exceptions
  • readiness reports
  • repo conformance
  • standards feedback and recommendations

Surface owns portable transparency primitives:

  • claims
  • evidence
  • policies
  • events
  • freshness
  • conflicts
  • transparency gaps
  • trust snapshots and reports

At the boundary, Veritas acts as a Surface producer. It turns requirement evaluations, evidenceChecks, attestations, and readiness outcomes into Surface-format claims and evidence. Surface can then derive status, freshness, conflicts, and gaps without importing Veritas readiness runtime code.

The detailed concept mapping lives in Surface-Veritas Boundary.

For readiness integrations, the stable artifact path is the reportArtifactPath returned by veritas readiness --format json. Consumers should query the artifact's trust.bundle.claims[] or generated trust.report.claims[] for claimType: "software-readiness-verdict" rather than parse Veritas readiness internals. That readiness verdict may use derivedFrom and derivationEdges to point at blocking requirement or policy-result claims that shaped the merge readiness outcome, and Surface's generated report can apply the weakest underlying blocking result to the verdict. Advisory requirements remain visible as claims and requirement metadata, but do not cap the readiness verdict through Surface derivation. Authority trace and integrity scope live in Surface trust state when supported and with readiness events linked to the authority-traced evidence, so Flow and other consumers can attach the portable trust state without importing Veritas code.

The derived readiness behavior is covered by test-local passing and blocked fixtures. The passing fixture has verified requirement claims and a verified readiness verdict; the blocked fixture starts with a producer-verified readiness verdict but includes a rejected blocking Requirement, so Surface report generation downgrades the verdict through the derivation links. There is no durable JSON fixture path to consume.

The public product signal is Built with Surface. The Veritas product experience should still use Veritas vocabulary.

Source: docs/veritas-and-surface.md