1. 22 Sep, 2026 40 commits
    • fix(launch): boot SuperDirt as the unit, not raw sclang in a terminal · 4d8e3e2a
      Unifying the two launchers surfaced a divergence neither had been measured
      against. The root script span raw `sclang` under setsid; the Bridge's RIG UP
      went through the other gig-up, which started parvagues-sc.service. Repointing
      the button at one launcher would therefore have taken it OFF systemd.
      
      Raw sclang loses, all at once: LimitMEMLOCK=infinity and LimitNICE=-20 (which
      scsynth inherits), the 10-pipewire-jack.conf drop-in this script hand-rolls as
      \${wrap}, StandardOutput=journal + SyslogIdentifier (so the post window is
      parseable, and so the `SuperDirt warmed` probe — which keys on the unit's
      ActiveEnterTimestamp — can ever say yes), Restart=on-failure bounded 3-in-300s,
      and the OOM protection: systemd's user manager ships DefaultOOMScoreAdjust=200,
      and an unprotected scsynth was terminated for memory on 2026-08-15 after four
      crashes in one afternoon.
      
      None of this is new reasoning — it is parvagues-sc.service's own header, written
      2026-07-27: "SuperDirt as a managed unit rather than a thing running in a
      terminal somewhere". This launch path simply predates it, and the divergence was
      invisible because each launcher was the only one anyone watched.
      
      Keeps the 2026-08-01 distinction that cost an evening: a unit that is ACTIVE
      while scsynth is DEAD needs a restart, because start is a no-op on an active
      unit. Falls back to raw sclang, loudly, if the unit is not installed.
      PLN (Algolia) authored
    • fix(launch): a missing python3.12 leaves the rig up and unproven, not a held window · 7c0d40e3
      The gate call hardcodes python3.12 (mido is installed for 3.12 only, and a gate
      that quietly ran on 3.11 would fail the MIDI probes for the wrong reason). But
      propagating rc=127 from a missing interpreter would hold a terminal open over
      the stage for a reason that has nothing to do with the rig — which is already
      up by the time this runs. Report it, name the fix, let the launch stand.
      PLN (Algolia) authored
    • tooling: one launcher, one gate — and four bugs the split had been hiding · cd9d0d80
      Two verbs instead of three names. gig-up.sh DOES; tools/check-gig.py PROVES.
      
      The collision was not a fork. `gig-up.sh` (root, 555 lines) launches the rig;
      `tools/gig-up.sh` (620) proved the set; `tools/gig-preflight.py` (522) already
      proved the machine. Both gates took --converge and --quiet, so the two paths
      looked interchangeable and were not: the preload gate sat only on the path not
      pressed, the readiness report only on the path the Bridge does not call.
      
      The gate is now a TABLE, not control flow: 23 probes, each carrying its command,
      its fix, its severity and its layer. The bash pipelines are kept verbatim — each
      was written the day a specific failure was found and the pipeline IS the finding.
      gig-preflight already emitted {check,state,detail,fix} over OK/WARN/FAIL, so the
      machine layer joined through its own --json with no rewrite. 23 + 16 = 39 checks
      in one report, one exit code. Measured: 16.5s full, 3.4s --fast, 0.3s machine.
      
      Found while wiring it, each verified against the failing leg:
      
      1. The launcher rewrote preload.scd from setlist_opal2026.txt on EVERY launch —
         the Sept 6 set. Measured 132 banks -> 45, leaving 41 of Thursday's banks to be
         read off disk mid-set: the failure check-preload's own header calls "debuted
         as a crackle at the venue". The set is now named ONCE at the top of the
         launcher and read by both the plan generator and the gate. Generation also
         converges instead of clobbering — a plan that already covers the set is left
         alone, because a rewrite can only narrow it.
      2. `LCXL present` reported the desk PRESENT with the board unplugged: it grepped
         all of `aseqdump -l`, whose third column is the PORT name, and lcxl3-driver
         publishes a virtual output called "ParVagues LCXL3". The gate was matching our
         own driver. Now anchored on the client name (old: present, new: absent, board
         off the bus).
      3. `setlist compiles` proved backlog.md's 15 tracks, not the 17 being played.
         --setlist scopes the compile and preload probes to one gig's file, via
         setlist_samples.read_setlist — never a fresh regex.
      4. `SC -> Ardour` was gated on scsynth, so it printed NO-GO on a healthy
         --headphones rig where there is legitimately no Ardour. Preconditions are
         per-probe now, and an unmet one is SKIP, never FAIL.
      
      Also: gig-preflight's `midi surface` warned that mk3 LEDs were unimplemented,
      untrue since lcxl3-driver took over painting. Both generations exercised against
      a recorded graph. And `gig-log preflight` (the armed-global check — gMask sat at
      127 for 74 minutes while every cold check was green) lived only in the launcher's
      report where it could not block. It is a blocking probe now.
      
      Enforcement, because a rule in a docstring is not a rule:
      tools/tests/test_check_gig.py, 39 tests. No probe may mutate anything (read over
      argv, never the source text — a fix hint is SUPPOSED to say "systemctl restart");
      the fence has its own detector; no check may be lost from the port while the old
      script exists; the launcher may not grow assertions of its own and must end by
      calling the gate.
      
      Suites 510 passed, 2 failed — both pre-existing (fold-orbits' PipeWire regexes
      tripping the Tidal-parser ratchet, test_gearbox's dash fallback).
      
      tools/gig-up.sh is kept, unrun, with a superseded banner: nothing is deleted
      until its replacement has run on a real launch, and it is the transcription
      check's reference until then.
      PLN (Algolia) authored
    • docs: design the gig-up merge — two verbs, not three names · 8b58011b
      The obvious reading is that the two gig-up scripts are forks that drifted. They
      are not. gig-up.sh is a LAUNCHER (start things in order) and tools/gig-up.sh is
      a GATE (14 assertions over the repo and the saved session) — two different tools
      wearing one name. And a third, tools/gig-preflight.py, is already the gate over
      the live machine; its own docstring says '--quiet (for gig-up.sh)', so the gate
      was always meant to be called by the launcher and never was.
      
      So the merge is a separation, not a diff: gig-up does, check-gig proves,
      gig-up-window owns the terminal. Three entry points become two, each answering
      one question, and the launcher ends by calling the gate — which makes today's
      failure (a gate that existed but was unreachable from the path actually pressed)
      structurally impossible.
      
      Six phases, each independently revertable, and phase 0 is a harness because
      neither script nor the preflight has any test coverage today. Nothing is deleted
      until the phase replacing it has run on a real launch: a bad gig-up at a venue
      is not recoverable under pressure.
      PLN (Algolia) authored
    • docs(status): sound is green, rehearsal is the gate · a55d08e9
      gig-up restored the fader baseline on its own, so the bucket that was 20% and
      flagged as the critical path is now 85% with three ticks: baseline restored,
      all twelve orbits reaching master, Master at -0.5 dB instead of -30. What is
      left there is two judgements, not two repairs.
      
      The ribbon moves to REHEARSAL, because the full 2h run really is the only
      thing left that counts. Moves become: restart SC so the 132 banks warm, run the
      arc with Ardour recording, A/B the two crush buses that stopped trading. New
      storage key so ticks against the old moves cannot read as done.
      PLN (Algolia) authored
    • fix(launch): the guard that could not see Ardour, the gate that was in the other… · 65976d13
      fix(launch): the guard that could not see Ardour, the gate that was in the other script, the window that never closed
      
      Three things PLN hit in one launch.
      
      ARDOUR RELAUNCHED OVER A RUNNING ONE. The guard was
      `pgrep -f 'ardour-[0-9]'`, and `/usr/bin/ardour` is a BASH WRAPPER that execs
      the real binary out of /usr/lib/ardour8 — so for the first second of a launch
      the process is `bash /usr/bin/ardour …` and that pattern misses it entirely.
      Re-run gig-up inside that window and the second Ardour fights the first for the
      session lock. Now matches the wrapper AND the exec'd name, both bracket-tricked
      so pgrep cannot match the command line asking the question. Verified against
      the live box: neither pattern catches tidal-ardour-autoroute, which runs
      permanently and would otherwise have made the guard always true.
      
      THE PRELOAD GATE WAS IN THE SCRIPT NOBODY LAUNCHES. There are two gig-up
      scripts with separate histories: this one (528 lines, what parvagues.desktop
      runs) has the readiness gate, cut-gpu, the headphones fold and the fader
      restore; tools/gig-up.sh (620 lines, what the Bridge's RIG UP runs) has
      check-preload, --bt-off and check-boot. Neither is a superset, and both accept
      --converge and --quiet, which is exactly how it stayed invisible. So the path
      PLN actually presses never checked whether the set's banks are warmed — the
      failure check-preload.sh's own header calls "debuted as a crackle at the
      venue". Added here as REPORT ONLY: `--fix` regenerates a load-bearing boot
      file, and doing that at a venue is the landmine rather than the cure. Output is
      filtered to the verdict and any MISSING banks; the 66-name "warmed on purpose"
      roster is dropped, because at a venue the useful output is one line long.
      
      THE TERMINAL STAYED OPEN AFTER A CLEAN LAUNCH. `kitty --hold` was a real fence
      — GNOME's Terminal=true handler is not guaranteed to exist and the boot log is
      what you want when a launch goes sideways — but holding on SUCCESS left a dead
      window parked over the rig all night, and on stage every window that is not the
      music is in the way. tools/gig-up-window.sh tees the log to
      ~/.cache/parvagues/gig-up.log every time, keeps the previous one as .log.1, and
      holds the window only on a non-zero exit. A file beats a held window on both
      counts: it survives the window and it survives success. It is a separate file
      rather than a longer Exec= line because the desktop spec reserves
      `" $ & ; | < > ( )` inside Exec, so a pipeline with a conditional read has to
      be escaped twice and breaks silently on the third edit.
      
      Merging the two gig-up scripts is the right fix and is NOT a two-days-out job —
      design landing separately.
      PLN (Algolia) authored
    • fix(surface): wap was un-compacted by an editor save, and re-measure the hand counts · d80e023e
      TWO THINGS, AND THE FIRST ONE IS THE LESSON.
      
      wap.tidal never got its d7 -> d6. The compaction wrote it, then Pulsar saved
      the file from a buffer loaded before the compaction ran and put the old
      declaration back. My "0 moves left" re-plan was taken BEFORE that save, so the
      verification was true when it ran and false ten minutes later. Same shape as
      the third-pass bug, from the other direction: a conformance check is a
      measurement of a moment, and a moment with an editor open is not a state.
      PLN has now closed Pulsar, so both plans report 0 moves across all 703 — and
      this time nothing else is writing.
      
      Second: the orphan-orbits HAND_MEASURED table had gone stale, which is exactly
      what it is for. Five of its ten tracks moved d7 -> d6 (bombe_dj, wap,
      piment_bresilien, mafia_sans_serif, the_revolution_will_be_sampled); the other
      five already declared both, so compaction had nothing to close and they are
      unchanged — which is a check on the tool, not a coincidence. Re-measured with
      `grep -hoE '^d[0-9]+' | sort -nu`, deliberately NOT with orbits_of(), because
      the block's own docstring warns that a hand measurement quoting the thing it
      checks is a tautology.
      
      And the original ear report changed orbits without changing meaning. PLN heard
      crimewave survive vague_de_crime -> bombe_dj; bombe_dj now declares d6, which
      COVERS the orbit he heard and exposes the one below it. vague_de_crime runs
      crimewave on both d6 and d7, so the sound is the same and only the carrier
      moved. The test now asserts {7} and says why — the ghost is a property of the
      PAIR, which is the whole thesis of the tool.
      
      Suites: 456 passed, 2 failed, both pre-existing and unrelated (the fold-orbits
      tidal-parser ratchet, and test_gearbox's dash fallback from 6fb0f98d).
      PLN (Algolia) authored
    • docs(gig): the third pass, and what d9 was actually doing · c6acc450
      A conformance check run before the step that breaks conformance proves nothing
      — the compaction moved 150 orbits and left 202 of their controls behind, and
      the tool said '0 move' about a file that needed four.
      
      Also records the answer to PLN's own d9 note: its attack was riding d12's
      Ardour-learned level knob, and its mask shares d6's gate with no legal
      alternative, because d9 has no button slot in the grid at all.
      PLN (Algolia) authored
    • docs(status): the page tells tonight's truth, with SOUND as the gate · 1567a814
      Five buckets: SET 100%, RIG 95%, SOUND 20% and flagged as the critical path,
      STAGE 15%, REHEARSAL 40%. Six items carry a YOU badge because six of them are
      PLN's hands and nothing else.
      
      SOUND leads because it is the only thing that can silence the show: seven orbit
      faders sit at -inf in the saved session, and Ardour's meters are post-fader so
      that failure is indistinguishable from Tidal emitting nothing. The card says so
      in one line rather than trusting anyone to remember it.
      
      Every counter computes from the clock — a date-math suite asserts the header
      and all three stops across day-before, day-of and day-after, including "gig
      played" once it is behind us. Checked at 1440 and 420, and with localStorage
      throwing: the page still renders, which is the only state a status page must
      never fail in. New storage key, so ticks from the old move list cannot show as
      done against new moves.
      PLN (Algolia) authored
    • fix(surface): the controls follow the orbits — 202 moves the compaction left behind · ca21d6b6
      The compaction renames a `dN` declaration; it deliberately does not touch that
      orbit's knobs and buttons. So the moment 150 orbits moved, their controls were
      sitting on the column of an orbit that no longer existed there — d6 answering
      to column 7 in 84 files. The two tools are one job in two passes and only the
      second pass closes it.
      
      Found by accident, which is the part worth recording: ete_a_mauerpark reported
      "0 move" right after the compaction, then reported 4 the moment something else
      made me re-plan it. A conformance check run once, before the step that breaks
      conformance, proves nothing.
      
      202 moves, 84 files, 0 clashes. Re-plan now reports 0 across all 703. Button
      conformance 93.3%, no CC gained inside the Ardour-learned or gF ranges, and the
      third full silent-eval sweep diffed per-file against the baseline: zero verdict
      changes. The seventeen-track set re-validated on its own afterwards — all 17 OK,
      pvlint 0 errors.
      
      Also in here, from reading ete_a_mauerpark's d9 to answer PLN's "[confirm d9
      effects]" note: its attack was riding `^16`, which is A4 — d12's LEVEL knob,
      MIDI-learned to an Ardour track gain. One knob moved an Ardour fader AND d9's
      attack, the CC77-goes-to-silence class the driver header warns about. Moved to
      `^20`, idle in this track. Its `mask` on `^58` is d6's own gate and d6 IS
      declared here, so one button drives two orbits — left alone on purpose: d9 has
      no button slot in the grid at all, so that is gSel work, not a rename.
      PLN (Algolia) authored
    • chore(setbuilder): refresh the catalog after the 132-bank preload · a40eb470
      Warm counts move with the plan, so the cards were understating coverage for
      the seven banks the new set just added.
      PLN (Algolia) authored
    • docs(backlog): the AI ENGINEER arc, as PLN wrote it · 3c393dc1
      Seventeen tracks in three movements with declared BPMs, ~9 min each. This is
      where the set lives; armada/setlist_thu24.txt follows it.
      PLN (Algolia) authored
    • docs(gig): the evening's state — set settled, surface coherent, faders not · 2f182a6a
      The tracker now leads with the one thing no tool can fix from outside: seven
      orbit faders sit at -inf in the saved Ardour session, so from a fresh launch
      more than half the rig is silent and looks exactly like Tidal emitting nothing,
      because Ardour's meters are post-fader. gig-up already restores the baseline in
      the Ardour-closed window, which is why this is a checklist line and not a fire.
      
      It matters more tonight than this morning: the orbit compaction moved melodies
      onto d5 and d6, two of the seven.
      PLN (Algolia) authored
    • fix(live): two crush buses in the set were being fought over · ff084fad
      pvlint PV011, and the only four ERRORS in the whole seventeen-track set:
      
        love_first        crushbus 41 written by d4 AND d12
        cafe_bouillant    crushbus 41 written by d4 AND d11
      
      A bus is one control signal. Two orbits writing the same slot means the last
      writer wins, so the bass's crush amount and the melody's were overwriting each
      other every cycle — nothing errors, nothing goes silent, the two parts just
      never get the crush they ask for.
      
      Moved to the numbering the corpus already uses for those orbits: d11 -> 111
      (110/111/112 appear 12 times across live/), d12 -> 121 (120/121, 7 times).
      d4 keeps 41. Not invented — counted.
      
      This is an audio-graph edit, so it wants an A/B by ear before doors: both
      parts should now respond to their own knob independently, where before they
      traded. pvlint over the set is now 0 errors.
      PLN (Algolia) authored
    • feat(surface): no d7 while d6 sits empty — 150 orbits compacted · f6be5205
      PLN: "part of the migration also: no d7 when d6 is free. d7 often was sefcond
      melo, should be a d6 now d6 ids not a shitty mapped knob, but a proper column
      like others".
      
      That is the history exactly. d6's knob used to be somewhere useless, so a
      second melody went to d7 and d6 was left empty; since the column remap every
      one of d4-d8 owns a fader, a B knob and a C knob, so the reason is gone and
      only the habit remains. A set with a hole at d6 wastes a whole column.
      
      150 moves in 133 files. `d7 -> d6` is most of it; a lone melody with both
      slots free compacts to d5.
      
      THE BAND IS {5, 6, 7} AND IT IS DERIVED, NOT DECREED. An orbit number decides
      which family DJ filter and which family mute the part answers to. From the
      authored grid, d5/d6/d7 share both maps, so a move between them changes
      nothing about the sound — while d4 is the bass (gF2) and d8 is percussion
      (gF1/gM2), so compacting into or out of those would silently re-assign which
      filter sweeps the part and which button drops it. The tool computes the band by
      asking lcxl_grid which orbits agree with d6 on both families, so if the grid
      ever changes, the band follows instead of rotting.
      
      It refuses rather than guesses: 7 orbits carry an explicit `# orbit N`, which
      overrides the output orbit independently of the `dN` name, so renaming the
      declaration alone would move the pattern's identity and leave its AUDIO behind.
      Comments are never rewritten — a commented `-- d7 $ …` is an alternative to
      re-enable mid-set. Bus slots (`crushbus 71`) and `cut` groups stay put: a bus
      id is an audio-graph edit and a cut group is a choke group, not an orbit.
      
      VERIFIED: re-plan reports 0 moves left. silent-eval --seeded re-run over all
      703 files and diffed per-file against the pre-migration baseline — zero verdict
      changes, 703/703 joined. And the declaration multiset of every one of the 133
      files is a pure permutation inside the band, with nothing outside it touched:
      no pattern was dropped and no orbit was declared twice where it was not
      already. That last check exists because a naive compaction fusing two blocks'
      melodies onto one orbit would be silent, not loud — the later declaration wins.
      PLN (Algolia) authored
    • chore(live): wap — drop the duplicate d5, park a shift · 165abe8b
      PLN's edit from tonight, saved before he stepped away. The file declared d5
      twice ('v1 magic repeat' then 'v1 science of repeat') in one block, where the
      later declaration silently wins and the earlier is dead code — pvlint PV005.
      The dead one is gone, and a `(0.125 ~>)` is parked as a comment.
      
      wap is out of the Thursday set anyway ("too sample heavy"), so this is
      housekeeping rather than set work.
      PLN (Algolia) authored
    • feat(set): AI ENGINEER, seventeen tracks in order · fe4441de
      PLN settled it: "the set is ready i thinki for now i settled on … i can play
      longer/shorter, might add some, but a good setup for now". Three movements —
      START, NUJAZZ PARADIZE, FINALE COMEDOWN — 17 tracks over 120 min, ~9 each.
      
      The shape moved with his ear, not with the tooling: cyber_hump, wap and
      bombe_dj are out ("not adequate too sample heavy its a nujazz/chill dnb set"),
      and ten tracks came in that were never in a candidate list — salut_nu,
      love_first, take_5_drops, bain_electrique, haunted_house, chere_mireille,
      cafe_bouillant, cafe_tiede, force_motrice, revolution.
      
      All 17 pass `silent-eval --seeded`: every declared orbit emits. Ten of them had
      never been validated for this gig at all.
      
      His two in-file TODOs are carried into the comments rather than dropped:
      ete_a_mauerpark wants its d9 effects confirmed, and sept1 wants fixing to the
      new controller. "Liquid Nite TODO finish convert" is now done — that was the
      column remap, applied this evening.
      
      Declared BPM is in the comments, and the three tracks that declare no setcps
      say "inherits" instead of borrowing a number they never set.
      PLN (Algolia) authored
    • feat(midiviz): a sun theme, a menu, and a tray it can hide into · 949b9926
      PLN: "midimon unusable in the sun in light mode :') can we have a basic menu
      for midimon, maybe a tray presence when runnig, with scaling, theme, etc
      options ? to help sets in all context, robust, antifragile".
      
      Colours leave the paint loop and become data: three themes resolved once per
      change, so a frame still constructs no QColor and the 30/5 fps split is intact.
      The cut that made it work is INK versus SURFACE — recency (digits, bars, pens)
      against cell bodies, column glow and gutter — because the docstring's own
      invariant is that a mapped-but-idle cell must never read as a hardware fault.
      On dark that is a glow above black; on light and sun it is a wash below the
      page. A test asserts the floor tint differs from the page on all three.
      
      `sun` needed two passes and only a screenshot said so: the first render climbed
      to a saturated mid-tone panel and the digits lost the fight against it — light
      with fatter bars, not a sun theme. Flattened tint, near-black ink at every
      decay level, and a bold face, which outdoors is the cheapest contrast there is.
      The decayed state was shot on purpose, since "no subtle dim states" is exactly
      about the moment after a movement ends.
      
      Menu and tray are one QMenu, and every entry calls the same method the key
      does — no second code path, and no setShortcut, which would have taken the keys
      off keyPressEvent and out of the selftest's reach. Tray guarded on
      isSystemTrayAvailable and silently absent otherwise; a hidden window drops to
      idle fps and X/q/Quit still really exit.
      
      Config at $XDG_CONFIG_HOME/parvagues/midiviz.json, temp-file plus os.replace,
      and load cannot raise: missing, corrupt, not-a-dict, unknown-theme, NaN scale
      and unwritable are each exercised. A monitor that dies on a bad config file is
      worse than one with no config, and this one is meant for the middle of a set.
      
      Verified: bridge tests 105 -> 121 passing (the single failure is the inherited
      test_gearbox dash case, identical before and after); selftest PASS on all three
      themes; and dark proven pixel-identical to HEAD at four scales by rendering
      both versions side by side.
      
      NOT verified, and not to be claimed: the tray on a real desktop. Headless has
      no status area, so only the degrade path was proven. One known follow-up — a
      window hidden to the tray is still alive, so the hub's focus_window does
      nothing for it and the tray is the only recall path.
      PLN (Algolia) authored
    • fix(surface): every track on its own columns — the remap finished, 148 files · 3827b629
      PLN: "lets do the migration tbh i want to trust all tracks, lets indeed make
      that proper."
      
      The #94 remap had only ever been run against a setlist, so conformance was a
      property of having been listed, not of being a track. 685 moves across 148
      files, one simultaneous permutation per file, zero clashes.
      
      Button conformance, measured by tools/button-column-audit.py before and after:
      **2154/2729 on the orbit's own column (78.9%) -> 2544/2726 (93.3%)**. The
      remaining 182 are overflow — an orbit with more controls than the grid gives it,
      left in place under a FIXME pointing at gSel, because moving them would put two
      orbits on one physical control.
      
      VERIFIED, and this is the part that matters for trusting 703 files:
      
        * silent-eval --seeded re-run over the WHOLE corpus, 703/703, and diffed
          per-file against the pre-migration baseline in
          docs/2026-09-22-catalog-playability.tsv: **zero verdict changes**. Same 597
          playable, same 85 compile-fail, same 21 silent-orbit, and not one file
          swapped sides. Run at nice 19 / ionice -c3 so it could not preempt the live
          rig mid-rehearsal.
        * re-plan over all 703: 0 moves left.
        * not one CC reference landed in a protected range — 378 refs gained, none of
          them in the Ardour-learned faders (77-84), the A1-A4 level knobs (13-16), or
          the gF1-3 family filters (49-51). Checked as a multiset diff of every CC in
          every changed line, not by reading the tool's promise.
        * every effect BUS slot is byte-identical before and after (`crushbus 41` and
          friends): the tool rewrites quoted `"^NN"` refs only. So the 37 corpus
          pvlint errors, 36 of them PV011 bus-slot sharing, are untouched by this and
          were there before it.
      
      AND THE TOOL STOPPED VANDALISING COMMENTS. The overflow pass expands a hit to
      the whole chain segment, so the closing parens of a multi-line step are not left
      dangling — and that expansion swallowed comments inside the step. First corpus
      run: 18 lines grew a second `--`, three grew a third, and two of the tool's own
      FIXME warnings were commented out by the tool that wrote them. A warning the
      tool hides on its next run is worse than no warning. Fixed, the corpus reverted,
      and re-applied: the two diffs now differ in exactly those lines and nothing else.
      PLN (Algolia) authored
    • docs(midiviz): the state wire — one owner, two physics, pay once · 87a1f28a
      PLN asked for the rendering to show where things REST, not only what just moved,
      and asked that the wire not pay any cost twice.
      
      Written down before any of it is built, because the interesting part is not the
      drawing: state has exactly one legitimate owner. The surface has no readback and
      in relative mode sends deltas, so the driver's integrated value is not a cache
      of something else — it is the only copy. A viewer cannot derive it, and at boot
      there is nothing on the wire at all.
      
      The design: level and edge as two channels, state as last-value-wins in one
      small atomically-replaced file with a seq counter so an unchanged frame parses
      and paints nothing, and dirty-cell repaint so the layer costs nothing at rest.
      Explicitly NOT built: a fan-out daemon for the duplicate aseqdump subscriptions,
      which buys microseconds at the price of a process and a failure mode.
      
      Two findings worth the doc on their own. Zero on a DJF is the CENTRE detent, so
      the readout wants three zones with the detent drawn, not a 0-127 bar. And the
      Pulsar-style feed needs no new producer: ~/.cache/parvagues/eval-events.jsonl is
      already being written, one line per ctrl+enter with the orbits it touched, and
      the driver already reads it.
      PLN (Algolia) authored
    • fix(setbuilder): stop inventing a tempo for a third of the catalog · 2baef681
      `declared_bpm` defaults to 120 when a track sets no setcps, which is right for
      the driver — the OLED has to breathe at some rate — and wrong for a picker.
      221 of the 703 tracks declare no setcps at all, so a third of the cards were
      showing a confident 120 that came from nowhere. That is the worst shape a
      wrong number can take: plausible, and load-bearing for the arc he is about to
      order tonight.
      
      Now the generator passes default=0 and those cards read "inherits bpm", which
      is not a gap but the actual behaviour — a track with no setcps runs at whatever
      tempo the previous one left behind, and for building a ramp that is worth
      knowing. They sort last on the BPM axis, since they have no place on a ramp
      until you decide what they inherit.
      PLN (Algolia) authored
    • feat(setbuilder): declared bpm and sample weight, because the set changed shape · 9f48601e
      PLN, at the desk: "cyber hump and wap and bombe dj not adequate too sample
      heavy its a nujazz/chill dnb set i think is the right one."
      
      That is an ear judgement the tooling cannot make, but it can hand him the two
      handles the judgement needs. Every card now carries the BPM the track declares
      and how many distinct sample banks it pulls from, and the list sorts by hands
      first, lightest on samples, or slowest BPM.
      
      Bank count is a proxy and it is labelled as one — it is not busyness or
      loudness, just breadth of folders. It does separate the three he named
      (wap 11, cafe_glace 10, bombe_dj 9) from the light end, which is the job.
      
      BPM is DECLARED, never measured, and the legend says so: tempo-lens.py opens
      by warning that setcps is not the tempo, since a track at setcps 80 with
      everything on the half-note performs at 160. Right handle for ordering an arc,
      wrong one for claiming a speed.
      
      `declared_bpm` goes into setlist_samples.py, where corpus syntax belongs, not
      into the generator — a second private regex for the corpus's own idiom is how
      the parser rule gets broken one convenience at a time. tools/lcxl3-driver.py
      carries an identical `parse_bpm`; it predates this and it is load-bearing two
      days out, so the duplication is recorded in a comment and collapses after
      Thursday rather than tonight.
      PLN (Algolia) authored
    • chore(live): sunny_side_up — acid bass up two octaves, the ^59 mask gate off · 26f20c02
      Desk edit from tonight's rehearsal. `|- note 36` -> `|- note 12` on acidOto3092,
      and the mask(16,32)+ply gate commented out so d7 runs the arp clean.
      PLN (Algolia) authored
    • docs(backlog): clear the tail, keep what was in it · c2fd9716
      PLN: "deliberate killed tail was just a agent log or srth, capture that removed
      as learning, nut then let me clean that backlog indeed was gboing tedious."
      
      The tail is cleared and the new AI ENGINEER candidate section stands. But the
      543 lines were not a log: they were two sessions of rig notes from 6-7
      September, and six items in them were still open. Losing them to a backlog
      cleanup is the quiet kind of loss — nobody misses a note they have forgotten
      writing.
      
      So the whole block is archived verbatim in docs/, with the open items hoisted
      to the top of it where they can be read without scrolling. The one that
      matters: `sudo tools/install-protect.sh` was never run, so the OOM-protection
      daemon has never actually protected anything — it reported ok only because
      scsynth and sclang already sat at the target value, and no write was attempted.
      PLN (Algolia) authored
    • docs(gig): where the hands have to go after the remap, and two stale claims fixed · 092e1a17
      The remap commit carried counts. Counts do not help at the desk: a knob that
      moved from C5 to B4 is a knob that does nothing when you reach for it. The
      tracker now holds the was/now table for every one of the 24 moves, because
      PLN is rehearsing jeudrill and rose_rouge tonight and both of them moved.
      
      Also recorded: techno_orage's ^58 firing across d5 and d6, the corpus-wide
      154-file job that is explicitly NOT for tonight, the 114 duplicate FIXME lines
      left behind by the old non-idempotent tool, and the fact that "the set" still
      resolves to the Opal list through backlog.md while Thursday's arc lives only
      in armada/setlist_thu24.txt — a default nobody should trust this week.
      
      Two fixes in the tool itself:
      
        * the FIXME dedupe was a snapshot taken before the insert loop, so one run
          could still stack two identical notes when an orbit is split across two
          blocks. It now learns as it writes.
        * the docstring still promised that buttons were "Phase 2, after the gig".
          They were folded in when #94 shipped, and the tool has been moving BT/BL
          cells ever since. A docstring that defers work the code already does is
          the one place a reader can learn the wrong scope.
      PLN (Algolia) authored
    • fix(surface): finish the column remap on the tracks actually in play · d8effb67
      The #94 remap was run against a setlist, not the catalog, so conformance was
      never a property of a track — it was a property of having been on that list.
      Two days of desk edits then pushed listed tracks back out: swapping jeudrill's
      d9 and d10 bodies moved the orbits but not their knobs, so d4's effect was
      sitting in d5's column again.
      
      Migrated, one simultaneous permutation per file, 24 moves across six tracks:
      
        jeudrill        6   the d9/d10 swap's knobs follow their orbits
        liquid_nite     4   the four PLN had not reached by hand
        rose_rouge      3
        techno_orage    9
        cyber_hump      1
        siberie_samuel  1
      
      liquid_nite is the one that prompted this — PLN saw it in the catalog, wanted
      it in the set, and found it half-migrated: he had walked the buttons down a
      column by hand (^42 -> ^41, ^43 -> ^42) and stopped. The knobs are now on
      their own columns too, and it evaluates clean.
      
      VERIFIED, not assumed: re-plan reports 0 moves on all six; silent-eval
      --seeded is OK on five. techno_orage still FAILS, on the same d2 that was
      already silent before this commit — unchanged, and still PLN's call to fix or
      cut. pvlint: 0 errors, 21 warnings, all pre-existing shapes (PV013 missing
      family mutes, PV005 double declarations). One is worth reading: PV008 says
      techno_orage's ^58 drives d5 AND d6, which is the overflow the tool annotated
      rather than commented — a $-step cannot be commented out without breaking the
      block's arity, so that button really does fire across two columns until gSel
      folds it.
      
      AND THE TOOL NO LONGER TALKS TO ITSELF. Every run stacked another
      byte-identical FIXME paragraph above the same line: cafe_glace carried the
      same note three times, and 90 files in the corpus carry 114 duplicate lines
      between them. An overflow is a standing condition, not an event, so it earns
      one note. The comment-out still runs on a repeat pass — if a line came back to
      life it is firing across columns again whatever the note says — only the note
      is deduplicated. Proven by applying twice and diffing: 15/13 both times.
      
      Corpus-wide, 154 files still want 709 moves with zero clashes. Not tonight.
      PLN (Algolia) authored
    • chore(live): commit the desk edits that were sitting uncommitted · 0399c2d3
      Everything here was already in the working tree — played, kept, never
      committed. Written down now so the gig runs off the repo and not off one
      laptop's dirty tree.
      
        siberie_samuel  NEW FILE, and it is in the Thursday candidate arc. It
                        existed only as an untracked file: nothing outside this
                        filesystem knew the track was real.
        liquid_nite     the buttons walked down a column by hand (^42 -> ^41,
                        ^43 -> ^42) and a long tail of commented-out orbits was
                        cut. The button axis is Phase 2 of the #94 remap, so this
                        is hand work ahead of the tool, not a conflict with it.
        jeudrill        d9 and d10 swapped bodies; the d9 crushbus commented out.
        you_my_sunshine cut 3 and the legato sweep off; room 0.14 -> 0.8, sz 0.9.
        techno_orage    back to the Children Holiday line, slow 4 on the notes,
                        cut 3 dropped.
        esperluette     the bassWarsaw d5 removed.
        sept1           resetCycles dropped from the top.
        piment_bresilien whitespace.
      
      setlist_opal2026.txt loses its SOUNDCHECK section, so the pairwise walk in
      orphan-orbits.py starts on the real opener. That file is a record of a past
      gig, so the removal is visible here on purpose rather than folded into a
      larger commit.
      PLN (Algolia) authored
    • feat(setbuilder): the picker now holds the catalog it already measured · cdbc28ff
      The sweep evaluated all 703 tracks on Sunday night and found 597 that compile
      and emit. The picker still carried fourteen hand-written entries, so the page
      said the library was fourteen deep — the measurement existed and the surface
      that needed it did not have it.
      
      gen_setbuilder_catalog.py turns the sweep into the page's data, joined against
      two things the verdict alone does not tell you: how often the driver journal
      saw the track loaded (what the hands know), and how many of its sample banks
      the preload plan already warms (a cold bank is not a fault, it just hiccups on
      the first bar). Sample names come from setlist_samples.py, never a fresh regex.
      
      The sweep results now live in docs/ instead of a scratchpad that dies with the
      session — an artifact nobody can compare against is the preload.scd story.
      
      Ids are repo-relative paths, not stems. Sixteen stems collide across folders
      (major_nostalgia in chill and techno, all four FFF tracks in two trees) and a
      stem key merged each pair into one card, silently. Picks stored under the old
      stem keys are migrated on load where the stem is unambiguous.
      
      And the Thu-24 list is a candidate arc, not a locked set. It was exported from
      the builder, not decided at the desk; rehearsal decides.
      PLN (Algolia) authored
    • docs(tasks): the set is locked, the preload covers it, and the gate that would… · 806c1e5d
      docs(tasks): the set is locked, the preload covers it, and the gate that would have undone both is fixed
      PLN (Algolia) authored
    • fix(preload): the gate asked the wrong question, and asked it in the wrong locale · c52de40d
      gig-up runs check-preload --fix whenever the check fails, so a plan that was a
      deliberate superset scored STALE and got silently narrowed — bass2 would have
      been dropped on gig night and ete_a_mauerpark would have lazy-loaded mid-set.
      Membership now uses comm -13/-23 (missing is a fault, extra is information),
      counts join on shared banks, and --fix emits the union so it can never shrink.
      
      Second hole, latent: under en_US.UTF-8 a whole-line sort orders 'bass2 5' before
      'bass 4' while join compares field 1, so join dropped a pair (123 of 124 shared
      banks) and 2>/dev/null ate its warning — a count check with a hole reports ok.
      LC_ALL=C and sort -k1,1 on every set operation; join now equals comm -12.
      Extras are also count-checked against disk: SuperDirt asserts the recorded count
      at boot whether or not the bank is in the set.
      PLN (Algolia) authored
    • docs: the whole catalog measured — 84.9% of 703 tracks compile and emit · 080b7f7b
      Not sampled: every .tidal under live/ evaluated with silent-eval --seeded.
      85 do not compile and 21 have a genuinely silent orbit; the failures are
      diffuse helper/API drift (scope errors on g, jchord; Pattern String type
      mismatches), not one rotten folder. Playable is still not gig-ready — the
      play log remains the better signal for a set.
      PLN (Algolia) authored
    • feat(set): the Thu-24 setlist, ten tracks in play order · 2fbb7d37
      From PLN's Set Builder export, 120/120 min. All ten pass silent-eval seeded;
      the set needs 46 banks, all present on disk. preload.scd (gitignored, generated)
      regenerated as a superset — 125 banks, adding bass2 for ete_a_mauerpark.
      PLN (Algolia) authored
    • fix(tray): wrap QjackCtl in pw-jack so it opens the graph the rig lives in · fa0ec298
      The row existed but bare, and libjack.so.0 resolves to jackd2's — an unwrapped
      qjackctl shows an empty jackd2 graph instead of PipeWire's. Same wrap as Ardour.
      PLN (Algolia) authored
    • docs(armada): status page caught up — the cap is lifted, the faders are fine, the run is the gate · 92c2e340
      Three rig items and two of the three next moves closed while the page was being built;
      SOUND now carries the measured Master reading instead of the wrong -inf claim.
      PLN (Algolia) authored
    • feat(armada): gig status page — five buckets, one gate, glance and close · 89bef9dd
      Where Thursday stands on paper: rig, set, sound, stage, rehearsal, each with an honest
      figure and the items only PLN can do, over a live countdown to doors.
      PLN (Algolia) authored
    • docs(tasks): the orbit faders are fine — it is the Master that sits 30 dB down · 859c9cbd
      check-mix against the running session: twelve orbit faders between +0.0 and +6.0 dB,
      none muted, all routed to master. The overnight -inf reading does not hold. Master
      -30.2 dB is the real finding, and with OSC off only PLN's eyes can confirm the live value.
      PLN (Algolia) authored
    • fix(rig): the OLED re-arm reprinted its own stale cache forever · bbda3e94
      A hard DJF swing froze the readout: the 20 Hz door dropped events without
      parking one, and the 0.9 s re-arm then replayed the cached strings, so a
      value the glass never caught was reprinted indefinitely — pinned at 127 the
      'end stop' continue skipped the display entirely and 5.6kHz (value ~108)
      stayed on screen for good. The re-arm now recomputes from self.values, so any
      dropped event heals within 0.9 s whatever ate it; the door parks instead of
      dropping; the flush takes the freshest value. Momentary family_mute lines
      still replay — mutes_held() is transient state, not durable.
      PLN (Algolia) authored
    • style(armada): set builder on paper — light theme, one family with the status page · b513d793
      Cream ground, warm brown ink, sage for OK, amber for WARN, terracotta for the
      played-recently badge. Screenshot-verified over HTTP at 1400px.
      PLN (Algolia) authored
    • feat(armada): set builder — pick and order the Thu-24 arc against validated state · 4f83790a
      Fourteen candidates: the nine from the overnight sweep plus the five the driver journal
      shows PLN actually played this week, each with its silent-eval verdict. Per-track minutes
      against the 120-minute target, reorder, copy the paths out. One static file, no build,
      renders offline, LAN-reachable for phone picking.
      PLN (Algolia) authored
    • docs(tasks): Tue-22 gig state — the latency cut is not live, the CPU is capped,… · 0cd6300a
      docs(tasks): Tue-22 gig state — the latency cut is not live, the CPU is capped, and the play log names the set
      
      Three corrections from measurement: sclang predates the s.latency edit (still 0.2 in the
      process), max_perf_pct is 55 so every audio number is suspect, and the driver journal shows
      12 tracks actually played in 5 days — five of them outside the overnight sweep.
      PLN (Algolia) authored