Отдельный файл отчёта для этой задачи не найден или не указан. Показан сохранённый результат задачи.
Per-run Builder telemetry is implemented and tested, and the report is at docs/e2e/SAAS-046-REPORT.md. Nothing is committed or deployed. No DeepSeek calls were made, and no live service or data was touched.
The new test tests/builder-telemetry-regression.php passes, and so do builder-agent, builder-checkpoint, builder-handoff, builder-resilience and architect-repair. php -l and git diff --check are clean. I have not run it against the real provider or the live database.
What it records
builder_run_telemetry table, which the worker fills in on success and on every failure.builder_steps table is reused, with a new path column. The provider usage for a request is attached to its first tool call only, so several tool calls in one request count their tokens once. The test checks that the totals match ai_usage.invoice_cost_usd column stays empty until an operator enters one.php bin/saas-builder-telemetry.php /explicit/saas.sqlite [run_or_site_id] [--json]. It needs an explicit DB path and is read-only. Runs that predate telemetry but have builder_steps rows are shown with derived figures only.What to know
runs.error_detail. The later 30-step failure has no raw data in this repo, because the live data root is unreadable from this account. I did not invent numbers. The report says how an operator can fill them in from a copy of the live DB.ai_usage have no run ID, so cost can't be joined to the ledger per run. Adding a run ID to the ledger is listed as an optional next step.