Start in a task worktree
Fetch origin and base a separate task branch/worktree on currentorigin/main. Preserve edits you did not make. Before implementation:
QA_SUITE_DATA_DIR and free ports. Never copy customer data into a fixture or point two processes at the same writable database. Shared contracts belong in apps/shared, server/persistence in apps/server, UI in apps/web and public documentation in docs-site/. Keep existing docs/*.md operational references working. Do not modify vendored distributions.
Validate the change you made
Runtime changes use the required repository checks:Edit and preview this site
Use Node 22.19 and the isolated docs toolchain. From the repository root:http://localhost:3012. To select another free port, run cd .. && ./tooling/node_modules/.bin/mint dev --no-open --port 3013 from the tooling directory.
The docs-only workspace pins Mintlify CLI 4.2.1204 with hoisted dependencies because this release’s scraping dependency cannot resolve validation under isolated pnpm dlx. The app package and lockfile remain separate. Build scripts are enabled only for esbuild/sharp; telemetry-install and optional keychain builds are disabled. See Mintlify’s CLI reference before updating. No global install or hosted account is required.
Use current docs.json, root-relative site links and MDX pages. Local preview starts no hosted publication.
Run python3 tooling/check.py from docs-site/ for navigation, local asset/link and repository-source target checks. Verify actual preview pages in light/dark and narrow layouts before review. Tooling and examples live under this docs root to avoid changing app dependencies.