Docs/Appendix/Command Reference (A–Z)

Command Reference (A–Z)

Every command below appears verbatim, or with only placeholder generalisation (<sha>, <service>), in deploy/README.md, a script header, the Makefile, or a workflow. Entries are grouped by executable, alphabetically. Nothing here was executed while writing this page.

Scope
Operator, deploy, CI and developer commands. Not a Spring or Next.js manual.
Deployments
Self-hosted with Docker Compose (scripts/vegaduta, make) or Helm (deploy/helm). Do not confuse environments when copying a command.
Verification
Command text was checked against the cited file. It does not mean the command was run or is safe on your machine.
Careful on a live stack
Avoid host reboots and docker compose down (especially with -v) on a stack people depend on, unless you mean to take it offline. A hung service is evidence to collect (logs, container states, memory) before you restart anything. Teardown of the ephemeral CI stack in .github/workflows/e2e.yml runs on a throwaway runner, not a real environment.

Jump to: bash / scripts · curl · docker · git · gitleaks · mvn · npm / npx · openssl · powershell · pip / pytest · Conventions

B — make, scripts/vegaduta and repo scripts

CommandPurposeSourceNotes
make helpList Makefile targets.Makefile
scripts/vegaduta up --lite / up --full [--profile x] (make up-lite, make up PROFILE="temporal observability")Generate deploy/compose/.env, start the Lite or Full stack, wait for healthy.deploy/README.mdWindows: scripts egaduta.ps1 with -Lite, -Full, -Profile.
scripts/vegaduta down|status|logs|doctor|secrets|upgrade|make-admin|composeOperate the Compose stack.deploy/README.mddown keeps volumes; do not run it on a production stack unprompted.
make build · make imagesBuild core, web and web-admin from source; build the Full-tier images from source.MakefileCore needs JDK 21+; one Maven build at a time.
make test · make lint · make gatesTests, linters and the static gates CI runs.MakefileSee Quality Gates.
make compose-validate · make helm-lint · make shellcheckValidate deploy artifacts and shell scripts.Makefile; scripts/ci/compose-validate.sh, helm-validate.shhelm-lint runs kubeconform (Docker fallback).
make sbomSPDX JSON SBOM of the source tree into dist/.MakefileUses syft via Docker.
make hooksPoint git at .githooks (pre-push static gates).Makefile
bash scripts/dev-up.sh (--app | --all | --env-only)Local dev spin-up of the compose infra subset.scripts/dev-up.sh headerLocal only; never reuse its .env for a deployment.
./scripts/run-core-local.shRun core with deploy/compose/.env sourced into the environment.scripts/run-core-local.sh headerSpring Boot does not read .env files; without this core dies on a missing APP_ENCRYPTION_KEY.
bash scripts/ci/flyway-lint.shFlyway lint: applied-migration edit guard and version-collision checks across both migration folders.scripts/ci/flyway-lint.sh; static-gates.ymlNeeds git history (fetch-depth: 0). Versions share one namespace across controlplane and tenant.
bash scripts/ci/entity-name-lint.shStatic gate: entity, table, bean and path collisions.static-gates.yml
make spring-wiringRuns core/app's InjectableConstructorTest and UniqueBeanNamesTest: beans Spring cannot construct, duplicate Spring bean / JPA entity names. No context, no database.Makefile; ci.yml (mvn verify)Needs Maven and JDK 21+.
bash scripts/ci/skip-expiry.sh; sh scripts/ci/check-file-size.shStatic gates: expired test skips, file-size ratchet.static-gates.yml
bash scripts/ci/secret-scan.shGitleaks scan over the commits being added (not the whole history).script header; static-gates.ymlSkips locally if gitleaks is absent; fails in CI (CI=true). Base ref via SECRET_SCAN_BASE_REF.
bash scripts/ci/helm-validate.sh; bash deploy/helm/test-guards.shHelm lint, template and kubeconform; render-guard negative tests.ci.yml job helmThe Helm charts are a preview.
bash scripts/ci/helm-package.sh <version> dist/chartsPackage the Helm charts.release.ymlRelease-time step.

C — curl

CommandPurposeSourceNotes
curl -s http://localhost:8080/actuator/health (or https://api.<your-domain>/actuator/health)Core health.deploy/compose/docker-compose.yml healthcheckAdd /liveness or /readiness to separate "JVM alive" from "able to serve" (DB, Redis).
curl -s http://localhost:8180/realms/agentic-ai/.well-known/openid-configurationCheck the Keycloak realm and the issuer it advertises.deploy/README.md (issuer consistency)The issuer field must match what core validates.

D — docker / docker compose

Compose files live in deploy/compose/; scripts/vegaduta compose <args> supplies the right files and profiles.

CommandPurposeSourceNotes
scripts/vegaduta compose build core; scripts/vegaduta compose up -d coreRebuild and restart one service (with the build overlay).deploy/README.mdPrefer restarting a named service over a whole-stack down.
scripts/vegaduta up --full --domain example.com --buildBuild and run with the domain overlay so public URLs are correct.deploy/README.mdFor images built from source, rebuild web after a domain change so the fallback URLs change too.
docker compose ps; docker compose logs -f core; docker compose logs --since 30m core | grep -i errorStatus and logs (or scripts/vegaduta status / logs core).deploy/README.md
docker compose -f docker-compose.yml -f docker-compose.ci.yml down -vTear down the ephemeral CI stack..github/workflows/e2e.ymlCI runner only. Not for any real environment.
docker compose up -d postgres --waitStart Postgres locally for core tests (make test-core).Makefile
docker run -d --name vd-restore-test -e POSTGRES_PASSWORD=… -p 5499:5432 postgres:16; docker rm -f vd-restore-testThrowaway container for a restore drill (Windows helper scripts).scripts/backup/verify-restore.ps1A stock postgres:16 loses pgvector columns; use the release postgres image (see Backup & Restore).

G — git

CommandPurposeSourceNotes
git worktree add --detach "$SCRATCH/build" <sha>; git -C … status --short (must be empty); git worktree remove --force …Build images from a clean checkout of an exact sha.Build hygiene practiceBecause a build uploads whatever is on disk, including stray .env*.local files.
git log --remotes -G'sk-ant-api03-[A-Za-z0-9_-]{80,}'Scan all remote refs for a committed key pattern.Secret-hygiene practiceComplements scripts/ci/secret-scan.sh.

G — gitleaks

CommandPurposeSourceNotes
go install github.com/zricethezav/gitleaks/v8@v8.30.1Install the pinned scanner in CI..github/workflows/static-gates.ymlVersion as pinned in that workflow.

M — mvn (core, Java)

CommandPurposeSourceNotes
mvn -B clean verifyFull core build and tests (run from core/)..github/workflows/ci.yml; make test-coreContext tests need Postgres with pgvector and AGE, else they skip.
mvn -B -ntp -DskipTests packageBuild core without tests (run from core/; make build-core).MakefileCI uses JDK 21 (ci.yml).
mvn spring-boot:runRun core directly.scripts/dev-up.sh header; scripts/run-core-local.shEnv comes from the shell only — use the run-core-local wrapper.
JDK version
scripts/dev-up.sh says "JDK 21+"; CI and core/Dockerfile use Java 21 images. Some maintainers build locally with JDK 24. Run one Maven build at a time.

N — npm / npx (web, web-admin)

Scripts from web/package.json and web-admin/package.json.

CommandPurposeSourceNotes
npm run devDev server: web on port 3000, web-admin on port 3001.web/package.json; web-admin/package.jsonweb's predev runs the vendor scripts (vendor-webllm, vendor-kokoro, vendor-babel).
npm run build / npm run startProduction build / serve.both package.jsonNEXT_PUBLIC_* are baked at build time. web's prebuild runs scripts/i18n-route-namespaces.mjs and the vendor scripts.
npm run lint · npm run typecheck · npm test · npm run test:watcheslint, tsc --noEmit, vitest run, vitest.both package.jsonCI runs lint, typecheck, test and build for both consoles (ci.yml).
npm run e2e · e2e:ui · e2e:report · e2e:showcasePlaywright (web only).web/package.jsonThe nightly e2e.yml runs the suite in tests/e2e with npx playwright test --project=chromium.
npm run translate-messagesnode scripts/translate-messages.mjs.web/package.jsonMaintainers regenerate message catalogs with this; no workflow runs it.
npm ci --prefer-offline --no-audit / npm installInstall deps.Makefile (npm ci); ci.ymlDo not run npm install in a tree while other processes run npx there.

O — openssl

CommandPurposeSourceNotes
openssl rand -base64 32Generate APP_ENCRYPTION_KEY (base64 of 32 raw bytes).core/.env.exampleNever regenerate once encrypted rows exist. See Environment Variables.
openssl rand -hex 32 / -hex 24Generate shared secrets (sidecar, Langfuse) / CODE_INTEL_INTERNAL_TOKEN.core/.env.example; deploy/compose/.env.example

P — powershell (Windows)

CommandPurposeSourceNotes
powershell -NoProfile -ExecutionPolicy Bypass -File scripts\backup\register-backup-task.ps1Register a nightly backup scheduled task on a Windows Docker host (optional helper).scripts/backup/register-backup-task.ps1Runs scripts/backup/pg-backup.ps1 (dumps main Postgres and Keycloak DB to a backups directory beside the repo).
powershell -NoProfile -ExecutionPolicy Bypass -File scripts\backup\verify-restore.ps1Monthly restore drill against a throwaway Postgres.script headerThe script starts nothing itself; the operator starts and removes the container.
.\scripts\dev\validate-platform.ps1 -Username … -Password …Read-only platform validation (admin API, login, roles, tenant resolution).scripts/dev/validate-platform.ps1 headerUses a real tenant-admin login; do not paste credentials into shared logs.
scripts/dev/reset-full.ps1Full local reset — wipes all tenant data and all Keycloak realm users.script headerIrreversible, no backup taken. Local dev only.
scripts/keycloak/*.ps1Keycloak diagnostics and fixes.files exist in repoUsage text not read for this page; open the script header before running.

P — pip / pytest (sidecar and Python services)

CommandPurposeSourceNotes
pip install -r requirements.txt; python -m pytest tests/ -qPython service tests (make test-python).Makefile; .github/workflows/ci.ymlRun from services/sidecar; code-intel uses a script harness.

Conventions and cross-links

Evidence & references