Repository navigation
docs: build the 7-minute first-contact funnel (#2379) - #2429
Conversation
Problem: The loudest verdict from the source review is "Polylogue is weak only if it is illegible." Docs were extensive but developer-targeted — no skim funnel, no glossary, no architecture diagram, and no single-command demo a stranger could run. A reader had to do archaeology before any distilled artifact could land. What changed (docs/presentation only, plus one thin command): - README: explicit 30s/3min/30min skim funnel before any project-specific noun, and a "Try it in one command" section that seeds the deterministic private-data-free demo archive and shows three providers coexisting via `analyze --facets` (verified output committed inline). - docs/glossary.md: 20+ internal terms (archive tier, origin/source/provider, content hash, insight, projection, assertion, evidence ref, readiness, facet, retrieval lane, …) translated to plain language, with entry layers. - docs/architecture.md: Mermaid four-ring diagram (was prose-only). - devtools render visual-tapes: thin operator entrypoint over the existing tested visual_vhs tape engine, so the demo screencast media is regenerable by one documented command instead of a committed binary. Registered in the command catalog and rendered into docs/devtools.md. Glossary and diagram are linked from the README skim funnel; the glossary is registered in the docs surface map. Ref #2379. Train 1 (Ship), item 1 under Ref #1807. Verification: - devtools verify doc-commands -> 79 files, no stale commands - devtools render all --check -> no drift - devtools verify --quick -> exit 0 (format, lint, mypy --strict, render) - devtools test (command_catalog, docs_surface, devtools_main, render_devtools_reference, visual_vhs) -> 32 passed - one-command demo + analyze --facets run against a seeded demo archive Co-Authored-By: Claude <[email protected]>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reached
More reviews will be available in 8 minutes and 3 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughAdds a README skim block, architecture and glossary documentation, and a new ChangesFirst-contact docs and visual-tapes tooling
Sequence Diagram(s)sequenceDiagram
participant User
participant Main as devtools.render_visual_tapes.main
participant VisualVHS as devtools.visual_vhs
participant VHS as vhs
User->>Main: devtools render visual-tapes [--check|--capture]
Main->>VisualVHS: default_tape_specs()
Main->>VisualVHS: generate_all_tapes(...)
alt --check
VisualVHS-->>Main: clean tape count
else --capture
Main->>VisualVHS: check_vhs_available()
loop each spec
Main->>VisualVHS: run_vhs_capture(...)
VisualVHS->>VHS: capture .gif from .tape
end
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related issues
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@devtools/render_visual_tapes.py`:
- Around line 62-68: The `render_visual_tapes.py` capture path has inconsistent
exit-code semantics in the `args.capture` / `check_vhs_available()` branch.
Decide whether missing `vhs` is a hard failure for `--capture` or a soft
optional skip, then make the return value and stderr message match that choice
in `main` and the `check_vhs_available()` flow. If capture is optional, return
success from this branch; if it is required, keep the non-zero exit but reword
the message so it is not described as a skip.
- Around line 69-81: The capture loop in render_visual_tapes.py is
reconstructing tape filenames from spec.name instead of relying on the engine’s
authoritative VHSTape.filename. Update the flow around generate_all_tapes and
run_vhs_capture so the capture step receives the resolved tape path or tape
object directly, and use that path when invoking VHS. This keeps the naming
logic centralized and ensures strict alignment with the engine’s output.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: 2b4ac196-f543-4201-a9e6-4d158bfd18d3
📒 Files selected for processing (8)
AGENTS.mdREADME.mddevtools/command_catalog.pydevtools/docs_surface.pydevtools/render_visual_tapes.pydocs/architecture.mddocs/devtools.mddocs/glossary.md
CodeRabbit (PR #2429): `render visual-tapes --capture` returned exit 1 when the `vhs` binary was missing, contradicting the README framing of GIFs as an optional, best-effort step. The tapes are the committed artifact and are written regardless; a missing `vhs` is now a soft skip (exit 0, clear warning), and exit 1 is reserved for genuine capture failures when `vhs` is present. Also derive the tape path from the engine's authoritative VHSTape.filename rather than re-implementing the name. Co-Authored-By: Claude <[email protected]>
|
Addressed both CodeRabbit findings in b822235:
|
Summary
A pure docs/presentation pass (plus one thin
devtoolscommand) that makesPolylogue legible to a first-time reader in a 7-minute skim. Realizes Train 1,
item 1 of the #1807 epic.
Problem
The loudest verdict from the source review behind #2379: "Polylogue is not
weak because it lacks impact. It is weak only if it is illegible." The docs
were extensive but developer-targeted — no skim funnel, no glossary, no
architecture diagram (
docs/architecture.mdwas prose), and no single democommand a stranger could run. First-contact legibility gates the perceived
value of every other artifact.
Solution
30s / 3min / 30minskim funnel placed before anyproject-specific noun, and a Try it in one command section that seeds the
deterministic, private-data-free demo archive and shows three providers
(ChatGPT + Claude Code + Codex) coexisting via
analyze --facets. The shownoutput is real (run against a seeded archive, committed inline).
origin/source/provider, content hash, insight, projection, assertion,
evidence ref, readiness, facet, retrieval lane, …) in plain language, with
the same entry layers. Linked from the README; registered in the docs map.
linked from the README funnel.
devtools render visual-tapes— thin operator entrypoint over theexisting, tested
visual_vhstape engine, so the demo screencast media isregenerable by a single documented command (
--capturedrivesvhswhenpresent) rather than a committed binary that bitrots. Registered in the
command catalog; rendered into
docs/devtools.md.No runtime/archive behavior changes. Scope guard honored: no marketing-site
redesign (that warning lives in #2304/#2307).
Verification
devtools verify doc-commands→79 doc files scanned, no stale commandsdevtools render all --check→ no drift across every generated surfacedevtools verify --quick→exit_code 0(ruff format, ruff lint,mypy --strict, render-all check, all verify lints)
devtools testoncommand_catalog,docs_surface,devtools_main,render_devtools_reference,visual_vhs→32 passeddemo seed --with-overlaysthenanalyze --facetsproduced the committed three-origin facet output;devtools render visual-tapeswrote 5.tapefiles to gitignored.local/.Acceptance criteria (#2379)
project-specific noun.
screencast media is regenerable by a single documented command.
docs/glossary.mdexist and are linked fromthe README.
devtools verify doc-commandspasses on every README/quickstart command.Ref #2379. Ref #1807.
Summary by CodeRabbit
New Features
Documentation