> ## Documentation Index
> Fetch the complete documentation index at: https://docs.clawcontrol.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# Build, Test, Lint, and Typecheck

This page lists implemented commands used in this repository.

## Workspace-level Commands

```bash theme={null}
npm run dev
npm run build
npm run lint
npm run test
npm run typecheck
```

## Database Commands

```bash theme={null}
npm run db:migrate
npm run db:push
npm run db:studio
```

## App-specific Commands

```bash theme={null}
npm run dev --workspace=clawcontrol
npm run test --workspace=clawcontrol
npm run typecheck --workspace=clawcontrol
```

## Workflow Validation (Desktop Runtime)

```bash theme={null}
npm run workflow:test:desktop
```

Runs strict live workflow validation against the desktop DB with real dispatch sessions and writes machine-readable reports under `/Users/savorgserver/OpenClaw/tmp/`.

## Desktop Build Commands

```bash theme={null}
npm run build:mac --workspace=clawcontrol-desktop
npm run build:win --workspace=clawcontrol-desktop
npm run build:linux --workspace=clawcontrol-desktop
```

## Docs Validation Commands

```bash theme={null}
cd mintlify
npm run check
```

## Last updated

2026-02-17

## Related pages

* [Repository Layout](/developers/repo-layout)
* [Contributing and Docs Maintenance](/developers/contributing-and-docs-maintenance)
* [Publish the Docs Site (docs.clawcontrol.cc)](/deploy/publish-docs-clawcontrol-cc)
