docs: hand-off notes for stage B and C (do not merge)#72
Closed
TTigger wants to merge 1 commit into
Closed
Conversation
Temporary working document, to be deleted when stage C wraps up. Not meant to be merged. Records where the work actually stands (stage A shipped and verified on production, stage B two thirds done), what is left, the known debts, and the four traps this session fell into — a Vercel deployment that goes READY with a function that cannot load, share-card images silently swept into the service worker precache, a logo glyph that vanishes because resvg has no Georgia, and hand-off notes from a previous session that were fabricated. Includes the resume steps for a fresh machine: the CJK fonts are cached under scripts/.cache/ and gitignored, so `npm run og` re-downloads them, but the 66 cards are committed and the script only needs running when a tool is added or renamed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft — do not merge. A working document so development can resume on another machine. Delete the branch when stage C wraps up.
There is no unmerged code. Everything this session produced is already on
master:efc6bebc3e34af230ac8ftwitter:card→summary_large_imageBaseline:
typecheck:api+ 508 unit + 54 e2e, all green.Resuming on a fresh machine
No font setup needed.
scripts/.cache/(Noto Serif/Sans TC, ~16MB, plus twemoji SVGs) is gitignored andnpm run ogre-downloads it — but the 66 PNGs are committed, so the script only runs when a tool is added or renamed.og.test.tsfails if you forget.Still to do
StageProfile.tsx:337's fourTHEMESare all light grounds; this also fixes transparent exports being unreadable on dark backgrounds.api/function), QR scanning (barcode-detector, front-end only), CPC fuel prices → AQI/weather, PDF merge/split/rotate.Known debts
assertPublic(): resolve-then-refetch-by-hostname leaves a window. Proper fix is connecting to the validated IP with an explicitHostheader.sharpisn't inpackage.json—scripts/gen-icons.mjsdepends on it anyway.2048/word-count/qrcode/tw-idcards.Unfinished verification (recorded honestly)
Production
curlconfirms the meta tags and that all 66 images return200 image/png. But the dogfood step — running URL Audit against tiglet's own tool pages to confirm the social group still scores 100 and the preview now renders as a large card — was interrupted and never completed. Pick it up at https://tiglet.vercel.app/tools/url-audit, or use Facebook's Sharing Debugger / X's Card Validator.Four traps, documented in HANDOFF.md
gh api, not stdout.api/fails to compile. Every request to/api/fetch-metareturnedFUNCTION_INVOCATION_FAILEDwhile both Vercel and GitHub CI were green. Now guarded bynpm run typecheck:apiin CI.T—icon.svgdraws it with<text>in Georgia and resvg has no such font.public/touches the service worker. The 66 cards were swept into the precache (2.3MB shipped to every visitor);globIgnores: ['og/**']cut precache entries from 194 to 128.🤖 Generated with Claude Code