Skip to content

S339 round 4: performance pass, Chere' share cards, cache-proof card URLs - #60

Merged
Preston2012 merged 9 commits into
mainfrom
claude/round4-s339
Nov 22, 2026
Merged

Preston2012 merged 9 commits into
mainfrom
claude/round4-s339

Conversation

@Preston2012

@Preston2012 Preston2012 commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

S339 round 4.

  • /pricing: the Pro care line reads "Quarterly performance pass, fixes made" (no SEO).
  • Share cards (4b): the five Chere' pages get Chere'-branded plate cards from og-cards.mjs (app icon on the mast, the icon's blues, mint accent, "Said like Sherrie."), /chere/onboard gets a card, and the hand-made /chere and /chere/join cards go (kept in main's history, 631a172 and d4d1765).
  • Every local card URL carries ?v=<8 hex of its sha256>, so a redrawn card is a new URL and chat apps re-fetch it.
  • Strict card check over the preview build: 49 pages, 47 cards, every one 1200x630 baseline JPEG under 300 KB, tags complete, served 200 image/jpeg. /lamp has no card by design.
  • scripts/cards/og-check.py (the strict card check) and scripts/audit/page-repeats.py now live in the repo.
  • Lighthouse (sandbox, mobile): /pricing 99, /chere 98, /chere/join 99, / 98; a11y, best practices, SEO 100.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xu6AcwHo9DHh4ZxeYKVcnu

… card

Preston 2026-11-22: the Pro care line reads "Quarterly performance pass,
fixes made" (no SEO). And /chere's share card should match the one he made
for /chere/join: same teal plate, the before and after from the Chere'
video, the app icon pinned to its corner, now with "The contractor's back
office." and "Said like Sherrie. The office work, done from the truck."
Source in scripts/sharecards/chere.html beside chere-join.html; /chere
points og:image at public/chere/chere-og.jpg the way the join page does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xu6AcwHo9DHh4ZxeYKVcnu
Captured at 9203cf8 with golden.py capture --update. The chore prefix keeps
this commit off /changelog, so the manifest still matches once it lands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xu6AcwHo9DHh4ZxeYKVcnu
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T21:52:03.836032Z 5c53229 Manual request
🔒 Security Review ✅ Completed 2026-11-22T21:53:54.049817Z 5c53229 Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Preston2012

Copy link
Copy Markdown
Owner Author

@codex review

Head 638fc5c

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: 638fc5cbb9

ℹ️ 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".

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: 638fc5cbb9

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

… card URL carries its hash

Preston 2026-11-22: the blue Chere' card had better branding, the plate cards read better; make
sure every page has a bulletproof share card.

- og-cards.mjs draws the five Chere' pages on the same riveted plate in the app icon's own blues,
  with the Chere' icon and name on the mast, mint where the site uses copper, and "Said like
  Sherrie." in the foot. /chere/onboard gets a card: it is noindex, but the setup link is texted
  to every new customer, so it is the one Chere' link most often opened from a text.
- The hand-made /chere and /chere/join cards and their sources go; one generator draws every
  card. They stay in main's history (631a172, d4d1765).
- BaseLayout puts ?v=<first 8 of the card's sha256> on every local card URL. Chat apps cache a
  card by URL, so a redrawn card under the same name kept showing the old one.
- Strict card check (/root/scripts/s339-ogstrict.py): every built page, og and twitter tags,
  declared size against the real file, type against the bytes, baseline JPEG, under 300 KB,
  then each card over HTTP.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xu6AcwHo9DHh4ZxeYKVcnu
… phone."

The phrase broke across the two lines; the whole second line now carries it, as the plate cards do.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xu6AcwHo9DHh4ZxeYKVcnu
Captured at 97b7a51 with golden.py capture --update. The chore prefix keeps
this commit off /changelog, so the manifest still matches once it lands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xu6AcwHo9DHh4ZxeYKVcnu
@Preston2012

Copy link
Copy Markdown
Owner Author

@codex review

Head 8c1d55f

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: 8c1d55fab9

ℹ️ 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".

@Preston2012 Preston2012 changed the title S339 round 4: performance pass, /chere share card S339 round 4: performance pass, Chere' share cards, cache-proof card URLs Nov 22, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: 8c1d55fab9

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

Both ran from scratch paths this session. They check this site, so they belong beside the code
they check.

- scripts/cards/og-check.py: every built page's og and twitter tags, declared card size against
  the real file, type against the bytes, baseline JPEG, under 300 KB, then each card over HTTP.
  Run after a build: python3 scripts/cards/og-check.py dist/client BASE_URL. /lamp is skipped,
  as og-cards.mjs skips it.
- scripts/audit/page-repeats.py: statements a page says twice inside main. Run on dist/client.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xu6AcwHo9DHh4ZxeYKVcnu
Captured at ddcd2eb with golden.py capture --update. The chore prefix keeps
this commit off /changelog, so the manifest still matches once it lands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xu6AcwHo9DHh4ZxeYKVcnu
@Preston2012

Copy link
Copy Markdown
Owner Author

@codex review

Head b324ad7

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b324ad7723

ℹ️ 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".

Comment thread scripts/cards/og-check.py
print(f"{'ok ' if ok else 'BAD '}{path:45s} {st} {ct} {len(data)//1024}KB")
except Exception as e:
bad += 1; print('BAD ', path, e)
print('PAGES', len(glob.glob(dist + '/**/*.html', recursive=True)), 'CARDS', len(cards), 'BAD', bad)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Return a failing exit status when card checks fail

When a built page has invalid metadata or a card fails the HTTP checks, the script increments bad but still exits successfully. A metadata-only fixture with no OpenGraph tags produces BAD 1 and exit status 0, so invoking this strict checker from a build or deployment gate will silently allow broken share cards through. Exit with a nonzero status when bad is nonzero.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in f4d74e8: exits 1 when anything is BAD. A page with no og tags exits 1; the preview build exits 0.

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: b324ad7723

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

It counted failures and still exited 0, so a gate calling it would pass broken cards. A page with
no og tags now exits 1; the preview build exits 0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xu6AcwHo9DHh4ZxeYKVcnu
Captured at f4d74e8 with golden.py capture --update. The chore prefix keeps
this commit off /changelog, so the manifest still matches once it lands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xu6AcwHo9DHh4ZxeYKVcnu
@Preston2012

Copy link
Copy Markdown
Owner Author

@codex review

Head 5c53229

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: 5c532295c4

ℹ️ 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".

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: 5c532295c4

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@Preston2012
Preston2012 merged commit 75f27a0 into main Nov 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants