Skip to content

✨ feat(demo): add hero-git-only GIF (DEMO-04) - #259

Merged
konih merged 1 commit into
mainfrom
fix/demo-hero-state-source
Aug 4, 2026
Merged

konih merged 1 commit into
mainfrom
fix/demo-hero-state-source

Conversation

@konih

@konih konih commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Records docs/assets/demo/hero-git-only.gif (1.2 MiB) + .mp4 for README teaser
  • Embeds GIF in README
  • Fixes _hero_source_state readonly clash that broke preflight/record after bootstrap

Operator review

Please review pacing against docs/DEMO-GIF-GUIDE.md storyboard (scenes 1–8).

Test plan

  • Local preflight + task demo-hero-record-git-only
  • GIF < 3 MB
  • Operator pacing ack

DEMO-04 artifact for operator pacing review. Also stop sourcing the
state file into readonly HERO_* vars (only load FORGEJO_TOKEN).
Copilot AI lite review requested due to automatic review settings August 4, 2026 22:07
@konih
konih merged commit 499ab9c into main Aug 4, 2026
2 checks passed
@konih
konih deleted the fix/demo-hero-state-source branch August 4, 2026 22:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a recorded “hero” demo teaser to the project’s front door (README) and adjusts the hero demo harness state-loading to avoid failures during preflight/record flows.

Changes:

  • Embed the hero-git-only.gif demo teaser directly in README.md with caption text.
  • Modify hack/demo/hero/lib.sh state loading to avoid sourcing a state file that reassigns readonly variables.

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated 1 comment.

File Description
README.md Embeds the hero demo GIF and adds a short caption plus regeneration pointer.
hack/demo/hero/lib.sh Changes _hero_source_state to avoid source and load only the Forgejo token from the state file.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread hack/demo/hero/lib.sh
Comment on lines +120 to +122
[[ -f "$HERO_STATE_FILE" ]] || return 0
FORGEJO_TOKEN="$(grep -E "^FORGEJO_TOKEN=" "$HERO_STATE_FILE" | head -1 | cut -d= -f2-)"
export FORGEJO_TOKEN
@codecov

codecov Bot commented Aug 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@sonarqubecloud

sonarqubecloud Bot commented Aug 4, 2026

Copy link
Copy Markdown

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.

2 participants