Write HTML. Render video. Built for agents.
JavaScript aiai-agentsanimationclaude-codeffmpegframeworkgsaphtmlhtml-to-videomcpmotion-graphicspuppeteerrenderingtypescriptvideo-editor
chore: release v0.7.85
Vance Ingalls12ee86112394
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.jsonindex 0b7e3c84bb..0954225376 100644--- a/.claude-plugin/plugin.json+++ b/.claude-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "hyperframes","description": "HyperFrames by HeyGen. Write HTML, render video. Compositions, GSAP and runtime adapter animations, captions, voiceovers, audio-reactive visuals, and website capture for HyperFrames.",- "version": "0.7.84",+ "version": "0.7.85","author": {"name": "HeyGen","email": "[email protected]",diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.jsonindex 334ffb3a32..42e765658c 100644--- a/.codex-plugin/plugin.json+++ b/.codex-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "hyperframes","description": "Write HTML, render video. Compositions, Tailwind v4 styles, GSAP and runtime adapter animations, captions, voiceovers, audio-reactive visuals, and website capture for HyperFrames.",- "version": "0.7.84",+ "version": "0.7.85","author": {"name": "HeyGen","email": "[email protected]",diff --git a/.cursor-plugin/plugin.json b/.cursor-plugin/plugin.jsonindex bc2b593897..b3ea9cf8b0 100644--- a/.cursor-plugin/plugin.json+++ b/.cursor-plugin/plugin.json@@ -3,7 +3,7 @@"name": "hyperframes","displayName": "HyperFrames by HeyGen","description": "Write HTML, render video. Compositions, Tailwind v4 styles, GSAP and runtime adapter animations, captions, voiceovers, audio-reactive visuals, and website capture for HyperFrames.",- "version": "0.7.84",+ "version": "0.7.85","author": {"name": "HeyGen","email": "[email protected]"diff --git a/docs/changelog.mdx b/docs/changelog.mdxindex 183ebe0134..2a29a132d5 100644--- a/docs/changelog.mdx+++ b/docs/changelog.mdx@@ -8,6 +8,50 @@ Recent HyperFrames releases, including user-facing features, fixes, and migratio{/* New release entries are prepended by `bun run changelog:draft <version> --write`. */}+<Update+ label="HyperFrames v0.7.85"+ description="Released - 2026-07-30"+ tags={["Release", "Prompting", "Studio", "Docs"]}+>+Ships the **Prompt Guide** — a novice-to-capstone arc across `/prompting`, where every prompt sits beside the unedited render it produced and each chapter cuts its own region out of one 62-second capstone film. The guide now opens with the intent interview the agent runs before building, and records its answers to `BRIEF.md` so a later session resumes without re-asking. Also lands fixes from running `product-launch-video` end to end, plus lint and transition-duration corrections.++## Features++- **Studio:** Track timeline performance ([10b517dab](https://github.com/heygen-com/hyperframes/commit/10b517dab9515988cb82100c3975b53a47da1f35), [#2898](https://github.com/heygen-com/hyperframes/pull/2898))++## Fixes++- **Docs:** Correct mediabunny GitHub link in CREDITS.md ([1481fe1ed](https://github.com/heygen-com/hyperframes/commit/1481fe1ed936ee2aac7220061f258155c274bfb8), [#2897](https://github.com/heygen-com/hyperframes/pull/2897))+- **Skills:** Extend transition roots without explicit duration ([14ced9051](https://github.com/heygen-com/hyperframes/commit/14ced9051795b32db75a479ac2580eef3c5df85c), [#2873](https://github.com/heygen-com/hyperframes/pull/2873))+- **Lint:** Don't flag unresolved templating-token asset srcs as missing ([6c185f252](https://github.com/heygen-com/hyperframes/commit/6c185f252f38a5a1f1dc9e23f17ef98f63ea18c7), [#2893](https://github.com/heygen-com/hyperframes/pull/2893))+- **Capture,audio,docs:** Defects found running product-launch-video end to end ([e0dc255e8](https://github.com/heygen-com/hyperframes/commit/e0dc255e8a4108833ac727d54f4b039cca397042), [#2892](https://github.com/heygen-com/hyperframes/pull/2892))++## Docs & Examples++- **Prompt Guide:** Restructured into a seven-level arc, novice to capstone, with the nav regrouped to match ([#2109](https://github.com/heygen-com/hyperframes/pull/2109))+- **Prompt Guide:** Every embedded render is now reproducible from the prompt printed beside it — 18 verified examples, plus validated renders across the chapters+- **Prompting:** The eight-rule motion grammar, each rule shown as an A/B render built twice from the same composition ([8fb1482e7](https://github.com/heygen-com/hyperframes/commit/8fb1482e7ff59a7007e5f6e40d38a7a02ede3adb), [cdac57c07](https://github.com/heygen-com/hyperframes/commit/cdac57c0757cee22db67e9595b29809cfabd056c), [dd4fd9cef](https://github.com/heygen-com/hyperframes/commit/dd4fd9cefaa1f5816a8a2ff404e2152af542b25d))+- **Prompting:** New capstone chapter dissecting *The Timeline* — one continuous camera across nine regions, rendered twice from one template ([a90e343e8](https://github.com/heygen-com/hyperframes/commit/a90e343e8e4f7c15424cb2b33030a2522509218d))+- **Prompting:** New chapters for storyboards, porting from Remotion, and recreating a reference from text alone ([630ad482c](https://github.com/heygen-com/hyperframes/commit/630ad482c627c850dcc4dade7b4aef5a189f3bb5), [ead4341c7](https://github.com/heygen-com/hyperframes/commit/ead4341c7c7d57a78c944d7e3fbac1ed545d9cfd))+- **Prompting:** "Avoiding the slideshow" — the continuity contract, framed as one method among several ([4f6fb8fc1](https://github.com/heygen-com/hyperframes/commit/4f6fb8fc16c566bd8f473820a559a16c15b1fbeb))+- **Prompting:** Documented the intent interview, run-shape questions, and `BRIEF.md` ([2efbfd475](https://github.com/heygen-com/hyperframes/commit/2efbfd47583f75534b194d90ec0f689278b370f5), [#2872](https://github.com/heygen-com/hyperframes/pull/2872))+- **Prompting:** Appendix of traps the validation runs exposed — layout waivers and the contrast-gate side effect, `fromTo` back-render, round-linecap dots ([4d89bd426](https://github.com/heygen-com/hyperframes/commit/4d89bd426150e054cf42e3c05d6bc75585bcffbb), [fda3d9a65](https://github.com/heygen-com/hyperframes/commit/fda3d9a65af9ef02c21bf4c632857ff0f801f925))+- **Prompting:** `frame.md` is the design spec; `design.md` references removed throughout ([4260f12b0](https://github.com/heygen-com/hyperframes/commit/4260f12b01a7bbcd9b5841e5f29cbba02fe0604f))+- **Skills:** Text corrections found while validating the guide's prompts ([e7a6cb0da](https://github.com/heygen-com/hyperframes/commit/e7a6cb0da622e2086afb27fe1ecb6144af2734c4))++Every prompt-guide commit is listed in the full changelog below.++## Catalog++- **Prompting:** Fix misquoted caption-color phrase in captions-catalog bridge ([16224fd2f](https://github.com/heygen-com/hyperframes/commit/16224fd2fbd1b591e88e4029352d682dcf8b734d))++## Internal++- Format prompt-guide-expansion plan (fixes Format CI) ([b71ce85c2](https://github.com/heygen-com/hyperframes/commit/b71ce85c2cd830d16af28299adf2df6938ab306a))++[View the full commit range](https://github.com/heygen-com/hyperframes/compare/v0.7.84...v0.7.85).+</Update>+<Updatelabel="HyperFrames v0.7.84"description="Released - 2026-07-30"diff --git a/docs/superpowers/plans/2026-07-13-media-use-sfx-cli-advisory.md b/docs/superpowers/plans/2026-07-13-media-use-sfx-cli-advisory.mddeleted file mode 100644index 0742817b6f..0000000000--- a/docs/superpowers/plans/2026-07-13-media-use-sfx-cli-advisory.md+++ /dev/null@@ -1,88 +0,0 @@-# Media-use SFX CLI Advisory Implementation Plan--> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.--**Goal:** Surface an actionable install/update advisory when bundled SFX succeeds specifically because the HeyGen CLI is missing or outdated.--**Architecture:** Extend the existing HeyGen error classifier with process-local remediation state, consume it only after `bundled.sfx` wins, and expose it through the existing result formatter. Preserve successful fallback, existing stderr diagnostics, telemetry, and provider ordering.--**Tech Stack:** Node.js ESM, `node:test`, media-use resolver CLI, generated skills manifest.-------### Task 1: Pin remediation state behavior--**Files:**-- Modify: `skills/media-use/scripts/lib/heygen-cli.test.mjs`-- Modify: `skills/media-use/scripts/lib/heygen-cli.mjs`--- [ ] **Step 1: Write failing tests**--Add tests that call `reportHeygenFailure` with `ENOENT`, an outdated-version error, and a non-actionable error, then assert a new `consumeHeygenRemediation()` returns `{ code, message }` once for only `not_found` and `outdated`.--- [ ] **Step 2: Verify RED**--Run: `node --test skills/media-use/scripts/lib/heygen-cli.test.mjs`-Expected: FAIL because `consumeHeygenRemediation` is not exported.--- [ ] **Step 3: Implement minimal state**--Store the latest `not_found` or `outdated` result inside `reportHeygenFailure`; export a consume-once function that returns and clears it. Do not store auth, quota, network, or generic failures.--- [ ] **Step 4: Verify GREEN**--Run the same test; expected: PASS.--### Task 2: Attach the advisory only to implicit bundled fallback--**Files:**-- Modify: `skills/media-use/scripts/resolve.test.mjs`-- Modify: `skills/media-use/scripts/resolve.mjs`--- [ ] **Step 1: Write failing resolver tests**--Add subprocess cases for missing CLI and outdated CLI that resolve bundled SFX and assert `advisory.message` contains the canonical install/update command. Add negative cases for `--local-only`, `--provider bundled.sfx`, and a healthy catalog miss.--- [ ] **Step 2: Verify RED**--Run: `node --test skills/media-use/scripts/resolve.test.mjs`-Expected: FAIL because successful JSON results do not contain `advisory`.--- [ ] **Step 3: Implement result plumbing**--After provider resolution, consume remediation only when the winner is `bundled.sfx`, the run is not local-only, and no provider override was supplied. Attach it to the record/result; print a concise human hint and include the structured object in JSON.--- [ ] **Step 4: Verify GREEN**--Run the resolver test; expected: all cases PASS.--### Task 3: Regenerate and verify--**Files:**-- Modify: `skills-manifest.json`--- [ ] **Step 1: Format changed files**--Run `bunx oxfmt` on the four changed source/test files.--- [ ] **Step 2: Regenerate manifest**--Run: `bun packages/cli/scripts/gen-skills-manifest.ts`--- [ ] **Step 3: Run required checks**--Run:--```bash-node --test skills/media-use/scripts/lib/heygen-cli.test.mjs skills/media-use/scripts/lib/registry.test.mjs skills/media-use/scripts/resolve.test.mjs-bun run lint:skills-bun run test:skills-bun run format:check-bun packages/cli/scripts/gen-skills-manifest.ts --check-```--Expected: zero failures and an in-sync manifest.--- [ ] **Step 4: Commit and push**--Commit the implementation and generated manifest, push to `fix/media-use-bundled-sfx`, then wait for PR #2257 CI to become terminal and green.diff --git a/docs/superpowers/specs/2026-07-13-media-use-sfx-cli-advisory-design.md b/docs/superpowers/specs/2026-07-13-media-use-sfx-cli-advisory-design.mddeleted file mode 100644index 8b71a62e0b..0000000000--- a/docs/superpowers/specs/2026-07-13-media-use-sfx-cli-advisory-design.md+++ /dev/null@@ -1,34 +0,0 @@-# Media-use SFX CLI advisory design--## Goal--When SFX resolution succeeds through the bundled fallback because the HeyGen CLI is missing or outdated, tell the agent how to restore the broader HeyGen catalog path. Keep bundled fallback successful and never install software automatically.--## Behavior--- Reuse the existing HeyGen CLI error classification produced by the failed catalog provider call.-- Retain only the latest actionable `not_found` or `outdated` remediation for the current resolver process.-- When `bundled.sfx` wins after that failure, include a structured advisory in JSON output and print the same concise hint in human output.-- Use the existing canonical remediation:- - Missing: install the [HeyGen CLI](https://developers.heygen.com/cli), then run `heygen auth login --oauth`- - Outdated: `heygen update`-- Do not emit this advisory for authentication, quota, network, or legitimate empty-catalog results; `--local-only`; or an explicitly forced bundled provider.-- Do not execute the install or update command.--## Components--1. `heygen-cli.mjs` records and exposes one process-local actionable remediation alongside the existing logging and telemetry behavior.-2. `resolve.mjs` consumes that remediation only when the winning provider is `bundled.sfx`, then attaches it to the result.-3. The result formatter exposes the advisory consistently to JSON and human consumers.--## Tests--- Missing CLI followed by bundled fallback returns the install advisory.-- Outdated CLI followed by bundled fallback returns the update advisory.-- A healthy CLI with a legitimate catalog miss returns bundled SFX without an install/update advisory.-- `--local-only` and explicit bundled-provider resolution do not suggest installation.-- Existing fallback, registry, skill, format, and manifest checks remain green.--## Safety--This is recommendation-only. It does not cross the software-install consent boundary, run a shell, or turn a successful local fallback into an error.diff --git a/docs/superpowers/specs/2026-07-16-transparent-proxy-hardening-design.md b/docs/superpowers/specs/2026-07-16-transparent-proxy-hardening-design.mddeleted file mode 100644index 03b9c7e4e3..0000000000--- a/docs/superpowers/specs/2026-07-16-transparent-proxy-hardening-design.md+++ /dev/null@@ -1,128 +0,0 @@-# Transparent Proxy Hardening Design--## Context--PR #2462 adds transparent authoring proxies for browser-hostile codecs. Its server-side-FFmpeg architecture is the correct foundation: Chrome Headless Shell cannot decode HEVC-through WebCodecs, and MediaBunny server support ultimately wraps FFmpeg through NodeAV.-The review found lifecycle, policy, and coverage gaps that must be resolved before merge.--## Goals--- Preserve transparent preview recovery for hostile HEVC and ProRes media.-- Never destroy alpha as an accidental fallback.-- Bound CPU, memory, queue, cache, and caller wait time.-- Apply one proxy policy consistently across scan, runtime rescue, check, and publish.-- Make path lookup safe across Unicode/case differences without allowing project escapes.-- Make partial publish behavior explicit and test render/publish separation with real media.-- Preserve the existing system-FFmpeg subprocess boundary and zero new media runtime dependency.--## Non-goals--- Replacing FFmpeg with MediaBunny or NodeAV in this PR.-- Proxying alpha-bearing media to opaque H.264.-- Changing final render inputs or silently publishing incomplete hostile-media coverage.--## Architecture--### 1. Canonical project media identity--Create one resolver used by codec-map lookup and proxy resolution:--1. Resolve the authored path exactly first.-2. Build a project-relative index normalized to POSIX separators, Unicode NFC, and lowercase.-3. Use the normalized fallback only when it maps to exactly one file; ambiguous case/Unicode- collisions fail explicitly.-4. Resolve symlinks with real paths and reject any source outside the real project root.--The codec map stores canonical relative identities so scan and runtime rescue cannot disagree.--### 2. One alpha-aware proxy policy--Centralize the decision into a single policy function consumed by:--- initial scan and prewarm,-- mapped runtime recovery,-- unlisted/runtime rescue,-- check-browser recovery,-- publish bake.--Unknown/unlisted media is probed before transcoding. Alpha-bearing media is returned as an-explicit unsupported result and is never sent through the opaque H.264 proxy path. Browser-safe-mapped media follows the same policy at every runtime fallback tier.--### 3. Bounded transcode lifecycle--- Keep the two-process transcode semaphore.-- Add a bounded wait queue and a typed overload error mapped to HTTP 503 plus Retry-After.-- Deduplicate in-flight work by canonical cache key.-- Cache transient failures only for a short TTL; keep FFmpeg-unavailable recoverable immediately.-- Give publish/check callers explicit bounded waits. Caller timeout does not cancel shared work;- it returns a typed timeout while the deduplicated transcode may finish and warm the cache.-- Preserve subprocess timeout/SIGKILL and atomic temp-then-rename behavior.--### 4. Bounded cache--Maintain cache metadata from file stat data and sweep opportunistically at a rate-limited cadence.-Defaults:--- 30-day maximum idle age,-- 10 GiB maximum total size,-- oldest-accessed entries removed first,-- active/in-flight entries excluded,-- stale temp files removed separately.--Environment/config overrides allow constrained machines to lower the cap. Cache cleanup failures-are warnings, never preview failures.--### 5. Complete CLI/config plumbing--Carry the resolved proxy setting through regular preview, dev, local-studio, and static server-spawn paths. Both positive and negative CLI flags override config consistently. Add contract tests-that exercise the final staticProjectServer arguments instead of only parser-level values.--### 6. Explicit publish outcome--Publish bake returns a structured manifest containing proxied, intentionally skipped, and failed-assets. Hostile non-alpha failures stop publish with the asset list; alpha skips remain explicit.-Callers surface the manifest in diagnostics so an incomplete publish cannot become a silent black-frame. Final render/cloud-render archive creation remains on the original-media path.--### 7. Regression coverage--Tests must cover:--- unlisted alpha rescue never invoking H.264 transcode,-- transient failure expiry,-- queue overload and HTTP 503 mapping,-- case/Unicode fallback plus ambiguity rejection,-- symlink/project containment,-- publish/check caller timeout,-- complete proxy flag forwarding,-- cache size/age eviction while preserving in-flight entries,-- publish manifest behavior,-- reactive/tertiary policy parity,-- bounded probe caches and global probe concurrency,-- preview-script escaping,-- a real hostile-codec fixture proving publish bake changes authoring archives while- render/cloud-render archives remain byte-identical and proxy-free.--## Alternatives--### Explicit pre-bake only--This removes on-demand queueing but loses transparent cold-preview recovery. Rejected because it-regresses the core authoring experience #2462 is meant to provide.--### MediaBunny replacement or hybrid--Browser MediaBunny inherits WebCodecs HEVC limits; its ProRes path adds a WASM extension and its-server path adds NodeAV native bindings over FFmpeg. It would remove little application lifecycle-code while weakening subprocess isolation. Rejected for this PR; a metadata-only spike can be-evaluated independently later.--## Rollout and merge gate--The material head requires fresh adversarial review from Via and Rames, all required CI green,-mergeable/dependency-clean state, and no unresolved human feedback. Skill-facing files already in-the PR require Wenbo and Miao visibility before merge.diff --git a/packages/aws-lambda/package.json b/packages/aws-lambda/package.jsonindex 8a21f790d3..886b61f6f0 100644--- a/packages/aws-lambda/package.json+++ b/packages/aws-lambda/package.json@@ -1,6 +1,6 @@{"name": "@hyperframes/aws-lambda",- "version": "0.7.84",+ "version": "0.7.85","description": "AWS Lambda adapter for HyperFrames distributed rendering — handler, client-side SDK, and CDK construct.","repository": {"type": "git",diff --git a/packages/cli/package.json b/packages/cli/package.jsonindex 7e554badeb..43f1d467d2 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -1,6 +1,6 @@{"name": "@hyperframes/cli",- "version": "0.7.84",+ "version": "0.7.85","description": "HyperFrames CLI — create, preview, and render HTML video compositions","license": "Apache-2.0","repository": {diff --git a/packages/core/package.json b/packages/core/package.jsonindex e678962672..a4454202a9 100644--- a/packages/core/package.json+++ b/packages/core/package.json@@ -1,6 +1,6 @@{"name": "@hyperframes/core",- "version": "0.7.84",+ "version": "0.7.85","description": "","repository": {"type": "git",diff --git a/packages/engine/package.json b/packages/engine/package.jsonindex c73c0ee65d..0b8f676575 100644--- a/packages/engine/package.json+++ b/packages/engine/package.json@@ -1,6 +1,6 @@{"name": "@hyperframes/engine",- "version": "0.7.84",+ "version": "0.7.85","description": "Seekable web page to video rendering engine (Puppeteer + FFmpeg)","repository": {"type": "git",diff --git a/packages/gcp-cloud-run/package.json b/packages/gcp-cloud-run/package.jsonindex 2720ee8316..2b44d6acc0 100644--- a/packages/gcp-cloud-run/package.json+++ b/packages/gcp-cloud-run/package.json@@ -1,6 +1,6 @@{"name": "@hyperframes/gcp-cloud-run",- "version": "0.7.84",+ "version": "0.7.85","description": "Google Cloud Run + Workflows adapter for HyperFrames distributed rendering — request handler, client-side SDK, and Terraform module.","repository": {"type": "git",diff --git a/packages/lint/package.json b/packages/lint/package.jsonindex 091e983987..59ccb7ce78 100644--- a/packages/lint/package.json+++ b/packages/lint/package.json@@ -1,6 +1,6 @@{"name": "@hyperframes/lint",- "version": "0.7.84",+ "version": "0.7.85","repository": {"type": "git","url": "https://github.com/heygen-com/hyperframes",diff --git a/packages/parsers/package.json b/packages/parsers/package.jsonindex a7995173fd..e7cc8708be 100644--- a/packages/parsers/package.json+++ b/packages/parsers/package.json@@ -1,6 +1,6 @@{"name": "@hyperframes/parsers",- "version": "0.7.84",+ "version": "0.7.85","repository": {"type": "git","url": "https://github.com/heygen-com/hyperframes",diff --git a/packages/player/package.json b/packages/player/package.jsonindex 6ffa397153..089c9b6441 100644--- a/packages/player/package.json+++ b/packages/player/package.json@@ -1,6 +1,6 @@{"name": "@hyperframes/player",- "version": "0.7.84",+ "version": "0.7.85","description": "Embeddable web component for HyperFrames compositions","repository": {"type": "git",diff --git a/packages/producer/package.json b/packages/producer/package.jsonindex 5f4161ed9b..8974edcb25 100644--- a/packages/producer/package.json+++ b/packages/producer/package.json@@ -1,6 +1,6 @@{"name": "@hyperframes/producer",- "version": "0.7.84",+ "version": "0.7.85","description": "HTML-to-video rendering engine using Chrome's BeginFrame API","repository": {"type": "git",diff --git a/packages/sdk/package.json b/packages/sdk/package.jsonindex 28a2e0b46e..267f89be11 100644--- a/packages/sdk/package.json+++ b/packages/sdk/package.json@@ -1,6 +1,6 @@{"name": "@hyperframes/sdk",- "version": "0.7.84",+ "version": "0.7.85","description": "Headless, framework-neutral HyperFrames composition editing engine","repository": {"type": "git",diff --git a/packages/shader-transitions/package.json b/packages/shader-transitions/package.jsonindex 2567cbca30..63c19d4f28 100644--- a/packages/shader-transitions/package.json+++ b/packages/shader-transitions/package.json@@ -1,6 +1,6 @@{"name": "@hyperframes/shader-transitions",- "version": "0.7.84",+ "version": "0.7.85","description": "WebGL shader transitions for HyperFrames compositions","repository": {"type": "git",diff --git a/packages/studio-server/package.json b/packages/studio-server/package.jsonindex bf12b428de..0216de4ab7 100644--- a/packages/studio-server/package.json+++ b/packages/studio-server/package.json@@ -1,6 +1,6 @@{"name": "@hyperframes/studio-server",- "version": "0.7.84",+ "version": "0.7.85","repository": {"type": "git","url": "https://github.com/heygen-com/hyperframes",diff --git a/packages/studio/package.json b/packages/studio/package.jsonindex 7d7a7e9992..1f5bf769a6 100644--- a/packages/studio/package.json+++ b/packages/studio/package.json@@ -1,6 +1,6 @@{"name": "@hyperframes/studio",- "version": "0.7.84",+ "version": "0.7.85","description": "","repository": {"type": "git",diff --git a/plans/2026-07-13-studio-flat-inspector-validation-session.md b/plans/2026-07-13-studio-flat-inspector-validation-session.mddeleted file mode 100644index ca2b6cc3ce..0000000000--- a/plans/2026-07-13-studio-flat-inspector-validation-session.md+++ /dev/null@@ -1,68 +0,0 @@-# Studio Flat Inspector — Session Log 2026-07-13--Worktree: `~/src/wt/hyperframes/de-split`. Continuation of the flat-inspector redesign stack (PRs #2120–#2190, plans in this directory dated 07-08/07-09).--## 1. Slider live-update bug (PR #2190) — investigated, held back--- User reported: dragging a slider (Layer blur on image/video clip) shows a wrong live value; correct value appears only after deselect. Reliable on their machine; **never reproduced** via scripted `agent-browser` testing (trusted CDP mouse events, sub-40ms synthetic drags, every cadence tried).-- Shipped defensively on PR #2190 branch: draft-state + **debounce** (commit `76bfce25f`), then discovered the debounce itself killed real-time preview during continuous drags (timer resets every pointermove) and replaced with a **throttle** — leading-edge commit + 40ms trailing flush (`0e39019f4`).-- Side-by-side comparison against the **published studio** (npm `hyperframes` 0.7.46, legacy `SliderControl` native range input) showed the same symptom class exists there too → **NOT a regression from the flat-inspector work; pre-existing**. User said stop; throttle commit stayed local, later pushed as part of the stack update.-- Memory saved: `project_flatslider_debounce_not_root_cause.md`. If this bug resurfaces, start fresh — suspect the live-preview GSAP patch path (`gsapLivePreview.ts` / `useGsapScriptCommits`), not `FlatSlider`.-- Key testing gotchas confirmed this session: synthetic `dispatchEvent` pointer events **cannot acquire pointer capture** in real Chromium (happy-dom allows it, browsers don't); `agent-browser mouse` per-call latency can't reach sub-40ms cadence, so throttle timing is only provable in unit tests.--## 2. Stack rebase onto main + conflict fix--- Rebased `studio-flat-01-foundation-text` onto latest `origin/main`; one real conflict in `StudioRightPanel.tsx` (main added the `DesignPanelPromoteProvider` wrapper; our commit added group-selection/hide-all wiring) — merged both. `gt restack` rippled through all 14 branches cleanly.-- `main` is checked out in another worktree → never `git checkout main`; use `git fetch origin main && git update-ref refs/heads/main FETCH_HEAD` before `gt submit`.-- Force-pushed the whole stack (`gt submit --no-edit --no-interactive --stack`); all 14 PRs updated.-- Reviewer feedback checked: 13/14 approved (miga-heygen full-stack review + miguel-heygen per-head passes). #2120 had a stale CHANGES_REQUESTED (merge conflict) — resolved by the rebase, commented for re-review. CI green 32/32.-- 55 test failures in `sdkResolverShadow` / `sdkCutoverParity` / `sdkCutover` / `useGsapPropertyDebounce` / `variablePromoteIntegration` are **pre-existing on main**, zero overlap with the stack. Ignore them; the studio baseline is "55 failed, rest pass".--## 3. Max-effort code review → 15 confirmed defects → all fixed (PR #2225)--50-agent workflow review (6 finder angles → 41 adversarial verifiers) over `origin/main...HEAD`; 46/48 candidates confirmed, collapsed to 15 distinct bugs. All fixed in **PR #2225** (`studio-flat-15-review-fixes`, one commit `77e59e87a`, stacked on #2190; state OPEN/MERGEABLE). Full finding-by-finding detail in the PR description.--Fixes, by file:--- `StudioRightPanel.tsx` + `timelineTrackVisibility.ts`: "Hide all" resolved bare DOM ids against scope-qualified timeline keys (silent no-op) AND raced N concurrent file writes (lost update). Now `timelineKeysForSelections` (new helper in `studioHelpers.ts`) + `toggleTimelineElementHidden` accepts `string[]` → one atomic write via the existing `setElementsHidden` batch path.-- `PropertyPanel.tsx` + `PropertyPanelEmptyState.tsx`: remount/React keys used `id ?? selector`, colliding for id-less same-selector siblings (stale grading state committed onto the wrong element). Now the 4-part `id|hfId|selector|selectorIndex` identity, extracted as `selectionIdentityKey` in `propertyPanelHelpers.ts` (deduped with legacy ColorGradingSection call site).-- `propertyPanelFlatTextSection.tsx`: restored `PromotableControl` wrappers around Content / text Color / Font family — variable bindings and promote-to-variable ("◇ var") work in flat mode again.-- `propertyPanelFlatStyleSections.tsx`: Mask select showed authored custom `clip-path` as "none" with a live reset → one click destroyed it. Now shows "custom" (re-select = no-op).-- `propertyPanelFlatMotionSection.tsx`: editing Duration/End on an inferred (animation-derived) range flipped inference off and shifted start to 0; editing Start looked dead. Any edit on an inferred range now pins BOTH `data-start` and `data-duration` (sequential awaits).-- `gsapLivePreview.ts`: live 3D-drag resolved first `querySelector` match; now honors `selectorIndex` (`resolvePreviewNode`).-- `propertyPanelFlatPrimitives.tsx` (FlatSlider): missing `disabled` guard on pointerup (disabled sliders committed); mid-drag prop echo reset draft (knob snap-back — fixed with `draggingRef`, plus `onPointerCancel`); reset button only rendered under `centerTick` (all Grade non-centerTick resets dead — now `centerTick || onReset`); no keyboard access (now `tabIndex`, `aria-valuemin/max`, Arrow/Page/Home/End via `sliderKeyTarget`).-- `useColorGradingController.ts`: transient `/media/metadata` fetch failure cached `null` forever, permanently suppressing the HDR banner — failures no longer cached.-- `PropertyPanelFlat.tsx`: Style summary `|| 1` falsy-zero showed opacity 0 as 100% (now `Number.isFinite` guard); removed the lying "drag values to scrub" Layout accessory (FlatRow has no scrubbing).--New regression tests (5): batch hide = one atomic write + "Hide 2 elements" label; disabled-release no-commit; keyboard operation; mid-drag echo no-snap-back; non-centerTick reset reachable. Suite: **1689 passed** + the known 55.--Build-gate lessons (lefthook): `rtk`-wrapped `git commit` silently no-ops — use `/usr/bin/git commit`. Filesize gate = 600 lines/file (drove the helper extractions above). Fallow complexity gate caught two arrows → extracted `resolvePreviewNode` and `sliderKeyTarget`.--## 4. Section styling tweak — UNCOMMITTED--Per user: headers vs open-section body need slightly different colors; body lighter + inset shadow.--- `tailwind-preset.shared.js`: new token `panel."bg-inset": "#121214"` (headers stay `panel-bg` `#0C0C0E`).-- `PropertyPanelFlat.tsx` open-group body div: `bg-panel-bg-inset shadow-[inset_0_2px_4px_-1px_rgba(0,0,0,0.5)]`.-- Live-verified (computed style: `rgb(18,18,20)` + inset shadow). **These 2 files are dirty in the worktree — not committed, not reviewed.**--## 5. Dev-loop mechanics (how to run all this)--- Flat inspector is OFF by default — baked in at Vite build time. A plain `hyperframes preview` shows the LEGACY panel (this bit us once).- ```bash- cd ~/src/wt/hyperframes/de-split/packages/studio && VITE_STUDIO_ENABLE_FLAT_INSPECTOR=true bunx vite build- cd ../cli && node scripts/build-copy.mjs # copies studio dist into cli dist (don't run parallel with tsup)- cd <project-dir> && node ~/src/wt/hyperframes/de-split/packages/cli/dist/cli.js preview --force-new- ```-- Test project: `/private/tmp/claude-501/-Users-vanceingalls-src-hyperframes/c653a869-1f02-4525-b928-1a8a37b4cdaa/scratchpad/flat-inspector-demo` (has Title Text / Image Clip / Video Clip + color-grading wrappers; known benign `gsap_from_opacity_noop` lint warning). Server was last on `localhost:3004`.-- Stale localStorage once made the timeline render empty ("Drop media here", 0:00 duration) while the iframe was actually fine — `localStorage.clear(); sessionStorage.clear()` + reload fixed it. Check before debugging "composition won't load".-- Published-studio comparison: plain `hyperframes preview` (global npm 0.7.46) on the same project, lands on the next free port.--## 6. Open items--1. **Commit + PR the section styling** (item 4) once user approves the look.-2. **PR #2120 re-review** — asked miguel-heygen to clear the stale conflict blocker; confirm it flips to approved.-3. **PR #2225 review** — fresh, unreviewed.-4. **Manual validation of the 15 fixes** — only unit-tested + spot-checked live. Worth hand-validating: multi-select "Hide all" (needs 2+ selected elements), variable-bound text promote/edit round-trip, custom clip-path mask survival, inferred-timing edits, keyboard sliders, disabled-slider click.-5. **Original slider live-value bug** — unexplained, pre-existing, reproducible only by the user. Parked.-6. Separate branch `fix/manual-edit-live-preview-stale` (SSE-suppression timestamp race, commit `57ced0bf6`, reviewed+approved, based on origin/main) — **still not submitted as a PR**; submit only when asked.diff --git a/releases/v0.7.85.md b/releases/v0.7.85.mdnew file mode 100644index 0000000000..14cdf8f6d7--- /dev/null+++ b/releases/v0.7.85.md@@ -0,0 +1,43 @@+# HyperFrames v0.7.85++Released on 2026-07-30.++Ships the **Prompt Guide** — a novice-to-capstone arc across `/prompting`, where every prompt sits beside the unedited render it produced and each chapter cuts its own region out of one 62-second capstone film. The guide now opens with the intent interview the agent runs before building, and records its answers to `BRIEF.md` so a later session resumes without re-asking. Also lands fixes from running `product-launch-video` end to end, plus lint and transition-duration corrections.++## Features++- **Studio:** Track timeline performance ([10b517dab](https://github.com/heygen-com/hyperframes/commit/10b517dab9515988cb82100c3975b53a47da1f35), [#2898](https://github.com/heygen-com/hyperframes/pull/2898))++## Fixes++- **Docs:** Correct mediabunny GitHub link in CREDITS.md ([1481fe1ed](https://github.com/heygen-com/hyperframes/commit/1481fe1ed936ee2aac7220061f258155c274bfb8), [#2897](https://github.com/heygen-com/hyperframes/pull/2897))+- **Skills:** Extend transition roots without explicit duration ([14ced9051](https://github.com/heygen-com/hyperframes/commit/14ced9051795b32db75a479ac2580eef3c5df85c), [#2873](https://github.com/heygen-com/hyperframes/pull/2873))+- **Lint:** Don't flag unresolved templating-token asset srcs as missing ([6c185f252](https://github.com/heygen-com/hyperframes/commit/6c185f252f38a5a1f1dc9e23f17ef98f63ea18c7), [#2893](https://github.com/heygen-com/hyperframes/pull/2893))+- **Capture,audio,docs:** Defects found running product-launch-video end to end ([e0dc255e8](https://github.com/heygen-com/hyperframes/commit/e0dc255e8a4108833ac727d54f4b039cca397042), [#2892](https://github.com/heygen-com/hyperframes/pull/2892))++## Docs & Examples++- **Prompt Guide:** Restructured into a seven-level arc, novice to capstone, with the nav regrouped to match ([#2109](https://github.com/heygen-com/hyperframes/pull/2109))+- **Prompt Guide:** Every embedded render is now reproducible from the prompt printed beside it — 18 verified examples, plus validated renders across the chapters+- **Prompting:** The eight-rule motion grammar, each rule shown as an A/B render built twice from the same composition ([8fb1482e7](https://github.com/heygen-com/hyperframes/commit/8fb1482e7ff59a7007e5f6e40d38a7a02ede3adb), [cdac57c07](https://github.com/heygen-com/hyperframes/commit/cdac57c0757cee22db67e9595b29809cfabd056c), [dd4fd9cef](https://github.com/heygen-com/hyperframes/commit/dd4fd9cefaa1f5816a8a2ff404e2152af542b25d))+- **Prompting:** New capstone chapter dissecting _The Timeline_ — one continuous camera across nine regions, rendered twice from one template ([a90e343e8](https://github.com/heygen-com/hyperframes/commit/a90e343e8e4f7c15424cb2b33030a2522509218d))+- **Prompting:** New chapters for storyboards, porting from Remotion, and recreating a reference from text alone ([630ad482c](https://github.com/heygen-com/hyperframes/commit/630ad482c627c850dcc4dade7b4aef5a189f3bb5), [ead4341c7](https://github.com/heygen-com/hyperframes/commit/ead4341c7c7d57a78c944d7e3fbac1ed545d9cfd))+- **Prompting:** "Avoiding the slideshow" — the continuity contract, framed as one method among several ([4f6fb8fc1](https://github.com/heygen-com/hyperframes/commit/4f6fb8fc16c566bd8f473820a559a16c15b1fbeb))+- **Prompting:** Documented the intent interview, run-shape questions, and `BRIEF.md` ([2efbfd475](https://github.com/heygen-com/hyperframes/commit/2efbfd47583f75534b194d90ec0f689278b370f5), [#2872](https://github.com/heygen-com/hyperframes/pull/2872))+- **Prompting:** Appendix of traps the validation runs exposed — layout waivers and the contrast-gate side effect, `fromTo` back-render, round-linecap dots ([4d89bd426](https://github.com/heygen-com/hyperframes/commit/4d89bd426150e054cf42e3c05d6bc75585bcffbb), [fda3d9a65](https://github.com/heygen-com/hyperframes/commit/fda3d9a65af9ef02c21bf4c632857ff0f801f925))+- **Prompting:** `frame.md` is the design spec; `design.md` references removed throughout ([4260f12b0](https://github.com/heygen-com/hyperframes/commit/4260f12b01a7bbcd9b5841e5f29cbba02fe0604f))+- **Skills:** Text corrections found while validating the guide's prompts ([e7a6cb0da](https://github.com/heygen-com/hyperframes/commit/e7a6cb0da622e2086afb27fe1ecb6144af2734c4))++Every prompt-guide commit is listed in the full changelog below.++## Catalog++- **Prompting:** Fix misquoted caption-color phrase in captions-catalog bridge ([16224fd2f](https://github.com/heygen-com/hyperframes/commit/16224fd2fbd1b591e88e4029352d682dcf8b734d))++## Internal++- Format prompt-guide-expansion plan (fixes Format CI) ([b71ce85c2](https://github.com/heygen-com/hyperframes/commit/b71ce85c2cd830d16af28299adf2df6938ab306a))++## Full changelog++https://github.com/heygen-com/hyperframes/compare/v0.7.84...v0.7.85