Repository navigation
S339 round 4: performance pass, Chere' share cards, cache-proof card URLs - #60
Conversation
… 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
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
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
|
Codex Review: Didn't find any major issues. 👍 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
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
There was a problem hiding this comment.
💡 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".
| 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) |
There was a problem hiding this comment.
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 👍 / 👎.
There was a problem hiding this comment.
Fixed in f4d74e8: exits 1 when anything is BAD. A page with no og tags exits 1; the preview build exits 0.
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
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
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
S339 round 4.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Xu6AcwHo9DHh4ZxeYKVcnu