Repository navigation
Conversation
…1814) * fix(importer): let the scoped spec backfill reach canonical masters `--only` now accepts keys from CANONICAL_BACKFILL_SPECS_BY_MODEL_KEY as well as seed keys. A named canonical master is read by model_key, planned, diffed and counted by --expect like a seed, and written with the same payload as the unscoped run (shared canonicalMasterUpdate). A scoped run still reads no other canonical or AI master and no Item. A canonical key with no master row is never inserted: it stops an --apply (even with --insert-missing) before any write, and a dry run warns. A key that is neither a seed nor canonical still fails before any read. Closes #1804 * test(importer): pin canonical scope guards and unscoped canonical payload Review round 1 of #1814: the scoped canonical path refuses a row with no usable id before any write; tests cover an unnamed canonical master, a canonical problem blocking named seeds, a lookup error, repeated keys and the unscoped canonical payload. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…1806) * chore(ops): add po:antigravity runtime to claim-lock and PO config Register antigravity (po:antigravity) in PO_TOOLS alongside claude and qwen so board.mjs stamps po:antigravity on claim and enforces 3-way mutual exclusion across PO lines, while keeping claude as the sole dev -> main promoter in promote.mjs. Update docs/product-owner-config.md (po_labels, agent_model Antigravity mapping, cc-po 2.18.0 heartbeat and context compaction keys), AGENTS.md, and .claude/skills/product-owner/SKILL.md. Closes #1805 * chore(ops): address round-1 review on po:antigravity docs and labels Add po:antigravity preset to .github/labels.yml and Claimant example to .github/pull_request_template.md, qualify per-line Antigravity check-in file names in AGENTS.md and SKILL.md, and align multi-runtime wording in SKILL.md and board.mjs JSDoc. Refs #1805
…talog reads (#1816) * fix(web): group item variants before home battles and deals, cache catalog reads - Group homepage catalog rows by Item before building popular 1v1 battles so storage variants of the same Item never pair and battle URLs use canonical Item slugs. - Apply groupCatalogRowsByItem on /deals consistently with category pages under RATE_ITEM_MODEL. - Switch uncached getMasterProducts calls on / and /contact-us to getCachedMasterProducts so rate:products tag invalidation applies. - Add unit tests in home-deals-item-grouping.test.ts. Closes #1808 * fix(web): keep per-variant deal spread and guard home battle versus slugs - Preserve the standing variant max_price on Item-grouped /deals rows so spreadSavingsVnd reflects cross-platform savings rather than cross-capacity price deltas. - Guard homepage 1v1 battles with versusHref, itemSlugFromProductAnswer, and isParseableVersusPair, skipping -vs- slugs and side collisions. - Expand home-deals-item-grouping.test.ts for review round 1 findings.
* fix(web): serve dotted merchant, product, and versus slugs Route single-segment dotted dynamic paths under /merchants/:id, /compare/:versus, and /:category/:slug (with or without /vi, /en, /cs) through proxy.ts with per-request CSP nonces instead of rewriting them to /vi/__not-found or applying the static non-page CSP header. Closes #1807 * fix(web): align proxy matcher case-sensitivity and slug tokens Match mixed-case prefixes in proxy.ts config.matcher to stay in exact lockstep with routes-manifest.json caseSensitive: false, and restrict dotted dynamic page segments to valid slug characters so malformed or percent-encoded dotted probes fall through to /vi/__not-found. Refs #1807 * chore(web): merge origin/dev into fix/1807-dotted-slugs
…ers (#1818) * fix(web): suppress discount verdicts on unavailable or bait-price offers Guard HeroSearchInspector discountAnalysis against unavailable and bait offers, exclude unavailable/bait offer prices in DeepInspect, and require orig > current in Markdown price lines. Refs #1810. * fix(web): harden 1-2 offer bait, unavailable verdict, and orig guards Suppress top-level DeepInspect verdicts on unavailable/unpriced offers, guard Offers Table and CSV price_original with orig > current, catch sub-floor 1-2 offer bait and stale min_price, and speed up offer sort. Refs #1810.
… JSON-LD (#1827) * fix(web): group Item peers on product detail and preserve ImageObject JSON-LD - Group category peers by Item via groupCatalogRowsByItem and exclude the current Item before standing and relatedCompetitors rankings. - Emit canonical Item detail hrefs (catalogRowSlug) and guarded 1v1 versus links (versusHref + isParseableVersusPair). - Preserve CC BY-SA ImageObject JSON-LD attribution on ProductGroup and hasVariant in buildItemProductGroupNode. - Add unit tests in product-competitors.test.ts and device-images.test.ts. Closes #1819 * fix(web): address round-1 review findings on compare pins and JSON-LD fallback - Precompute fallbackGroupImages in buildItemProductGroupNode so all priced hasVariant Product nodes inherit ImageObject metadata when default images are empty, and strip null contentUrl/url properties. - Pin shared-slug multi-size Items and partial-load routes, and build /compare links with cat= and variant.<token> fallback hints. - Strip control chars and validate fallback catalogue slugs in resolveCanonicalPeerSlug and withoutCurrentItemPeers. - Emit the trimmed canonical string returned by resolvePeerVersusHref. - Expand unit tests in product-competitors.test.ts and device-images.test.ts.
…catalog (#1835) * fix(web): sync ?brand= sidebar filter, guard 1v1 links, and localize catalog UI/exports Seed sidebar active brands from ?brand= fallback and clear legacy brand param on toggle, guard category and toolbar /compare/<a-vs-b> 1v1 links with isParseableVersusPair and Object.hasOwn lookups, export canonical catalogRowSlug(p) in toolbar CSV/JSON exports, and localize price chips, slider unit, and Markdown headers across vi/en/cs. Refs #1828.
… versus urls (#1831) * fix(web): dedupe Item variants in Compare, wire combobox ARIA/Escape, and guard SEO/versus slugs * fix(web): preserve non-cheapest tray variants and wire listbox/option focus semantics
…SC flags (#1832) * fix(web): preserve null merchant review risk and resolve Item links Keep null review seeding risk as null/empty/localized no-data in MD, CSV, and JSON merchant audit exports instead of coercing to 0/100. Resolve canonical Item URLs via getItemSlugsFor and pass locale to fitTitle/fitDescription on /merchants/[id], and strip internal dosafe_risk_known flags via withPublicReviewRisk on /merchants RSC. Refs #1821 * fix(web): harden merchant Item hrefs, URL export, and score guards Drop raw fallbackHref bypass on Deal Radar links, enforce canonical categories and <=120-char Object.prototype-safe slugs with mixed-case Item resolution, sanitize Markdown profile URLs, and reject control-char and radix score inputs before trimming. Refs #1821 * fix(web): keep /merchants RSC normalization server-safe Compute public merchant score clamping in merchants/page.tsx without invoking use-client helpers on the server, and preserve the direct knownDosafeRiskScore(merchant) call contract on /merchants/[id]. Refs #1821
…1833) * fix(web): dedupe sitemap item variants and harden 1v1 versus guards Deduplicate category candidates per Item and case-insensitive side slug before building curated 1v1 sitemap battles, build URLs via versusHref, enforce parseable -vs-/-vs and case-insensitive pairKey guards across Item and variant modes, and resolve versusLastModified across canonical Item and fallback variant slugs. Refs #1822 * fix(web): enforce exact master slug parity and >256-char lastmod guards Require exact lowercase master catalog slugs on variant/unlinked/fallback versus sides, remove case-insensitive variant cross-linking, reject over-256-char sitemap lastmod keys without prefix truncation, refresh bySlug cache on mutation, and assert 200 route parity on all compare URLs. Refs #1822 * test(web): parse URL origin and pathname in sitemap assertions Use parsed URL origin and pathname Set lookups instead of URL string includes in sitemap-lastmod.test.ts to satisfy CodeQL URL sanitization. Refs #1822
… read (#1836) * fix(web): emit canonical item product_href in watchlist api and cache read Expose itemSlug in resolveWatchlistSlug and build canonical Item product_href URLs in GET /api/v1/rate/watchlist under RATE_ITEM_MODEL without ?v= query parameters or 308 redirect hops. Switch /watchlist ISR catalog loading to getCachedMasterProducts so regeneration shares the Data Cache and rate:products revalidation. Closes #1829 * fix(web): honor item category_id and slug bounds in watchlist product_href Carry itemCategoryId from resolveWatchlistSlug and resolve canonical Item category slugs in GET /api/v1/rate/watchlist so divergent Item categories emit zero-hop Item URLs and non-catalogue categories or unresolvable Item slugs fall back to getMasterProductHref(master). Refs #1829
* fix(web): align OpenAPI v1 schemas, params, and 500 error shape - Flatten extension/lookup data.properties.priceAssessment schema - Document category=all and brands on GET /api/v1/rate/products - Document optional v variant slug on GET /api/v1/rate/reviews - Document 400 ApiError on GET /api/v1/rate/merchants - Return jsonApiError on GET /api/v1/rate/openapi 500 failures Closes #1830 * test(web): assert brands filter and brand alias fallback on /products Verify p_brands RPC arguments and filtered brand rows for both brands=Apple,Samsung and brands=&brand=Samsung on category=all. Refs #1830
* fix(web): align peer compare count and Item fallback guards - Derive compareAllCount from buildPeerCompareLink emitted tokens. - Allow leading-underscore Item slugs in resolveCanonicalPeerSlug while keeping 1v1 and /compare token checks strict. - Surface groupCatalogRowsByItemWithStatus degraded flag to suppress mixed Item-vs-fallback 1v1 versus links. Refs #1834
) * fix(extension): format VND and decimal scores with cs conventions Add optional locale support to formatSafeExtensionVnd and formatSafeNumber with deterministic Czech NBSP grouping and comma decimals. Wire t('langCode') across pill, sidepanel, and verdict UI call sites while preserving machine attributes, and add vi/en/cs tests. Closes #1839
* fix(web): close mobile nav on navigate and localize cs exports Close #rate-nav-menu and the categories dropdown on unmodified link activation and reset both when usePathname() changes so <main> and <footer> do not stay inert on same-route or shared-shell navigations. Route VND, percent, and decimal score formatting in ProductOffersExplorer and ProductShareAuditButton Markdown builders through locale-format.ts helpers for /cs while preserving vi and en outputs. Refs #1838
* fix(reviews): render v2 category criteria and /cs labels * fix(reviews): handle db category precedence and 320px badge wrap
* fix(web): localize Inspect, PriceHistory, and Merchant Markdown Route DeepInspectWorkspace, PriceHistorySection, and MerchantDirectoryExplorer Markdown builders through locale-format helpers and next-intl catalogs across vi, en, and cs (#1842). * fix(web): harden Markdown export cell sanitization and bounds Preserve Czech NBSP in Markdown cell sanitizers, clamp non-finite score/trust inputs, and type InspectMarkdownKey strictly (#1842).
* fix(web): wire watchlist editor a11y and localize cs export Label target-price spinbuttons, expose aria-expanded and aria-controls on PriceWatchButton and WatchlistWorkspace target editors, support Escape/Enter and outside-press dismissal, pass categoryPath to CompareQuickToggle, prioritize canonical Item product_href, and localize portfolio Markdown exports across vi, en, and cs. Closes #1693 * fix(web): harden watchlist editor focus, href bounds, and ime guard Restore trigger focus after keyboard/button saves and unwatch, scope document Escape handling to the active PriceWatchButton container, skip Enter commits during IME composition, accept up to 256-char canonical product_href slugs while sanitizing fallback stored slugs through getMasterProductHref, and index inlineEditorId so spaced localStorage slugs keep single-token aria-controls IDREFs. Refs #1693
* fix(importer): fail closed on --master flag and keyset-page jobs Support both --master <uuid> and --master=<uuid> across importer CLI jobs, validate strict UUIDs, and fail closed before any auth or DB call on missing, empty, malformed, repeated, or unknown flags. Scope single-master reads in product-points and product-points-ai to the target master and replace remaining OFFSET fetchAllPages/.range scans with keyset fetchByKey pagination. * fix(importer): harden lowered max-rows paging and --hide-ai= guard Stop fetchByKey only on empty page responses so lowered PostgREST max-rows (< pageSize) never truncates reads and missing tail keys fail closed even on small pages. Reject empty --hide-ai= CLI values so they cannot silently override PRODUCT_POINTS_HIDE_AI=true, validate DOS_AI_BASE_URL before Auth sign-in in review-ai-points, and align keyset test mock comparators.
* chore(ops): allow antigravity PO claimant in promote.mjs Accept both claude: and antigravity: claimants in promote.mjs via an unmutated ALLOWED_PROMOTER_TOOLS set while keeping PROMOTER_TOOL = 'claude' and PROMOTER_TOOLS exported. Reject explicit blank --claimant flags, add unit test coverage, and update PO docs and config for Claude Code quota failover. Closes #1849 * docs(ops): clarify JOY-assigned Antigravity PO promotion rule
There was a problem hiding this comment.
If your organization's extra usage balance is empty, an organization admin can add extra usage credits at claude.ai/admin-settings/usage. If its monthly spend limit was reached, an admin can raise it on the same page. If neither applies, contact Anthropic support.
Once extra usage is available, someone with write access to this repository can comment @claude review on this pull request to trigger a review.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
Promote dev to main.
Merge with a merge commit, never squash (Docs/Resources/RELEASE.md).