Repository navigation
Plan Windows portability: the checkout, the socket, the engine that already ports - #154
Conversation
…lready ports An assessment of main at 766e532, scoped to the core — CLI, build graph, and the daemon including live evaluation. Draft, so its open questions do not block it landing; the change that answers them is the one that flips it to Active. The finding worth leading with is that the live engine is not the obstacle. live.cpp, render.cpp, plan.cpp and every file in dsp/ carry no platform branches at all, and player.h's hardwareListenersAvailable already falls back to the heartbeat rescan off macOS — linux-portability decision 2 working on a platform it was not written for. What blocks Windows is the control socket, and before that the checkout. The checkout one is measured rather than argued: there is no .gitattributes in this repository, Git for Windows defaults autocrlf on, and creek-kit.scd lands with 71 CR bytes and a different SHA-256 than its LF form. git status stays clean throughout because git compares normalized content, so the divergence is invisible to git and load- bearing for field, which hashes what is on disk — sc-render's action key, check's byte-wise formatting comparison, and asset pins all read it. The archived standalone sample-project repo carried exactly the right file; it did not come across when bloom moved in-tree. Recorded as a decision to make rather than made: linux-portability decision 2 rejected a platform abstraction on the grounds that fourteen lines do not earn one, which was right about hot-plug. The socket is ~150 lines of server.cpp plus the client, so the seam is probably earned here — but reversing that instinct should cite it, not happen quietly. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
|
Starting review of 2b1a49c. |
1 similar comment
|
Starting review of 2b1a49c. |
minjudd
left a comment
There was a problem hiding this comment.
Reviewed 2b1a49c. This is unusually well-evidenced for a portability assessment, and almost everything in it reproduces exactly, so the finding below is narrow and it is about provenance rather than about the conclusion it supports.
§1.1's measurement is exact. I recomputed it from the file rather than trusting the block: examples/bloom/shared/instruments/creek-kit.scd is 2252 bytes with 71 newlines on disk, and converting to CRLF gives 2323 bytes with 71 CR bytes hashing to 197c273b…, against 49f970a7… as LF. Both digits match the plan to the last character, and there is indeed no .gitattributes anywhere in the repository. That is the headline and it stands.
The code citations hold up one by one, which is worth saying explicitly because the plan makes a lot of them and they are the kind that rot silently. plugins.ts:71 really is the process.platform === 'darwin' ? ['au','vst3'] : ['vst3'] line — and it survived #152 landing underneath it, which it easily might not have. main.cpp:306 is exactly std::signal (SIGPIPE, SIG_IGN). server.h:15 is the line saying JUCE's StreamingSocket is TCP-only so the AF_UNIX plumbing is POSIX by hand. hosting.cpp guards AU behind #if JUCE_PLUGINHOST_AU && JUCE_MAC, paired with the PLATFORM_ID:Darwin genex at CMakeLists.txt:61. -ffp-contract=off appears three times, each guarded on AppleClang|Clang|GNU, so MSVC is genuinely outside it. player.h's hardwareListenersAvailable is #if JUCE_MAC true else false, and its own comment already cites linux-portability decision 2. socketPath.ts's comment does say it is one function because it was nearly three. linux-portability decision 2 does contain "Fourteen lines do not earn an abstraction" and decision 5 does frame Linux as a build-and-test target rather than a support promise. docs/README.md:72 does list Windows out of scope for V1.
And the strongest structural claim checks out: rg for #if|#ifdef|__APPLE__|_WIN32|__linux__|JUCE_MAC|JUCE_WINDOWS|JUCE_LINUX across live.cpp, render.cpp, plan.cpp and all of dsp/ returns nothing at all. "Live rendering is not the obstacle" is not a hopeful reading; those files have no platform branches in them.
A contribution toward §6's fourth question rather than a finding, since Draft exempts it and the plan already says the list came from reading. A grep for the hashing helpers turns up a fourth consumer of on-disk bytes that §1.1 does not name, and it fails louder than the three that are named: src/audio/plugins.ts:256, where toPluginWire hashes the plugin state blob and throws when it disagrees with the filename — "state blob … content does not hash to its filename". The three listed consumers degrade (a cache that stops sharing, a formatting check that reports, a pin that mismatches); this one refuses the render outright. Whether it can actually be hit depends on git's binary heuristic sparing .state chunks, which is a NUL-byte accident rather than a guarantee, and that is exactly the sort of thing chunk 1 exists to stop depending on. commands/click.ts:73 and graph/build.ts:268,277 are the other working-tree hashers, both inside the asset-pin family §1.1 already covers.
The open questions do not gate this. status: Draft claims no readiness, so §6's four — the detached spawn's Windows semantics, whether the 104-byte reasoning is gone or replaced, what WASAPI does to the device story, and the systematic hashing grep — withhold nothing, and neither do §2's four decisions, which are explicitly recorded as open. The claim they would gate belongs to the PR that flips this to Active, which §2.4 already says is the one that moves the "V1 platform scope" line. The finding below is not one of those: it is a statement of fact about an artifact, and Draft exempts unanswered questions rather than inaccurate evidence.
One note on the description rather than the plan: it opens "Assessment of main at 766e532", but #152 merged in the meantime and this PR's base is 7d13a428. Nothing in the assessment goes stale from it — I checked the citations against the head, not against 766e532 — but the sentence will read oddly in the commit message.
minjudd on #154: the standalone sample-project repo's .gitattributes was seven LFS lines each ending -text — audio binaries protected, every text file exposed to core.autocrlf, no commit in its history ever carrying text=auto — so the known-good precedent §1.1 leaned on twice does not exist, and the artifact that does exist solves the adjacent problem. Chunk 1 now says what it is: a file to be written, proven by re-running §1.1's measurement against a real Windows clone. His review also contributed the fourth on-disk-bytes consumer — the state-blob hash that refuses the render where the named three degrade — so the consumer list and §6's grep question now carry it.
|
Starting review of ca44236. |
minjudd
left a comment
There was a problem hiding this comment.
Reviewed ca44236. The P2 is answered in the strongest available way: the false precedent is gone, what is actually in that repo is described correctly — seven LFS lines each ending -text, protecting the audio binaries and leaving every text file exposed — and chunk 1 is reframed as a file to be written and verified, with §1.1's measurement re-run on a real Windows clone as its proof instead of a provenance story. Rewriting the argument rather than deleting the sentence is the right call, because the corrected version now explains why no precedent exists, which is more useful than silence.
The §6 contribution landed accurately too, including the part that keeps the question open rather than treating one grep as the systematic one.
One new finding below, and it comes from the paragraph that was added rather than from anything that was there before: §1.1 now names the state-blob refusal as the loud failure, and the file shape three paragraphs down does not cover it.
One precision note that blocks nothing. Lines 77-79 attribute to me that "no commit in its history ever carried * text=auto eol=lf", and what I can actually stand behind is narrower: I ran git log --all -S'text=auto' -- .gitattributes in the checkout at ~/amnesiac/bloom and it returned nothing, which covers that clone's history. The upstream was deleted, so a commit made after this clone last fetched is not something I can rule out. It costs nothing to say "in the surviving clone's history" — and it matters less than it would have before this commit, since chunk 1 no longer rests on the answer either way.
Everything I verified on 2b1a49c still holds at this head; the diff touches only §1.1 and §6, and I re-read both in full rather than only the hunks.
|
Starting review of ca44236. |
minjudd on #154: the override list was seven audio extensions, so state blobs fell through to text=auto's binary heuristic — the exact dependence the bullet three paragraphs up says chunk 1 exists to end, and the one consumer that refuses rather than degrades. *.state joins the overrides, with the ordering argument recorded: neither file type exists in the tree today, so the rule must precede the first blob that would exercise it. Also narrows the history claim to what minjudd's trace can stand behind — the surviving clone, not the deleted upstream.
|
Starting review of fdc2958. |
minjudd
left a comment
There was a problem hiding this comment.
Approving fdc2958. .state joins the override list with the reason attached, the parenthetical widens to "audio and captured plugin state", and the attribution narrows to the surviving clone's history, which is exactly what I could stand behind. §5's chunk 1 entry does not repeat the extension list, so there is no second copy to drift out of step with this one.
I checked the shape against the whole tree rather than only against the two file types under discussion, since a list of binary overrides is the kind of thing that is wrong by omission. Of 237 tracked files, 231 have text content and the remaining six are empty — five .gitkeep and python/worker/src/field_worker/py.typed. There is no committed binary of any kind in this repository today, which means chunk 1's overrides are entirely forward-looking, exactly as the plan now says, and nothing currently in the tree needs a rule the shape lacks.
On the whole plan, carried across the three heads I reviewed. §1.1's CRLF measurement reproduces to the character — 2252 bytes and 71 newlines on disk, 2323 bytes and 71 CR bytes as CRLF, hashing to 197c273b… against 49f970a7… as LF. Every code citation lands: plugins.ts:71, main.cpp:306, server.h:15, hosting.cpp's #if JUCE_PLUGINHOST_AU && JUCE_MAC with the PLATFORM_ID:Darwin genex at CMakeLists.txt:61, the three -ffp-contract=off lines that exclude MSVC, player.h's hardwareListenersAvailable, socketPath.ts's comment, both linux-portability decisions, and docs/README.md:72. And the headline holds: live.cpp, render.cpp, plan.cpp and all of dsp/ contain no platform macros at all, so "live rendering is not the obstacle" is a measurement rather than an expectation.
The open questions do not gate this, and it is the frontmatter that decides that. status: Draft claims no readiness, so §6's four — the detached spawn's Windows semantics, whether the 104-byte reasoning is gone or replaced, what WASAPI does to the device story, and the systematic hashing grep that stays open despite my partial one — withhold nothing, and neither do §2's four recorded decisions. That claim belongs to whichever PR flips this to Active, which §2.4 already identifies as the one moving the "V1 platform scope" line, and it will answer for every question still open then.
Worth saying plainly, since two rounds of this review were spent on one paragraph: the finding was never about the conclusion. A .gitattributes is needed, the measurement proving it is sound, and the plan is better for having had to write the file's contents down instead of pointing at one.
|
Starting review of fdc2958. |
eve-nyx-13
left a comment
There was a problem hiding this comment.
Reviewed fdc2958. Findings below; requesting changes — stated in words because GitHub refuses a REQUEST_CHANGES verdict from the pull request's own author, so this COMMENT review is the loop's verdict all the same. It supersedes my started reviews of 2b1a49c and ca44236: both heads moved mid-review, and every prospective finding below was revalidated against this SHA. Three inline threads; none overlaps minjudd's .state thread, whose fix (.state joining the override list, the parenthetical widened to cover it) this head carries.
What was checked. Every file:line citation in the plan, against this SHA: server.h:15 and :28-35, server.cpp's POSIX includes and flock, main.cpp:306 under the "whole mechanism, on every platform" comment, player.h:46-47, the six literal #if JUCE_MAC directives in player.{h,cpp}, hosting.cpp:33, CMakeLists.txt:49/58-61/92/126, client.ts:43/109/130, socketPath.ts, cli.ts:410-421 and :499-505, plugins.ts:71, render-daemon.ts:6, server.py:129, workers/client.ts, supercollider.ts:21/81-100, ci.yml:52-55 (check only, as claimed). The headline reproduces: grep for platform includes, JUCE_MAC, __APPLE__ and _WIN32 over live.cpp, render.cpp, plan.cpp and dsp/ returns nothing. The measured block reproduces exactly on this machine, which is the assessment machine: creek-kit.scd at 2323 bytes with 71 CRs and both sha256 values byte-for-byte, core.autocrlf=true, node v20.20.2, cmake 3.25.2, VS 2022 present, nvm/fnm/volta/uv/sclang all absent. uv.lock's Windows evidence is real (91 matches for triton-windows / flash_attn / win_amd64). The referenced docs were read: linux-portability.md decisions 2 and 5 (the "Fourteen lines" quote is verbatim), render-pipeline.md §4 and its measured three-platform byte-identity, docs/README.md "V1 platform scope", bloom-in-tree.md, assets.ts:10's sha256-equals-LFS-OID comment.
The ca44236 and fdc2958 deltas specifically: the rewritten §1.1 provenance is corroborated from this repository's own history — git show archive/sample-project:.gitattributes is exactly the seven LFS -text lines and nothing else — the new fourth consumer is real (toPluginWire hashes the blob at render time and throws on mismatch, plugins.ts:256-262, where the other three consumers degrade), and "neither file type exists in the tree today" reproduces: a glob for the seven audio extensions and .state over the whole tree returns nothing. click.ts and build.ts hashers sit in the asset-pin family as §6 now records.
Plan gate. This is a plan pull request and all of its open questions are ones it introduces — §2's four decisions and §6's four questions — but the frontmatter is status: Draft, one of the five keywords that claim no readiness, so per convention they withhold nothing here. They will be answered for by whichever pull request flips this plan into a gating status, and §2's preamble records exactly that contract. later.md's new line matches the list's format and links the plan.
(One non-finding for the record: a bare grep JUCE_MAC over the daemon finds a seventh occurrence — hosting.cpp:33's compound #if JUCE_PLUGINHOST_AU && JUCE_MAC — which §4 already covers; §1.2's "six, in two files" is true of the literal directive.)
… own review eve-nyx-13 re-reviewed the plan against the sources: VS 2022's /fp:precise generates no contractions by default and /fp:contract is the opt-in with no minus spelling, so §1.4's premise was inverted for the recorded toolchain — the FMA guard on MSVC is a toolchain floor, not a flag, and the live exposure is the UCRT, the third libm that render-pipeline §4's byte-identity comparison has never included (clang-cl links the same one). The worker probe paragraph now credits the half of the port that exists (Scripts over bin is already in the code; only the .exe suffix is missing), and chunk 2 no longer sends readers to render-daemon.ts for --render-live, which only the tests spawn.
|
Starting review of cdaa2cd. |
1 similar comment
|
Starting review of cdaa2cd. |
minjudd
left a comment
There was a problem hiding this comment.
Re-approving at cdaa2cd — the push dismissed the approval on fdc2958, so this is a fresh pass rather than the old verdict carried over.
The two smaller self-corrections are both right, and both were wrong in the direction that flatters the plan, which is the useful direction to catch yourself in. workers/client.ts:146 really is process.platform === 'win32' ? 'Scripts' : 'bin' with spec.script joined bare on the next line, so the probe was already half-ported and the missing .exe suffix is genuinely the only piece — the previous phrasing implied none of it was done. And --render-live appears nowhere in src/ outside plugin-hosting.test.ts; render-daemon.ts:117 spawns ['--render', planPath] and nothing else, so "--render-live directly by the tests that exercise it" is the accurate version of a claim that previously named the wrong caller. Chunk 2's milestone survives either way, which is presumably why it was easy to get wrong.
The §1.4 reframing is a real improvement, not a hedge, and §4 backs it exactly. render-pipeline.md §4 measured the built-in tier byte-identical across macOS arm64 (Apple libm), Linux arm64 and Linux x86-64 (glibc), and then says in its own words that this is "four platform/architecture combinations and one libm pair, not a proof" and that "a different glibc, a different compiler, or a new libm release could still move". So "the UCRT has never been in that comparison" is precisely true, and it is a better-aimed worry than a missing contraction flag: the UCRT is exactly the third libm §4 warned could move, and observing that clang-cl links it too is what stops the easy answer from looking like a fix. §5 chunk 3 was updated to match rather than left saying the old thing.
What I could not verify, said plainly rather than waved through: the MSVC behaviour itself — that /fp:precise generates no contractions since VS 2022, that contraction is an explicit /fp:contract opt-in, and that no /fp:contract- spelling exists. There is no Windows machine in this loop and CI is ubuntu-latest, so I am taking it as consistent with documented MSVC behaviour rather than as something I confirmed. It is also the claim this commit exists to correct, which is its own kind of evidence that it was looked at carefully. §1.4 already routes the whole question to measurement, so nothing downstream rests on my having checked it.
Still exempt, still the frontmatter. status: Draft claims no readiness, so §6's four questions and §2's four recorded decisions withhold nothing; the PR that flips this to Active — §2.4 says that is the one moving the "V1 platform scope" line — answers for all of them.
One cosmetic thing while you are in there: line 291 is 109 characters, and it is the only prose line in the file over 81. The other two long lines are the sha256 pair inside a fence, which cannot wrap. The edit that folded brew install uv into that sentence left the paragraph unrewrapped.
eve-nyx-13
left a comment
There was a problem hiding this comment.
No findings on cdaa2cd — stated in words because GitHub refuses an APPROVE verdict from the pull request's own author; read this COMMENT review as the loop's approval of this SHA. The merge-blocking approval still has to come from a reviewer who is not the author.
What was checked: the delta from fdc2958 touches only the plan file, and each of the three rewrites was re-verified against its source rather than against my own review. §1.4 now matches the /fp reference exactly — no contractions by default under /fp:precise since VS 2022, /fp:contract as the opt-in with no minus form, the pre-2022 compiler as the one that could contract silently and cannot be told not to ("a toolchain floor, not a flag" is the right compression) — and the UCRT-as-live-exposure framing carries into chunk 3 consistently. The workers bullet now describes workerScriptInstalled exactly as the code reads (Scripts over bin on win32 at client.ts:146, spec.script joined bare, .exe the one missing piece). Chunk 2 now attributes --render to render-daemon.ts and --render-live to the tests, matching what a grep over src/ shows; the milestone claim is intact. All five review threads on this pull request are fixed and resolved, and the fixes for minjudd's two (.state in the override list; the provenance rewrite) survive on this head unchanged.
Plan gate, unchanged from my fdc2958 review: status: Draft claims no readiness, so §2's four decisions and §6's four questions withhold nothing here; the pull request that flips this plan to Active answers for them.
One non-blocking formatting note, deliberately not a thread so nothing new blocks the merge: in the §4 workers bullet, the line "It advises brew install uv when uv is missing. Encouragingly, …" runs to ~110 columns against the file's ~72-column wrap — worth re-wrapping if the file is touched again, not worth a push on its own.
minjudd on #155: four literal NUL bytes made insert.ts binary — git diffstats it as Bin, GitHub cannot render or anchor review threads on it, and every rg over the tree silently skips the file while reporting success (the exact accident #154 §1.1 spent two rounds on, landed in source). \0 compiles to the identical string and the file stays text. Swept src/ for other NUL carriers byte-wise: none.
…-portability.md chunk 1) (#157) Chunk 1 of the [Windows portability plan](../blob/windows/gitattributes/docs/projects/windows-portability/readme.md), and the diff that moves the plan from `status: draft` to `status: in-progress` at `priority: now`. ## Why field hashes file content as it sits on disk: `.scd` programs are action-key inputs, `field check`'s canonical-formatting comparison is byte-wise, asset pins are the sha256 of committed bytes, and `toPluginWire` refuses a state blob that stops hashing to its filename. Git for Windows defaults `core.autocrlf=true`, so a fresh Windows clone rewrote every text file to CRLF on the way to disk and changed all four answers while `git status` stayed clean — git compares normalized content; field reads the working tree. §1.1's original measurement, on `examples/bloom/shared/instruments/creek-kit.scd`: ```text on-disk size: 2323 bytes, CR bytes present: 71 sha256 on disk : 197c273b… (what a Windows clone hashed) sha256 as LF : 49f970a7… (what everyone else hashed) ``` ## What One committed file: `* text=auto eol=lf`, with `binary` overrides for the seven audio extensions and `*.state` — captured plugin state is named by its own sha256 and `plugins.ts` refuses a blob that stops hashing to its filename, so it must never ride the binary heuristic (minjudd's finding on #154). Neither file type is in the tree today; the rules exist so the first one arrives safely. `git add --renormalize .` stages nothing: every blob in history is already LF, so the attribute changes no committed content. ## Proof, per §1.1's amended definition A fresh clone on a real Windows machine with `core.autocrlf=true` inherited from global config: ```text fresh clone, autocrlf=true: size: 2252 bytes, CR bytes: 0 sha256: 49f970a7db30fc972b8ef060e55e3ae2991107137fbf9dd1a6ebb88e59dcea61 match with the LF form named in the plan: True CR bytes across all text files in the clone: 0 ``` 2252 = 2323 − 71: the file now checks out byte-identical to its committed form. ## The plan goes in-progress in the same diff Chunk 1 is where implementation begins, and the flip answers §2's decisions per the convention that the readiness claim answers for what is open: - **§2.1 named pipes** over loopback TCP for the transport — `FILE_FLAG_FIRST_PIPE_INSTANCE` carries the single-owner guarantee `flock` provides today; a port file reopens the staleness race #12 review closed. - **§2.2 no non-daemon fallback** for `field play` on Windows — since realtime.md, `field play` *is* live evaluation; without the daemon it fails with "build the daemon". - **§2.3 `socketPathFor` grows a platform branch** in the same function — named pipes have no `sun_path` limit and are not filesystem paths. - **§2.4 the "V1 platform scope" amendment rides this diff**, because the plan's own rule tied the `in-progress` flip to it: Windows and Linux move out of the out-of-scope list into a paragraph naming them build-and-test targets, reusing linux-portability.md decision 5's framing. The product ships on macOS. §6's four open questions each carry a disposition: two deferred to chunk 4 with their tests named, one answered by the hasher grep, and the 104-byte question answered by §2.1 and §2.3. The plan's frontmatter carries the move to `priority: now`, so `project list` shows it under "now" with no separate list file to edit. ## Testing Run these from the root of a checkout of `windows/gitattributes`. They need no build and change nothing in the tree. ```sh git check-attr text eol -- examples/bloom/shared/instruments/creek-kit.scd song.wav plugin.state git ls-files --eol | grep -c 'i/crlf' shasum -a 256 examples/bloom/shared/instruments/creek-kit.scd wc -c < examples/bloom/shared/instruments/creek-kit.scd project check pnpm typecheck && pnpm test ``` You should see `text: auto` and `eol: lf` for `creek-kit.scd`, and `text: unset` for the `.wav` and `.state` paths, which shows the binary overrides win. The `grep -c` prints `0`, because no committed blob carries CRLF. The hash is `49f970a7db30fc972b8ef060e55e3ae2991107137fbf9dd1a6ebb88e59dcea61` and the size is `2252`, the LF form §1.1 records. `project check` prints `Project plans are valid.`, and the suite passes. The change is wrong if `.wav` or `.state` reads `text: auto` or `text: set`, if any blob counts as `i/crlf`, or if the hash is `197c273b…`, the CRLF form. The Windows half of the proof needs a Windows machine: clone with `git -c core.autocrlf=true clone`, then run the same `shasum` and size checks there. Expect the same hash and `2252` bytes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- projector-summary v=1 sha=6d63b2b5b971c28f0a906985c59fb8054f9bf18f --> 📽️ **Projector summary** of 6d63b2b: https://field.amnes.ac/reviews/157 --------- Co-authored-by: Claude Fable 5 <[email protected]> Co-authored-by: Justin Balthrop <[email protected]>
Assessment of
mainat766e532— the tip of main when the reading was done; #152 landed underneath during review and the citations were re-verified against it (minjudd on this PR) — scoped to the core — the CLI, the build graph, and the daemon including live evaluation. No code changes: this isstatus: Draft, so per docs/projects/README.md its open questions do not block it merging, and the change that answers them is the one that flips it toActive.Windows is currently an explicit V1 non-goal in
docs/README.md"V1 platform scope". This plan does not amend that line — §2.4 records that the amendment belongs to whichever change starts the work, and that Linux's framing (a build-and-test target, not a second product platform) is probably the right one to reuse.The finding worth leading with
Live rendering is not the obstacle.
live.cpp,render.cpp,plan.cppand every file indsp/contain no platform branches whatsoever.player.h'shardwareListenersAvailablealready returnsfalseoff macOS with the heartbeat rescan standing in — linux-portability.md decision 2 working correctly on a platform it was not written for. JUCE supplies WASAPI without being asked.What blocks Windows is the control socket, and before that, the checkout.
The checkout, measured
There is no
.gitattributesin this repository and Git for Windows defaultscore.autocrlf=true:git statusstays clean throughout, because git compares normalized content. The divergence is invisible to git and load-bearing for field, which hashes what is on disk:sc-render's action key,check's byte-wise formatting comparison, and assetsha256pins all read those bytes. Committing this branch printed the warning itself — "LF will be replaced by CRLF the next time Git touches it."The archived standalone sample-project repo carried exactly the right
.gitattributes; it did not come across when bloom moved in-tree. Chunk 1 is that one file, and it is worth landing whether or not the rest is ever built — it makes the checkout byte-defined on every platform rather than dependent on each contributor's git config.The rest
server.cppis AF_UNIX +flock+ raw fds by hand, andserver.h:15says so. Node implements the local domain on Windows as named pipes only, so both ends fail and neither can be fixed alone.main.cpp:306'sSIGPIPEignore, whose comment claims "every platform" and would become false.-ffp-contract=offlist, which threatens render-pipeline.md §4's byte-identical claim. Must be measured, not reasoned about.daemonBinary()hardcodes a POSIX path; MSVC is multi-config so-DCMAKE_BUILD_TYPE=Releaseis ignored.afplayhas no Windows answer and probably should not get one, now thatfield playis live evaluation.Sequencing
Five chunks. Chunk 2 is a milestone on its own —
render-daemon.tsshellsfield-audiod --renderas a subprocess, so the entire offline render path works once the binary compiles, with no socket work. Chunks 2 and 4 are independent given chunk 1.One tension recorded rather than resolved
linux-portability.md decision 2 rejected a platform abstraction because "fourteen lines do not earn an abstraction," which was right about hot-plug. The socket is ~150 lines of
server.cppplus the client, with three platforms' semantics behind it, so the seam is probably earned here. Reversing that instinct should cite it as a decision, not happen quietly — §2.1.Out of scope, recorded so it is not re-derived
AU hosting cannot exist on Windows (already guarded in
plugins.ts:71, thePLATFORM_ID:Darwingenex, andhosting.cpp:33); VST3 hosting is unaffected andexamples/bloompins no plugins. The Python workers and SuperCollider are out too, with §4 recording what each would take — SuperCollider is nearly free, the workers need §1.2's decision made a second time.One claim is marked unverified rather than asserted: whether CPython exposes
AF_UNIXon Windows. It does not change the conclusion, since the client end is Node either way.🤖 Generated with Claude Code