Use the automated capture script. Do not manually edit bodyClass, take screenshots by hand, or save files one by one unless the browser automation is temporarily unavailable.
npm run capture:share:
--skip-build is passed_site locallysrc/tgk-assets/images/share/...The capture CSS lives in:
/src/css/utilities/share-capture.cssHeader-level overrides that still affect capture live in:
/src/css/layout/header-styles.cssThe capture runner lives in:
/scripts/share-capture.mjsnpm run capture:share -- --path /pillars/the-teachings/
--path <site-path>--level series|season|episode|part--browser edge|chrome--variants hero,x,square,portrait,story--output-subdir <relative-path-under-src/tgk-assets/images/share>--output-dir <absolute-or-relative-output-dir>--skip-build--quality <1-100>--port <number>hero: 1600x900x: 1200x630square: 1200x1200portrait: 1080x1350story: 1080x1920Use part-1 as the definitive baseline for hierarchy, sizing, and centering before drifting upward. Generate the review assets for that page first:
npm run capture:share -- --path /pillars/the-teachings/the-great-return/the-afterlife/season-1/gnostic-christianity/part-1/ --level part --output-dir tmp/share-capture-review/the-teachings/the-great-return/the-afterlife/season-1/gnostic-christianity/part-1
Make sure every hero/x/square/portrait/story variant on part-1 matches the shared baseline before promoting them. Suggested order:
xheroportraitsquarestoryAfter each change, rerun only the affected variant and confirm the capture shows the centered hierarchy (wordmark and title centers should align).
Once the part-1 review set is locked, copy the verified images to the real asset path:
npm run capture:share -- --path /pillars/the-teachings/the-great-return/the-afterlife/season-1/gnostic-christianity/part-1/ --level part
That writes to:
/src/tgk-assets/images/share/the-teachings/the-great-return/npm run capture:share -- --path /pillars/the-teachings/
npm run capture:share -- --path /pillars/the-teachings/the-great-return/ --level series
npm run capture:share -- --path /pillars/the-teachings/the-great-return/the-afterlife/season-1/ --level season
npm run capture:share -- --path /pillars/the-teachings/the-great-return/the-afterlife/season-1/gnostic-christianity/ --level episode
npm run capture:share -- --path /pillars/the-teachings/the-great-return/the-afterlife/season-1/gnostic-christianity/part-1/ --level part
npm run capture:share -- --path /pillars/the-teachings/the-great-return/the-afterlife/ --level series --output-dir tmp/share-capture-review/the-teachings/the-great-return/the-afterlife
npm run capture:share -- --skip-build --path /pillars/the-teachings/the-great-return/the-afterlife/season-1/ --level season --variants story
npm run capture:share -- --browser chrome --path /pillars/the-teachings/
share-capture classes are injected at request time/pillars/the-teachings/ onlySymptom:
Timed out waiting for browser remote debugger.What this means:
Try in this order:
npm run capture:share -- --skip-build --browser chrome --path /pillars/the-teachings/the-great-return/the-afterlife/season-1/gnostic-christianity/part-1/ --level part --variants square --output-dir tmp/share-capture-review/the-teachings/the-great-return/the-afterlife/season-1/gnostic-christianity/part-1
npm run capture:share -- --skip-build --browser edge --path /pillars/the-teachings/the-great-return/the-afterlife/season-1/gnostic-christianity/part-1/ --level part --variants square --output-dir tmp/share-capture-review/the-teachings/the-great-return/the-afterlife/season-1/gnostic-christianity/part-1
Current note for March 4, 2026:
part-1If browser capture is failing:
Completed and written to canonical share assets (hero/x/square/portrait/story):
the-teachings/the-teachings/the-great-return/the-teachings/the-great-return/the-afterlife/the-teachings/the-great-return/the-afterlife/season-1/the-teachings/the-great-return/the-afterlife/season-1/gnostic-christianity/part-1/the-teachings/the-great-return/the-afterlife/season-1/gnostic-christianity/part-2/the-teachings/the-great-return/the-afterlife/season-1/gnostic-christianity/part-3/the-teachings/the-great-return/the-afterlife/season-1/kabbalah/the-teachings/the-great-return/the-afterlife/season-1/kabbalah/part-1/the-teachings/the-great-return/the-afterlife/season-1/kabbalah/part-2/the-teachings/the-great-return/the-afterlife/season-1/kabbalah/part-3/the-teachings/the-great-return/the-afterlife/season-1/sufi-islam/the-teachings/the-great-return/the-afterlife/season-1/sufi-islam/part-1/the-teachings/the-great-return/the-afterlife/season-1/sufi-islam/part-2/the-teachings/the-great-return/the-afterlife/season-1/sufi-islam/part-3/zoe-speaks/tucker-carlson-is-almost-there/This README is the recovery point for the current rollout. If the machine is restarted and the session is resumed, continue by using npm run capture:share with --skip-build for any future pages, ensuring bodyClass relies on hero-full share-capture capture-{variant} injected by the script. All season‑1 Afterlife and Teachings landings/parts listed above are already in canonical storage; no pending review items remain.