# X_APP_ROOT_NESTED

## Means

a second app.config.ts inside the app

## Typical cause

An app.config.ts under apps/ or packages/ makes that workspace a second app root — its own registry, its own migrations, its own image. One repository is one app: every apps/* workspace boots in the one image, ROLE picks the process, and packages/db/migrations is the one migration owner

## Fix

`x verify --only drift --json` — after deleting the nested app.config.ts and moving what it configured into the root app.config.ts

[CLI and verify](/error-codes#cli-and-verify)
