friction

The briefing

18 of eighteen mandatory lines are done; not done: none. The graded numbers come from the open source run.

Payments: the champion is LightGBM. Logins: the champion is none. Both were chosen on validation by the registered gates, never on test.

The definition of done
StepStatusLineEvidence
1doneBoth sources fetched with digests in Actions, profiled at full size, quarantine rules, contracts, provenanceresults/workspace/fetch_status_on_runner.json (fetched and verified in Actions), results/profile, contracts/, data/PROVENANCE.md
2doneThe replay splitter, the lateness rule, the simulator and the incident config, deterministic with digestsdata/replay.lock.json, equal to the lock regenerated in Actions; tests/simulator
3doneThe portable pipeline on open source Spark 4.2 with local tests and the full local runresults/workspace/full_open_source.json: every drop on open source Spark, on the Actions runner (the build machine has 2 cores and 19 GB of disk); tests/transforms
4doneTerraform with state in Neon, the bundle, the workspace workflow, the results branch, reviewed promotionrequests/ and the results branch; terraform state in Neon (request 03c); results/provenance.json
5doneThe Lakeflow pipeline deployed to dev and run; the reconcile against the local runresults/reconcile_first_month.json and results/reconcile_full.json: every exported table equal by digest across the engines
6doneJobs with retries and the run ledger; idempotency, order and late label tests in the workspaceresults/workspace/integration.json and integration_labels.json (every table digest identical after re-landing, shuffled delivery, a repeat backfill and out of order labels); retries in databricks.yml; results/workspace/run_ledger.json
7doneEvery row of both sources backfilled in the workspaceresults/workspace/full_export.json: 24,386,592 payments and 31,267,738 logins in silver
8doneGovernance: tags, masks, the row filter, grants, lineage, the scan; the planted drift caught by the planresults/workspace/governance.json (tags, masks, the row filter, grants, lineage, the scan); results/workspace/drift_terraform_plan.txt (the revoked grant caught as one change)
9donePoint in time features with the leakage test; training sets as of a cut with the two clocks testtests/features/test_point_in_time.py; tests/transforms/test_training.py
10doneFloors and models on both desks registered in Unity Catalog; the plan hashed before any test month was scoredresults/workspace/train_summary.json: 6 models of both desks, the floors included, registered in Unity Catalog; the registered payments LightGBM is byte identical to the served file; plan hashed before scoring (evaluation/plan.lock)
11doneThe frontier, operating points, intervals, BH, interior tests, calibration, hypotheses, the RBA comparisonresults/evaluation.json from the local run's scored sets
12doneReason codes, model cards, validation reports, promotion gates and the champion aliasesevaluation/reason_codes.yaml, docs/models, docs/validation, the gates in results/evaluation.json; champion on workspace.friction_dev_ml.payments_lightgbm version 1 (results/workspace/promotion_payments.json); no login model cleared every gate, so that desk runs on its floor and holds no champion
13doneThe API live on Vercel with the online store and the decision log; parity exact against the live URLresults/parity.json (live: every decision equal) and results/live_check.json (each decision the browser printed read back by a separate client)
14donePersistence: independent connection, audit before response, shared transaction, out of process checktests/api/test_api.py and tests/api/test_out_of_process.py against Postgres
15doneMonitoring with delayed label cohorts; the day 40 incident detected, handled by the runbook and written upresults/workspace/monitor_alerts.json (GitHub issue 1), results/incident.json, results/workspace/incident_drop.json, docs/incidents/2026-10-29-day-40.md
16donePerformance experiments and the compute ledger publishedresults/performance.json (Actions runner, full data), results/compute_ledger.json (wall seconds per request; with workspace usage from system.billing.usage)
17doneThe site on Pages; the live check; latency with cold start; RESULTS, README, DECISIONS, notebooks, AGENTSresults/live_check.json (every route, awake and asleep), results/latency.json; DECISIONS.md (42 dated entries, 3 reversals), notebooks 01 to 03, AGENTS.md, .claude/skills, docs/SPEC.md, docs/adr
18doneCoverage, mypy, ruff, gates, skills valid, forty to sixty commits, the rederive, v0.1.0 after the commitsresults/rederive.json (replay, fixture pipeline, model rerun, month rerun: no drift); 56 commits; CI green on coverage, mypy, ruff and the gates; v0.1.0 tagged on commit 7e9a1c8

Source: build. scripts/build_manifest.py.