Skip to content

fix(desktop): track ui-desktop's lib/ directories — 180 source files were gitignored - #806

Merged
agentforce314 merged 1 commit into
mainfrom
fix/desktop-lib-gitignore
Aug 8, 2026
Merged

fix(desktop): track ui-desktop's lib/ directories — 180 source files were gitignored#806
agentforce314 merged 1 commit into
mainfrom
fix/desktop-lib-gitignore

Conversation

@agentforce314

Copy link
Copy Markdown
Owner

Summary

The root .gitignore's global lib/ pattern (Python build-output hygiene) silently excluded every lib/ directory under ui-desktop from the stage-1 import: src/lib/** (the renderer's core utility layer), scripts/perf/lib/, and src/app/pet-generate/lib/180 files.

Every local gate passed because the files existed on disk in the working tree; CI only runs pytest, so nothing TS-side caught it. A fresh clone exposed it immediately: vite fails with Failed to resolve import "./lib/clipboard" from "src/main.tsx".

Fix

  • !ui-desktop/**/lib/ exception next to the existing !ui-tui/src/lib/ one.
  • Commits the 180 missing files.

Verification

Typechecked a pristine git archive export of this branch (fresh npm ci, no working-tree files to mask gaps): green across all three tsconfigs — the gate the original import lacked.

🤖 Generated with Claude Code

…were gitignored

The root .gitignore's global `lib/` pattern (Python build-output hygiene)
silently excluded every lib/ directory under ui-desktop from the stage-1
import: src/lib/** (the renderer's core utility layer), scripts/perf/lib/,
and src/app/pet-generate/lib/ — 180 files. Local gates all passed because
the files existed on disk in the working tree; only a fresh clone exposed
the hole (vite: 'Failed to resolve import "./lib/clipboard"').

Adds the ui-desktop exception next to the existing ui-tui one and commits
the missing files. Verified by typechecking a pristine `git archive`
export of the branch (the gate stage 1 lacked).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@agentforce314
agentforce314 enabled auto-merge (squash) August 8, 2026 07:54
@agentforce314
agentforce314 merged commit 418ff7b into main Aug 8, 2026
@agentforce314 agentforce314 mentioned this pull request Aug 8, 2026
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