Skip to content

Chronicle: one append-only trace for every build attempt at every rung #628

Description

@MaxGhenis

Ratified 8/5. The trace of all builds — sparse/dense history, failed runs, smoke/dev rungs, shipping candidates — gets one system of record.

Design:

  • builds_ledger.jsonl in THIS git repo (reviewable, versioned, CI-guarded) — not HF main, which keeps Per-target banking for the ACS transfer: preemptions mid-phase cost one target, not the phase (#578) #608's tag-only doctrine untouched. One schema-versioned row per build attempt at any rung, hash-chained (each row carries the previous row's digest — tamper-evident append-only; CI validates chain + schema).
  • Row: build_id · ts · pipeline · rung (fraction token) · seed · code pin · input-pins digest · identity digest · phases reached · per-gate verdicts + receipts pointer · wall/cost · artifact location (local/volume/HF tag/discarded) · disposition (iterating → boring-counter → billed → published → certified) · prediction_id (links the pre-stated P(pass) — calibration becomes computable from build history).
  • Writers: local rung runs append directly (tool-side); cloud runs emit a ledger_row.json artifact beside their manifest, harvested into the repo with the artifacts. The ledger write is part of the pipeline, not agent bookkeeping.
  • Naming stays the release-id grammar; ladder ids carry fraction + seed + realized count so rung is legible from the id.
  • Render: a builds page (populace.dev) reads the ledger; markdown render ships with the CLI meanwhile.
  • Backfill: the 23 existing HF releases (manifests harvested) + the unpublished run 5–7 era as first-class failed/superseded rows.

Part of the #624 doctrine; consumes #616's identity machinery.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions