Cohere.Check (Cohere v0.1.0)

Copy Markdown View Source

The check verb: every finding cohere can make, in one iterative command — the same command locally and in CI. Fix what it lists, run it again.

Two severities. Hard findings fail the build (exit 1), unchanged from the drift sentinel: stale map, drifted intent cards, broken card references. Soft findings are advisories and never fail: design anchors that don't resolve to the map, dead references in design prose, drafts in flight. Designs never gate the build (DEC-FEA-002): drift on history is information; drift on intent is a bug.

Summary

Functions

Runs every check. Only report.drift carries build-failing findings.

Formats the combined report for terminal/CI output.

Functions

check(project)

@spec check(Cohere.Project.t()) :: Cohere.Check.Report.t()

Runs every check. Only report.drift carries build-failing findings.

format(report)

Formats the combined report for terminal/CI output.