Problem
start.sh style scanner looks for tailwind.config.* and package.json at the project root, but in monorepo/subdirectory layouts these files live deeper (e.g. src/app/).
Scanner output:
[1/3] Scanning tailwind config...
No tailwind config found
[3/3] Scanning package.json...
No package.json found
Actual locations:
src/app/tailwind.config.js — Tailwind v3, shadcn/ui HSL vars, custom font
src/app/package.json — dependencies including flowbite, radix, etc.
src/app/styles/globals.css — custom font-family
Expected Behavior
The scanner should walk common monorepo patterns (src/*/, apps/*/, packages/*/) or accept a --app-dir flag to point at the right subdirectory.
Impact
Factory pages render with system fonts instead of project fonts. Style profile is incomplete — missing tailwind theme tokens, color vars, and component library detection.
Environment
- ctx-plugin 0.2.9.3
- Next.js monorepo with app in
src/app/
- Worktree detected, pages root correctly set to main repo
Problem
start.shstyle scanner looks fortailwind.config.*andpackage.jsonat the project root, but in monorepo/subdirectory layouts these files live deeper (e.g.src/app/).Scanner output:
Actual locations:
src/app/tailwind.config.js— Tailwind v3, shadcn/ui HSL vars, custom fontsrc/app/package.json— dependencies including flowbite, radix, etc.src/app/styles/globals.css— custom font-familyExpected Behavior
The scanner should walk common monorepo patterns (
src/*/,apps/*/,packages/*/) or accept a--app-dirflag to point at the right subdirectory.Impact
Factory pages render with system fonts instead of project fonts. Style profile is incomplete — missing tailwind theme tokens, color vars, and component library detection.
Environment
src/app/