Skip to content

Wavemap CLI Command Reference

This page is the curated reference home for public wavemap commands.

Use Wavemap CLI for the package boundary, command flow, and route-contract rules. Use operations pages for pipeline sequencing, approval gates, live-operation context, and runbooks.

Durable docs should prefer the public trunk CLI form:

Terminal window
pnpm wavemap -- <command> [args...]

The local short alias is available for convenience:

Terminal window
pnpm wm -- <command> [args...]

Root package scripts remain compatibility surfaces for humans, CI, and older notes. They should be documented beside the public route they delegate to, not treated as a separate command product.

Each public command entry should record:

  • Public pnpm wavemap -- ... route.
  • Root compatibility script, when one exists.
  • Implementation wrapper or package entrypoint.
  • Owner of live execution, typed planning, and command registration.
  • Default mutation posture.
  • Important options, arguments, environment overrides, and forwarded flags.
  • Related operations page or runbook.

Internal @wavemap/operations leaf commands are documented only when they explain file contracts, helper outputs, typed-planning boundaries, or shell-wrapper handoffs. They are not operator-facing commands unless exposed through a public route or compatibility script.

Use the public command surface in durable developer, operations, runbook, and workflow documentation. Internal operations surfaces may appear in implementation notes only when the reader needs to understand a typed helper contract or shell handoff.

SurfaceAudienceDocumentation Posture
pnpm wavemap -- ...Public project command surfacePrefer in durable docs, runbooks, and operator examples.
pnpm wm -- ...Local convenience aliasMention as a shortcut, but do not make it the canonical form in durable docs.
Root compatibility scriptsHumans, CI, and older notesDocument beside the public route they delegate to. Do not describe them as a separate command product.
Shell wrappers under bin/Implementation and debuggingDocument as wrapper entrypoints and live-execution owners. Operators should usually reach them through wavemap.
pnpm -C infra/operations operations -- ...Package-local typed harnessInternal and transitional. Use only for implementation debugging or focused typed-helper development.
operations deployed-dev ...Typed deployed-dev helpersInternal behind public routes and shell wrappers. Document only file contracts, helper outputs, or planning rules.
operations docs-deploy ...Typed docs-deploy helpersInternal behind public routes and shell wrappers. Document only file contracts, helper outputs, or planning rules.
operations infra-topology ...Typed topology projectorsInternal behind public routes and shell wrappers. Document lower-level artifact contracts when needed.
Helper leaves such as images-helper, runtime-ssm-helper, media-smoke-helper, smoke-helper, and publish-github-outputShell-wrapper helpersInternal only. Reference them when explaining wrapper mechanics, not as commands an operator should run directly.

If a typed operation leaf becomes useful enough for routine human use, expose it through a public wavemap route or root compatibility script first, then update this reference, the route-contract tests, and any related operations page.

Command changes should move as one reviewed slice: implementation, public route contract, compatibility surface, and durable docs should stay synchronized. Do not change a wrapper flag, route name, mutation posture, or command owner and leave the reference or runbook stale for a later cleanup.

Use this convention when adding, renaming, deprecating, or removing:

  • A public pnpm wavemap -- ... route.
  • A root compatibility script.
  • A shell wrapper or forwarded argument.
  • A typed @wavemap/operations leaf that affects public command behavior.
  • A default mutation posture, such as dry-run versus --execute.
  • A GitHub workflow stage that calls one of these commands.
Change TypeUpdate Together
New public commandRoute table in packages/cli, root compatibility script, route-contract test, implementation wrapper, this reference, and any operation page that explains when to use it.
Public route renameNew route, compatibility alias when needed, root script mapping, route-contract test, command examples in durable docs, and migration note if old wording remains valid.
Wrapper flag or input changeWrapper help/usage, typed planner or parser, command reference key inputs, related runbook or workflow step, and focused wrapper/operations tests.
Default mutation posture changeWrapper gate, typed summary wording, command reference posture, related operations/runbook approval language, workflow summary expectations, and tests that prove the new gate.
Internal typed helper change@wavemap/operations parser/planner tests, shell handoff files, wrapper behavior, and public docs only if the operator-facing command surface changes.
GitHub workflow command usage changeWorkflow stage, profile/resolution tests or summaries, deployment workflow docs, runbooks when operator action changes, and command reference only when the command surface changes.

Keep docs split by reader expectation:

  • CLI reference documents the command surface: public route, compatibility script, implementation wrapper, owner, posture, key inputs, and related docs.
  • Operations pages document sequencing, responsibility flow, approval gates, smoke-lane promotion, and workflow context.
  • Runbooks document reviewed manual procedures, recovery paths, destructive reset, rollback, and discrepancy reporting.
  • Working notes keep proof history, experiments, and unsettled design details until they are promoted.

Focused verification should match the changed layer:

Terminal window
pnpm -F @wavemap/cli test
pnpm -F @wavemap/operations test
pnpm -C apps/wavemap-docs format:check
pnpm -C apps/wavemap-docs build

Docs-only convention updates do not require CLI or operations tests. Public route or behavior changes should run the relevant package tests before being treated as ready.

FamilyPublic PrefixCompatibility SurfacePrimary Wrapper AreaRelated Docs
Deployed-dev deploypnpm wavemap -- deploy dev ...pnpm deploy:dev:*bin/dev-deployDeployment Workflows
Docs deploypnpm wavemap -- deploy docs ...pnpm deploy:docs:*bin/docs-deployDocs Hosting
Smoke checkspnpm wavemap -- smoke ...pnpm smoke:*bin/dev-deployTesting
Infra topologypnpm wavemap -- infra topology ...pnpm infra:topology:*bin/infra-topologyInfra Topology Processing
Local Docker controlpnpm wavemap -- dev docker ...pnpm dev:docker:*bin/dev-dockerWavemap CLI

Current baseline:

  • The route table exposes 49 public route entries backed by 46 root compatibility scripts.
  • The route/script count difference is intentional: deploy dev database reset/status/migrate and transitional deploy dev db-reset/db-status/db-migrate both map to their matching deploy:dev:db-* scripts.
  • Compatibility scripts delegate through the matching pnpm wavemap -- ... command.
  • Current public routes use direct implementation commands, so trunk routes do not recurse through root package scripts.
  • Direct shell implementation commands point at existing wrapper files.

The key inputs column records operator-facing flags and common dispatch inputs. It intentionally omits internal helper *-out file flags unless they are useful when reproducing command behavior locally.

Public routeCompatibility scriptImplementation wrapperOwnerDefault postureKey inputs / flagsRelated docs
pnpm wavemap -- deploy dev preflightpnpm deploy:dev:preflightbin/dev-deploy/preflight-deployed-dev.shShellLocal validation only.--dockerDeployment Workflows
pnpm wavemap -- deploy dev contractspnpm deploy:dev:contractsbin/dev-deploy/validate-deployed-dev-contracts.shShell plus typed opsLocal contract validation only.--pulumi-outputs-json <path>Deployment Workflows
pnpm wavemap -- deploy dev workflow-profilepnpm deploy:dev:workflow-profilebin/dev-deploy/resolve-deployed-dev-workflow-profile.shTyped ops via shellLocal/GitHub-output resolution only.--github-outputDeployment Workflows
pnpm wavemap -- deploy dev verify-workflow-profilepnpm deploy:dev:verify-workflow-profilebin/dev-deploy/verify-deployed-dev-workflow-profile.shTyped ops via shellLocal verification only.--jsonDeployment Workflows
pnpm wavemap -- deploy dev cloud-planpnpm deploy:dev:cloud-planbin/dev-deploy/run-deployed-dev-cloud-plan.shShell plus cloud CLIsRead-only cloud plan.--pulumi-outputs-json <path>, --profile, --no-profile, --regionDeployment Workflows
pnpm wavemap -- deploy dev cloud-targetpnpm deploy:dev:cloud-targetbin/dev-deploy/validate-deployed-dev-cloud-target.shShell plus typed opsRead-only caller/target validation.--pulumi-outputs-json <path>, --pulumi-stack <stack>, --region, --profile, --no-profile, --aws-account-id, --jsonDeployed Dev Environment
pnpm wavemap -- deploy dev diagnostics endpointspnpm deploy:dev:endpoint-diagnosticsbin/dev-deploy/diagnose-deployed-dev-endpoints.shShell plus typed opsRead-only public endpoint evidence capture.--app-url <url>, --i18n-version <version>, --seeded-artist, --seeded-artist-id <id>, --request-timeout-seconds <n>, --body-preview-bytes <n>, --evidence-dir <path>Runbooks
pnpm wavemap -- deploy dev identitypnpm deploy:dev:identitybin/dev-deploy/resolve-deployed-dev-artifact-identity.shTyped ops via shellLocal identity resolution only.--github-output, --output-mode text|json|none, --json, optional identity output pathsRelease And Versioning
pnpm wavemap -- deploy dev frontend-build-inputspnpm deploy:dev:frontend-build-inputsbin/dev-deploy/resolve-deployed-dev-frontend-build-inputs.shTyped ops via shellLocal Pulumi-output validation only.--pulumi-outputs-json <path>, --jsonTesting
pnpm wavemap -- deploy dev runtime-parameterspnpm deploy:dev:runtime-parametersbin/dev-deploy/validate-deployed-dev-runtime-parameters.shTyped ops via shellLocal contract validation only.--pulumi-outputs-json <path>, --jsonDeployed Dev Environment
pnpm wavemap -- deploy dev runtime-config planpnpm deploy:dev:runtime-config-planbin/dev-deploy/plan-deployed-dev-runtime-config.shTyped ops via shellLocal plan only.--pulumi-outputs-json <path>, --jsonDeployed Dev Environment / Runbooks
pnpm wavemap -- deploy dev runtime-config populatepnpm deploy:dev:runtime-config-populatebin/dev-deploy/populate-deployed-dev-runtime-config.shShell plus typed opsDry-run by default; writes SSM String parameters with --execute.--pulumi-outputs-json <path>, --profile, --no-profile, --region, --include-optional, --executeDeployed Dev Environment / Runbooks
pnpm wavemap -- deploy dev runtime-config checkpnpm deploy:dev:runtime-config-checkbin/dev-deploy/check-deployed-dev-runtime-config.shTyped ops via shellLocal inventory validation only.--pulumi-outputs-json <path>, --parameter-inventory-json <path>, --jsonDeployed Dev Environment / Runbooks
pnpm wavemap -- deploy dev runtime-config livepnpm deploy:dev:runtime-config-livebin/dev-deploy/check-deployed-dev-live-runtime-config.shShell plus typed opsRead-only SSM metadata check.--pulumi-outputs-json <path>, --profile, --no-profile, --region, --parameter-prefix, --inventory-json-out, --jsonDeployed Dev Environment / Runbooks
pnpm wavemap -- deploy dev runtime-envpnpm deploy:dev:runtime-envbin/dev-deploy/render-deployed-dev-runtime-env.shTyped ops via shellLocal render dry-run only.--pulumi-outputs-json <path>, --runtime-deployment-source <path>, --jsonDeployed Dev Environment
pnpm wavemap -- deploy dev bundlepnpm deploy:dev:bundlebin/dev-deploy/resolve-deployed-dev-deploy-bundle.shTyped ops via shellLocal bundle resolution only.--pulumi-outputs-json <path>, --jsonDeployment Workflows
pnpm wavemap -- deploy dev imagespnpm deploy:dev:imagesbin/dev-deploy/build-images.shShell plus typed opsDry-run by default; Docker builds with --execute; ECR pushes with --execute --push.--pulumi-outputs-json <path>, --profile, --no-profile, --region, --image, --frontend-env-file, --execute, --push, --no-login, --no-cache, --buildx, --cache-backendDeployment Workflows
pnpm wavemap -- deploy dev runtime deploypnpm deploy:dev:runtimebin/dev-deploy/deploy-runtime.shShell plus typed opsDry-run by default; sends runtime SSM deploy with --execute.--pulumi-outputs-json <path>, --profile, --no-profile, --region, --instance-id, --document-name, --execute, --github-output, --no-wait, --waitDeployment Workflows / Runbooks
pnpm wavemap -- deploy dev runtime verify-resumepnpm deploy:dev:verify-runtime-resumebin/dev-deploy/verify-runtime-deploy-resume.shTyped ops via shellLocal resume-behavior verification only.--jsonDeployment Workflows
pnpm wavemap -- deploy dev runtime record-releasepnpm deploy:dev:runtime-release-recordbin/dev-deploy/record-deployed-dev-runtime-release.shShell plus typed opsDry-run by default; writes host-side receipt through SSM with --execute.--pulumi-outputs-json <path>, --profile, --no-profile, --region, --instance-id, --record-path, --execute, --github-output, --no-wait, --waitRunbooks
pnpm wavemap -- deploy dev runtime rollbackpnpm deploy:dev:runtime-rollbackbin/dev-deploy/rollback-deployed-dev-runtime.shShell plus typed opsDry-run by default; reads receipt and redeploys through SSM with --execute.--pulumi-outputs-json <path>, --profile, --no-profile, --region, --instance-id, --document-name, --record-path, --execute, --github-output, --no-wait, --waitRunbooks
pnpm wavemap -- deploy dev database resetpnpm deploy:dev:db-resetbin/dev-deploy/reset-deployed-dev-database.shShell plus typed opsDry-run by default; destructive seed-owned table reset with --execute.--pulumi-outputs-json <path>, --profile, --no-profile, --region, --instance-id, --compose-file, --execute, --github-output, --no-wait, --waitRunbooks
pnpm wavemap -- deploy dev database statuspnpm deploy:dev:db-statusbin/dev-deploy/check-deployed-dev-database-status.shShell plus typed opsRead-only live SSM migration status check by default; --dry-run prints the payload.--pulumi-outputs-json <path>, --profile, --no-profile, --region, --instance-id, --compose-file, --dry-run, --github-outputRunbooks
pnpm wavemap -- deploy dev database migratepnpm deploy:dev:db-migratebin/dev-deploy/migrate-deployed-dev-database.shShell plus typed opsDry-run by default; migration-only schema mutation with --execute.--pulumi-outputs-json <path>, --profile, --no-profile, --region, --instance-id, --compose-file, --execute, --github-output, --no-wait, --waitRunbooks
pnpm wavemap -- deploy dev db-resetpnpm deploy:dev:db-resetbin/dev-deploy/reset-deployed-dev-database.shShell plus typed opsTransitional shorthand for deploy dev database reset.Same as deploy dev database reset.Runbooks
pnpm wavemap -- deploy dev db-statuspnpm deploy:dev:db-statusbin/dev-deploy/check-deployed-dev-database-status.shShell plus typed opsTransitional shorthand for deploy dev database status.Same as deploy dev database status.Runbooks
pnpm wavemap -- deploy dev db-migratepnpm deploy:dev:db-migratebin/dev-deploy/migrate-deployed-dev-database.shShell plus typed opsTransitional shorthand for deploy dev database migrate.Same as deploy dev database migrate.Runbooks
pnpm wavemap -- deploy dev media discrepancy-reportpnpm deploy:dev:media-discrepancy-reportbin/dev-deploy/report-deployed-dev-media-discrepancies.shShell plus typed opsDry-run by default; read-only remote report with --execute.--pulumi-outputs-json <path>, --profile, --no-profile, --region, --instance-id, --compose-file, --provider, --location, --prefix, --artist-id, --execute, --github-output, --no-wait, --waitRunbooks
pnpm wavemap -- deploy dev validate-envpnpm deploy:dev:validate-envbin/dev-deploy/validate-deployed-dev-workflow-env.shTyped ops via shellLocal/GitHub context validation only.--mode=skeleton, --mode=cloud, --mode=infra-topology-ingest, --github-context-jsonDeployment Workflows
Public routeCompatibility scriptImplementation wrapperOwnerDefault postureKey inputs / flagsRelated docs
pnpm wavemap -- deploy docs targetpnpm deploy:docs:targetbin/docs-deploy/validate-docs-deploy-target.shTyped ops via shellLocal deployment-contract validation only.--deployment-contract-json <path>, --expected-hostname, --github-output, --jsonDocs Hosting
pnpm wavemap -- deploy docs publishpnpm deploy:docs:publishbin/docs-deploy/publish-docs-site.shShell plus typed opsDry-run by default; S3 sync and CloudFront invalidation with --execute.--deployment-contract-json <path>, --dist, --profile, --no-profile, --region, --cache-control, --invalidation-path, --execute, --skip-invalidation-wait, --github-output, planning *-out files, --output-mode, --jsonDocs Hosting
Public routeCompatibility scriptImplementation wrapperOwnerDefault postureKey inputs / flagsRelated docs
pnpm wavemap -- smoke devpnpm smoke:devbin/dev-deploy/smoke-deployed-dev.shShell plus typed opsEndpoint HTTP smoke; optional wake/browser lanes.--wake, --seeded-artist, --browser-routing, --browser-cold-start, --browser-media, --browser-smoke, --browser-fullTesting
pnpm wavemap -- smoke dev seededpnpm smoke:dev:seededbin/dev-deploy/smoke-deployed-dev.shShell plus typed opsRead-only seeded endpoint smoke.Route prewires --seeded-artist; accepts shared smoke dev flags.Testing
pnpm wavemap -- smoke dev mediapnpm smoke:dev:mediabin/dev-deploy/smoke-deployed-dev-media.shShell plus typed opsDry-run by default; temporary DB/S3 media proof with --execute.--pulumi-outputs-json <path>, --profile, --no-profile, --region, --app-url, --bucket, --artist-id, --executeTesting
pnpm wavemap -- smoke dev browser-routingpnpm smoke:dev:browser-routingbin/dev-deploy/smoke-deployed-dev.shShell plus typed opsRead-only Playwright routing smoke.Route prewires --browser-routing; accepts shared smoke dev flags.Testing
pnpm wavemap -- smoke dev cold-start-browserpnpm smoke:dev:cold-start-browserbin/dev-deploy/smoke-deployed-dev.shShell plus typed opsLifecycle browser proof that exercises the wake path.Route prewires --seeded-artist --browser-cold-start; accepts shared smoke dev flags.Deployment Workflows
pnpm wavemap -- smoke dev browser-mediapnpm smoke:dev:browser-mediabin/dev-deploy/smoke-deployed-dev.shShell plus typed opsRead-only browser media delivery smoke.Route prewires --seeded-artist --browser-media; accepts shared smoke dev flags.Testing
pnpm wavemap -- smoke dev browserpnpm smoke:dev:browserbin/dev-deploy/smoke-deployed-dev.shShell plus typed opsRead-only seeded browser smoke.Route prewires --seeded-artist --browser-smoke; accepts shared smoke dev flags.Testing
pnpm wavemap -- smoke dev e2epnpm smoke:dev:e2ebin/dev-deploy/smoke-deployed-dev.shShell plus typed opsRead-only full browser suite.Route prewires --seeded-artist --browser-full; accepts shared smoke dev flags.Testing
pnpm wavemap -- smoke docspnpm smoke:docsbin/docs-deploy/smoke-docs-site.shShell plus typed opsRead-only public docs HTTP smoke.--base-url <url>Docs Hosting
Public routeCompatibility scriptImplementation wrapperOwnerDefault postureKey inputs / flagsRelated docs
pnpm wavemap -- infra topology capturepnpm infra:topology:capturebin/infra-topology/capture-raw-pulumi-artifacts.shShell plus typed opsReads Pulumi backend and writes private artifacts.--pulumi-stack <stack>, --output-dir <path>, --environment, --provider, --pulumi-project, --source-ref, --system-components, --github-outputInfra Topology Processing
pnpm wavemap -- infra topology project-inventorypnpm infra:topology:project-inventorybin/infra-topology/project-sanitized-resource-inventory.shTyped ops via shellLocal private-to-sanitized projection.--raw-capture-dir <path>, --output-json <path>, --github-outputInfra Topology Processing
pnpm wavemap -- infra topology project-graphpnpm infra:topology:project-graphbin/infra-topology/project-normalized-infra-graph.shTyped ops via shellLocal normalized graph projection.--sanitized-inventory-json <path>, --dependency-edge-projection-json <path>, --reviewed-topology-metadata-json <path>, --output-json <path>, --github-outputInfra Topology Processing
pnpm wavemap -- infra topology project-diagrampnpm infra:topology:project-diagrambin/infra-topology/project-semantic-mermaid-diagram.shTyped ops via shellLocal private diagram candidate projection.--normalized-graph-json <path>, --diagram-candidate-manifest-json <path>, --output-mermaid <path>, --manifest-json-out <path>, --github-outputInfra Topology Processing
pnpm wavemap -- infra topology render-dotpnpm infra:topology:render-dotbin/infra-topology/render-pulumi-dot-graph.shShell plus typed opsLocal DOT-to-SVG review artifact rendering.--raw-capture-dir <path>, --output-dir <path>, --github-outputInfra Topology Processing
Public routeCompatibility scriptImplementation wrapperOwnerDefault postureKey inputs / flagsRelated docs
pnpm wavemap -- dev docker uppnpm dev:docker:upbin/dev-docker/dev-docker-up.shShell plus Node watcher helperStarts/rebuilds local Docker dev stacks.Reads local .env.dev; environment overrides include TIMEOUT_SECS, POLL_INTERVAL, SKIP_DOCKER_WATCHERS; legacy SKIP_DOCKER_WATCH_TABS is still honored.Wavemap CLI
pnpm wavemap -- dev docker stoppnpm dev:docker:stopbin/dev-docker/dev-docker-stop.shShell plus Node watcher helperStops local containers while preserving volumes.Also stops background shared-package watchers when present.Wavemap CLI
pnpm wavemap -- dev docker downpnpm dev:docker:downbin/dev-docker/dev-docker-down.shShell plus Node watcher helperTears down local dev stacks and unused network.Also stops background shared-package watchers when present.Wavemap CLI
pnpm wavemap -- dev docker reloadpnpm dev:docker:reloadbin/dev-docker/dev-docker-reload.shShell plus Node watcher helperStops, then starts local Docker dev stacks.Stops existing shared-package watchers, then forwards args/environment behavior to dev docker up.Wavemap CLI
pnpm wavemap -- dev docker hard-reloadpnpm dev:docker:hard-reloadbin/dev-docker/dev-docker-hard-reload.shShell plus Node watcher helperTears down, then starts local Docker dev stacks.Stops existing shared-package watchers, then forwards args/environment behavior to dev docker up.Wavemap CLI

Use this shape when adding command entries:

### `pnpm wavemap -- deploy dev runtime deploy`
Compatibility script: `pnpm deploy:dev:runtime`
Implementation: `bin/dev-deploy/deploy-runtime.sh`
Owner: Shell owns live SSM execution; `@wavemap/operations` owns typed planning helpers.
Default posture: Dry-run by default. Live runtime mutation requires `--execute`.
Key options: `--pulumi-outputs-json`, `--profile`, `--no-profile`, `--region`, `--execute`, `--github-output`,
`--no-wait`, `--wait`.
Related docs: [Deployment Workflows](../operations/deployment-workflows/)

When a public route, root compatibility script, wrapper flag, default mutation posture, or route ownership changes, update this reference and any linked operations or runbook page in the same documentation pass. The Command Change Convention is the checklist for deciding which implementation, test, and docs surfaces move together.