Commit Graph
8048 Commits
Author SHA1 Message Date
Miguel Ángel d55ecae30e fix(producer): auto GPU mode measures its choice once per machine and reuses it (#8788)
* fix(producer): auto GPU mode renders in software when software captures faster

On a Windows laptop with an AMD Radeon 840M, auto mode picked the hardware
GPU, calibration measured screenshot capture at ~1.6 s/frame p95, and the
render dropped to 1 worker: a 10 s clip took 5m27s. Software WebGL
captured the same frames at ~0.28 s/frame on 5 workers.

When auto mode resolved to hardware and calibration measured it slow, time
software too and keep whichever is faster. Explicit --browser-gpu and
--no-browser-gpu are unchanged.

* test(producer): pin the auto GPU switch to software and document it

The orchestrator test drives a render in auto mode with a slow hardware
calibration and a faster software one, and checks that capture gets
browserGpuMode software and worker sizing uses the software estimate.
The CLI docs say auto can now switch to software after calibration.

* fix(producer): auto GPU mode measures its choice once per machine and reuses it

A render with --workers skipped calibration, so auto mode never compared
the GPU with software capture and stayed on a slow GPU path. Now render
measures the choice once per machine, GPU driver and HyperFrames version,
even with --workers, keeps it in gpu-choice.json under the config folder,
and later renders reuse it without calibrating.

* fix(producer): keep captureCost's comment share from rising
2026-11-25 02:43:01 +00:00
Miguel Ángel 37b8f2647d fix(engine): a render keeps and logs the page's console and error text only up to a fixed size (#8727)
* fix(engine): a render keeps and logs the page's console and error text only up to a fixed size

* fix(engine): page text is cut where it is kept or logged, after it is classified

* chore(engine): raise the engine's packed size budget for the page-text bound
2026-11-25 02:42:58 +00:00
James RussoandClaude Fable 5.2 ff34919fb2 fix(producer): a private project file stays private under any path spelling (#8786)
* fix(producer): a private project file stays private under any path spelling

A local render that brings in outside files read a media path spelled
outside the project, but resolving to a private project file, as an
ordinary outside file. isPrivateUnderAssetRoots can now also pick a
root by the real file, and the render callers ask for that when outside
files are allowed. The default still never looks at a file spelled
outside the project.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(engine): leave a path on another network root unread when judging private files

The real-path lookup added for renders that bring in outside files ran before the
network-root refusal in the duration probe. The lookup now answers no for such a
path without looking at it, so every caller keeps the order.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(producer): a private project file is not copied in under another path spelling

The outside-asset collector asked only whether a path's real file leaves the
project, so a private project file named by a path spelled outside the project
was copied into the compiled output. The refusal every collector passes through
now answers for that case too.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(engine): a media source that is no file is not looked up as one

With outside files allowed, a long inline data source reached the real-path
lookup, which walks one folder per slash when the path does not exist and ran
out of stack. The lookup now runs only for a path that exists.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-25 02:38:29 +00:00
Ular Kimsanov c7e19fdd24 fix(cli): capture checks the page's token result before using it (#8766)
* fix(cli): capture checks the page's token result before using it

extractTokens cast the page's evaluate result straight to DesignTokens.
The page can redefine the built-ins its script uses, so headings or ctas
could come back as objects whose length is text, and buildPrompt wrote
that text into AGENTS.md, CLAUDE.md and .cursorrules as a count.

normalizeDesignTokens rebuilds every field to its declared type and
bounds each list and text before anything reads the tokens, and
buildPrompt counts only real lists.

* fix(cli): keep the token fields in the script's order and drop URLs a cut would break

The agent-file count helper is named for what it reads instead of carrying
a comment. ogImage, section asset URLs, background images and CTA links over
their limit are dropped whole rather than cut to a different address, and
the normalised tokens keep the extract script's key order so tokens.json is
unchanged for a normal page. The existing agent-file test now also covers
headings and CTAs whose length is text.

* test(cli): cover each value the token check drops whole
2026-11-25 02:24:12 +00:00
James RussoandClaude Fable 5.2 32681eedc2 fix(studio): an element description keeps only a selector Studio would have built (#8789)
* fix(studio): an element description keeps only a selector Studio would have built

A sealed preview describes its elements to Studio, and the description's selector later names the
element an edit is saved to. The reader took any string. It now keeps a description only when its
selector is the described id, one class, a composition id or a group, the forms the runtime builds.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(studio): hold the selector check to exactly what the runtime builds

A form whose control is named id no longer yields an id selector made
from the control. Class selectors that start with a digit and empty
attribute values are refused. A test ties the check to the builder.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-25 02:15:33 +00:00
Miguel Ángel dcdb181896 chore: release v0.9.93 (#8796) v0.9.93 2026-11-25 02:06:42 +00:00
Miguel Ángel cb9dfa8f0c fix(engine): a registry or download refusal no longer says it was a capture (#8791) 2026-11-25 01:33:27 +00:00
Miguel Ángel 59bac900aa test(player): the sealed media table counts only a load that changes crossorigin as the helper's (#8773) 2026-11-25 01:03:33 +00:00
Miguel Ángel d4edc6d14f fix(studio): words selected in a sealed text edit show the formatting toolbar, as unsealed (#8777)
* refactor(core): the inline text style helpers live in core, imported by Studio

* fix(studio): words selected in a sealed text edit show the formatting toolbar, as unsealed

* test(studio): the text edit mount's header fits the comment line limit

* fix(studio): the text swatch shows each word's colour as it paints, sealed and unsealed
2026-11-25 01:02:42 +00:00
Miguel Ángel 77dbc72d74 test(studio): soft reload wait rows stop failing on a slow Windows runner (#8778) 2026-11-25 01:02:34 +00:00
Miguel Ángel 5c4f5febbc fix(cli): a cached whisper model is used only once its sha256 matches its pin (#8762)
* fix(cli): a cached whisper model is used only once its sha256 matches its pin

* fix(cli): the whisper model's verified stamp is read once and replaced atomically
2026-11-25 00:43:40 +00:00
Miguel Ángel 20b020d192 fix(cli): DO_NOT_TRACK and HYPERFRAMES_NO_TELEMETRY turn telemetry off the same way everywhere (#8781)
* fix(cli): DO_NOT_TRACK and HYPERFRAMES_NO_TELEMETRY turn telemetry off the same way everywhere

* fix(skills): the standalone media-use skill reads telemetry opt-outs through the shared check

* ci: run the edit accuracy bench when the shared telemetry opt-out check changes
2026-11-25 00:43:19 +00:00
Miguel Ángel c5ed60fc83 fix(producer): auto GPU mode renders in software when software captures faster (#8785)
* fix(producer): auto GPU mode renders in software when software captures faster

On a Windows laptop with an AMD Radeon 840M, auto mode picked the hardware
GPU, calibration measured screenshot capture at ~1.6 s/frame p95, and the
render dropped to 1 worker: a 10 s clip took 5m27s. Software WebGL
captured the same frames at ~0.28 s/frame on 5 workers.

When auto mode resolved to hardware and calibration measured it slow, time
software too and keep whichever is faster. Explicit --browser-gpu and
--no-browser-gpu are unchanged.

* test(producer): pin the auto GPU switch to software and document it

The orchestrator test drives a render in auto mode with a slow hardware
calibration and a faster software one, and checks that capture gets
browserGpuMode software and worker sizing uses the software estimate.
The CLI docs say auto can now switch to software after calibration.
2026-11-25 00:43:02 +00:00
Miguel Ángel 886e5d4f43 test(studio): preview walks read the frame Studio shows, not one Chrome re-lays out mid-shot (#8780)
* test(studio): preview walks read the frame Studio shows, not one Chrome re-lays out mid-shot

* test(studio): the A-roll walk keeps its shots when given a folder that does not exist yet

* test(studio): the graded walk names the brightest channel, and a grey pixel leads none
2026-11-25 00:42:45 +00:00
Miguel Ángel 25ad0d1f08 fix(studio): agent prompts keep composition values in quoted fields, after the person's request (#8779)
* fix(studio): agent prompts keep composition values in quoted fields, after the person's request

* fix(studio): agent prompts keep paths and selectors exact, and cap only display labels
2026-11-25 00:42:28 +00:00
Miguel Ángel ab7f81c8a6 fix(core): a sealed snapshot carries the tweens GSAP's global timeline runs (#8774)
* test(core): a sealed snapshot lists tweens only GSAP's global timeline runs

* fix(core): a sealed snapshot carries the tweens GSAP's global timeline runs
2026-11-25 00:42:10 +00:00
Miguel Ángel b31b148f74 fix(core): a colour-graded video no longer adds a stray row to the Studio timeline (#8776) 2026-11-25 00:41:44 +00:00
Vance IngallsandClaude Opus 5.5 ab4d38d512 chore(engine): fit the engine size budget to the playlist folder walk (#8790)
#8782 added the folder walk in the engine's ffprobe path and its error
class, which takes the packed engine to 517176 bytes, more than 1% over
the 511900 budget, so main's Build (verify:packed-manifests) fails. The
budget rises to 522000, about 1% above the measured size.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 16:59:18 -08:00
Vance IngallsandClaude Opus 5.5 4af0e9c09b fix(cli): media commands read only local, self-contained inputs (#8782)
* fix(cli): media commands read only local, self-contained inputs

The shared ffmpeg/ffprobe input guard kept the hls and concat demuxers on
the grounds that the playlist folder walk confines what a list names, but
only render and check/snapshot run that walk. Commands such as transcribe,
audio, media-use generate, remove-background, init, measure and
grade-compare handed the named file straight to ffmpeg, which then opened
whatever the list named, anywhere on disk.

- mediaInputFormatArgs leaves the playlist demuxers out unless the caller
  passes { playlists: true } after walking the file (render's urlInput,
  snapshot held videos, measure reads of a guarded file), and limits every
  input that is not an http(s) URL to the file protocol.
- init, media-use generate and remove-background run the existing walker
  on every named source before creating folders, copying, uploading or
  probing.
- The remaining bare -i reads go through the guard; the diff frame
  sequence, the local TTS probe and studio-server's media input args get
  explicit local-file limits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(cli): walk playlists before every CLI read that allows them

Render's urlInputArgs keeps reading playlists because preflight walks every
source first, but the CLI calls the same engine probes on files nobody
walked: timeline, check, info, audio --element and remove-background.

- runFfprobe walks a local input first and throws PlaylistLeavesFolderError
  for a list naming files outside its folder, so those probes fail as that
  file's error instead of opening what the list names.
- check decodes a clip for silence with playlists allowed: the engine probe
  before it already refused one that leaves its folder, so a contained HLS
  clip keeps its audio findings.
- transcribe (every engine) and audio --read walk the input before hashing,
  making cache folders or handing it on; media-use generate also walks
  --motion and --audio. remove-background relies on the engine probe.
- One table test proves each up-front refusal fires before anything is
  written, plus a listing-level check of the playlist opt-in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: trim comments the playlist changes added

Keeps each changed file at or under its comment share at the merge base:
the explanation moves into a name where it still matters.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(cli): document the playlist refusal and walk file: URLs too

- docs: transcribe, audio, init --video/--audio and remove-background take a
  single self-contained media file; playlists and concat lists are refused.
- The engine probe converts a file: URL to a path before the folder walk,
  so a playlist named that way is refused like a plain path.
- init prints its refusal as literal CLI text, which keeps the printed-value
  baseline.
- The probe tests wait for each spawn before starting the next, since the
  walk now runs first and could reorder them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 16:20:39 -08:00
Michael Wang bf689be3ba fix(engine): playlist walk refuses entries with no path and tagged lists (#8784)
* fix(engine): the playlist walk refuses entries with no path and lists behind an ID3 tag

ffmpeg reads an HLS or ffconcat entry that is empty, or starts with a query
or fragment, as the list's own path plus that suffix, so the walk judged a
different file than ffmpeg opens. Such entries are now refused, before or
after percent-decoding and trimming. Empty URI values are no longer dropped
before the check.

ffmpeg's probe and its demuxer can skip a leading ID3v2 tag's footer
differently, so they can read a tagged list from different bytes. The walk
now finds every offset either could start at, and refuses a file that reads
as a list (or, nested, as a manifest) at any of them.

* test(engine): describe the decoy helper without history
2026-11-24 23:49:15 +00:00
Miguel Ángel 8ad78fb0fc chore: release v0.9.92 (#8745)
* chore: release v0.9.92

* chore: release v0.9.92 notes list the changes merged after the first cut

* chore: release v0.9.92 notes list the changes merged since the last cut

* chore: release v0.9.92 notes list the changes merged since the last cut

* chore: release v0.9.92 notes list the changes merged since the last cut
v0.9.92
2026-11-24 18:54:08 -05:00
terencecho 192c58b2e6 fix(share): omit private paths from editable source (#8744)
* fix(share): omit private paths from editable source

* fix: include the private path rules in build image installs

* fix(cli): escape the exclusion list at the terminal output boundary

* fix(share): bound private path notices and normalize reported names

* docs(cli): explain terminal escaping in contributor guidance

* Use the public descriptions for the portable source fixtures

* fix(share): silently omit private source paths

* test(share): distinguish private filenames from directories

* fix: recover interrupted source shares after a filename correction

* fix: preserve published source ancestry across filename policy upgrades

* docs: clarify local snapshot ancestry validation

* test: pin v4 filename segment validation for saved bases

* fix: reconcile interrupted source uploads by their confirmed IDs
2026-11-24 22:59:42 +00:00
Vance IngallsandClaude Opus 5.5 c890cb38f0 fix(producer): a failed pipelined blend fails its render, not the server (#8775)
* fix(producer): a failed pipelined blend fails its render, not the server

The hybrid layered loop kept each in-flight blend+encode as a slot promise
and only awaited it when the slot came round again, so a blend, encoder or
cancel failure could sit as an unobserved rejection and end the process.
Slot promises now hand their failure to the loop, which wakes every worker
through the reorder buffer, settles every in-flight blend, and only then
fails the render.

Page transition entries are checked before use (finite times, string scene
ids, a registered shader or none), the transition registry and scene map
have no prototype, and the public server attributes any rejection that
still escapes a render to that render and fails it, instead of exiting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(producer): report an escaped rejection as the render's failure, not a cancel

Aborting with the plain error sent the render down the cancel branch: job
status "cancelled" and no failure telemetry. The abort reason is now an
EscapedRejectionError, which the orchestrator treats like an audio failure:
the render fails with the original message. The server test now runs two
renders through a real unobserved rejection and the process handler.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore(producer): trim comments added in the blend-failure fix

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(producer): address review on the blend-failure fix

- Bun stage-test mocks of hdrCompositor.js export sanitizeTransitionMeta.
- The rejection log carries the stack.
- EscapedRejectionError keeps the cause's code/owner/retryable fields.
- The hybrid-loop test covers a render that succeeds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 14:57:42 -08:00
Michael Wang 3865262ba3 perf(parsers): judge private paths in linear time (#8691)
* perf(parsers): judge private paths in linear time

isStudioPrivatePath decided whether each segment sat at the project root by
copying and scanning every earlier segment, so its work grew with the square
of the segment count. It now finds the first named segment once. The two
media-use copies change the same way, and lint refuses a
data-composition-src longer than any file path before resolving it.

* chore(skills): regenerate the media-use audio-carve bundle

It bundles the private-path rule, which this branch makes linear.

* test: bound the long-path tests by input size, not wall time

The isPrivateFileUnder test runs on 200,000 segments, and the lint test's
40,000-character source has no timer. CI runners took just over the old limits
while the results stayed right.

* chore(parsers): raise the unpacked size budget by 1,000 bytes

The linear private-path check adds a few dozen bytes to @hyperframes/parsers,
which put it 22 bytes past its budget's 1% margin (924,172 against 924,150).
2026-11-24 22:12:49 +00:00
Xuanru Li ca64f8b5de fix(lint): audio_volume_tween_overrides_gain hint keeps the level the author set (#8689)
* fix(lint): audio_volume_tween_overrides_gain hint keeps the level the agent set

The hint offered resetting data-volume to 1 as a way out, and agents took it to clear the warning, which threw away a level they had chosen. The hint now names the clip's own gain as the tween target to write and says to measure the render with `hyperframes audio` before changing the level.

* test(lint): protect authored gain advice for quiet clips

* fix(lint): clarify silent clip choices and align gain docs
2026-11-24 21:45:11 +00:00
Michael Wang 5a15b549b6 fix(media-use): accept CAF, W64, WavPack, AU and AC3 audio again (#8716)
* fix(media-use): accept CAF, W64, WavPack, AU and AC3 audio again

The self-contained reader lists left out five single-file audio containers,
so recordings in those formats stopped probing. Each one holds its own
media and opens no other file. Add their ffmpeg reader names (caf, w64, wv,
au, ac3) to the skill's list and to the parsers fallback list.

When a file is still refused, the message now names the accepted
containers instead of saying ffmpeg cannot read it.

* test(parsers): end ffprobe options with "--" in the container probe test

* fix(cli): media-use resolve accepts CAF, W64, WavPack, AU and AC3 audio

Add the same five single-file audio containers to the CLI media-use
reader list, and to the drift check's stand-in demuxer listing.

* chore(parsers): raise the unpacked size budget for the wider container list

The five added reader names push @hyperframes/parsers a few bytes past
its 1% tolerance; it was already within 0.1% of the limit on main.
2026-11-24 21:09:45 +00:00
James RussoandClaude Fable 5.2 305686b31e fix(studio): an element patch is declined when its target is a script, style or template (#8764)
* fix(studio): an element patch is declined when its target is a script, style or template

A patch edits a layer. patchElementInHtml wrote text, markup and
attributes into whatever element the target resolved to, including an
inline script, a stylesheet or a template, so a text edit whose target
named one replaced that element's source. It now answers matched:false
and leaves the file as it is when the target, or an operation's child
target, is one of the tags that never take a stable id (script, style,
template, meta, link, noscript, base). A text edit of a layer whose only
child is a script writes the text on the layer instead of into the
script.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* chore(studio): say the declined-target rule in the name, not in comments

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 20:53:43 +00:00
Miguel Ángel 36d5763958 feat(core): a sealed preview answers a text toolbar's authored styles and fonts (#8761) 2026-11-24 20:40:20 +00:00
Miguel Ángel afd7469bca fix(studio): a GSAP read that throws still leaves the layer as it was (#8759) 2026-11-24 20:35:23 +00:00
Miguel Ángel 3576301eb0 fix(studio): the rename note says to update the listed files by hand (#8763) 2026-11-24 20:35:21 +00:00
Michael Wang 2b1fe6f313 fix(producer): startServer never listens without a token (#8655)
* fix(producer): startServer never listens without a token

Any local account, container or sandboxed program can reach a loopback port, and with no token
set every route but /health accepted a header-less caller. When neither authToken nor
PRODUCER_AUTH_TOKEN is set, startServer now makes a random token for the run, writes it to a
file only the server's account can read (~/.hyperframes/producer/<port>.token by default, or
authTokenFile, or PRODUCER_AUTH_TOKEN_FILE), logs that path, and requires it like a configured
token. The file is removed on shutdown. createProducerApp and createRenderHandlers keep their
behavior, and their docs now say they check no caller without a token.

* refactor(producer): keep server.ts at its comment share

* test(producer): call the started server through node:http on localhost

The unit lane refuses fetch and every lookup but localhost, so the startServer tests listen on
localhost and send their requests with node:http to the address it bound.

* refactor(producer): keep server.ts at its comment share
2026-11-24 20:34:56 +00:00
Michael Wang dd3f8440b1 fix(studio-server): judge file writes as files, and refuse names that shadow a module (#8711)
* fix(studio-server): judge file writes as files, and refuse names that shadow a module

A create or overwrite is now judged as writing a file whatever stands at the
path, and a create is checked again once its body has arrived, so swapping a
folder away while the body is pending no longer lets an extensionless name
through. Below a tooling package.json, a file whose name plus a module
extension names a file beside it (db.utils next to db.utils.js) is refused
too, since Node loads the exact name first.

* fix(core): refuse names that shadow a module in the shared Node-tooling rule

The sibling-module check now lives in core's nodeMayRun, where the rule moved,
so Studio saves and hyperframes add from another registry both refuse a file
Node would load before the module beside it.

* docs(core): describe the shadowing rule without a file-like example

The comments check reads the example name as a citation of a missing file.
2026-11-24 20:22:56 +00:00
Miguel Ángel b30aaa26d5 fix(cli): add says why a project's registry was not read (#8754)
* fix(cli): add says why a project's registry was not read

* test(cli): the registry-reason test typechecks
2026-11-24 20:14:45 +00:00
Miguel Ángel 9343044d66 test(sdk-playground): the element-list test no longer times out on a slow runner (#8753) 2026-11-24 20:10:32 +00:00
Michael Wang f7a3abcbee fix(engine): read ffconcat lists only as ffmpeg reads them (#8714)
* fix(engine): read ffconcat lists only as ffmpeg reads them

The playlist folder check now refuses an ffconcat list with a lone CR or
NUL, a file value in any form but a bare name or one fully single-quoted
name, text after the name, or an option line. A nested entry with no name
that exists no longer passes. Applies to project and downloaded media.

* test(engine): reach the ffconcat lone CR, NUL and backslash guards

The lone CR and NUL cases now sit after a comment line, so the trailing-text
rule no longer refuses them first, and a bare name with a backslash is refused
even when a file by that name exists.

* test(engine): keep the walk's entry budget test fast; fit the engine budget

The under-budget half now writes 100 files instead of 1000, since the walk
opens every entry and the test timed out under the flake gate's load. The
engine's packed budget rises by 360 bytes for the stricter ffconcat reader.

* chore(engine): leave headroom in the engine budget after main's engine changes

* test(cli): write the segment a kept snapshot playlist names
2026-11-24 20:09:52 +00:00
Miguel Ángel 7aec1af1a8 fix(studio): a timeline clip click asks the source about its layer once (#8752)
* test(studio): a timeline clip click asks the source about its layer once

* fix(studio): a timeline clip click and the timeline's sync share one selection build

* refactor(studio): the clip selection build lives in its own module beside the selection hook
2026-11-24 20:08:46 +00:00
Miguel Ángel 7b78460d05 fix(core): a looped sound plays its whole slot in preview (#8751)
* fix(core): a looped sound plays its whole slot in preview

A looped audio clip in a slot longer than its source stopped after one
pass in preview: its window was capped at the source length, so media
sync paused it there. It now fills its authored slot, as the render does.
A playing loop is also no longer seeked a lap back at each wrap, which
left Safari holding it at the start for seconds.

* fix(core): a trimmed loop is seeked back to its trim-in at each wrap

A native loop restarts at the file's start, not at the clip's trim-in, so laps are folded out of the offset only for an untrimmed loop. A trimmed one is seeked back as before.
2026-11-24 20:03:31 +00:00
Michael Wang 179ebc1011 fix: close the review notes on the stems record and the puppeteer-core lookup (#8702)
* fix: close the review notes on the stems record and the puppeteer-core lookup

audio --read: a fetch clears a no-vocals.wav left in the stems folder, and the voice-free mix is
reused only when the record names it, then added to the record once mixed, so a mix that came
with a project is never reported as this install's. Tests now pin that a stems.json the record
does not name is never read, that a stem swapped for a link is refused, that a playlist is
refused at the voice reader, and that every stem the mix and the description open carries the
self-contained input.

bake-basemap: npm is asked once per home folder, a relative answer from npm is pinned as unused,
and Volta's folder for a globally installed package is read when VOLTA_HOME is set.

* refactor(cli): keep stems.ts at its comment share
2026-11-24 19:56:39 +00:00
James RussoandClaude Fable 5.2 ce3992edae fix(studio): a rename names the files it left pointing at the old path (#8747)
* fix(studio): a rename names the files it left pointing at the old path

Renaming or moving a file updates the references to it in the project's
files. A file Studio does not write was skipped without a word, so it kept
the old path. The rename response now lists those files in
unchangedReferences, and Studio shows one line naming them.

Signed: Rames Jusso

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(studio): the rename message names at most five files

Signed: Rames Jusso

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 19:47:28 +00:00
Miguel Ángel b3da2cf58f fix(studio): a refused sealed press always puts the box back on the layer (#8735)
* test(studio): a sealed press the frame never answers is refused, box drawn or not

* fix(studio): a sealed press the frame never answers is refused with a reason

* test(studio): a refused sealed press puts Studio's box back on the layer

* fix(studio): a refused sealed press puts Studio's box back on the layer

* test(studio): a refused sealed press puts the box back after another press or a cleared selection

* fix(studio): a refused sealed press puts the box where the press before it left the layer
2026-11-24 19:41:04 +00:00
Miguel Ángel 630409ca19 feat(studio): long audio keeps its fx and beats, read from the server, no page OOM (#8622)
* fix(core): decode whole audio files only up to ten minutes

* test: give the header stub only to tests with a DOM

* refactor(core): one header stub for both test setups, length check as its own step

* refactor(core): one decode gate for failed and too-long sources

* feat(studio): long audio keeps its fx and beats, read from the server as PCM

* fix(core): carve and levels read the same span of audio at any sample rate

* test(studio): beat analysis test waits for its read to start

* test(studio): beat analysis tests run on an idle timeline

* fix(studio): the clip menu's duck passes its carve rate too

* fix(core): publish the audio-decode subpath

* refactor(studio-server): the PCM route registers with the waveform routes

* fix(studio-server): the PCM route checks the file without blocking the server

* chore(skills): media-use's carve copy picks up the time-sized analysis window

* chore(skills): the skills manifest records media-use's new carve copy

* fix(studio): the PCM route refuses other sites, shares the decode slots and keeps stereo for beats

* fix(core): a short file whose length can't be read decodes again, judged by its size

* refactor(core): one window level and Hann helper, PCM route and decode split into steps

* chore(skills): the skills manifest records media-use with main's change and this branch's carve copy

* fix(studio-server): the PCM route answers not found for a request path it can't read

* chore(skills): the carve copy and skills manifest regenerate over main's carve change

* chore(skills): the skills manifest regenerates over main's media-use change
2026-11-24 19:30:50 +00:00
Miguel Ángel 5db64b4adf fix(studio): timing edits patch the clip and the duration readout in a sealed preview (#8684) 2026-11-24 19:30:48 +00:00
James RussoandClaude Fable 5.2 bf26dcbaab build(chrome): pin chrome-headless-shell 158.0.8127.88 wherever the repo installs it (#8748)
Chrome Stable moved to 158.0.8127.88. The managed shell, the render,
test, Cloud Run, Lambda and example images and the CI setup action move
with it, each with the archive or folder digest of the new build.

Signed: Rames Jusso

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 19:29:45 +00:00
Miguel Ángel efb540744c fix(studio): a sealed move of a layer with a later scale or rotation saves as a CSS translate (#8749)
* fix(studio): a sealed move of a layer with a later scale or rotation saves as a CSS translate

* fix(studio): a GSAP read puts back every attribute and nested cache field it changes
2026-11-24 19:28:54 +00:00
Miguel Ángel 416d9e036c fix(engine): a script URL Node cannot parse no longer stops the render (#8723) 2026-11-24 19:23:04 +00:00
Miguel Ángel 85953d1788 refactor(studio): the timeline reads an empty clip list's rows from the document once (#8741)
* refactor(studio): the timeline reads an empty clip list's rows from the document once

* test(studio): an empty clip list shows no row for a nested clip the runtime cut away
2026-11-24 19:03:55 +00:00
Miguel Ángel 2e1294649c fix(core): check never looks at a media file outside the project (#8742)
* fix(core): check never looks at a media file outside the project

* fix(parsers): a project file named with two leading dots counts as inside the project

* refactor(parsers): one containment check for composition srcs
2026-11-24 19:00:39 +00:00
Miguel Ángel 2ffa5aeaf8 fix(studio): a sealed drag the preview never answers is refused, not saved wrong (#8720)
* test(studio): a sealed press the frame never answers is refused, box drawn or not

* fix(studio): a sealed press the frame never answers is refused with a reason

* test(studio): a refused sealed press puts Studio's box back on the layer

* fix(studio): a refused sealed press puts Studio's box back on the layer
2026-11-24 19:00:36 +00:00
Miguel Ángel 96ec31243a fix(player): a sealed preview whose runtime fails shows the film's error at once (#8746) 2026-11-24 19:00:34 +00:00
Miguel Ángel eae8504c2b fix(studio): a sealed scale resize no longer shows its old size for a frame after the drop (#8616)
* fix(studio): a sealed scale resize no longer shows its old size for a frame after the drop

* fix(core): gsap-set draws its drafts even when the set itself can't apply
2026-11-24 18:32:29 +00:00