Repository navigation
Image library: search quality, routing, Tier 1 illustrations, compression - #1510
Merged
Merged
Conversation
Certification is the #1 use case for images — Addie is literally teaching governance, media buys, and creative workflows. Added explicit guidance in both the tool reference prompt (Search list emphasizes certification) and the teaching methodology (new step 3: illustrate concepts visually when introducing key topics). Co-Authored-By: Claude Opus 4.6 <[email protected]>
plainto_tsquery ANDs all terms, so "governance workflow" returned 0 results even though we have governance images. Switch to to_tsquery with OR-joined terms for high recall — ts_rank still boosts results matching more terms. Also make trigger creation idempotent in migration 301. Co-Authored-By: Claude Opus 4.6 <[email protected]>
- Add debug log for generated tsquery expressions - Use [^a-zA-Z0-9\s] instead of [^\w\s] to split on underscores too, so "ad_creative" becomes "ad | creative" for better recall Co-Authored-By: Claude Opus 4.6 <[email protected]>
- Generate 12 new concept illustrations in Sage (teal) theme: brand identity (3), MCP architecture (3), SI sessions (3), agent trust (3) - Compress all 79 PNGs with pngquant (40.8MB → 15.0MB, 63% reduction) - Add --style flag to generate-images.ts (addie blue vs sage teal) - Seed migration with enriched search metadata (topics, descriptions) - Move new images to images/concepts/ (not walkthrough/) Co-Authored-By: Claude Opus 4.6 <[email protected]>
Contributor
Image Alt Text Check ResultsCommit: Checked: 60 references, 57 images validated via API
|
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.
Summary
Search quality and routing
plainto_tsquery(AND) toto_tsquerywith OR-joined terms for higher recallTier 1 Sage illustrations
Image compression and tooling
--styleflag togenerate-images.ts(addie blue vs sage teal palettes)Follow-ups from expert reviews
Test plan
🤖 Generated with Claude Code