Skip to content

feat(registry): move demo media to R2 and add the lemo-opuscar film - #471

Merged
harlan-zw merged 4 commits into
mainfrom
feat/demos-followups
Oct 6, 2026
Merged

harlan-zw merged 4 commits into
mainfrom
feat/demos-followups

Conversation

@harlan-zw

@harlan-zw harlan-zw commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator

🔗 Linked issue

Follow-ups to #470.

❓ Type of change

  • 📖 Documentation
  • 🐞 Bug fix
  • 👌 Enhancement
  • ✨ New feature
  • 🧹 Chore
  • ⚠️ Breaking change

📚 Description

Loose ends from #470, plus moving demo media out of git.

  • lemo-opuscar demo. The third film, finished after feat(registry): add Skill demos to the Skill page and the homepage #470 merged: a 15 second Chinese ink wash short about a lighthouse keeper, made entirely in code. It is 2.8 MB, since rain and paper grain compress poorly; H.264 still beat VP9 and AV1 WebM on this clip at matched quality.
  • Media on R2. Harlan asked to keep demo media out of git. Screenshots, posters and videos now live in the skilld-demo-media R2 bucket, served from its custom domain media.skilld.dev, under content-hashed names so a URL never changes what it serves. Cloudflare serves the byte ranges iOS needs for video, and a zone cache rule (already live) gives the host a year of edge and browser cache. The recorder uploads with cf; public/demos is gone. Output pages stay in the Worker, because they need the CSP sandbox header. The bucket and domain already exist and hold the current media; the 2.5 MB that feat(registry): add Skill demos to the Skill page and the homepage #470 committed stays in history.
  • Recorder fix. lemo-opuscar renders segments into a hidden .video_segs folder. When the Agent misses the named output file, the fallback took the newest MP4 anywhere, which could be one segment. Hidden folders and node_modules no longer count.
  • VISION.md principle 1. On feat(registry): add Skill demos to the Skill page and the homepage #470 Harlan decided the homepage demo stage links the Skill page, not the SKILL.md, because the Skill page is where visitors inspect a Skill. The principle required a one-click source link on every Skill surface. It now lets a surface link the Skill page, which links the source. This is a filter change, so it needs Harlan's sign-off rather than an automated one.

🤖 AI disclosure: Harlan Agent Kit modified this description. My AI open-source policy.

The lemo-opuscar run renders segments into a hidden .video_segs folder. When the Agent misses the named output file, the fallback took the newest MP4 anywhere, which could be one segment.
Harlan decided on #470 that the homepage demo stage links the Skill page, not the SKILL.md, because the Skill page is where visitors inspect a Skill. Principle 1 required a one-click source link on every surface.
@harlan-zw harlan-zw added the harlan-agent-review Pull request triage requires an adversarial Review. Adding this label manually always forces one. label Oct 6, 2026
@harlan-github-agent harlan-github-agent Bot added harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. harlan-agent-running An Agent holds a Task on this issue or pull request right now. and removed harlan-agent-review Pull request triage requires an adversarial Review. Adding this label manually always forces one. labels Oct 6, 2026
@harlan-github-agent

harlan-github-agent Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

🤖 MERGED

Harlan Agent Kit posted this automated review. It is not Harlan's personal review or approval. AI open source policy. Last updated: 2026-10-06 14:38 UTC.

GitHub merged this pull request.

  • Logged (15/100): Cached API responses point at same-origin media files this PR deletes, so demo images can break for up to an hour after deploy. View code
    • Ask an agent to verify and fix this finding

Review completed. No finding above 80/100.

Selected findings run after merge and open separate pull requests.

@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. and removed harlan-agent-running An Agent holds a Task on this issue or pull request right now. labels Oct 6, 2026
Harlan asked to keep demo media out of git. Screenshots, posters and videos move to the skilld-demo-media R2 bucket under content-hashed names, served by its custom domain, which handles caching and the byte ranges video needs. The recorder uploads with cf. Output pages stay in the Worker, since they need the CSP sandbox header.
@harlan-zw harlan-zw changed the title feat(registry): add the lemo-opuscar film and demo follow-ups feat(registry): move demo media to R2 and add the lemo-opuscar film Oct 6, 2026
@harlan-zw harlan-zw added the harlan-agent-review Pull request triage requires an adversarial Review. Adding this label manually always forces one. label Oct 6, 2026
@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. and removed harlan-agent-review Pull request triage requires an adversarial Review. Adding this label manually always forces one. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. labels Oct 6, 2026
@harlan-zw
harlan-zw merged commit 0cd5538 into main Oct 6, 2026
7 checks passed
@harlan-github-agent harlan-github-agent Bot removed the harlan-agent-running An Agent holds a Task on this issue or pull request right now. label Oct 6, 2026
@harlan-github-agent harlan-github-agent Bot removed the harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. label Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant