Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
T
Tidal
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • PLN
  • Tidal
  • Repository

Switch branch/tag
  • Tidal
  • tools
  • check-drift.sh
Find file
BlameHistoryPermalink
  • PLN (Algolia)'s avatar
    check-drift: it told me to delete PLN's set the day before a gig · cb5a625a
    check-drift flagged 13 uncommitted .tidal files as "the stale-buffer signature"
    and its remedy section led with `git checkout -- <file>`. I nearly relayed that.
    
    All 13 were PLN's own work: the ^43/^44 -> ^41 gMask-retirement migration
    (37857225 freed ^41 for d1's gate) plus real musical edits — new octersubbus and
    squizbus lines, `slow 2 $ ply 2` reworks, gain 1.4->1.6, a sample change from
    n "74" to n "25". `git checkout --` would have destroyed a set the night before
    the gig, on the advice of a check that was confident and wrong.
    
    The script's own design comment already had the right principle: "drift is not
    control numbers changed, it is control numbers moved AWAY FROM THE GRID". Its
    per-file test just cannot see direction — it counts CHANGED ^NN lines (>= 4) and
    ANDs that with a global grid failure. Both were true here for innocent reasons:
    the grid is unaligned because the migration is HALF-APPLIED, and those files are
    the half that is done. Volume of change cannot separate a repair from a
    regression. Only direction can, and migrate-columns --plan already knows it:
    0 pending moves for a file means its edits ARE the alignment.
    
    So: the DRIFT message now names both hypotheses with the one command that
    distinguishes them, the grid failure reports migrate-columns' pending count
    (20 here) and spells out that UNALIGNED is not REGRESSED, and the destructive
    remedy is behind an explicit "look at the diff first" with this incident as the
    reason. A gate that recommends data loss on ambiguous evidence is worse than no
    gate.
    
    Still exits non-zero, honestly: 9 knobs are genuinely out of column and 20 moves
    are genuinely pending. That is a real finding about an incomplete migration, and
    completing it is a decision about muscle memory that belongs to the person whose
    hands are on the desk — not something to apply the night before a gig.
    PLN (Algolia) authored Aug 21, 2026
    cb5a625a
check-drift.sh 6.17 KB
EditWeb IDE
×

Replace check-drift.sh

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.