Commit 366c01d
* docs(readme): gallery-first hero shot above the fold (#67)
Issue #67 (T5 Leader frontend-architect + T1 Expert business-panel
Godin/Drucker): README was text/badges-first; hackathon judges saw a
wall of badges before any visual payoff. Business panel recommendation
was to lead with the gallery hero shot — "screenshot-worthy moment is
the 26 tiles, not the modal form".
Changes:
- New: tools/capture-gallery-hero.py — playwright-based deterministic
screenshot helper. Reads runs/r-clean-20260425-max/mockups/gallery.html
(W4.10 evidence, 26-card max profile = highest visual density),
renders viewport-only at 1600x1100 with device_scale_factor=2 (retina),
outputs docs/assets/v1.6-gallery-hero.png (3200x2200, ~190KB).
Animations disabled, fonts loaded, file:// URI for offline determinism.
- New: docs/assets/v1.6-gallery-hero.png — captured artifact, committed.
- README.md: hero <img> embedded immediately after H1 + tagline; badges
pushed below hero block; "TDD/SpecDD/PreviewDD" pitch repositioned as
caption-style footer of the hero band. The 3-DD methodology table
remains intact further down — not deleted, just no longer pre-fold.
- docs/SUBMISSION.md: same hero embedded after H1 (with caption tying
it back to the spec narrative).
- docs/DEMO-STORYBOARD.md: hero embedded after H1, captioned as the
0:50–1:02 cut from the demo storyboard (matches the existing
storyboard timing).
Codex review (single pass): 0 P1, 1 P2 noted as out-of-scope follow-up:
- Playwright is an undeclared local dev dependency (the binary is on
the user's PATH but no requirements.txt / pyproject.toml). The hero
PNG is now committed, so re-capture is only needed when the gallery
template changes — a separate dev-tooling PR can pin Playwright if
this becomes a regular workflow.
Closes #67
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* docs(readme): apply PR #94 review feedback (gemini)
- tools/capture-gallery-hero.py docstring: corrected mode description
(was "full-page", actual default is viewport-only — gemini medium #1).
- Replaced redundant wait_for_load_state("networkidle") with
page.evaluate("document.fonts.ready") so fonts actually rasterise
before capture (gemini medium #3).
- Default --source path retained: runs/r-clean-20260425-max/mockups/
gallery.html IS committed (W4.10 evidence at PR #92), so the
default works for any clone (gemini medium #2 — explained in reply).
Re-ran capture: PNG size unchanged (~190 KB, 3200×2200).
Refs PR #94 review comments
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 31f30b2 commit 366c01d
5 files changed
Lines changed: 111 additions & 3 deletions
File tree
- docs
- assets
- tools
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
9 | 16 | | |
10 | 17 | | |
11 | 18 | | |
| |||
20 | 27 | | |
21 | 28 | | |
22 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
23 | 35 | | |
24 | 36 | | |
25 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
3 | 8 | | |
4 | 9 | | |
5 | 10 | | |
| |||
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
0 commit comments