OpenTine v0.67.0: Merging run histories
Release notes reproduced from the pinned changelog. Source.
tine merge-history snapshot|plan|apply|verifymerges what parallel loops hold around their runs:heads/andtags/refs, label states (promotions), lineage records and holds, three-way from a base snapshot (opentine-history-snapshot/1). docs/MERGE.md.- Conflicts are reported, sorted by kind and key, and never auto-resolved:
ref-diverged,label-moved,promotion-diverged,lineage-id,hold-weakened(a base hold dropped on one side is kept) andheld-target(a ref or label moved onto a run that a loop-stop, integrity-taint or memory quarantine hold added on one side names stays at its base value). A merge never deletes a ref, a lineage record or a hold. The merge is symmetric: which side is "ours" changes neither the result nor the conflicts. applylands a conflict-free merge as ref updates by one compare-and-swap plus a signedopentine.history-merge/1attestation (a claim convention: no new object kind, no newtine verifycode), held underhistory-merge:and never released. A ref owned by a merge queue is enqueued, not moved. Label states and lineage records from the other side are checked against the merged snapshot (lineage records must also verify) before anything is written.verifyre-runs the merge from the three snapshots and checks the record; with pinned key roles the signer must be apolicykey and not anoptimizerkey. The Python reference, the pyz (_pyz/_histmerge.py) and the TS verifier (histmerge.ts) answer the shared fixturetests/data/history_merge.jsonfield for field.- A seeded 1,000-case branch/merge property test checks commutativity,
determinism under key order, that conflict-free merges keep both sides'
changes and that no hold is ever lost. Schemas
tine-cli-merge-history-1,opentine-history-snapshot-1andopentine-history-merge-1; README count 138. - The query index gains
history_merges: one row per merge record (signer, target ref, snapshot digests, conflict count). Under--verifya row isverifiedonly for a pinnedpolicysigner withoutoptimizer. tine auditor import-petri --blind SECRETrefuses a SECRET path inside the repository (resolved, symlinks followed), where the audited agent could read the opening, unless--allow-in-repois given, and refuses to overwrite an existing file, including a case variant of the repository path on a case-insensitive filesystem. docs/AUDIT_GAMES.md says where to keep the opening.