* chore: release v0.9.89
* chore: release notes for v0.9.89 list #8657 merged since the cut
* chore: end the v0.9.89 note for #8657 with a period like the others
* chore: release notes for v0.9.89 list the 13 changes merged since the cut
* chore: release notes for v0.9.89 list every change merged while it was queued
* feat(player): a composition can no longer read the page that embeds the player
BREAKING CHANGE: the player's composition frame no longer shares the embedding page's origin
by default. Add sandbox-origin="same-origin" to keep reading the composition's DOM or runtime
directly (editors, recorders, custom timelines), only for compositions you trust.
* chore(skills): refresh the slideshow skill's manifest hash
* fix(player): a sealed player's timeout says how to play a composition without the runtime
A sealed player cannot add the runtime to a composition, so one with a GSAP timeline and no runtime never became
ready and failed with a bare timeout. The timeout now names the two fixes, the README says a sealed composition
brings its own runtime, and a browser test covers the sealed, trusted and runtime-bundled paths.
* test(player): the heavy-films bench embeds the trusted player, since it reads the film from inside
* test(player): the bench host stays sealed; only the bench that reads the film asks for trust
* test(player): the perf server answers CORS, so a sealed player's film loads its own media
* test(player): a sealed film on a host without CORS must still play its videos
* test(core): a sealed video whose CORS load fails loads again once without crossorigin
* fix(core): a sealed film's video loads once more without CORS when its host refuses CORS
* fix(core): the sealed media fallback reads its event target without a realm-bound instanceof
* fix(player): keep the player's origin sharing as today; sealing stays opt-in with sandbox-origin
* test(core): a failed sealed media source spares its siblings; a refused URL drops the helper's CORS
* fix(core): a sealed film tries every CORS source before falling back and drops CORS for refused URLs
* fix(cli): the play page shares its origin as today; docs say sealing is opt-in
* refactor(core): split the sealed media fallback into small steps
* test(player): sealed media decides CORS per element in Chrome; probe advice follows the policy
* fix(core): each sealed media element owns its CORS choice; probe advice follows the policy
* test(player): a sealed player's late timeline expects the sealed advice; media cases await each read
* test(player): sealed media rows for a skipped first source, author writes and a recovered URL
* fix(core): sealed media falls back only when the browser has no source left, once per URL
* test(player): the skipped-source row's loads are never cached, so each one is counted
* test(player): the skipped-source row bounds the video's load attempts as well as its requests
* test(player): sealed media rows for a mismatched-source reload, an outage and two refusing sources
* fix(core): a sealed media element owns one fallback state; only a played fallback is remembered
* test(player): a generated table of sealed media edits, each element checked on its own
* fix(core): sealed media CORS is decided per element and chosen source, with no shared cache
* test(player): the media table counts the runtime's loads against other selections
* fix(core): a sealed media element guesses the source it last played
* test(player): the media table attributes loads exactly and lets a failing host stay down
* test: sealed media rows check per-element CORS; the generated table replaces the hand-picked ones
* fix(core): a media element's own src counts as the source that failed
* fix(core): starting sealed media CORS twice adds no second set of listeners
* test(player): judge the sealed media table against frames without the runtime
* test(player): compare the sealed media table with the same film unsealed
* test(player): run the unsealed control film before the sealed one in one tab
* test(player): judge an authored crossorigin only on the composition's value
* test(player): an all-own list returning to an upgraded URL keeps its pixels
* test(player): source and playback against the sealed film with the helper off
* test(player): count every runtime load of a table video, net of the film without the helper
* test(player): the all-own return row plays the other clip alone before the URL comes back
* test(player): judge every round of the sealed media table, not only the end
* fix(core): sealed media keeps the browser's source choice and its playback across our reloads
* test(player): the table plays a video only after the runtime has bound it
* fix(core): a sealed video drops a stale crossorigin its source already refused
* test(player): the table exempts foreign hosts from pixels and allows a range request per load
* test(core): unit rows for the source choice, down hosts and playback across reloads
* refactor(core): sealed media restores time through the media clock, and its failure path is split
* test(player): the table compares play() outcomes, recovers a down host, and reads a seek at seeked
* test(player): the table judges a seek by where it settles and lets a composition pause on rejection
* test(player): the table holds the helper to a play() the film without it resolved
* test(player): pin the generated sequences that found the recovery and play() faults
* test(player): a slow host keeps the composition's play() pending when its source fails
* test(player): pin the sequences that find the play() and recovery faults with the slow host
* test(player): the table can start its generated sequences at any seed
* test(player): pin the generated sequences that find the recovered source skipped
* test(player): keep the pinned sequences that are red in every run in both browsers
* test(player): a looping video starting over is not a seek after the composition's
* fix(core): a sealed video retries a recovered source and keeps the composition's play() alive
* test(core): the playback row watches the play() the runtime's retry makes
* test(player): a slow host delays its first answer only; the composition's own abort is skipped
* test(player): a loop restart is told from a seek by where the seek began
* test(player): restarts are read at metadata, and a buffering control judges no playback
* test(player): the table counts and limits the comparisons it skips
* test(player): our restore after a composition seek stays within a frame; all selections count
* test(player): a playhead counts as moving if it moves within a second
* fix(core): only the composition's own load() makes a sealed video retry a down source
* fix(core): a sealed video's down source stays down through the runtime's preload load
* test(player): judge sealed media rows by what each step makes possible, not page timing
* test(player): print sealed and unsealed seek landings each sealed media run
* test(player): read a looping clip after its loop restart in every film alike
* fix(core): the runtime's preload loads a media element once per source list
* fix(core): the runtime's prefetch shares the preload's one load per source list
* test(player): a table step interrupts the CORS handling's own reload, not the runtime's preload
* test(core): an undo puts a clip's colour grade back in a sealed preview in place
* fix(core): an undo of a colour grade applies in place in a sealed preview
* test(player): a second table seek lands during the CORS reload of a playing clip
* test(core): an undo in a sealed preview keeps the media attributes the runtime added
* fix(core): an undo in a sealed preview keeps the media attributes the runtime added
* test(player): the playing-clip seek row plays a clip that starts past 0, as a trimmed one does
* test(player): the playing-clip seek is armed with its video, before the play step waits
* test(player): the down-then-back row reloads again, so every film's control has a frame
* test(player): the playing-clip seek row's host answers late, so the clip plays before its reload
* fix(player): a sealed player plays a same-site composition with the runtime it ships
* fix(player): a switch to video unloads a sealed composition shown as srcdoc
* test(core): the runtime's preload mid-selection keeps a down source's mark
* fix(core): a sealed film's down source keeps its mark through the runtime's own loads
* chore(player): fallow reads the cjs and iife runtime file as an entry
* fix(core): declare the html-tokens subpath where package exports are generated
* fix(player): a sealed composition that brings its runtime loads by src under its own headers
* test(player): expect the sealed player's own timeout message in the late-runtime tests
* test(core): a grade undo on a far clip whose length is loading applies in place
* fix(core): a far clip's length probe records the preload it sets, so a grade undo applies
* fix(player): a sealed film shown as srcdoc keeps its URL, so its sound still plays
* test(player): the late-timeline switch uses a film from another origin, which must still fail
* fix(player): a sealed Studio preview keeps its own runtime and loads by src
* fix(player): the player package carries the runtime once, and Studio none
* fix(core): a sealed video reads its own source's pixels in a list that names another host
* fix(player): a sealed player with no bundler still gets the runtime, only when it needs it
* fix(core): keep the mixed-list change within the comment budget
* fix(core): opt a mixed list in only when its first source plays, so a reload keeps that video
* fix(core): a CORS reload keeps the source that was playing
* fix(core): the composition's own load() picks from its full source list again
* fix(core): a reload's pin keeps a source type the composition wrote meanwhile
* fix(core): a reload's pin stops at the source the browser picked, not a skipped copy of its URL
* fix(core): a reload's pin stops at the source element that played, not the first copy of its URL
* fix(core): a reload's pin keeps the source element that played or refused
* style(core): format the source pin
* style(player): keep the runtime source comment under the line limit
* fix(player): only a real </script> closing tag ends a script in the runtime check
* test(player): count the sealed helper's loads by the crossorigin they change
* fix(core): a sealed video asks its host once before treating a failed CORS load as a refusal
* test(player): the sealed table expects pixels from a host that answers CORS after a failed load
* test(core): each refusal row waits for the CORS question it starts
* test(player): the sealed media table waits on each clip's own events
* refactor(core): a pinned-out source's error gets its own check in the sealed media helper
* test(player): the loop restart wait keeps its two-second window
* style(player): format the table's event wait
* chore(fallow): resolve workspace exports to source as bun does, so no false package cycle
* refactor(player): read script tag attributes in small steps, the same result
* refactor(player): the shader loading attribute reads its words from one table
* refactor(player): the attribute helpers' names say what their comments did
* fix(core): the CORS question never follows a redirect, and stays quiet while it waits
* style(core): format the CORS question's rows
* test(player): a sealed same-site page keeps its own policy; a stuck fetch reports the limit
* fix(player): a sealed same-site page keeps its own policy, and a stuck fetch ends at the limit
* fix(player): a sealed page whose headers can't all be read, as after a redirect, loads by src
* style(player): format the sealed player and name the probe's preparation state
A folder above the CLI's own package that holds packages/aws-lambda no longer counts as a checkout, and a source checkout is named before it is built or deployed from.
* fix(parsers): refuse media paths with digits between a percent sign and a wildcard
* test(parsers): end ffprobe options with -- in the installed-ffprobe check
* fix(cli): measure refuses output paths ffmpeg would write as a pattern
* fix(cli): measure probe --normalize refuses a pattern-like output
* fix(parsers): refuse media paths with digits between a percent sign and a wildcard
* fix(skills): refuse media paths ffmpeg would read as a pattern in skill scripts
* fix(cli): media-use probes refuse paths ffmpeg would read as a pattern
requestSubPath now matches its route on decoded segments, as Hono does,
and returns null when the route is not in the URL. Every caller refuses
that request. The received-files follower refuses it too, so it and the
file route always act on the same path. The /api forwarder strips the
first segment however it is spelled.
* chore: release v0.9.88
* chore: release notes for v0.9.88 list #8634 merged since the cut
* chore: release notes for v0.9.88 list #8618 merged since the cut
* chore: release notes for v0.9.88 list #8618 in its section, after the summary
* chore: release v0.9.87
* chore: release notes for v0.9.87 list the player fix merged since the cut
* chore: release notes for v0.9.87 list the studio fix merged since the re-cut
* chore: release notes for v0.9.87 list the docs change merged since the re-cut
* chore: release notes for v0.9.87 list the CLI fix merged since the re-cut
* chore: release notes for v0.9.87 link #8624 to its own pull request
* test(cli): count print calls whose value is not plainly the CLI's own
Each CLI source file's count of such print calls is kept in a baseline,
so a new one shows up in the change that adds it. Print calls whose
output another program reads are named in the test.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* test(cli): tighten the print count rule
A name the file declares itself is no longer taken for the colour helper
or a converter, a local form of a value counts unless the value is a
number, JSON text inside a line for people counts, and spinner lines and
clack's framing calls are counted too. A file listed with more calls than
it has now gets a message that names the list.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* test(cli): name the lines other programs parse
The count rule now also sees writes to a bare `stdout` or `stderr`, and
the `@hf-*` lines and the `--json` failure body are listed as output for
another program instead of sitting in the baseline.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
A failed --json run of lambda, cloudrun and beats answered with the
message as people see it on the terminal, with control characters
already written out as text. The JSON message now carries the value as
it was given; the line for people is unchanged.
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(cli): show control characters as text in more lines that repeat a stored value
Lines printed by the timeline edit commands, check, diff, preview --list,
telemetry status, the update and skills notices, the FFmpeg install hint, the
cloud render data-fps warning, the capture font summary, the project key notice
and the plain progress lines of a run with no terminal now pass the repeated
value through the text helpers, as the other commands' lines do.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(cli): leave Windows line endings out of a planned diff
A file saved with CRLF line endings had every changed line of the
planned diff end in a visible \x0d. The line ending is now dropped
before the line is shown; a carriage return inside a line still shows.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(skills): ask before usage notes and destroy, and keep media downloads on public hosts
Media downloads now connect only to an address the host name resolved to after checking it is public; a name that points at a private address is refused before connecting. Skills tell the person once before sending usage notes and honour a no; a catalog gap report no longer carries the search text. Reverse says plainly it needs a HyperFrames Pro sign-in, and cloudrun/lambda destroy wait for the person's yes.
* fix(media-use): give each media download its own connection
* chore(skills): refresh the skills manifest and split out the gap report step
A process that may only read the history folder now finds a live owner's lock busy at once instead of reporting the refused claim write, so readers show the history quietly.
* test(producer): an older GSAP our templates name, or a blocked CDN's GSAP 3, renders offline
* fix(producer): a render serves every GSAP the CLI ships, and its own when the CDN is blocked
* fix(cli): the CLI's size limit covers the GSAP 3.14.2 files renders serve
* fix(cli): make the cache folder private before a pinned download writes into it (SECOPS-2745)
The measuring tools' pinned-file downloader (measure/pinnedFiles.ts, for the
MediaPipe hand landmarker) made its folder with a plain mkdir, downloaded into
it, and only checked the folder was private in the seal afterwards. A folder
another account owned, a group/world-writable one, or a link out of the cache
received the bytes before the refusal. The model downloaders were worse: the
TTS and background-removal models (utils/pinnedFile.ts) and the whisper models
never checked at all, and trusted a cached copy from such a folder.
Every pinned download into the HyperFrames cache now runs
ensurePrivateCacheDir first: a new folder is made 0700, the person's own
group/world-writable folder loses those bits, and a link, a foreign owner or a
folder another account can change is refused before any partial or final file
is written or any cached copy is used. Temp files stay inside the verified
folder and are renamed into place. opencv.ts, which already did this, now
shares ensurePinnedFiles instead of its own copy of the loop.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(cli): keep the pinned downloaders' comment share at the base (SECOPS-2745)
Cuts the comment lines the private-cache fix added to pinnedFiles.ts,
pinnedFile.ts and whisper/manager.ts so each file's comment share is back
at or under its merge-base share, and names ensurePinnedFile's root
cacheRoot so the call reads without the comment.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(cli): publish updates a committed project only when this machine linked the folder (SECOPS-2048)
.hyperframes/project.json travels with every copy of a project (a clone,
a zip, a download), yet publish took its project id and space id as the
update target, and with --yes overwrote any project the recipient could
write without asking.
Publish now updates the descriptor's project, and uses its space, only
when this machine's own link record (outside the folder, keyed by its
path) names the same project and space. The link record now keeps the
space it published into; records from before keep linking their own
project. Otherwise:
- interactively, publish asks "Update project <id> in place? No
publishes this folder as its own project." with No as the default;
No publishes a new project and rewrites the descriptor to it
- with --yes, publish refuses (publish_target_unconfirmed) and points
to --update <id> [--space <space>]
- --update <id> still names the project explicitly, but the
descriptor's space is not used unless --space names it
checkPublishTransition counts the descriptor as a legacy update under
the same rule.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor(cli): carry the publish link rules in names, not comments (SECOPS-2048)
The comment ratchet allows a file's comment share only to go down. Drop
the comments the fix added and name the meaning instead: PERSONAL_SPACE
for the "" space id, recordPredatesSpaces for a link record written
before the space was kept, teamLinkedHere in the publish transition.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test(cli): keep projectLink's real exports in the publishProject mock (SECOPS-2048)
publishProject now imports PERSONAL_SPACE from projectLink; the mock
replaced the whole module, so the constant was missing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(cli): print project file names in check's stderr notes as visible escapes (SECOPS-2752)
The text_over_face note printed the unread video's reason raw, and that
reason carries the project's file name and the decoder's own error text,
so a video named with ESC, BEL or CR could drive the terminal during
`hyperframes check`. The same check output path had four more lines
printing project-derived text raw: the project-lock waiting notice (the
holder is read from the project's lock file), the "images did not load"
warning (image addresses read back from the page), the font-localization
warning (the injector's error text), and the saved report's Revision line
(read from the project's history).
Each now goes through the existing @hyperframes/core terminal-text helper:
terminalLines where the text is an error message whose line breaks are
kept, terminalText for one-line notices. Plain names print as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(cli): keep check's escape fix within the comment ratchet and testable on Windows (SECOPS-2752)
Drop the three comment lines the escape fix added to source files, which
raised their comment share. The text_over_face hostile-name test now feeds
the name through the candidate and an injected reader, so it runs on every
platform; the real-reader case, which needs a file named with control
characters, runs everywhere but Windows, whose file names cannot hold them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* chore: release v0.9.81
* chore: release v0.9.81 notes list the changes merged since the draft
* chore: release v0.9.81 notes list the changes merged since the draft
* refactor(core): keep the SVG element and attribute allowlist in its own module
* test(studio): clipboard writes refuse markup a scripting preview reads differently
* fix(studio): paste and duplicate write only allowed markup unless it comes from the same file
* test(core): inline SVG with its namespace declarations pastes from another file
* fix(core): paste keeps SVG namespace declarations and checks xlink:href as a link
* chore(cli): regenerate the media-use SVG sanitizer from its moved allowlist
* test(cli): the doctor output test prints rows without running every machine check
* test(cli): call the row printer directly in the doctor output test
* test(cli): a render's encoder failure or crash names its code for Desktop
* fix(cli): a crashed or encoder-failed render tells Desktop its code
* fix(cli): an encoder failure is named by its encoder class before a file error
* test(cli): a bad source clip or a full disk is not named an encoder exit
* fix(cli): only the encoder's own failures are named encoder exits, file codes first
* fix(cli): a usage error or a --json render keeps stdout free of the code line
* fix(media-use): refuse links under .media before reserving, writing or recording
A received project could carry links at .media, at a type folder, at the
next asset name or its .tmp name, or at the preferences store's temp
names, and resolve or prefs record wrote through them to files outside
the project.
- ownMediaDir now checks every folder down to the type folder, making
each one level at a time, before the lock, the allocator, the record
append or a project preference write touches anything inside it.
- The allocator ignores ids past nine digits, so a planted huge id can't
push it back onto a name the project holds, and it skips any name that
already exists.
- The asset writers and the LUT .tmp writers create new files only.
- The preferences store writes through replaceFile, a random temp name
created exclusively and renamed into place.
Both copies of manifest.mjs and prefs-store.mjs change together.
* test(media-use): read the preferences file through one no-follow handle
The test checked the file's type and then read it by path, which CodeQL
reports as a check-then-use race. Open it once without following a link
and check and read through that handle.
* fix(media-use): keep a failed write's error when replaceFile can't remove its temp file
The preferences store now writes through replaceFile. Its old write made
temp cleanup best-effort, so a cleanup error never hid the write error,
and the store's tests guard that. replaceFile now does the same.
* fix(media-use): leave freezeUrl's write as it was
CodeQL's http-to-file-access rule flags every write of downloaded bytes,
and main already carries that alert on this line. Adding the wx flag only
re-keyed it as new. The reserved name freezeUrl writes is already checked
free in a checked folder, so the line goes back to main's text; copying a
local file keeps COPYFILE_EXCL.
* Revert "fix(media-use): leave freezeUrl's write as it was"
This reverts commit 1427e73ec2.
* chore: release v0.9.80
* chore: release v0.9.80 notes list the changes merged since the draft
* chore: release v0.9.80 notes list the changes merged since the draft
The still-copying heartbeat that check prints while it makes
browser-playable copies now passes the video's file name through
terminalText, so control characters show as escapes and the line stays
on one line. check --prepare-media prints a failed file's name the same
way, while the reason keeps its own lines.
The printed-text wiring test now also covers the media-copy progress
lines in checkBrowser.ts.