diff --git a/.gitignore b/.gitignore index 7305574..aab04ee 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 @@ -23,3 +26,10 @@ test-report.junit.xml # Skilld references (recreated by `skilld install`) .skilld + +# Local editor tooling; never something a checkout should carry. +/code +/vscode_cli.tar.gz +code-zero.deployment.yml +!code-zero.deployment.example.yml +!apps/dashboard/code-zero.deployment.solo.yml diff --git a/AGENTS.md b/AGENTS.md index 2b313b5..f7b6ec0 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -9,7 +9,7 @@ Code Zero is an open-source autonomous engineer that finds, fixes, and verifies **Key information:** - Node version: `24.19.0` (`>=24.2` supported; see `mise.toml` and `engines`) -- Package manager: `aube@1.38.0` (pinned in `package.json` via `packageManager`) +- Package manager: `aube@1.41.0` (pinned in `package.json` via `packageManager`) - TypeScript: `^5.9.2`, overridden to `typescript-native-bridge` so checks run on tsgo - Main branch: `main` @@ -85,6 +85,9 @@ 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 dev:docs # docs site alone +aube run dev:marketing # marketing site alone 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..4a08747 100644 --- a/README.md +++ b/README.md @@ -103,6 +103,27 @@ 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_SOLO_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. + +`dev:docs` and `dev:marketing` start those two apps on their own the same way `mail:preview` +already does for `apps/mail-preview` — a plain `turbo run dev` filtered to one app, with no +alternate env file. + `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') }} +

+