Skip to content

docs: add a terminal hero and a Motion Canvas explainer - #162

Open
PatrickSys wants to merge 2 commits into
masterfrom
cursor/p3-visuals-kit-5fd3
Open

PatrickSys wants to merge 2 commits into
masterfrom
cursor/p3-visuals-kit-5fd3

Conversation

@PatrickSys

Copy link
Copy Markdown
Owner

What / Why

Adds a short terminal recording, a privacy diagram, and a Motion Canvas explainer. The recording is real CLI output. In this take the edit preflight says the match is low confidence and not ready to edit.

Do not merge.

Release notes

docs: add a terminal hero and a Motion Canvas explainer

Documentation and media only. No runtime change.

Hero

docs/tapes/hero.tape renders docs/assets/hero.gif and docs/assets/hero.webm.

  • Sequence: map, then the screen is cleared, then search --query 'auth headers' --intent edit --limit 3, then a pause on the preflight.
  • Fixture: tests/fixtures/codebases/eval-controlled.
  • The index is built off-camera with reindex --no-embeddings.
  • This take: quality low confidence (0.27), ready to edit: NO.
  • GIF: 284 KB, 8.68 seconds. Under the 3 MB and 15 second limits.
  • Re-render from a checkout with pnpm build and vhs docs/tapes/hero.tape, or run the manual workflow Render hero tape.

README

  • A Mermaid flowchart of the existing three steps, plus the edit-intent line already described in the README.
  • An Excalidraw-style SVG, docs/assets/code-stays-local.svg. The headline is "code never leaves the machine". The drawing also repeats the README sentences: code and indexes stay on the machine with the default local provider, and cloud embeddings are optional and send chunks to that provider.

Explainer

media/explainer is a Motion Canvas 3.17.2 project, about 37 seconds, plain rectangles and text, no stock assets. Preview with npm start. npm run build typechecks and bundles the scene. Motion Canvas 3.17 does not ship a headless render command; the ffmpeg exporter is there for the editor.

media/PROMPTS.md has paste-ready prompts for Claude, image models, and video models. The sentences are copied from the README and the benchmark. The prompts tell the model to leave the recorded GIF as the hero and not invent a terminal result.

License check

Motion Canvas 3.17.2 is MIT: https://github.com/motion-canvas/motion-canvas/blob/master/LICENSE

Remotion was checked on 2026-10-30 against https://www.remotion.dev/license and the Terms and Conditions v5.0. A solo author qualifies for Remotion's free license: an individual, or an organization of up to 3 people, including commercial video creation. That license is proprietary, not an OSI open-source license. Remotion was not added. MIT lets anyone who clones the repo render the explainer without a headcount check.

Package

npm pack --dry-run before and after this branch:

bytes files
before 2,306,439 401
after 2,306,756 401

The tarball grew by 317 bytes because the README text grew. The file list is the same. media/, the GIF, the WebM, the SVG, and the tape are not in the package.

Agent: cursor-cloud/cbc-visuals

Open in Web Open in Cursor 

Record map, then an edit-preflight search, on the eval-controlled fixture, and keep the explainer and media out of the npm package.
The packaged README can only link to shipped files or an external URL.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T23:00:21.027288Z c312df8 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c312df81a3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread media/PROMPTS.md
@@ -0,0 +1,125 @@
# Prompts

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Archive an existing Markdown file before adding the prompts document

This commit adds media/PROMPTS.md without archiving any existing Markdown file. The root AGENTS.md explicitly prohibits adding new .md files without archiving one first, so this addition violates the repository's documentation-growth constraint. Consolidate these prompts into an existing document or archive an existing Markdown file before introducing this one.

AGENTS.md reference: AGENTS.md:L211-L211

Useful? React with 👍 / 👎.

@greptile-apps

greptile-apps Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 4/5

[Low impact] The changes reach README readers and people creating or rendering project media.

Fix the standalone explainer build and satisfy the Markdown rule before merging.

Findings

  1. P1 Explainer build lacks required types ▶
  2. P2 New document breaks Markdown rule ▶

Summary

Adds a terminal recording, a privacy drawing, and a standalone Motion Canvas explainer.

  • The README now shows how search works and where its data goes.
  • A short Motion Canvas video walks viewers through Codebase Context.
  • Maintainers can rerender the terminal demo on demand.

Acknowledged: PatrickSys explicitly describes the hero's low-confidence, not-ready-to-edit result as intentional. No finding is raised for that result. PatrickSys also states “Do not merge” in the PR description.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  Checkout[Checkout] --> Root[Install root dependencies]
  Root --> Build[Build CLI]
  Build --> Tape[Run hero tape]
  Tape --> Assets[GIF and WebM artifacts]
  Checkout --> Media[Install explainer dependencies]
  Media --> Types[Check TypeScript]
  Types --> Bundle[Bundle explainer]
Loading

Reviews (1) · Last reviewed commit: "docs: link the hero WebM to the reposito..." · Reviewed by Greptile

"extends": "@motion-canvas/2d/tsconfig.project.json",
"compilerOptions": {
"skipLibCheck": true,
"types": ["node"]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P1 Explainer build lacks required types

tsconfig.json requires node types, but the explainer declares no @types/node dependency and its lockfile installs none. On a clean checkout with only the explainer's dependencies installed, npm run build fails with “Cannot find type definition file for 'node'” before bundling. Add @types/node to the explainer's development dependencies and update its lockfile.

Comment thread media/PROMPTS.md
@@ -0,0 +1,125 @@
# Prompts

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 New document breaks Markdown rule

Adding media/PROMPTS.md without archiving another Markdown file violates the repository requirement: “No new .md files without archiving one first.” Move these prompts into an existing document, or archive another Markdown file. This requirement must be satisfied before merging.

Context Used: AGENTS.md (source)

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

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