Skip to content

About

Review rubrics and machinery for Tau Ceti, an AIs-welcome Lean library downstream of Mathlib.

Resources

Security policy

Stars

15 stars

Watchers

1 watching

Forks

Repository files navigation

Tau Ceti Review

The review rubrics and the machinery that runs review for Tau Ceti, an AIs-welcome Lean 4 library downstream of Mathlib. Humans own these rubrics; AIs author the code; the human roadmaps live in TauCetiRoadmap.

Tau Ceti is being incubated by the Lean FRO in partnership with academic and industry groups.

How review works

Reviewers run only after a PR's CI is green, so the mechanical layer (build, the axiom allowlist, the Mathlib linter set, the import boundary) is already satisfied. Each PR is then judged by several independent agents, one per angle, which post approve / request_changes / block verdicts with evidence. Only the integrity angles may block. Rubrics run one at a time, and a block halts the round: blocked code gets reworked or abandoned, so the remaining rubrics wait until the block clears rather than reviewing a commit that won't survive. (A manual /review is exempt — it always re-reviews every rubric.)

Rubrics

Each agent's prompt is rubrics/_common.md, then the pull request, then its angle file. Every rubric of a round starts with the same context and runs independently. A Claude reviewer gets the shared context as a first turn of its own, so the later rubrics of a round can read it from the prompt cache: while the cache entry is still live (five minutes since a rubric last started), with the pinned Claude Code release, and when more than one Claude rubric runs. See rubrics/README.md for the list and which angles can block.

Reviewing it yourself

Tau Ceti has a metered-API CI review workflow, but production review generation is currently disabled there to conserve that budget. Reviews instead come from the trusted operator-run worker and from ad hoc command-line runs. A trusted contributor can run the same engine on their own Claude / Codex / Kiro subscription with the tauceti-review CLI — no API bill. See REVIEWING.md:

uvx --from git+https://github.com/TauCetiProject/TauCetiReview tauceti-review 42
uvx --from git+https://github.com/TauCetiProject/TauCetiReview tauceti-review 42 \
  --reviewer kiro --kiro-model gpt-5.6-sol

With --post, the scoreboard comment is the live review verdict: Tau Ceti's auto-merge workflows read the newest marked comment and require it to name the current head. Uploading the detailed run records to TauCetiData is separate archival for analytics and provenance; it does not determine whether a posted review counts.

Meta-review

We A/B-test the reviews themselves, to measure and improve review quality. judge.py (in TauCetiData) takes two review runs of the same (pr, head_sha, rubric) — production vs a --shadow arm with a different model or rubric version — and has AI judges pick the better one, grounded in the actual checked-out code (a fluent hallucinated finding should lose to a terse real one), in both presentation orders, with a cross-family panel to dilute self-preference bias. The judges decide; there is no human meta-review step. The judgments feed win-rates per model and rubric version.

So far: several thousand archived review runs, a few hundred A/B pairs, and over a thousand AI judgments across five judge models and three judge-prompt versions, plus an earlier round of human labels used for preliminary judge calibration. All of it lives in TauCetiData; see its docs/ for the design.

Costs

tauceti-review-costs reports the engine's review spend — tokens and imputed dollars, per merged line of code, per day, and split by PR outcome — reading the durable TauCetiData archive (reproducible by anyone) or the local store. Costs are recomputed from token counts at the rate in effect on each run's date. See runner/COSTS.md.

Status

  • rubrics/ — the per-angle prompts (live).
  • runner/ — the review engine (review.py + post.py) and the tauceti-review CLI (live).
  • runner/costs.py — the tauceti-review-costs analytics CLI (live).
  • runner/prices.json — model rates; every dispatchable model must be priced (CI-enforced in tests/). A model the table has not caught up with does not stop a review: it bills at the rates of the newest release on its own model line (gpt-7-sol at gpt-6.1-sol's rates) and the run records price_inherited. tauceti-review-costs applies the same rule, so the reported cost matches what was billed. Each archived run is stamped with a prices_sha so its cost is auditable. TauCetiWorker vendors this file byte-identically for its own cost model, so rates are edited here and nowhere else.
  • The GitHub Actions workflows — reusable review and merge helpers plus tests (price coverage) — live. Tau Ceti's caller currently disables metered review generation, as described above.

Project bindings are shared with TauCetiTools. Pass --conf PATH_OR_HTTPS_URL to select the content/roadmap repositories, source root, publication destinations, review policy and optional archive. For example:

tauceti-review 123 --conf ./tauceti.toml

Schema v2 configurations may bind repositories.content to Forgejo. The same review workflow renders prompts with that repository's native URL and retains its qualified identity for preparation, publication, and unchanged-review detection. Shared roadmap, review-tool, rubric, and archive repositories currently require GitHub bindings; unsupported shared hosts fail explicitly.

The worker supplies the validated native identity and credential binding. For a direct Review invocation, set TAUCETI_FORGEJO_REPOSITORY_ID to the expected numeric repository ID and TAUCETI_FORGEJO_TOKEN_FILE to a private, owned token file. The origin comes from the TOML binding; a conflicting explicit TAUCETI_FORGEJO_ORIGIN is rejected. These credentials are used by trusted source operations and are excluded from model subprocesses.

The manual setup documents credentials and generated workflow callers. An absent optional destination in a configured project stays disabled. Invocations without configuration retain the Tau Ceti defaults.

About

Review rubrics and machinery for Tau Ceti, an AIs-welcome Lean library downstream of Mathlib.

Resources

Security policy

Stars

15 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages