Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
feat(minikube): minimal profile seeds a single desktop member (the admin)
Jose Ramirez5452047d398e
diff --git a/README.md b/README.mdindex ededaeab9..cc207f808 100644--- a/README.md+++ b/README.md@@ -190,7 +190,7 @@ make install-all && npm --prefix control-ui installnpm run ui # Control UI + Profile UI + Desktop App```-Log in as `[email protected]` using the `ADMIN_PASSWORD` you set in `.env`,+Log in as `[email protected]` using the `ADMIN_PASSWORD` you set in `.env`,message the `chatllm` agent, and ask it to run a command or generate a PDF —then approve the tool call from the chat. The same password logs into theControl UI as `admin`. The Desktop App is the client you just used; Control UIdiff --git a/docs/get-started/quickstart.md b/docs/get-started/quickstart.mdindex d388959ec..9e5676034 100644--- a/docs/get-started/quickstart.md+++ b/docs/get-started/quickstart.md@@ -61,9 +61,9 @@ It seeds for you:- an agent: Host `chatllm` + an empty Context `context1` (no MCP servers —install connectors from the registry) + a CommunicationChannel-- one login, using the `ADMIN_PASSWORD` you set in `.env`:- **`[email protected]`** for the Desktop App and **`admin`** for the- Control UI+- one account, using the `ADMIN_PASSWORD` you set in `.env`: username+ **`admin`** for the Control UI and email **`[email protected]`** for the+ Desktop App — the same account, and the sole Desktop App memberVerify:@@ -84,7 +84,7 @@ make install-all && npm --prefix control-ui installnpm run ui # runs Control UI (:3000), Profile UI (:3001), and the Desktop App```-Log into the **Desktop App** as `[email protected]` using the+Log into the **Desktop App** as `[email protected]` using the`ADMIN_PASSWORD` you set in `.env`, and message the `chatllm` agent. Ask it todo something real — _"run `uname -a`"_ or_"generate a one-page PDF about Kubernetes NetworkPolicies"_ — and approve thediff --git a/scripts/minikube/full-setup.sh b/scripts/minikube/full-setup.shindex bc59a8f17..e86673e6e 100755--- a/scripts/minikube/full-setup.sh+++ b/scripts/minikube/full-setup.sh@@ -1016,8 +1016,19 @@ if [ "$SEED_PROFILE" = "e2e" ]; then# e2e password.ADMIN_PASSWORD="${E2E_ADMIN_PASSWORD:-changeme123!}"else- SEED_USER_DEFAULT_EMAIL="[email protected]"- SEED_USER_DEFAULT_NAME="Owner"+ # Minimal: the Control-UI admin IS the sole Desktop App member — no separate+ # seeded user. Point both the admin-bootstrap email and the seeded desktop+ # user at the same evenfire-branded address so the seeder's (idempotent)+ # user+team step converges on the admin identity that /admin/auth/setup+ # already provisioned (users row + "<username> team" + chatllm/context1+ # grants), instead of minting a second member/team. `[email protected]` would+ # leak the internal code name onto a product surface (the Desktop member+ # list) — evenfire branding belongs here (docs/concepts/code-names.md). If+ # the best-effort admin desktop provisioning ever fails, the seeder still+ # creates this one identity, so the minimal install is never member-less.+ SEED_USER_DEFAULT_EMAIL="[email protected]"+ SEED_USER_DEFAULT_NAME="admin"+ : "${ADMIN_EMAIL:[email protected]}"fiSEED_USER_EMAIL="${CLERUM_SEED_USER_EMAIL:-${CLERUM_TEST_USER_EMAIL:-${E2E_DEV_LOGIN_EMAIL:-${SEED_USER_DEFAULT_EMAIL}}}}"SEED_USER_NAME="${E2E_DEV_LOGIN_NAME:-${SEED_USER_DEFAULT_NAME}}"@@ -1025,6 +1036,7 @@ log "Seeding test user ${SEED_USER_EMAIL} → agent=chatllm, context=context1"SEED_USER_OK=trueif CONTEXT="${PROFILE}" ADMIN_PASSWORD="${ADMIN_PASSWORD}" \SEED_PROFILE="${SEED_PROFILE}" \+ ADMIN_EMAIL="${ADMIN_EMAIL:-}" \E2E_DEV_LOGIN_EMAIL="${SEED_USER_EMAIL}" \E2E_DEV_LOGIN_NAME="${SEED_USER_NAME}" \bash "${SCRIPT_DIR}/seed-test-data.sh" 2>&1 | tail -15; thendiff --git a/scripts/minikube/seed-test-data.sh b/scripts/minikube/seed-test-data.shindex b8a1b6ee2..2f8304ea4 100755--- a/scripts/minikube/seed-test-data.sh+++ b/scripts/minikube/seed-test-data.sh@@ -28,7 +28,10 @@ case "$CONTEXT" in;;esac-export ADMIN_PASSWORD E2E_DEV_LOGIN_EMAIL CONTEXT ALLOWED_CONTEXTS+# ADMIN_EMAIL passes through when the caller sets it (minikube minimal profile+# points it at [email protected]); unset/empty lets seed-e2e-data.sh keep+# its own [email protected] default for the e2e lane and direct callers.+export ADMIN_PASSWORD E2E_DEV_LOGIN_EMAIL CONTEXT ALLOWED_CONTEXTS ADMIN_EMAILbash "${REPO_ROOT}/scripts/e2e/seed-e2e-data.sh" "$@"