Skip to content

Studio: mark "sounds wrong here" on the timeline - #226

Merged
PhysShell merged 4 commits into
mainfrom
claude/studio-marks
Nov 25, 2026
Merged

PhysShell merged 4 commits into
mainfrom
claude/studio-marks

Conversation

@PhysShell

Copy link
Copy Markdown
Owner

Lets the owner mark "sounds wrong here" on the Studio timeline instead of writing down seconds, in both the Studio server page and Studio Web. Specification: composer-lab/STUDIO-MARKS-SPEC.md.

  • A mark is stored per piece (marks.json next to the piece on the server, the piece record in Studio Web) with bar and sixteenth computed from the piece meters, section, guitar, free text, a snapshot of the sounding notes and the recipe revision that was audible.
  • Marks never change the music or the undo/redo history. They are logged as mark_add, mark_edit, mark_delete and mark_import, counted by studio.summary, and can be downloaded as marks.json for one piece or for all pieces.
  • A mark whose recipe has changed since is shown as stale. Audition plays from the previous bar to the next one.
  • Writes are atomic (temporary file + replace), add is idempotent by client id and rejects id collisions, the output folder is locked per server, a corrupt marks.json is kept aside instead of being overwritten, and imports are validated.

Checked locally: 281 Python tests (2 skipped) and 68 Node tests pass on 68267f2; the server page was tried by hand in Edge. Reviewed by Astra and cross-checked by Fable; their findings are in the last two commits. Not checked: Studio Web on a phone.

🤖 Generated with Claude Code

https://claude.ai/code/session_01N3gqehBgzmDPPQ4dCur7DJ

PhysShell and others added 4 commits November 24, 2026 15:35
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N3gqehBgzmDPPQ4dCur7DJ
Marks are stored per piece (marks.json on the server, the piece state in
Studio Web), carry bar and sixteenth computed from the piece meters, the
section, guitar, text, a snapshot of the sounding notes and the recipe
revision. They never touch the music, undo or redo, are logged as
mark_add, mark_edit and mark_delete, are counted by studio.summary and
can be downloaded as marks.json for one piece or for all pieces.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N3gqehBgzmDPPQ4dCur7DJ
Marks are patched into the stored piece record instead of writing back a
whole snapshot, add is atomic with its log row and idempotent by id, the
audition range follows the real neighbouring bars and never inverts,
marks record the revision that was audible, imports are validated and
logged, the output folder is locked per server, and several editor and
touch details are fixed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N3gqehBgzmDPPQ4dCur7DJ
@PhysShell
PhysShell merged commit dd7cffc into main Nov 25, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant