TIER docs

TIER documentation

TIER measures the yield of AI token spend: outcome per dollar of token spend, not tokens consumed. This index is grouped by what you are trying to do. Every page is written to be a stopping point — you should never have to read two documents to get one answer.

New to TIER? Start with understanding-tier.md — it answers "what is this and why would my team want it" in three layers, each a complete stopping point: the short answer, how the meter works, then the full method.


Understand the number

Document What it answers
understanding-tier.md What TIER is and how the number is produced, in three layers. Start here.
whitepaper.md The TIER white paper, for an engineer and a CFO: what the number means, what it may and must not inform, how complete its inputs are, and a first run.
technical-reference.md The white paper's companion: capture, pricing, outcomes, attribution, privacy, statistics, Spend Leverage accounting, team deployment and the API, in full.
how-it-works.md What TIER actually does today, grounded in the code — the engineer's evaluation read.
interpreting-the-number.md You have a score. Is it good? What should you change?
score-series-changes.md Shipped scoring, pricing, attribution and eligibility changes, their historical effects and comparison conditions.
rubric.md The canonical v1 rubric — how merged work becomes weighted points.
pricing-philosophy.md What the denominator measures, and why list prices rather than your invoice.
how-tier-relates.md Where TIER sits next to DORA, SPACE, and DX Core 4.
peer-learning.md Using TIER to move practices between people — without ranking them.
manager-faq.md A manager's questions answered: names, loading teams from a file, team scores, how they roll up, what "unattributed" spend means, and how to use TIER to coach a team without judging people.

Run it

Document What it answers
quickstart.md Copy-paste-ready first run: install, demo, score your repo, the full score, Codex capture, and viewing the dashboard from another machine. Start here to run it.
conventions.md Size labels and issue-reference formats TIER depends on for attribution.
webhook-setup.md Wiring GitHub webhooks so merged work becomes outcomes.
open-weights-capture.md Capturing spend for self-hosted / open-weights models.
security.md Hardening a deployment: tokens, bind addresses, exposure.

Interface reference

Document What it answers
api-compatibility.md The /api/v1 compatibility contract and what may change without notice.
reproducibility.md What can be re-derived from a published figure — and, precisely, what cannot.
outcomes-api.md Provider-neutral outcome ingest, for teams not on GitHub.
reference-price-table.md Narrative companion to the embedded price table. The machine-readable source of truth is internal/store/prices.yaml.
contracts/tier-jsonl-ingestion.schema.json JSON Schema for the JSONL token-capture ingestion seam.

Specifications

These describe the target design. Each carries an implementation-status banner stating what the code enforces today — read that banner before relying on any section.

Document What it specifies
cost-normalization-spec.md How raw token consumption becomes cost-normalized dollars.
quality-degradation-spec.md The quality multiplier: build breaks, CI failures, merge problems.

Privacy, law, and honest limits

Document What it answers
privacy.md Exactly what TIER reads, stores, and never touches — grounded in the code.
legal-and-privacy.md Deploying where per-developer measurement is regulated: works councils, GDPR, DPIA.
adversarial-analysis.md How the formula can be gamed, and where it fails. We ship this on purpose.

Internals

Planning and maintainer references. Not needed to run or evaluate TIER.

Document What it covers
internals/tenancy-retrofit-playbook.md What a future tenant_id retrofit touches. No tenant_id exists today — TIER is single-tenant.

A note on leading-underscore files in this directory: a file here whose name starts with _ is a publish artifact, not a reader document, and docgen never renders it. Today's one example becomes the repository's root CLAUDE.md in the public export and carries contributor guidance for AI coding agents. It is deliberately unlinked.

It needs that treatment because three requirements were otherwise unsatisfiable (#544). docgen enforces link integrity in BOTH directions — no dangling links and no orphan pages — while the export's must-not file list forbids this file from shipping under its build-time name. As a rendered page it therefore had to be linked, the link had to resolve inside the export, and so the file had to ship under that name. It could not. The published tree really did fail its own make check this way; a build input simply must not be a rendered page.