Skip to content

Improvement: a Model:Cycles' Status page shares the unit's own log - #2575

Merged
repeat98 merged 2 commits into
mainfrom
improvement/model-cycles-diagnostics-log
Dec 3, 2026
Merged

repeat98 merged 2 commits into
mainfrom
improvement/model-cycles-diagnostics-log

Conversation

@repeat98

@repeat98 repeat98 commented Dec 3, 2026

Copy link
Copy Markdown
Owner

Model:Cycles diagnostics: members who share now send the unit's own log from its Status page, the way the Octatrack and the Analog Rytm MKII do.

  • What works: with Share diagnostics on, Your Model:Cycles (#model-cycles/unit, beta) reads the unit's log over the link at the first reading and every ten minutes. It hands the log to the Octatrack's diagnostics collector with the checksum and size of the firmware set. The Worker now accepts a device_log that names model-cycles, and npm run diagnostics:pull lists it apart, as "Model:Cycles's log". The base already keeps the Octatrack's log layout (version 2), so the parser is unchanged.
  • Consent: version 2026-12-03.1 names the Model:Cycles on the privacy page (German and English), in the invitation and in the sharing note. It covers everyone already sharing, as 2026-11-25.1 did for the Rytm (owner, 3 December 2026). Nobody is asked again, and pages still open on 2026-11-25.1 keep sending.
  • What is broken: nothing known. The Octatrack's separate live load stream (every 5 minutes from the site) is not copied: the Cycles' log already keeps a load record every five minutes, also while the site is closed.
  • What it means musically: when a Model:Cycles stalls or overloads for someone who shares, the record of it reaches us without them having to describe it.
  • Ran on a unit: no. No Model:Cycles is at the owner's computer. The log reader ran on durchgemacht's unit through the MCP's device_log (Model:Cycles: developer MCP device tools for a Modwerk base #2126); this page path is tested with a fake unit.
  • Who must act: the owner reviews the privacy text and merges.
  • Next: durchgemacht opens the page with sharing on, and diagnostics:pull shows his log. Then the Model:Cycles' Status page and diagnostics pieces are done.

Not tested on a unit: the site's page path only; the same log read (readMcLog) ran on durchgemacht's Model:Cycles through the MCP (#2126), and no Model:Cycles is at this computer.

Edge cases: none on the instrument, because nothing here runs on it: the page only reads the unit's existing log over the link it already reads every two seconds.

Changes and checks
  • DIAGNOSTIC_LOG_MACHINES adds model-cycles. The Worker's check is unchanged: only a device_log in phase ready, with a set and no Octatrack hashes.
  • MC_UNIT.log reads with readMcLog(access, 2000, stop). stop is new, as the Rytm's reader has it, so a page that closes frees the MIDI line within one exchange.
  • diagnostics:pull names the Model:Cycles and leaves out playing or stopped: its records keep playing at 0.
  • Tests: the page hands the log with the set only while sharing (ModelCyclesUnit.test.ts); the Worker accepts the record (octatrack-diagnostics-fields.test.ts); the summary line (diagnostics-pull.test.mjs); the previous consent text still accepted (diagnostics-mail.test.ts).

Guides: docs/APP_DEVELOPMENT.md said only the Rytm's log came from its page; it now names the Model:Cycles too. How another machine joins is not written down: DIAGNOSTIC_LOG_MACHINES and the Worker's check refuse any other, and the guide is over its size limit.

🤖 Generated with Claude Code

repeat98 and others added 2 commits December 3, 2026 17:05
…g from its page

The same path as the Analog Rytm MKII's (916b96b): the base keeps the Octatrack's
log layout, the Status page reads it over the link and hands it to the Octatrack's
collector under the same consent. Consent 2026-12-03.1 names the Model:Cycles and
covers everyone already sharing (owner, 3 Dec 2026).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@repeat98
repeat98 enabled auto-merge December 3, 2026 16:24
@repeat98
repeat98 merged commit b58089d into main Dec 3, 2026
10 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