diff --git a/.gitignore b/.gitignore index 7305574..518001c 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,9 @@ test-report.junit.xml .env .env.* !.env.example +# Checked in like the examples above: it configures `dev:solo`, whose whole point is that it holds +# nothing worth keeping out of the repository. +!.env.solo .code-zero/ .data/ *.log diff --git a/AGENTS.md b/AGENTS.md index 2b313b5..32ec3f3 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -85,6 +85,7 @@ cp apps/dashboard/.env.example apps/dashboard/.env ```bash aube run dev # watch workspace development tasks +aube run dev:solo # dashboard alone, no database (apps/dashboard/.env.solo) aube run zero doctor # inspect the local environment aube test # deterministic Vitest suites aube run test:browser # dashboard and marketing browser suites diff --git a/README.md b/README.md index 7beeb74..d52faa6 100644 --- a/README.md +++ b/README.md @@ -103,6 +103,23 @@ aube run dev The root `.env` configures the CLI. Each app loads its own file: the dashboard uses `apps/dashboard/.env`, while the docs app optionally uses `apps/docs/.env` for `NUXT_APP_BASE_URL`. +To see the dashboard before configuring anything, start it on its own instead: + +```bash +mise install +aube ci +aube run dev:solo # http://localhost:3000, then sign up at /signup +``` + +`dev:solo` is `nuxt dev` reading [`apps/dashboard/.env.solo`](./apps/dashboard/.env.solo) in place of +`.env`: Better Auth runs on an in-memory store, so there is no Postgres to install and no migration +to apply, and the account you create lives until you stop the process. Nothing else about the app +changes — it is the same UI, the same router, and the same authentication endpoints a deployment +serves. Tasks still need a checkout to target, so add one to +`CODE_ZERO_CONTROL_PLANE_REPOSITORIES` in that file; `observe` runs no model, so a task can be +created and inspected without a provider credential. Use `aube run dev` and `apps/dashboard/.env` +for anything that has to persist. + `aube run diff --git a/apps/dashboard/modules/dashboard/components/task/Inspector.vue b/apps/dashboard/modules/dashboard/components/task/Inspector.vue index 79d4822..e054e5e 100644 --- a/apps/dashboard/modules/dashboard/components/task/Inspector.vue +++ b/apps/dashboard/modules/dashboard/components/task/Inspector.vue @@ -66,6 +66,62 @@

{{ task.result.summary }}

+ + +
+

{{ $t('dashboard.inspector.approval.title') }}

+

+ {{ $t('dashboard.inspector.approval.body') }} +

+