Skip to content

feat(fix): plan peer blockers before install and check npm lock sync - #64

Merged
lucasbraum merged 7 commits into
mainfrom
codex/peer-preflight
Oct 10, 2026
Merged

lucasbraum merged 7 commits into
mainfrom
codex/peer-preflight

Conversation

@lucasbraum

@lucasbraum lucasbraum commented Oct 10, 2026 •

Copy link
Copy Markdown
Collaborator

Changes

fix plans the complete peer upgrade set before cloning, prints every blocker and one complete retry command, and supports repeatable --allow-peer with native npm/pnpm/Yarn overrides and visible Peer risks. npm manifest/lockfile mismatches still fail before cloning. pnpm/Yarn warn about unallowed peers; npm stops. No force or legacy-peer-deps flags are used.

The lockfile guard now protects resolved contents outside the allowed union, rather than requiring the same records at the same placements:

  • npm resolves dependency and peer names from each package placement using Node's upward node_modules lookup in both trees, including unchanged dependent records and workspace importers. Nested placement alone does not imply a dependency edge; bundled children are treated separately.
  • Outside bindings must retain the same name, version and integrity, plus unchanged execution/platform fields (scripts, bin, os, cpu and related flags). Without integrity, the source locator must stay the same. Dependency chains of relocated copies are checked too.
  • The union still covers leader, companions, explicit extras and allowed peers, in both locks. Bindings already inside that authorized union remain part of the intended upgrade. A removed outside copy resolving to a different authorized hoisted version is not exempted.
  • Same-content hoisting/deduplication and descriptive metadata updates are accepted. Added/removed outside resolved packages, different versions/integrities, changed execution/platform fields and unrelated importer declarations remain rejected.
  • pnpm and Yarn had the same field-value equality assumption and now use the same semantic guard. Their adapters compare logical package/snapshot/descriptor edges, since those lockfiles do not encode npm's physical install tree. Yarn descriptor regrouping remains supported; pnpm aliases and older inline package graphs are covered.

Accepted housekeeping is retained in report JSON and shown with counts and placements in a collapsed Lockfile housekeeping section of the generated PR body and HTML report. The terminal shows only counts and points to the report.

Based on main after #62 merged. Minor changeset retained; signed-off feature commit 67e9f88 and merge commit 829ba22. Resolving the squash-merge history conflicts left the source tree identical to 67e9f88. Updated command and troubleshooting docs.

Real-repository verification

Local reproduction only: alanagoyal/alanagoyal@5d06422a3565eed930be9f61a3d117e8bff0ab91, Node 24.21.0, npm 11.19.0. Used the locally built CLI with the full preflight command (plus --verbose for timings):

npx uptide fix react @radix-ui/react-tooltip --target 19.3.0 --no-llm --allow-peer @emoji-mart/react

The run completes preflight, clone, analysis, guarded npm install, rules, final types and tests in 1m 33s wall time. The install phase completes in 41s. Exit 1 reflects failed migration verification, not a planning/install/scope failure. No PR, fork or push was made on the external repository. Its checkout remains on the same commit and clean; the migration branch and preview are local only.

Result Baseline After upgrade After --no-llm fixes
Type errors 0 13 13 (all new)
Tests 181 passed / 0 failed — 181 passed / 0 failed
Source edits — — 0 auto-fixed, 0 LLM-fixed; 23 manual sites in 9 files

Remaining diagnostics: 8 TS2322 nullable-ref mismatches, 3 TS18046 node.props unknown, 1 TS2503 missing JSX namespace and 1 TS2554 missing useRef argument. No LLM calls or spend. Runtime behavior was not verified. The generated PR body correctly marks review required and verification FAIL.

The existing companion planner selects shared-pin Radix versions, including downgrades for some companions. This policy is unchanged by the housekeeping fix and is visible in the unedited preview below. The explicitly allowed emoji-mart peer remains a runtime compatibility risk.

Lockfile housekeeping · 5 accepted dedupe moves · 0 metadata-only changes in this run

Each removed copy resolves to the same name, version and integrity at its hoisted placement. No outside resolved package disappears.

Package Removed placement Equivalent placement
@radix-ui/[email protected] node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-context node_modules/@radix-ui/react-context
@radix-ui/[email protected] node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-direction node_modules/@radix-ui/react-direction
@radix-ui/[email protected] node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-use-callback-ref node_modules/@radix-ui/react-use-callback-ref
@radix-ui/[email protected] node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-use-layout-effect node_modules/@radix-ui/react-use-layout-effect
@radix-ui/[email protected] node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive node_modules/@radix-ui/react-primitive

Baseline lockfile investigation remains valid: npm ci --dry-run passed; an unchanged manifest/lock-only install changed 0 records, with lockfile version 3 throughout. The earlier zod and @tiptap/suggestion removals were caused by diagnostic legacy-peer-deps; native scoped overrides preserve them. This implementation never uses that flag.

Validation

  • Local 1,030 core + 357 CLI tests pass; 15 opt-in network tests skipped.
  • Build, lint, typecheck, docs links and structural public-tree scan pass. The secret-backed scan runs in CI.
  • Regression coverage: dedupe to existing and newly hoisted copies; metadata-only changes; version/integrity changes; outside graph additions/removals; scripts/bin/os/cpu changes; unchanged dependents resolving differently; transitive resolution changes after same-identity dedupe; npm v2/v3, pnpm snapshots/aliases/inline graphs and Yarn descriptors; collapsed PR/HTML output and terminal counts. Previous peer-planning and group-scope tests remain.
  • CI on 829ba22: test (20), test (22), smoke (20), smoke (22), docs, changeset and signed-off all pass. Both smoke jobs pass npm, npm workspaces, pnpm, Yarn classic and Yarn Berry, including fix --no-llm; the secret-backed private-material scan passes in both test jobs. The separate Pack test is still running as of this update and is not included in the green checks.

Generated external PR body — preview only

The following is the full, unedited generated body, printed for review. It was not submitted as a PR anywhere. Its run metadata records the working-tree build used before the follow-up commit.

Full generated PR body (verification failed; no external PR opened)
## Upgrade react 18.2.0 → 19.3.0

**Review required before merging.** The code was migrated to react 19. New type errors remain.

Upgraded with react, so the install stays consistent:

- `@radix-ui/react-avatar` 1.1.11 → 1.1.1 (@radix-ui/react-avatar 1.1.1 pins @radix-ui/react-context 1.1.1, @radix-ui/react-primitive 2.0.0, @radix-ui/react-use-callback-ref 1.1.0, as @radix-ui/react-context-menu 2.2.2 does)
- `@radix-ui/react-context-menu` 2.2.16 → 2.2.2 (@radix-ui/react-context-menu 2.2.2 pins @radix-ui/primitive 1.1.0, @radix-ui/react-context 1.1.1, @radix-ui/react-primitive 2.0.0, @radix-ui/react-use-controllable-state 1.1.0, as @radix-ui/react-switch 1.1.1 does)
- `@radix-ui/react-dialog` 1.1.15 → 1.1.0 (@radix-ui/react-dialog 1.1.0 is released with @radix-ui/react-slot 1.1.0 (pins 1.1.0))
- `@radix-ui/react-label` 2.1.8 → 2.1.0 (@radix-ui/react-label 2.1.0 pins @radix-ui/react-primitive 2.0.0, as @radix-ui/react-avatar 1.1.1 does)
- `@radix-ui/react-popover` 1.1.15 → 1.1.0 (@radix-ui/react-popover 1.1.0 is released with @radix-ui/react-slot 1.1.0 (pins 1.1.0))
- `@radix-ui/react-slot` 1.2.3 → 1.1.0 (@radix-ui/react-tooltip 1.1.0 pins @radix-ui/react-slot 1.1.0)
- `@radix-ui/react-switch` 1.2.6 → 1.1.1 (@radix-ui/react-switch 1.1.1 pins @radix-ui/react-compose-refs 1.1.0, as @radix-ui/react-slot 1.1.0 does)
- `@radix-ui/react-tooltip` 1.0.7 → 1.1.0 (explicit peer upgrade accepting react 19.3.0)
- `@types/react` 18.2.62 → 19.3.0 (@types/react 19.3.0 types react 19.3.0)
- `@types/react-dom` 18.2.19 → 19.3.0 (@types/react-dom 19.3.0 types react-dom 19.3.0)
- `react-dom` 18.2.0 → 19.3.0 (react-dom 19.3.0 is released with react 19.3.0 (peer ^19.3.0))

Assisted fixes disabled (--no-llm).

| | |
|---|---|
| **Risk** | High: peer compatibility is not verified; manual sites left; unverified sites |
| **Changes** | 23 sites in 9 files · 0 auto-fixed · 0 fixed by the agent (LLM) · 23 manual |
| **Types** | ❌ 13 errors after the bump → 13 |
| **Behavior** | ⚠️ not checked |
| **Tests** | ✅ 1 workspace passed · the `test` script of the repository |

<details><summary>Lockfile housekeeping · 5 dedupe moves · 0 metadata-only changes</summary>

Outside resolutions retain the same package name, version and integrity; execution and platform fields are unchanged.

- `@radix-ui/[email protected]`: `node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-context` → `node_modules/@radix-ui/react-context`.
- `@radix-ui/[email protected]`: `node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-direction` → `node_modules/@radix-ui/react-direction`.
- `@radix-ui/[email protected]`: `node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-use-callback-ref` → `node_modules/@radix-ui/react-use-callback-ref`.
- `@radix-ui/[email protected]`: `node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-use-layout-effect` → `node_modules/@radix-ui/react-use-layout-effect`.
- `@radix-ui/[email protected]`: `node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive` → `node_modules/@radix-ui/react-primitive`.

</details>

### What changed

**1. ".":useRef** · 1 site · manual
Manual migration required: no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
<details><summary>Diff and reasoning</summary>

Representative diff was not retained in this stored run.

- `components/apps/photos/photos-grid.tsx` (1)

no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual

</details>

**2. React.ReactNode** · 1 site · manual
Manual migration required: no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
<details><summary>Diff and reasoning</summary>

Representative diff was not retained in this stored run.

- `components/apps/notes/note-markdown-preview.tsx` (1)

no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual

</details>

**3. TS18046** · 3 sites · manual
Manual migration required: no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
<details><summary>Diff and reasoning</summary>

Representative diff was not retained in this stored run.

- `components/apps/notes/note-content.tsx` (3)

no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual

no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual

no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual

</details>

**4. TS2322** · 18 sites · manual
Manual migration required: no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
<details><summary>Diff and reasoning</summary>

Representative diff was not retained in this stored run.

- `components/apps/calendar/calendar-app.tsx` (2)
- `components/apps/finder/finder-app.tsx` (1)
- `components/apps/messages/chat-area.tsx` (1)
- `components/apps/messages/sidebar.tsx` (1)
- `components/apps/notes/note-content.tsx` (10)
- `components/apps/notes/notes-app.tsx` (2)
- `components/apps/notes/sidebar.tsx` (1)

no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual

no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual

no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual

no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual

no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual

no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual

no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual

no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual

no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual

no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual

no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual

no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual

no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual

no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual

no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual

no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual

no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual

no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual

</details>

### Peer risks

- @emoji-mart/react 1.1.1 declares react ^16.8 || ^17 || ^18, which rejects 19.3.0. Explicitly allowed with `--allow-peer`; the manager override is in package.json. Runtime compatibility needs review.

### Worth a look

- Manual: `calendar-app.tsx:469` — no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
- Manual: `calendar-app.tsx:455` — no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
- Manual: `finder-app.tsx:1522` — no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
- Manual: `chat-area.tsx:195` — no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
- Manual: `sidebar.tsx:566` — no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
- Manual: `note-content.tsx:620` — no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
- Manual: `note-content.tsx:619` — no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
- Manual: `note-content.tsx:618` — no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
- Manual: `note-content.tsx:617` — no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
- Manual: `note-content.tsx:616` — no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
- Manual: `note-content.tsx:615` — no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
- Manual: `note-content.tsx:614` — no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
- Manual: `note-content.tsx:613` — no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
- Manual: `note-content.tsx:612` — no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
- Manual: `note-content.tsx:611` — no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
- Manual: `note-content.tsx:66` — no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
- Manual: `note-content.tsx:63` — no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
- Manual: `note-content.tsx:62` — no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
- Manual: `note-markdown-preview.tsx:110` — no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
- Manual: `notes-app.tsx:119` — no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
- Manual: `notes-app.tsx:91` — no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
- Manual: `sidebar.tsx:707` — no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
- Manual: `photos-grid.tsx:87` — no mechanical rule for this reported site; assisted fixes disabled (--no-llm), left manual
- Resolve 13 new type errors before merging (see verification details).

<details><summary>Verification details</summary>

Type errors: baseline 0; target 13; after 13; 13 new. Verification: FAIL.

| Workspace | Baseline tests | Target tests |
|---|---|---|
| . | passed | passed |

- `.`: the `test` script of the repository — `node --import tsx --test tests/*.test.ts`

**Remaining errors**
- components/apps/calendar/calendar-app.tsx:455 TS2322: Type 'RefObject<HTMLInputElement | null>' is not assignable to type 'RefObject<HTMLInputElement>'.
  Type 'HTMLInputElement | null' is not assignable to type 'HTMLInputElement'.
    Type 'null' is not assignable to type 'HTMLInputElement'.
- components/apps/calendar/calendar-app.tsx:469 TS2322: Type 'RefObject<HTMLInputElement | null>' is not assignable to type 'RefObject<HTMLInputElement>'.
- components/apps/finder/finder-app.tsx:162 TS2503: Cannot find namespace 'JSX'.
- components/apps/finder/finder-app.tsx:1522 TS2322: Type 'RefObject<HTMLInputElement | null>' is not assignable to type 'RefObject<HTMLInputElement>'.
- components/apps/messages/chat-area.tsx:195 TS2322: Type 'RefObject<{ focus: () => void; } | null>' is not assignable to type 'RefObject<{ focus: () => void; }>'.
  Type '{ focus: () => void; } | null' is not assignable to type '{ focus: () => void; }'.
    Type 'null' is not assignable to type '{ focus: () => void; }'.
- components/apps/messages/sidebar.tsx:566 TS2322: Type 'RefObject<HTMLInputElement | null>' is not assignable to type 'RefObject<HTMLInputElement>'.
- components/apps/notes/note-content.tsx:62 TS18046: 'node.props' is of type 'unknown'.
- components/apps/notes/note-content.tsx:63 TS18046: 'node.props' is of type 'unknown'.
- components/apps/notes/note-content.tsx:66 TS18046: 'node.props' is of type 'unknown'.
- components/apps/notes/notes-app.tsx:91 TS2322: Type 'RefObject<HTMLDivElement | null>' is not assignable to type 'RefObject<HTMLDivElement>'.
  Type 'HTMLDivElement | null' is not assignable to type 'HTMLDivElement'.
    Type 'null' is not assignable to type 'HTMLDivElement'.
- components/apps/notes/notes-app.tsx:119 TS2322: Type 'RefObject<HTMLDivElement | null>' is not assignable to type 'RefObject<HTMLDivElement>'.
- components/apps/notes/sidebar.tsx:707 TS2322: Type 'RefObject<HTMLInputElement | null>' is not assignable to type 'RefObject<HTMLInputElement>'.
- components/apps/photos/photos-grid.tsx:87 TS2554: Expected 1 arguments, but got 0.

**Tests: .**
```text
✔ declares the complete mobile support matrix explicitly (2.23875ms)
✔ sends every unsupported mobile app to Notes (0.512166ms)
✔ keeps supported apps available in the mobile shell and Finder policy (0.217125ms)
✔ fails closed to Notes for unknown mobile app ids (0.11425ms)
✔ Dock order can differ from the shared app registry (1.315708ms)
✔ Photos cannot resize narrower than its desktop toolbar (0.133875ms)
✔ expanded restored windows stay inside the viewport's right edge (0.105625ms)
✔ starts a new event at the next local half-hour (3.658709ms)
✔ moves to the following slot when now is exactly on a half-hour (0.101833ms)
✔ carries the one-hour event across midnight (0.090833ms)
✔ advances the selected date when the next slot is midnight (0.068291ms)
✔ keeps user-created events visible in capped Month cells (0.717667ms)
✔ preserves public event order when there are no user events (0.110125ms)
✔ searches generated event titles and locations (13.158958ms)
✔ puts upcoming matching events before past results (0.604167ms)
✔ searches stored events outside the generated-event window (9.94ms)
✔ wraps Calendar search result keyboard navigation (0.104041ms)
✔ centers Calendar search selections around their start time (0.107083ms)
✔ uses Sunday-based US calendar week numbers (1.077459ms)
✔ starts week one with the Sunday containing January 1 (0.087291ms)
✔ Dock keep overrides recover from malformed storage (0.714959ms)
✔ Dock open indicators default on and honor an explicit off preference (0.2495ms)
✔ registered Dock defaults apply until a user overrides them (0.315417ms)
✔ returning to an app's registered default removes its stored override (0.205791ms)
✔ Dock submenus choose the side with less viewport overflow (0.226958ms)
✔ document apps reuse stable, app-specific Finder picker identities (0.11575ms)
✔ maps only Finder-supported terminal directories (0.792625ms)
✔ opens only existing GitHub project roots (0.184958ms)
✔ builds clickable segments from the Finder section root (0.835459ms)
✔ keeps local and virtual roots concise (0.16775ms)
✔ Finder restores valid sort metadata and rejects invalid saved values (1.189917ms)
✔ Finder defaults match the indicated column and reverse on first click (6.000959ms)
✔ Finder sort uses native-feeling initial directions and reverses (0.085792ms)
✔ Finder name sorting is case-insensitive and numeric (0.065375ms)
✔ Finder kind sorting uses names as deterministic ties (0.062625ms)
✔ Finder date sorting supports newest and oldest first (0.057209ms)
✔ returns the same-day 7 PM cutoff before evening (3.708208ms)
✔ does not offer an evening cutoff at exactly 7 PM (0.077167ms)
✔ does not roll the evening cutoff into the next day (0.049916ms)
✔ chess rules accept legal moves and reject illegal moves (2.808875ms)
✔ chess move records distinguish captures for sound playback (3.449875ms)
✔ easy computer play is deterministic with an injected random source (2.503666ms)
✔ hard computer play takes an undefended queen (391.334958ms)
✔ waiting badges require both a fresh heartbeat and unexpired row (0.124792ms)
✔ visitor matchmaking waits for two minutes before fallback (0.05275ms)
✔ waiting badge polling is infrequent and protected by a shared rate limit (0.058459ms)
✔ matchmaking uses a stricter abuse limit than active gameplay (0.0795ms)
✔ visitor names are normalized and kept deliberately short (0.146458ms)
✔ temporary disconnect and abandonment use different thresholds (0.130375ms)
✔ public match responses never expose participant credential hashes (0.100792ms)
✔ authoritative moves reject conflicts, illegal turns, and completed games (1.029ms)
✔ authoritative moves preserve history and recognize threefold repetition (1.863208ms)
✔ 2048 merges each tile only once per move (0.811708ms)
✔ 2048 creates two starting tiles and detects a locked board (0.145708ms)
✔ 2048 applies scoring atomically and deterministically (0.111917ms)
✔ minesweeper keeps the first cell and its neighbors safe (0.326042ms)
✔ minesweeper preserves flags when the minefield starts (0.162792ms)
✔ snake grows on food and collides with walls (0.17975ms)
✔ memory deck contains eight exact pairs (0.124584ms)
✔ memory deck draws each game from a varied emoji pool (0.117125ms)
✔ memory levels grow into square boards with exact pairs (0.124959ms)
✔ restored odd memory levels start with the free space matched (0.121ms)
✔ campaign games share five explicitly tuned levels (0.140084ms)
✔ campaign levels persist per game until Games is closed (0.128834ms)
✔ preserves Markdown that already fits in the preview limit (0.649667ms)
✔ bounds long Markdown at a nearby complete line (0.091ms)
✔ uses the hard limit when no useful line boundary exists (0.062167ms)
✔ does not split supplementary Unicode characters (0.052084ms)
✔ supports an empty preview limit (0.056666ms)
✔ defers Markdown parsing until a preview reaches the viewport (6.074666ms)
✔ renders links and task controls as non-interactive preview content (122.103541ms)
✔ digital clock refresh cadence follows its visible precision (0.818167ms)
✔ analog clock ignores stored digital-only refresh preferences (0.132333ms)
✔ clock refresh delay aligns updates to the next display boundary (0.157583ms)
✔ labels read-state actions from the current unread count (0.365208ms)
✔ marks read conversations unread without mutating adjacent conversations (0.088875ms)
✔ marks unread conversations read (0.049625ms)
▶ Messages search
  ✔ returns message matches newest-first within conversation order (0.627209ms)
  ✔ omits system messages and honors the result limit (0.066875ms)
  ✔ does not match reaction types (0.061125ms)
  ✔ shows the matching text in long message previews (0.178791ms)
  ✔ matches the displayed conversation name (0.086917ms)
  ✔ wraps keyboard navigation through the visible result list (0.07025ms)
✔ Messages search (1.631666ms)
✔ starts conversation long presses only for touch-style pointers (0.396541ms)
✔ cancels a conversation long press after meaningful movement (0.074ms)
✔ recognizes conversation context-menu keyboard shortcuts (0.059916ms)
✔ builds a useful static conversation preview (0.37675ms)
✔ starts note long presses only for touch-style pointers (0.378958ms)
✔ cancels a note long press after meaningful movement (0.072959ms)
✔ recognizes keyboard context-menu shortcuts (0.05975ms)
✔ album library groups unique tracks into playable queues (1.3795ms)
✔ album queues remove duplicate songs repeated across playlists (0.161375ms)
✔ favorite song ids round-trip without duplicates (0.653584ms)
✔ favorite song ids ignore malformed entries (0.064958ms)
✔ favorite song ids recover from invalid storage (0.063167ms)
✔ opens Music content by default and restores the mobile sidebar on refresh (0.378875ms)
✔ recent listening history is unique and ordered newest first (0.923125ms)
✔ recent listening history keeps the latest eight tracks (0.097458ms)
✔ stored listening history recovers complete unique track records (0.138958ms)
✔ stored listening history rejects malformed, duplicate, and legacy entries (0.0985ms)
✔ groups the most prominent repeated heading level (10.158958ms)
✔ falls back to a single heading when no level repeats (1.093041ms)
✔ ignores heading-like text inside fenced code blocks (1.201958ms)
✔ leaves notes without headings unchanged (0.446167ms)
✔ keeps reference links available across collapsible sections (1.920375ms)
✔ assigns duplicate headings independent persisted keys (0.699583ms)
✔ ends a section at a more prominent heading (0.740417ms)
✔ normalizes heading identity for stable restoration (0.057667ms)
✔ restores collapsed sections independently for each note (0.191833ms)
✔ clears persisted collapse state with the Notes view state (0.106666ms)
✔ ignores malformed persisted collapse state (0.065416ms)
✔ sorts the default view by the normalized display date (35.560167ms)
✔ sorts by the raw creation date independently (2.51525ms)
✔ sorts titles ascending and descending (0.55ms)
✔ uses the standard list defaults in a new tab (0.803792ms)
✔ restores display choices only from the current tab (5.644958ms)
✔ ignores and removes legacy durable display preferences (2.020291ms)
✔ clears Notes display preferences when the app closes (0.18925ms)
✔ shows context around a matching phrase in a long note (0.643542ms)
✔ falls back to the beginning when only the title matches (0.078125ms)
✔ normalizes markdown before locating the match (0.058625ms)
✔ removes Markdown markers without stripping semantic punctuation (0.051834ms)
✔ keeps the match near the start so it survives sidebar truncation (0.083333ms)
✔ searches visible note text instead of hidden Markdown link targets (0.388208ms)
✔ notification-center dismissal is independent and content-aware (0.447917ms)
✔ notification-center dismissal tolerates unavailable browser storage (0.115666ms)
✔ messages notification appears only for unread conversations (0.176417ms)
✔ dismissal keys remain scoped to Notification Center (0.205875ms)
✔ weather dismissal stays stable while a loaded forecast refreshes (0.279792ms)
✔ weather loading stays hidden until its dismissed signature resolves (0.176458ms)
✔ formats the native-style camera and lens labels (22.819125ms)
✔ formats file size and megapixels compactly (0.179541ms)
✔ formats sub-second shutter speeds as fractions (0.088875ms)
✔ normalizes zero and positive exposure compensation (0.091792ms)
✔ leaves vertical scrolling and trackpad pinch gestures native (0.589958ms)
✔ navigates once per deliberate gesture and consumes momentum (0.318458ms)
✔ resets unfinished gestures after a reversal or idle window (0.080708ms)
✔ supports deliberate reversals and repeated same-direction swipes (0.093042ms)
✔ normalizes discrete wheel deltas as independent gestures (0.066625ms)
✔ positions the previous, current, and next photo slides (0.075833ms)
✔ limits gesture tracking and resists photo boundaries (0.117209ms)
✔ commits touch swipes by distance or a shorter fast flick (0.07825ms)
✔ Photos grid size defaults safely and persists valid choices (0.993917ms)
✔ Photos grid resizing stops at both thumbnail-size limits (0.207625ms)
✔ Photos grid sizes change desktop density without changing mobile (0.144791ms)
✔ Photos headers reserve one fixed-height frame (13.287542ms)
✔ restores photo rotations only from the current tab (0.702875ms)
✔ ignores malformed photo rotation entries (0.074125ms)
✔ opens Photos content by default and restores the mobile menu on refresh (0.082292ms)
✔ clears photo rotations with the rest of Photos view state (0.070125ms)
✔ describes supported Preview document kinds (0.379542ms)
✔ formats file sizes with compact native-style units (0.078083ms)
✔ formats image dimensions and containing folders (10.919041ms)
✔ finds a specific setting by familiar language (0.731333ms)
✔ returns the destination pane for subpanel settings (0.0835ms)
✔ keeps top-level category names searchable (0.074125ms)
✔ wraps Settings search keyboard navigation (0.060333ms)
✔ creates a numbered untitled document without collisions (1.118042ms)
✔ duplicates into Documents while preserving the source extension (0.227333ms)
✔ rename preserves an omitted extension and rejects invalid or duplicate names (0.92ms)
✔ finds non-overlapping matches without case sensitivity (2.442ms)
✔ returns no matches for an empty query (0.151917ms)
✔ replaces one selected match (0.224542ms)
✔ replaces all matches without shifting later ranges (0.272167ms)
✔ labels UV index with native category ranges (0.63625ms)
✔ formats visibility from meters into native mile labels (0.085333ms)
✔ clamps near-zero visibility to a readable minimum (0.054166ms)
✔ keeps the current Weather selection when another city is removed (0.86375ms)
✔ selects the next Weather city after removing the current city (0.14825ms)
✔ falls back to the previous Weather city at the end of the list (0.121084ms)
✔ wraps Weather search keyboard navigation (0.1255ms)
✔ converts Fahrenheit weather data to Celsius (0.356333ms)
✔ formats weather temperatures with native whole-degree labels (0.06975ms)
✔ Weather View menu presents native temperature unit choices (3.998958ms)
✔ restores independent Finder sorts with each window's metadata (0.746042ms)
✔ prefers tab-scoped state and removes a stale durable copy (0.073542ms)
✔ migrates legacy durable state into tab storage (0.054041ms)
✔ falls back to valid durable state before removing an invalid tab value (0.056542ms)
✔ keeps the legacy value when tab storage rejects the migration (0.063125ms)
✔ saves new window state only to tab storage (0.045291ms)
✔ keeps separate tabs independent (0.046417ms)
ℹ tests 181
ℹ suites 1
ℹ pass 181
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 753.408125

```

**Run notes**

- errors thrown in render are no longer re-thrown: uncaught ones go to `window.reportError`, caught ones to `console.error`; error reporting that relied on the re-throw needs `onUncaughtError` and `onCaughtError` on `createRoot`
- `propTypes` and `defaultProps` on function components, legacy context (`contextTypes`, `getChildContext`), string refs, module-pattern factories, `React.createFactory` and `react-test-renderer/shallow` are removed at runtime: default parameters, `createContext`, ref callbacks and JSX replace them, and the compiler only sees some of them
- `act` from "react-dom/test-utils" warns: import it from "react"; the other test-utils exports are removed
- reading `element.ref` warns: `ref` is a prop, read `element.props.ref`; cloneElement and Children code that touches the ref should be looked at
- in development, Strict Mode reuses the first render's `useMemo` and `useCallback` results on the second render and double-invokes ref callbacks on mount; code that was Strict Mode safe does not notice
- a suspended component commits the nearest Suspense fallback at once and renders its siblings afterwards, so siblings of a suspending component no longer render before the fallback shows
- React no longer ships UMD builds: a script tag needs an ES module CDN, or a bundler
- `javascript:` URLs in `href` and `src` throw, and an empty `src` or `href` (except on `a`) is no longer set
- `useReducer<React.Reducer<S, A>>(reducer)` no longer types: pass no type arguments and annotate the reducer, or pass `<State, [Action]>`
- React 19 Upgrade Guide: https://react.dev/blog/2024/04/25/react-19-upgrade-guide
- React 19.0.0 changelog: https://github.com/facebook/react/blob/main/CHANGELOG.md#1900-december-5-2024
- types-react-codemod (preset-19): https://github.com/eps1lon/types-react-codemod

</details>

<details><summary>Run details</summary>

Uptide 0.1.0 · agent disabled (--no-llm) · 0.0k/0.0k tokens · $0.00 · 1 min

Uptide commit: `dda5dce4b5ef7b82f961acc1f2ed6851e24f274e` (working-tree changes)
Branch: `uptide/react-19.3.0`
Tier: verified (a migration pack covers this upgrade)
Verified at: 2026-10-10T07:31:14.533Z
Verified commit: `50fe0c20079281d45098fa6c14fe8b0f221a5b82`

</details>

Base automatically changed from codex/partial-version-ranges to main October 10, 2026 07:22
@lucasbraum

Copy link
Copy Markdown
Collaborator Author
File Error Classification Change / proposed addition
components/apps/calendar/calendar-app.tsx:455 TS2322 Agent pattern: ref-object-nullable (expected with --no-llm) React 19 refs retain nullability in their type argument; update the receiving ref annotation at components/apps/calendar/event-search.tsx:21 to include null.
components/apps/calendar/calendar-app.tsx:469 TS2322 Agent pattern: ref-object-nullable (expected with --no-llm) Same nullable-ref change; receiving annotation: components/apps/calendar/event-search.tsx:21.
components/apps/finder/finder-app.tsx:162 TS2503 Agent pattern: global-jsx-namespace (manual migration expected with --no-llm; detection gap) React 19 removes the global JSX namespace; use the React-scoped JSX type. The guide covers this change, but its matcher omits TS2503 and this site is absent from the saved findings. Proposed addition: match the JSX-specific TS2503 diagnostic and add this site to packages/core/src/packs/react/ground-truth.json.
components/apps/finder/finder-app.tsx:1522 TS2322 Agent pattern: ref-object-nullable (expected with --no-llm) React 19 nullable-ref annotation change at components/apps/finder/nav.tsx:26.
components/apps/messages/chat-area.tsx:195 TS2322 Agent pattern: ref-object-nullable (expected with --no-llm) React 19 nullable-ref annotation change for the imperative handle at components/apps/messages/message-list.tsx:18.
components/apps/messages/sidebar.tsx:566 TS2322 Agent pattern: ref-object-nullable (expected with --no-llm) React 19 nullable-ref annotation change at components/apps/messages/search-bar.tsx:6.
components/apps/notes/note-content.tsx:62 TS18046 Agent pattern: element-props-unknown (expected with --no-llm) React 19 defaults ReactElement props to unknown; validate/narrow the element props before reading href.
components/apps/notes/note-content.tsx:63 TS18046 Agent pattern: element-props-unknown (expected with --no-llm) React 19 defaults ReactElement props to unknown; validate/narrow the element props before reading children.
components/apps/notes/note-content.tsx:66 TS18046 Agent pattern: element-props-unknown (expected with --no-llm) Same unknown-props change; narrow children for the recursive text traversal.
components/apps/notes/notes-app.tsx:91 TS2322 Agent pattern: ref-object-nullable (expected with --no-llm) React 19 nullable-ref annotation change at components/apps/notes/presenters/notes-mobile-presenter.tsx:10.
components/apps/notes/notes-app.tsx:119 TS2322 Agent pattern: ref-object-nullable (expected with --no-llm) React 19 nullable-ref annotation change at components/apps/notes/presenters/notes-desktop-presenter.tsx:14.
components/apps/notes/sidebar.tsx:707 TS2322 Agent pattern: ref-object-nullable (expected with --no-llm) React 19 nullable-ref annotation change at components/apps/notes/search.tsx:6.
components/apps/photos/photos-grid.tsx:87 TS2554 Rule bug: use-ref-argument React 19 requires a useRef initial value; preserve the type argument and supply undefined. The saved finding uses symbol path ".":useRef, while the rule only matches TS2554; replaying it with the diagnostic path makes the existing rewrite succeed. Proposed addition: recognize the confirmed useRef symbol plus TS2554/message, with an end-to-end regression preserving the real finding shape in packages/core/src/packs/react/fixtures/use-ref-argument/, and this site in packages/core/src/packs/react/ground-truth.json.

@lucasbraum
lucasbraum marked this pull request as ready for review October 10, 2026 16:32
@lucasbraum
lucasbraum merged commit 86b24d2 into main Oct 10, 2026
8 checks passed
@lucasbraum
lucasbraum deleted the codex/peer-preflight branch October 10, 2026 16:32
@uptide-release uptide-release Bot mentioned this pull request Oct 10, 2026
lucasbraum pushed a commit that referenced this pull request Oct 10, 2026
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and publish to npm
yourself or [setup this action to publish
automatically](https://github.com/changesets/action#with-publishing). If
you're not ready to do a release yet, that's fine, whenever you add more
changesets to main, this PR will be updated.


# Releases
## [email protected]

### Minor Changes

- [#60](#60)
[`7ec02e0`](7ec02e0)
Thanks [@lucasbraum](https://github.com/lucasbraum)! - `check` reports
one breaking finding when a member the target no longer sees was
declared by
your own code in an augmentation: a custom matcher on the global
`jest.Matchers` in a test
setup file, or an interface augmented in a `declare module "x"` block.
The finding is anchored
at that declaration (the `declare global` block, or the augmented
interface), where the one
edit is, and the call sites that fail (TS2339, TS2551) are listed under
it as evidence, in the
terminal, the HTML report and the JSON report. Before, each call site
was a breaking finding
of its own next to the declaration. The README's line budget no longer
counts the generated
  "Verified packs" table, which grows one row per pack.

- [#64](#64)
[`86b24d2`](86b24d2)
Thanks [@lucasbraum](https://github.com/lucasbraum)! - Plan peer
blockers before cloning or installing, suggest explicit compatible peer
upgrades, and add repeatable `--allow-peer` with visible package-manager
overrides and PR risks. Reject npm lockfiles that disagree with
committed manifests before starting a migration.
  
Collect peer blockers across the complete upgrade group and print one
complete retry command. Include explicitly allowed peer packages in the
old/new lockfile subtree union while retaining strict rejection of
unrelated resolution changes.
  
Accept same-content lockfile deduplication and descriptive metadata
updates only when outside resolutions stay identical, and disclose
accepted housekeeping in the fix report and PR description.

- [#63](#63)
[`8dcf5fb`](8dcf5fb)
Thanks [@lucasbraum](https://github.com/lucasbraum)! - A verified
migration pack for Vitest 4 → 5, scored against votingworks/vxsuite and
vitorvasc/opentelemetry-ecosystem-explorer at the commit before their
own upgrade. It is verified
with two public repositories and no false positive among breaking
findings (recall 50%). Sites it finds: custom matchers declared on the
global
`jest.Matchers` or on a one-parameter `Assertion<T>`, `import
'@testing-library/jest-dom/vitest'`
registrations whose types stop reaching `expect`, the removed `bench`
export, bare-directory
`coverage.include` and `coverage.exclude` entries, and the removed
`vitest/*` entry points
(`vitest/coverage`, `vitest/reporters`, `vitest/environments` and
`vitest/snapshot` are
rewritten). What the compiler cannot see (mock history cleared by
default, `testNamePattern`
joined with " > ", hoisted `vi.mock` calls, un-awaited assertions,
timers, report locations,
  browser mode) is listed for review.

### Patch Changes

- [#62](#62)
[`c0f8a70`](c0f8a70)
Thanks [@lucasbraum](https://github.com/lucasbraum)! - Preserve partial
version ranges such as `^18`, `~18.2`, and `18.x` when fixing packages
and their companions, including workspace manifests and pnpm catalogs.
Reject unsupported complex ranges before cloning or spending on assisted
fixes, with the declaration location and an installed-version
replacement suggestion.

Co-authored-by: uptide-release[bot] <338861287+uptide-release[bot]@users.noreply.github.com>
lucasbraum added a commit that referenced this pull request Oct 10, 2026
## Pack

Fix React 18 → 19 rule matching from the classification in #64.
Compiler-confirmed `useRef` signature findings retain the exported
symbol path (`".":useRef`), so the existing TS2554-only matcher left
zero-argument calls manual. The rule now recognizes that path while
retaining its diagnostic-message guard. Missing global JSX namespace
diagnostics (TS2503) now receive the existing agent instructions, with
no automatic rewrite.

## Sources

- [React 19: useRef requires an
argument](https://react.dev/blog/2024/04/25/react-19-upgrade-guide#useref-requires-an-argument)
- [React 19: the JSX namespace in
TypeScript](https://react.dev/blog/2024/04/25/react-19-upgrade-guide#the-jsx-namespace-in-typescript)

## Rules and behavior notes

- `use-ref-argument`: accepts TS2554 or the confirmed `useRef` symbol
plus the required-argument diagnostic; preserves the existing
`undefined` initialization rewrite.
- `global-jsx-namespace`: accepts TS2503 only for the missing JSX
namespace, preserves existing JSX diagnostic coverage, and supplies
agent guidance.
- Synthetic fixtures exercise unassigned checker findings through rule
selection, planning and rewriting. Negative cases cover other symbols,
missing/different diagnostics, ambiguous calls, existing initializers
and other missing namespaces. Both regressions failed before the matcher
fixes.

## Ground-truth repositories

Unchanged. No alanagoyal sites were added: its upgrade is not a
completed migration.

- `excalidraw/excalidraw@9ee0b8ffcbd3664a47748a93262860321a203821` — 73
expected findings.
- `tldraw/tldraw@5957867a9c5c205a0b0c3665be443138b8014a79` — 60 expected
findings.

## `uptide pack test` output

React's breaking precision remains **100%**, with **68.99% recall
unchanged** (89 true positives, 0 false positives, 40 false negatives).
`use-ref-argument` rule recall improves **80% → 100%** (4/5 → 5/5);
those locations were already detected, so overall site recall stays
unchanged. Overall, including non-breaking findings, precision remains
92.93% and recall remains 69.70%. The existing verification record still
matches; no ground truth or verification file was changed.

| Pack | Result | Breaking precision | Breaking recall |
|---|---|---:|---:|
| ai | passed | 100% | 36.36% |
| react | passed | 100% | 68.99% |
| stripe | passed | 100% | 90.00% |
| vitest | passed | 100% | 50.00% |
| zod | passed | 100% | 71.25% |

Commands:

- `pnpm -s uptide pack test react --json` on the unchanged matcher
baseline, then `pnpm -s uptide pack test --json` on this commit: every
pack passed. The latter reruns React plus AI, Stripe, Vitest and Zod
against their existing public ground truth.
- `pnpm -s uptide pack test --fixtures-only --json`: all five packs
passed.
- React's 12 focused tests pass; the two regressions failed before the
fixes.
- `pnpm lint` and `pnpm typecheck`: passed.
- `TMPDIR=/private/tmp pnpm test --env-mode=loose`: 1,043 core + 357 CLI
tests passed; 15 opt-in network tests skipped. The macOS temporary path
must be canonical, and Turbo must pass it through; the default
invocation hit an unrelated `/tmp` versus `/private/tmp` assertion.
- CI **test (20), test (22), smoke (20), smoke (22)**: all green,
including the private-material scan in the test jobs. Local strict
`public:check` cannot read the CI-only denylist; the local document-name
scan passed.

<details>
<summary>React pack test output</summary>

```
uptide pack test react · verified
fixtures      4 cases, 7 sites · pass
ground truth
  excalidraw/excalidraw@9ee0b8ffcbd3           react 18.2.0 → 19.0.0  predicted 60, expected 73, false positives 1, false negatives 14
    with @types/react 18.2.47 → 19.0.14, @types/react-dom 18.2.18 → 19.0.6, react-dom 18.2.0 → 19.0.0
  tldraw/tldraw@5957867a9c5c                   react 18.3.1 → 19.2.1  predicted 39, expected 60, false positives 6, false negatives 26
    with @types/react 18.3.23 → 19.2.18, @types/react-dom 18.3.7 → 19.2.7, react-dom 18.3.1 → 19.2.1

  rule                         precision  recall    tp   fp   fn
  element-props-unknown             100%     60%     6    0    4
  generic                             4%     33%     1   25    2
  global-jsx-namespace              100%     51%    20    0   19
  mutable-ref-object                100%    100%     2    0    0
  props-with-ref                    100%    100%     1    0    0
  ref-callback-return               100%    100%     1    0    0
  ref-object-nullable               100%     37%    20    0   34
  removed-react-dom                 100%    100%    18    0    0
  use-ref-argument                  100%    100%     5    0    0
  overall (sites)                    93%     70%    92    7   40
  breaking (sites)                  100%     69%    89    0   40

false positives (7)
  excalidraw/excalidraw@9ee0b8ffcbd3  dev-docs/src/theme/ReactLiveScope/index.js:10  generic (unverified)
  tldraw/tldraw@5957867a9c5c  apps/docs/components/common/newsletter-signup.tsx:32  generic (deprecated)
  tldraw/tldraw@5957867a9c5c  apps/docs/components/docs/docs-feedback-widget.tsx:65  generic (deprecated)
  tldraw/tldraw@5957867a9c5c  apps/dotcom/client/src/tla/components/dialogs/TlaSignInDialog.tsx:124  generic (deprecated)
  tldraw/tldraw@5957867a9c5c  templates/agent/client/components/ChatInput.tsx:17  generic (deprecated)
  tldraw/tldraw@5957867a9c5c  templates/agent/client/components/ChatPanel.tsx:14  generic (deprecated)
  tldraw/tldraw@5957867a9c5c  templates/chat/src/components/ChatInput.tsx:60  generic (deprecated)

false negatives (40)
  excalidraw/excalidraw@9ee0b8ffcbd3  dev-docs/src/components/Homepage/index.tsx:1  generic
  excalidraw/excalidraw@9ee0b8ffcbd3  dev-docs/src/pages/index.tsx:1  generic
  excalidraw/excalidraw@9ee0b8ffcbd3  examples/excalidraw/with-nextjs/src/app/page.tsx:19  global-jsx-namespace
  excalidraw/excalidraw@9ee0b8ffcbd3  packages/excalidraw/components/ButtonIconCycle.tsx:23  global-jsx-namespace
  excalidraw/excalidraw@9ee0b8ffcbd3  packages/excalidraw/components/EyeDropper.tsx:210  ref-object-nullable
  excalidraw/excalidraw@9ee0b8ffcbd3  packages/excalidraw/components/FontPicker/keyboardNavHandlers.ts:7  ref-object-nullable
  excalidraw/excalidraw@9ee0b8ffcbd3  packages/excalidraw/components/Sidebar/Sidebar.tsx:104  ref-object-nullable
  excalidraw/excalidraw@9ee0b8ffcbd3  packages/excalidraw/components/Stack.tsx:13  ref-object-nullable
  excalidraw/excalidraw@9ee0b8ffcbd3  packages/excalidraw/components/TTDDialog/TTDDialogOutput.tsx:16  ref-object-nullable
  excalidraw/excalidraw@9ee0b8ffcbd3  packages/excalidraw/components/TTDDialog/common.ts:15  ref-object-nullable
  excalidraw/excalidraw@9ee0b8ffcbd3  packages/excalidraw/components/TTDDialog/common.ts:43  ref-object-nullable
  excalidraw/excalidraw@9ee0b8ffcbd3  packages/excalidraw/components/canvases/InteractiveCanvas.tsx:20  ref-object-nullable
  excalidraw/excalidraw@9ee0b8ffcbd3  packages/excalidraw/components/dropdownMenu/DropdownMenuContent.tsx:33  ref-object-nullable
  excalidraw/excalidraw@9ee0b8ffcbd3  packages/excalidraw/hooks/useScrollPosition.ts:8  ref-object-nullable
  tldraw/tldraw@5957867a9c5c  apps/docs/components/content/copy-button.tsx:10  ref-object-nullable
  tldraw/tldraw@5957867a9c5c  apps/dotcom/client/src/fairy/Fairy.tsx:99  ref-object-nullable
  tldraw/tldraw@5957867a9c5c  apps/dotcom/client/src/fairy/fairy-ui/manual/FairyManualPanel.tsx:29  ref-object-nullable
  tldraw/tldraw@5957867a9c5c  apps/dotcom/client/src/fairy/fairy-ui/manual/FairyManualPanel.tsx:30  ref-object-nullable
  tldraw/tldraw@5957867a9c5c  apps/dotcom/client/src/fairy/fairy-ui/manual/FairyManualPanel.tsx:31  ref-object-nullable
  tldraw/tldraw@5957867a9c5c  apps/dotcom/client/src/fairy/fairy-ui/manual/FairyManualPanel.tsx:64  ref-object-nullable
  tldraw/tldraw@5957867a9c5c  apps/dotcom/client/src/fairy/fairy-ui/manual/FairyManualPanel.tsx:83  ref-object-nullable
  tldraw/tldraw@5957867a9c5c  apps/dotcom/client/src/fairy/fairy-ui/manual/FairyManualPanel.tsx:286  ref-object-nullable
  tldraw/tldraw@5957867a9c5c  apps/dotcom/client/src/pages/admin.tsx:1032  ref-object-nullable
  tldraw/tldraw@5957867a9c5c  apps/dotcom/client/tsconfig.json:15  global-jsx-namespace
  tldraw/tldraw@5957867a9c5c  apps/examples/src/ExampleWrapper.tsx:111  global-jsx-namespace
  tldraw/tldraw@5957867a9c5c  packages/editor/src/lib/components/default-components/DefaultBrush.tsx:18  ref-object-nullable
  tldraw/tldraw@5957867a9c5c  packages/editor/src/lib/components/default-components/DefaultCollaboratorHint.tsx:33  ref-object-nullable
  tldraw/tldraw@5957867a9c5c  packages/editor/src/lib/components/default-components/DefaultCursor.tsx:28  ref-object-nullable
  tldraw/tldraw@5957867a9c5c  packages/editor/src/lib/components/default-components/DefaultSelectionBackground.tsx:15  ref-object-nullable
  tldraw/tldraw@5957867a9c5c  packages/editor/src/lib/components/default-components/DefaultSelectionForeground.tsx:27  ref-object-nullable
  tldraw/tldraw@5957867a9c5c  packages/editor/src/lib/hooks/useFixSafariDoubleTapZoomPencilEvents.ts:12  ref-object-nullable
  tldraw/tldraw@5957867a9c5c  packages/editor/src/lib/hooks/useGestureEvents.ts:78  ref-object-nullable
  tldraw/tldraw@5957867a9c5c  packages/editor/src/lib/hooks/usePassThroughMouseOverEvents.ts:7  ref-object-nullable
  tldraw/tldraw@5957867a9c5c  packages/editor/src/lib/hooks/useScreenBounds.ts:5  ref-object-nullable
  tldraw/tldraw@5957867a9c5c  packages/editor/src/lib/license/Watermark.tsx:49  ref-object-nullable
  tldraw/tldraw@5957867a9c5c  packages/editor/src/lib/license/Watermark.tsx:97  ref-object-nullable
  tldraw/tldraw@5957867a9c5c  packages/tldraw/src/lib/ui/components/CursorChatBubble.tsx:80  ref-object-nullable
  tldraw/tldraw@5957867a9c5c  packages/tldraw/src/lib/ui/components/CursorChatBubble.tsx:108  ref-object-nullable
  tldraw/tldraw@5957867a9c5c  packages/tldraw/src/lib/ui/components/primitives/TldrawUiContextualToolbar.tsx:55  ref-object-nullable
  tldraw/tldraw@5957867a9c5c  templates/agent/client/components/ChatInput.tsx:18  ref-object-nullable

reported under another rule (18)
  excalidraw/excalidraw@9ee0b8ffcbd3  packages/excalidraw/components/App.tsx:1259  generic, expected global-jsx-namespace
  excalidraw/excalidraw@9ee0b8ffcbd3  packages/excalidraw/components/ButtonIcon.tsx:32  generic, expected global-jsx-namespace
  excalidraw/excalidraw@9ee0b8ffcbd3  packages/excalidraw/components/dropdownMenu/DropdownMenuItemContent.tsx:17  generic, expected global-jsx-namespace
  excalidraw/excalidraw@9ee0b8ffcbd3  packages/excalidraw/components/HelpDialog.tsx:109  generic, expected global-jsx-namespace
  excalidraw/excalidraw@9ee0b8ffcbd3  packages/excalidraw/components/IconPicker.tsx:221  generic, expected global-jsx-namespace
  excalidraw/excalidraw@9ee0b8ffcbd3  packages/excalidraw/components/MagicButton.tsx:35  generic, expected global-jsx-namespace
  excalidraw/excalidraw@9ee0b8ffcbd3  packages/excalidraw/components/Sidebar/SidebarTrigger.tsx:39  generic, expected global-jsx-namespace
  excalidraw/excalidraw@9ee0b8ffcbd3  packages/excalidraw/components/Stack.tsx:17  generic, expected global-jsx-namespace
  excalidraw/excalidraw@9ee0b8ffcbd3  packages/excalidraw/components/Stack.tsx:39  generic, expected global-jsx-namespace
  excalidraw/excalidraw@9ee0b8ffcbd3  packages/excalidraw/components/welcome-screen/WelcomeScreen.Center.tsx:22  generic, expected global-jsx-namespace
  tldraw/tldraw@5957867a9c5c  apps/docs/components/content/code.tsx:124  generic, expected element-props-unknown
  tldraw/tldraw@5957867a9c5c  apps/docs/components/content/code.tsx:125  generic, expected element-props-unknown
  tldraw/tldraw@5957867a9c5c  apps/docs/components/content/code.tsx:131  generic, expected element-props-unknown
  tldraw/tldraw@5957867a9c5c  apps/docs/components/content/code.tsx:170  generic, expected element-props-unknown
  tldraw/tldraw@5957867a9c5c  packages/tldraw/src/lib/ui/components/HelperButtons/StopFollowing.tsx:16  generic, expected global-jsx-namespace
  tldraw/tldraw@5957867a9c5c  packages/tldraw/src/lib/ui/components/primitives/menus/TldrawUiMenuActionCheckboxItem.tsx:20  generic, expected global-jsx-namespace
  tldraw/tldraw@5957867a9c5c  packages/tldraw/src/lib/ui/components/primitives/menus/TldrawUiMenuActionItem.tsx:14  generic, expected global-jsx-namespace
  tldraw/tldraw@5957867a9c5c  packages/tldraw/src/lib/ui/components/primitives/TldrawUiTooltip.tsx:466  generic, expected global-jsx-namespace

PASS react: verified

```
Every pack passed.

</details>

## Checklist

- [x] Rules come from the existing `meta.sources`
- [x] Synthetic positive and negative fixtures; no ground-truth changes
- [x] Patch changeset; signed-off commit; no new dependencies
- [x] `pnpm lint` and `pnpm typecheck`
- [x] Full test suite and all-pack ground-truth results recorded

Signed-off-by: Lucas Braum <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant