Repository navigation
docs(media): document on-demand rendering policy and close aspirational rows (#1082) - #1096
Conversation
…al rows Adds docs/media/README.md recording the policy for documentation media (no committed screenshots or VHS tapes; render on demand from polylogue/showcase/ exercises) and brings the docs-media coverage manifest in line with what is actually committed. PR #1088 stripped the aspirational `screenshots` / `vhs_tapes` rows from docs/plans/docs-media-coverage.yaml because they had no executable verification path. #1082 asked whether to commit those assets or close the question. Decision: do not commit. Terminal sizes, themes, fonts, prompt strings, sample data, and timestamps all drift faster than the code, producing large diffs that carry no semantic signal and date the documentation badly. The showcase + qa workflows already provide reproducible captures when needed. What changed: - `docs/media/README.md`: new file recording the policy and the three requirements any future committed media asset must satisfy (render script, --check freshness gate, manifest row). - `docs/plans/docs-media-coverage.yaml`: replace the screenshots/VHS-tape inline comment with a real `media_policy` row pointing at the README and a `readme_diagrams` row covering the Mermaid/SVG diagrams that `devtools render-readme-media` already verifies. Drop the `docs-media.screenshot-integrity` coverage_gap entry — the gap was the open question itself. - `docs/verification-catalog.md`: regenerated. Closes #1082
`history_entries` is typed `list[dict[str, Any]]`, so the `isinstance(entry, dict)` ternary in `evidence_dashboard.py` is a no-op that mypy --strict rejects with `redundant-expr`. Landed unguarded by #1091 and has been red on master since. Unblocks `devtools verify --quick` (pre-push hook) for this PR.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThis PR establishes a media policy for the docs/media directory, defines what Mermaid-rendered assets should be committed and how to verify freshness, restructures the coverage manifest to reflect this policy, and adjusts evidence dashboard history parsing to remove a type guard. ChangesMedia Policy and Coverage Structure
Evidence Dashboard Verification History Parsing
Possibly related PRs
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
✨ Finishing Touches📝 Generate docstrings
🧪 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.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e2efed49b4
ℹ️ 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".
…1126) ## Summary Rewrites the project README around a new visitor's path of attention: a single-sentence pitch, a 30-second install-to-first-search tour using the current `polylogue init` + `polylogued run` flow, and a value-prop section explaining the corpus framing. Surfaces the architecture diagram that `devtools render-readme-media` already produces. ## Problem The previous README opened with operator-shaped quickstart instructions (`direnv allow`, `nix run`, `devtools lab-corpus seed`) and led with the source checkout flow. A new visitor arriving from a link had no one-line "what is this," no end-user install path, no `polylogue init` reference (PR #1116), and no visual anchor for the architecture despite `docs/media/` already carrying rendered Mermaid diagrams. Issue #952 asked for a README revamp plus an assurance-visual pipeline (screencasts + extension screenshots). Issue #1082 / PR #1096 then established the policy that committed screenshots and VHS tapes are not desirable — they drift faster than the code. The README revamp can still happen; visuals stay on the on-demand rendering path through `devtools render-readme-media`. ## Solution `README.md` rewritten: - New opener: bold one-sentence pitch, paragraph explaining the system, three-bullet value prop (local-first, source-agnostic, idempotent). - New "30-second tour" using the production path: `pip install` → `polylogue init` → `polylogued run --enable-api` → `polylogue "query"` → `polylogue --latest open`. Links to `docs/onboarding.md`. - New "Why this exists" section frames Polylogue as a corpus layer, not an operator tool. - New "Architecture at a glance" section embeds `docs/media/architecture-overview.svg` (already rendered by `devtools render-readme-media`), keeps the ASCII data-flow as a text-renderable fallback, and links the on-demand media policy (`docs/media/README.md`). - "Installing from source" demoted into its own section so the first install instruction a new visitor sees is `pip install polylogue`, not `direnv allow`. - "Synthetic demo" demoted to a subsection under source install. - Surfaces section reordered around current CLI: web reader → MCP → browser capture → Python API. - Generated `docs-surface` block preserved unchanged (`devtools render-docs-surface --check` confirms). No committed binary screenshots or VHS tapes were added — the existing SVG architecture diagram is the only embedded visual and is regenerated deterministically from `devtools/generate_readme_media.py`. Inherited stale generated surface (`docs/topology-status.md`) was regenerated in a separate commit so the pre-push gate passes; that drift came from a previously landed PR adding a module without refreshing the rendered surface, not from this README work. `Ref #952` rather than `Closes` — the issue's screencast/extension screenshot acceptance criteria were superseded by the #1082/#1096 policy decision and the README is now the readable-by-new-visitor artifact the issue asked for, but a future visual-rendering pass (if any beyond the existing Mermaid diagrams) would still belong to #952. ## Verification ``` nix develop -c devtools render-readme-media --check Wrote 4 .mmd source(s) in docs/media nix develop -c devtools render-docs-surface --check render-docs-surface: sync OK nix develop -c devtools verify --quick exit_code: 0 (after regenerating docs/topology-status.md, which was inherited stale on master) ``` `docs/media/architecture-overview.svg` is unchanged on disk — the README now references the existing rendered diagram. No new binary assets were committed. Ref #952 Ref #1082 Ref #1116 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
|
Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.
Only the rows listed above are dispositioned. Held findings remain open. |
|
Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.
Only the rows listed above are dispositioned. Held findings remain open. |
Summary
Records the policy decision for
docs/media/(no committed screenshotsor VHS tapes; render on demand from
polylogue/showcase/exercises)and brings the docs-media coverage manifest in line with what is
actually committed. Resolves the question #1082 left open.
Problem
PR #1088 stripped the aspirational
screenshotsandvhs_tapesrowsfrom
docs/plans/docs-media-coverage.yamlbecause they had noexecutable verification path — no asset to check, no freshness gate,
no render target. #1082 asked whether to commit those assets and
reintroduce real rows, or close the question.
The manifest carried a placeholder coverage_gap
(
docs-media.screenshot-integrity) and an inline comment pointing at#1082, but neither described an actual gap in committed content — they
described an undecided product question.
Solution
Decision: do not commit screenshots or VHS tapes. Cost/benefit analysis:
(verified with
grep).sizes, themes, fonts, sample data, and timestamps, all of which
drift faster than the underlying code — large diffs with no semantic
signal that date the documentation badly.
when needed (release notes, blog posts, the website).
--check-style freshness gate would bedead weight the manifest cannot honestly claim coverage over.
Changes:
docs/media/README.md(new): policy doc explaining why the directoryholds only renderable diagrams, and the three requirements any future
committed asset must satisfy (render script,
--checkfreshnessgate, manifest row).
docs/plans/docs-media-coverage.yaml: replace thescreenshots/VHS-tape inline comment with a real
media_policyrowpointing at the README and a
readme_diagramsrow covering theMermaid/SVG diagrams that
devtools render-readme-mediaalreadyverifies. Drop the
docs-media.screenshot-integritycoverage_gap —the gap was the open question itself.
docs/verification-catalog.md: regenerated (subjects +1,coverage_item +2, coverage_gap -1).
devtools/evidence_dashboard.py: drop a redundantisinstance(entry, dict)ternary that mypy --strict rejects withredundant-expr. Landed unguarded by feat(devtools): evidence dashboard and changed-path traceability (#998) #1091 and has been red onmaster since; unblocks the pre-push hook for this PR. Pulled into
this branch only because the gate would otherwise prevent the
policy change from landing.
Verification
Closes #1082
Summary by CodeRabbit
Release Notes