Skip to content

Repository files navigation

Snowy HyperFrames Workflows

validate

Snowy HyperFrames is a public, research-grade production system for reproducible research videos on HyperFrames. Four agent workflows share one zero-dependency toolkit that turns a storyboard into measured audio, deterministic timelines, captions, browser-verified compositions, and offline human-review kits.

2026-08-27 — Milestone K: one storyboard, independently reviewable languages. A project can now keep one canonical storyboard while each locale owns its voice, pronunciation map, measured audio, timeline, captions, generated entry, render target, and human verdict. The first fixture ships complete zh-Hant (77.2s) and English (77.0s) deliverables without copying the project. Both pass strict HyperFrames 0.8.16; both human listening gates remain honestly pending.

2026-08-28 — one voice, selectable subtitle tracks. A canonical spoken master can also declare stable semantic cues for English, Japanese, and Traditional Chinese sidecars. hf sync generates shared-timing SRT/VTT plus hashes and review receipts; hf audit blocks drift and density failures; the offline review kit makes every track a human gate. This is deliberately different from a spoken locale variant: it creates no extra audio, entry, or render.

Start with TODO.md, the design of record, the production playbook, the product-proof video standard, and the latest checkpoint. Agent contract: AGENTS.md.

Workflow Layout

snowy-hyperframes/
├── codex-pi/
│   └── projects/
├── codex/
│   └── projects/
├── pi/
│   └── projects/
├── claude/
│   └── projects/
└── shared/
    ├── tools/        hf.mjs — 共用工具鏈
    ├── vendor/       gsap.min.js — render 不依賴 CDN
    ├── docs/
    ├── schemas/
    └── templates/

Workflows

codex-pi

Codex 負責統籌任務、查資料、整理結構、必要時調用 Pi 或本機 CLI;圖片素材優先使用 Codex 會話內建 image generation。適合目前這種「Pi 工具鏈已配置,但 Pi 尚未登入 openai-codex」的情境。

目前專案:

codex-pi/projects/gpt-image-2-quota-research

codex

只用 Codex 完成 HyperFrames 專案。適合不需要 Pi packages、Pi auth、或 Pi session 可重跑性的工作。

目前專案:

codex/projects/ai-tool-cost-benchmark
codex/projects/ai-2030-three-futures

pi

用 Pi 完成 HyperFrames 專案,並讓 Pi 透過 openai-codex login 調用 codex_generate_image。適合讓 Pi 自主重跑研究、生成圖片、產生 TTS、驗證 HyperFrames、保存完整本機 artifacts 的工作流。

Pi 的強項是工程化與可重跑:批次檔案、CLI、自動檢查、文檔沉澱。Pi 的弱項是如果沒有人工 preview gate,容易過早 render 出節奏或音訊有問題的版本。正式影片必須先 npm run checknpm run audio:auditnpm run preview,人工確認後再 render。

目前專案:

pi/projects/latest-tts-voice-clone-research

完成狀態:11-slide TTS / AI voice cloning research video,已生成 no-cut render;詳見 pi/projects/latest-tts-voice-clone-research/docs/completion-summary.md

claude

由 Claude Code 主導,並且一律透過 shared/tools/hf.mjs 走標準管線(new → html → pipeline → check → preview → render)。 專案結構與其他三條 workflow 完全相同,任何一條 workflow 都能接手。詳見 claude/README.md

目前專案:

claude/projects/measurable-vs-audible-tts          研究影片:兩個免 API key 中文 TTS 引擎的可量測差異
claude/projects/block-vocabulary-reference         內容區塊字彙表(一頁一種 block)
claude/projects/storyboard-to-video-pipeline-demo  管線自述 demo
claude/projects/tts-bakeoff-2026-08                盲測 harness 與量測(16 段音檔可重生,未進 git)

Current verification: eight deliverable entries pass hyperframes@0.8.16 check --strict with 410/410 WCAG AA contrast checks. Three modern videos have smoke renders; human preview remains pending where project.json says so. The TTS bakeoff also remains pending human listening—measurements do not decide naturalness.

Naming Convention

具體專案資料夾使用短橫線命名:

<topic>-<format>-<date-or-purpose>

例如:

gpt-image-2-quota-research

Shared Toolkit

node shared/tools/hf.mjs help
node shared/tools/hf.mjs new <workflow>/<project-name>   # 建專案
node shared/tools/hf.mjs audit --all                      # 所有專案的結構 / schema / 時間 / 音訊截斷檢查(CI 同款)
node shared/tools/hf.mjs repo-check                       # 發布守門(allowlist / secret / 檔案大小)

Inside a project: npm run htmlnpm run pipelinenpm run checknpm run review (human) → npm run render. The canonical locale keeps the original filenames. A variant adds --locale <id> and receives its own audio directory, measured durations, timeline, captions, entry, review kit, and render target:

npm run html:en
npm run pipeline:en
npm run check -- --strict --all-locales
npm run review:en
# npm run render:en only after the English review verdict passes

The invariant is one storyboard, independent measured timing truths. Languages never share data-start merely to look synchronized, and one locale's human approval never approves another. The repository CI uses --all-locales, so every declared deliverable receives the same strict browser gate.

For one spoken master with translated sidecars, use subtitleTracks instead. The source cue text exactly partitions the canonical narration; every language shares those cue IDs and canonical word-boundary timestamps. hf captions/hf sync produce captions/subtitles.<locale>.{srt,vtt}, and the review kit requires a per-slide gate for every declared track.

Required Project Metadata

每個具體 project 都應該有:

project.json

它記錄:

  • workflow: codex-picodexpiclaude
  • status: draft、ready-to-preview、ready-to-render、rendered、archived
  • tools: 用到的工具
  • auth.required: 專案需要哪些 auth,但不存 token
  • imageGeneration: 圖片由誰生成
  • paths: entry、research、storyboard、references、render output

Schema 在:

shared/schemas/project.schema.json

Shared Assets

共用模板與 schema 放在:

shared/

目前包含:

shared/tools/hf.mjs
shared/vendor/gsap.min.js
shared/templates/hyperframes-research-project/
shared/schemas/project.schema.json
shared/schemas/research.schema.json
shared/schemas/storyboard.schema.json
shared/schemas/pronunciation-map.schema.json
shared/docs/workflow-boundaries.md
shared/docs/tts-pronunciation-strategy.md
shared/docs/hyperframes-production-playbook.md

新研究型 HyperFrames 專案建議先複製模板,再放入某條 workflow 的 projects/<project-name>/

Production Playbook

目前累積的 HyperFrames 製作經驗、踩坑記錄、TTS/字幕/圖片/timeline/render 標準流程,整理在:

shared/docs/hyperframes-production-playbook.md

No-API-key / local-first TTS 升級路線在:

shared/docs/local-tts-no-api-key-strategy.md

目前階段性收尾與下次 wake up 接續點:

shared/docs/phase-summary-2026-08-24.md

HyperFrames 0.6 → 0.8 升級實測與注意事項:

shared/docs/hyperframes-0.8-upgrade-notes.md

三條 workflow 的實測比較在:

shared/docs/workflow-test-summary.md

GitHub 公開邊界與未來 project 提交規則在:

shared/docs/repo-publication-policy.md

Public Demo Policy

目前 8 個 allowlisted project 可作為 demo / reference 上傳到 GitHub;新 render 仍只放 Releases:

codex/projects/ai-tool-cost-benchmark
codex/projects/ai-2030-three-futures
codex-pi/projects/gpt-image-2-quota-research
pi/projects/latest-tts-voice-clone-research
claude/projects/storyboard-to-video-pipeline-demo
claude/projects/block-vocabulary-reference
claude/projects/measurable-vs-audible-tts
claude/projects/tts-bakeoff-2026-08

新的 render(MP4)不再進 git;四支 2026-06 的 demo MP4 保留在歷史中,之後的成片放 GitHub Releases。

未來正式製作、客戶專案、未公開素材、私人 voice data 或 provider cache 不應進入 GitHub。.gitignore 已採用 project allowlist:新建於 codex/projects/codex-pi/projects/pi/projects/claude/projects/ 的 project 會預設被忽略,只有經過公開審核後才加入 allowlist。

Recommended Project Checks

In any HyperFrames project (check = hidden-window hf audit + pinned hyperframes@0.8.16 check, including audio cut-risk checks):

npm run check

專案的 lintchecksnapshotdoctorpreviewrenderpublish 都經過共用 hf wrapper 啟動 pinned CLI。Windows 上會抑制額外的 foreground console window;互動式 preview 仍在原本的 terminal 顯示 log。

只跑本機、不開瀏覽器的結構 / schema / 音訊檢查:

npm run audit

需要預覽,render 前應先讓人類看瀏覽器版本:

npm run preview
#
npm run dev

需要渲染:

npm run render

About

Reproducible research-video pipeline on HyperFrames: one storyboard to independently timed, captioned, browser-verified language deliverables and offline human review. Research/demo work, not stable software.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages