From 85bd6a2e29e3efbf63d3e9790974ba9fa333ab9a Mon Sep 17 00:00:00 2001 From: Lucas Winther Date: Fri, 30 Oct 2026 06:28:13 +0100 Subject: [PATCH] docs: exempt align CLI from purity rule Co-Authored-By: Claude Opus 5.5 --- docs/superpowers/plans/2026-10-30-reference-alignment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/superpowers/plans/2026-10-30-reference-alignment.md b/docs/superpowers/plans/2026-10-30-reference-alignment.md index 97cde7c..9cf3d7c 100644 --- a/docs/superpowers/plans/2026-10-30-reference-alignment.md +++ b/docs/superpowers/plans/2026-10-30-reference-alignment.md @@ -13,7 +13,7 @@ ## Global Constraints - Bun + TypeScript; follow `CLAUDE.md` (Bun.serve with HTML imports, no vite/express, `bun test`, `Bun.file`/`Bun.write`, `Bun.$`). -- `src/align/**` except `server.ts` and `page/**` must not use `node:fs`/`Bun.*`/`process` (browser-portable); I/O lives in `src/ref/**`, `src/align/server.ts`, `src/bench/**`. +- `src/align/**` except `server.ts`, `cli.ts` and `page/**` must not use `node:fs`/`Bun.*`/`process` (browser-portable); I/O lives in `src/ref/**`, `src/align/server.ts`, `src/bench/**`. - Never commit reference audio, MIDI, renders, `reference/**`, or `*.flac/*.mid`. Stage files by explicit path only; check `git status --short` before committing. - Manifest: `reference/songs.json`; per song dir `reference//` holds `alignment.json`, cached transcoded audio, peaks. - Alignment = anchors `{ midiSec, audioSec, kind: "manual" | "auto" }`, monotonic piecewise-linear MIDI→audio map; implicit anchors at start (0→0 unless an anchor exists) and end (extrapolate with the last stretch's slope).