Repository navigation
docs: rebuild the README around five tour GIFs of the redesigned workspace - #571
Merged
Merged
Conversation
tour.ps1 records each README scene against a fresh tour_server.py and renders it with render_tour.py. The recorder takes a 2x screenshot of every settled UI state and logs holds, pointer moves, clicks, keys and captions; the renderer replays that timeline with an eased pointer, click ripples, keycap chips and a caption bar, and encodes with a two-pass ffmpeg palette at exact centisecond frame delays. Only the model is scripted: streamed tokens are released step by step, the Agent scene is a real AgentRuns run on a sample project, and the approved code task is finished by the real restricted interpreter, which refuses a task nobody approved. tests/test_tour_fixtures.py holds the script to the real code. The showcase demo models now report their own sizes, and the tray can be staged with only the pending task. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace the single demo GIF with five sharp 1600 px recordings of the redesigned workspace: chat, the command palette, models and parameters, approval-gated code and Agent mode. The README gains a short "Why Cortex" summary and keeps the Windows quick start, model sources, privacy notes and links. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The README opened with a single 17-second GIF of the whole workflow at 1120 px. Its text was soft, transitions jumped, and nothing explained a feature on its own. It also had no committed way to be recorded again.
Root cause
The previous GIF was a one-off capture: no recording script was committed, and one recording had to carry every feature.
Change
tools/screenshots/tour.ps1gives each scene a freshtour_server.py, drives the built frontend withrecord_tour.mjs, and encodes withrender_tour.py.record_tour.mjstakes a 2× screenshot of each settled UI state and writes a timeline: holds, pointer glides, clicks, keys and captions.render_tour.pyreplays that timeline at 33 fps where something moves. It draws an eased, curved pointer, a click ripple, keycap chips and a caption bar, downsamples the 2× shots with Lanczos, and encodes with ffmpeg's two-pass palette (one palette per GIF, no dithering) so text stays crisp.AgentRunsrun on a small sample project: real work copy, edit approval, diff review and accept. The approved code task is finished by the real restricted interpreter (run_code_in_worker), and the tour server refuses to finish a task that was not approved.showcase_server.pygives each demo model its own size and context, so a 4B model is no longer labelled 8B. It can also stage only the pending code task.cortex-demo.gifis removed.All five are 1600×1064 (10.2 MB together), loop forever, and use 30 ms motion frames.
Compatibility and rollback
Documentation and tooling only. No app code, API, settings or data format changes.
stage_execution_tasksandbuild_showcase_appkeep their old defaults, soshowcase.ps1behaves as before, except that demo models now report realistic sizes. Reverting this commit restores the previous README and GIF.Checks
python -m pytest -q tests/test_tour_fixtures.py tests/test_showcase_fixtures.py: 11 passed. The new tests run the scripted Agent tour through realAgentRuns, check that the edit applies exactly once and leaves the original project untouched, check the interpreter's real output (monthly payment: 489.15,total interest: 4349.22), and check that an unapproved task is refused.python -m pytest -q tests/test_repository_documents.py: 22 passed.python -m ruff check tools/screenshots tests/test_tour_fixtures.py: passed.python -m mypy tools/screenshots/tour_server.py tools/screenshots/render_tour.py tools/screenshots/showcase_server.py: no issues../tools/screenshots/tour.ps1recorded and rendered all five GIFs. Every scene was reviewed frame by frame, plus full-size crops for text quality../scripts/check.ps1(quick gates) passed through the pre-push hook before the push; its per-step counts were not kept../scripts/check.ps1 -Tier full, the full pytest suite and Playwright. CI runs them.Security, data loss and concurrency
The tour server listens on loopback only. It writes into temporary folders and an isolated Agent data folder that it removes when it shuts down, and it never touches the user's Cortex data. Only fixture text is recorded: no prompts, tokens or personal data.
Limits
main's current interface. After Redesign the Cortex workspace around writing, models, and project runs #568 merges,./tools/screenshots/tour.ps1re-records them frommain..github/images(fromcapture.ps1/showcase.ps1) still show the previous UI. The README no longer uses them.Before merging
./scripts/check.ps1passes, or the failing step is explained above.Change_Log.mdhas an entry under[Unreleased]for any user-visible change (or none is needed).python tools/generate_contracts.py --writewas run and both generated artifacts were reviewed (or no API model changed).🤖 Generated with Claude Code