fix(tooling): execute PR group 1 tooling, CI/CD, scripts, and governance sweep - #2476
Conversation
Remaining Lucide size={15} and 1px shadow spreads were blocking the
token contract. Map those to named tokens, drop unused v2 line-height
companions, and record leftover Hazard 2/3 items in FIX-GUIDE.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com> # Conflicts: # src/components/therapy-compass/therapy-card.tsx
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Keep quoted contract numbers in lockstep with the baseline JSON, and replace nested brief-duration ternaries plus leftover Lucide size={16} on screens this sweep already touched.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codex Review SummaryThis 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. |
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_15712a3a-b055-4bc7-b988-86bd71e509ef) |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: dc540ed9c2
ℹ️ 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".
…pdate repo snapshot
…tifact resolution
CI triageCI failed on this PR. Automated classification of the 3 failed job(s):
Compared with main CI run #14557 (failure). Classification is evidence routing, not permission to ignore a failure. Exact quarantined Playwright identities remain governed by the flake ledger. |
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Rem-based min-h-tap/min-h-12 undershoot under compact density (15px root) and can subpixel-round below the ui-smoke account-provider assertion. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_b59bdcd7-4621-4b5b-a90f-3b1c30122c57) |
Summary
Executes PR Group 1 tasks across tooling, CI/CD, scripts, documentation, and repository governance:
scripts/check-docs-links.mjsto parse and validate GitHub-flavored markdown heading slugs and HTML anchor tags (<a id/name>,<span>). Includeddocs/superpowers/specs/in scanning and fixed broken spec links. Added unit tests intests/check-docs-links.test.ts(4/4 passed; 4,717 repo references verified).AGENTS.mdlines 422–427 to accurately documentscripts/run-playwright.mjsexit codes (exit 75 on lock/admission contention, exit status propagation on test failure, exit 1 on wrapper/build error).docs/audit/live-drift-forensics-2026-08.mdline 2276 to record that manual promotion recommendations are superseded per settled policy §D4 (deploy-on-merge ON).scripts/check-repo-awareness-snapshot.tswithcheckRepoAwarenessSnapshot()to gracefully skip git-less environments with exit 0 and an informative warning (10/10 unit tests passed intests/repo-awareness-gate.test.ts).scripts/run-playwright.mjson non-zero Next.js production build exits (capturing status, signal, error, and process memory RSS/heap).--allow-partialCLI flag andresolveEvaluationCases()fail-safe inscripts/eval-retrieval.tspreventing zero-case runs or silent case drop without explicit opt-in (28/28 unit tests passed intests/eval-retrieval.test.ts).measureServerHtmlPayloads()inscripts/check-bundle-budget.mjsand configuredserverPagesceiling inbundle-budget.jsonto monitor unpaginated server-rendered HTML payloads (67/67 unit tests passed intests/bundle-budget.test.ts).mainand verified resolved/safe, with merge-safe ledger closure entries queued indocs/outstanding-issues-inbox/.Verification
npm run typecheck— 0 errors across 5,866 repository files.npx vitest run tests/check-docs-links.test.ts tests/repo-awareness-gate.test.ts tests/eval-retrieval.test.ts tests/bundle-budget.test.ts— 4/4 test suites passed, 109/109 tests passed.node scripts/check-docs-links.mjs— 4,717 repo path and anchor links verified.npx tsx scripts/check-repo-awareness-snapshot.ts— in step with data/repo-awareness-snapshot.json.Risk and rollout
Clinical Governance Preflight
Clinical KB Database(sjrfecxgysukkwxsowpy)Note
Low Risk
Changes are mostly offline CI/scripts and docs; eval harness stricter defaults could break ad-hoc partial runs until
--allow-partialis passed; UI edits are presentation-only on account setup and retrieval banners.Overview
This PR is a tooling and governance sweep plus a few targeted product tweaks. Validation scripts get stricter and more testable; docs and ledgers catch up with settled policy.
Docs links now validate in-repo markdown anchors (heading slugs and HTML
id/name), not just file paths. Bundle budget addsserverPagesceilings viameasureServerHtmlPayloads()so large server-rendered pages (starting with/mockups/development/review-state) cannot grow without failingcheck:bundle-budget. Eval retrieval gains--allow-partialandresolveEvaluationCases()so empty or silently truncated golden runs fail closed unless explicitly opted in. Repo-awareness exposescheckRepoAwarenessSnapshot()and skips with exit 0 when git is unavailable. Playwright wrapper docs inAGENTS.mdare corrected; build failures log memory/status diagnostics inrun-playwright.mjs.Smaller follow-ons: stale-evidence retrieval banner renders as a compact inline group (not the bordered card used for other states); OAuth provider buttons use
!min-h-[48px]for ui-smoke tap targets; ward-flow spec path updated tomockups/ward-flow; drift audit note marks superseded D4 guidance; snapshot and outstanding-issue inbox housekeeping.Reviewed by Cursor Bugbot for commit 69e24d1. Configure here.