Commands
Every aspenx command. Add --json to any of them except version and help for machine-readable output; the GUI and Claude use the same calls.
aspenx [--json] [--monorepo <path>] <command> [flags]
--monorepo names the main checkout. Without it, AspenX uses the feature folder’s record when you run it inside one. Otherwise it walks up looking for aspenx.yml, and failing that it uses the path init recorded.
--json gives machine-readable output for every command except version and help. On open it returns the URL without opening the browser.
Setting up
| Command | What it does |
|---|---|
init [--skip-trust] [--no-daemon] [--trust-timeout 2m] |
Checks prerequisites: git, docker, the Docker daemon and compose, plus gh, claude and cloudflared as optional. Starts the shared Postgres, Redis and Caddy as compose project aspenx-shared and trusts the Caddy CA in the login keychain. Records the monorepo path and features_root in ~/.aspenx/config.yml and creates that folder. Copies the binary to ~/.aspenx/bin and installs the launchd daemon. Needs a parseable aspenx.yml. Safe to rerun. The app’s setup wizard runs it for you. |
init --check |
Checks the prerequisites only and touches nothing. Lists each tool, whether it is required, and its version or why it is missing. Exits 1 when a required one is missing. This is the wizard’s Prerequisites step. |
shared up | status |
The shared Postgres, Redis and Caddy (compose project aspenx-shared). up starts whatever is stopped, as after a Docker restart. Feature commands do this on their own; use it to see why a start failed. status exits 1 while any shared service is stopped. |
projects [--ref <ref>] |
Lists the monorepo’s projects with their source ids at main (or <ref>), and whether the manifest covers each. |
template rebuild [project...] [--base <ref>] [--rebuild-images] [--yes] |
Rebuilds the template databases from the canonical seed (db.seed) at the base pins, then applies grant_read. A project without db.seed gets an empty template. The daemon runs this at nightly_rebuild (03:00 by default) against nightly_base. |
baseline pull [--base <branch>] [--rebuild-images] [--no-migrate] |
Pulls the base branch, and updates submodules when the main checkout is on it. Builds main images for new pins and migrates the templates with db.migrate (skipped with --no-migrate). Running features keep their pins. Refuses when origin has no such branch. |
baseline go |
Focuses or opens a terminal tab in the main checkout. |
baseline bump [--base <branch>] [--project a,b] [--check] [--push] [--force] |
Submodules layout only. Moves the base branch’s submodule pins to the tip of each submodule’s default branch, as git submodule update --remote does, in one commit on the base in the main checkout. It leaves alone a pin that points off the branch (--force moves it) and one whose checkout has local changes. The commit stays local until --push. --check reports the pinned commit, the tip and how far behind each is, and changes nothing. Run baseline pull afterwards to build the new images and migrate the templates. The Baseline page’s Update pins does both. |
login [--logout] [--fresh] [--org <github org>] [--url <control url>] [--no-browser] |
Signs in to the control plane, api.aspenx.dev unless control_url says otherwise; --url saves a new one there. It prints a code, opens the approval page and keeps the session token in the login keychain. It joins the organization that owns the monorepo’s origin on GitHub. The first person to sign in creates the organization and becomes its owner, and every sign-in checks GitHub membership. With a valid token it only re-syncs the organization; --fresh signs in again. Once you are signed in, new gives each feature a five-character id and public hostnames become <id>-<project>.<public_domain>. review and tunnel then use the control plane’s Cloudflare credential, so nobody needs a token on their Mac. --logout forgets the token. |
update [--check] |
Updates to the latest release from aspenx.dev. If Homebrew manages the CLI it runs brew upgrade aspenx, otherwise the install script. The app is updated too when it is installed, and daemon install then restarts the daemon on the new binary. --check only compares this install with the latest release. The app’s green update arrow runs this. |
config [get <key> | set <key> <value>] |
Reads or changes the settings below. features_root comes from the manifest, and control_user and control_org from aspenx login. config shows all three but cannot set them. |
daemon run|install|restart|reload|uninstall|status|events|access |
The launchd daemon. Hook events go in; feature, agent, baseline, notified and daemon events come out on ~/.aspenx/daemon.sock. The subcommands are listed below. |
doctor [--fix] [--yes] [--base <ref>] [--only <kind>[:<subject>]]... [--referenced-edits touch|revert] [--timeout 10m] |
Finds drift: orphan worktrees, databases, routes, containers, networks, volumes and tunnels; port conflicts; unmapped submodules; localhost: literals; edits under referenced paths. --fix repairs what it can and confirms like the other destructive commands. --yes implies --fix. --only limits the report and the fix to the named findings, or to every finding of a kind. Exits 1 while any finding is left unfixed. More below. |
doctor --hosts <feature> |
Checks the env contract end to end. Exits 1 when any check fails. |
config keys:
| Key | Meaning |
|---|---|
monorepo |
The main checkout. set monorepo needs a parseable aspenx.yml at the path, re-syncs features_root and tells the daemon. |
terminal |
ghostty (the default), iterm2 or tmux, which AspenX scripts: go finds a feature’s tab again and qa send types into it. Any other value is a terminal app by its Finder name, such as Warp, Terminal or WezTerm, or a command with {dir} and optionally {cmd} and {title}, such as wezterm start --cwd {dir} -- {cmd}. {cmd} is the whole shell line: the tab title, the cd, the command, then your login shell. AspenX can’t find tabs in those, so each go opens a new one, and qa send puts the line on your clipboard instead. set refuses an app name macOS can’t find. |
editor |
The editor aspenx edit opens. |
nightly_rebuild |
HH:MM or off. 03:00 by default. |
nightly_base |
main by default. |
idle_stop |
How long a running feature may go unused before the daemon stops it with down: 4h by default, any duration of at least 1m, or off. Used means a request to one of its hostnames, a change in its uncommitted or unpushed work, or Claude activity. A feature with a review app on is never stopped. One notification goes out 10 minutes before. up brings it back with everything kept. |
qa.enabled |
Off by default. Takes true/false, on/off, yes/no or 1/0. It shows the QA agent’s tab, button and status in the app. aspenx qa runs either way. |
qa.model, qa.max_budget_usd, qa.timeout |
Default to Claude Code’s default model, $5 and 20 minutes. |
control_url |
Empty means your own Cloudflare zone and token. Changing it clears control_user and control_org, so run aspenx login against the new URL. |
A change to monorepo or the nightly keys reaches the daemon without a restart.
daemon subcommands:
installcopies the binary to~/.aspenx/bin/aspenx, writes the launch agent, restarts an older daemon, and waits up to a minute for the Files and Folders consent.restartreinstalls and restarts it.uninstallstops it and removes the launch agent.statusexits 1 when it is not running.reloadmakes it re-readconfig.ymland the manifest at once. It also notices a hand-editedaspenx.ymlon its own within a second.eventsstreams until interrupted.--onceprints the snapshot;--for <dur>stops after that long.access [--wait]reports whether macOS lets the daemon read the monorepo, and exits 1 when it cannot.--waitraises the consent dialog and waits up to 90 seconds for Allow.runtakes--poll(1s) and--resource-poll(1m; a negative value turns resource sampling off).
doctor details:
- The kinds
--onlytakes areaccess,worktree,database,route,container,network,volume,port,slot,tunnel,manifest,referenced,localhost,dnsandconnector. - In the directories layout,
--fixrepairs edits under a referenced path by touching the project.--referenced-edits revertundoes them instead.--timeoutbounds the touch. accessis macOS’s Files and Folders consent for the daemon. When the dialog was missed, the fix raises it again, opens System Settings if nobody answers, and waits for Allow.initanddaemon installwait the same way, since a new binary asks again.
Checking a machine, then the shared stack:
$ aspenx init --check
ok git git version 2.50.1 (Apple Git-155)
ok docker Docker version 29.7.2, build a7dcaa6fdb
ok docker daemon engine 29.5.2
ok docker compose v5.4.0
ok caddy runs as a container in aspenx-shared
ok gh gh version 2.97.0 (2026-07-31)
ok claude 2.1.308 (Claude Code)
ok cloudflared cloudflared version 2026.10.0 (built 2026-10-05T15:39:13Z)
ok security (keychain) for trusting the Caddy CA
$ aspenx shared status
postgres running
redis running
caddy running
Building the templates the features clone, and listing the projects they come from:
$ aspenx template rebuild --yes
template rebuild from main (68f9a07f3fd8) will:
create app_template for api (seed: sh -c psql "$DATABASE_URL" -v ON_ERROR_STOP=1 -q -f /app/db/seed.sql)
create billing_template for billing (seed: sh -c psql "$DATABASE_URL" -v ON_ERROR_STOP=1 -q -f /app/db/seed.sql)
…
api app_template seeded=true grants=nothing 4s
billing billing_template seeded=true grants=nothing 1s
$ aspenx projects
monorepo /Users/Shared/acme-shop layout directories ref main (68f9a07f3fd8)
PROJECT KIND PATH SOURCE ID MANIFEST NOTE
api directory services/api e438eb748827 yes
web directory apps/web 373668eef980 yes
admin directory apps/admin a4964bcf2dc5 yes
billing directory services/billing 32e2fe2f4c7c yes
search directory services/search 3a2171c2c5a1 yes
worker directory services/worker d984516f5111 yes
After a teammate’s commit lands on main, baseline pull moves the checkout and builds the images for the new pins. Running features keep theirs:
$ aspenx baseline pull
…
pin admin a4964bcf2dc5 -> 243654aa7ab5
images built: aspenx/admin:243654aa7ab54c41e6e66534af002303c05c5962
template api no db.migrate in /Users/Shared/acme-shop/aspenx.yml
template billing no db.migrate in /Users/Shared/acme-shop/aspenx.yml
feature invoice-pdf keeps base main@68f9a07f3fd8
feature search-v2 keeps base main@68f9a07f3fd8
feature sso-login keeps base main@68f9a07f3fd8
doctor names each finding with its fix. --only narrows it to one kind or one subject:
$ aspenx doctor --only database
FOUND database app_cart_redesign feature clone with no feature record
fix: dropdb
0 fixed, 1 remaining (aspenx doctor --fix applies the fixable ones)
$ aspenx doctor --fix --only database:app_cart_redesign --yes
doctor will apply these fixes:
database app_cart_redesign: dropdb
fixed database app_cart_redesign
FIXED database app_cart_redesign feature clone with no feature record
1 fixed, 0 remaining
doctor --hosts prints the URL env each project receives, then checks it from outside. Here the API refuses the CORS preflight, which a browser would hit as a blocked request:
$ aspenx doctor --hosts invoice-pdf
effective URL env per project:
admin API_URL=https://api.invoice-pdf.aspenx.localhost
api CORS_ORIGINS=https://web.invoice-pdf.aspenx.localhost,https://admin.invoice-pdf.aspenx.localhost
api DATABASE_URL=postgres://postgres:postgres@postgres:5432/app_invoice_pdf
api REDIS_URL=redis://redis:6379/20
…
web BILLING_URL=https://billing.invoice-pdf.aspenx.localhost
PASS https web https://web.invoice-pdf.aspenx.localhost/ -> 200, cert ok
PASS https billing https://billing.invoice-pdf.aspenx.localhost/healthz -> 200, cert ok
FAIL cors web -> api preflight 405, allow-origin "" (wanted https://web.invoice-pdf.aspenx.localhost)
FAIL cors admin -> api preflight 405, allow-origin "" (wanted https://admin.invoice-pdf.aspenx.localhost)
2 passed, 2 failed
The manifest
These commands are the contract behind the GUI’s configuration editor and setup wizard. See The manifest.
validate and write take the document as a path, with --file, or on stdin, as YAML or JSON. validate with nothing on stdin checks the monorepo’s aspenx.yml in place.
Each problem comes back with a path (projects.api.port_offset), a message, a severity and, when known, a line number. An unknown key or a value of the wrong type stops the parse and is reported alone. error problems fail validate (exit 1) and refuse write. warning problems never block.
| Command | What it does |
|---|---|
manifest show |
The file as written: its path, text and sha256, the document with no defaults filled in, the parsed manifest and its problems. Also what the monorepo offers for completion: compose services and volumes, and submodules. |
manifest validate [path | --file f] [--no-context] |
Runs the static checks: keys, offsets, templates, main images. When a monorepo root resolves, it also checks against docker-compose.yml, .gitmodules or the directories on disk. --no-context checks a document away from its repo. |
manifest write [path | --file f] [--dry-run] [--base-sha256 <sum>] [--force] [--no-context] |
Merges the document into aspenx.yml, keeping comments, key order and project order, and prints the unified diff. --dry-run only prints the diff. --base-sha256 refuses when the file changed since show read it; --force overrides that. A real write tells the daemon to reload and, for the configured monorepo, updates features_root in config.yml. |
manifest inspect [path] [--ref <ref>] [--no-prereqs] |
Describes a folder, with or without a manifest. It reports the git repo and branch; compose services with their profiles, build contexts and published ports; volumes; submodules or directories with project markers; the layout that fits; whether an aspenx.yml exists and validates; the prerequisites; and warnings. --ref is the ref it reports on, main by default. Exits 1 when the path is not a directory. |
manifest draft [path] [--write] [--force] |
Proposes a starter aspenx.yml for a folder. It takes the layout from .gitmodules and makes one project per submodule or directory, matching services by build context, then by name. Offsets run 0, 1, 2…, skipping 99. Container ports and the compose_env port wiring come from the published ports, and main_image is set where a Dockerfile exists. --layout, --project name[=path], --monorepo-slug, --features-root, --local-domain (aspenx.localhost by default), --public-domain and --shared override what it infers. --write puts the file in the folder, refuses an existing one unless --force, and reloads the daemon. |
$ aspenx manifest validate --file aspenx.yml
ok: 0 warning(s)
$ aspenx manifest inspect --no-prereqs
/Users/Shared/acme-shop
git acme/shop on main (https://github.com/acme/shop.git), main: yes
compose docker-compose.yml: 8 services, 1 volumes
admin build apps/admin
api build services/api
…
layout directories suggested
directory apps/admin markers Dockerfile,package.json; services admin
directory apps/web markers Dockerfile,package.json; services web
…
manifest /Users/Shared/acme-shop/aspenx.yml (0 problem(s))
Features
| Command | What it does |
|---|---|
new <feature> [--touch a,b] [--with a,b] [--base <ref>] [--ref project=ref] [--prompt <text> | --from <issue>] [--no-up] [--no-claude] |
Creates a feature: slot, worktrees, env, compose override, main images, databases, routes. Then it starts the feature and opens a terminal tab running Claude Code at the feature root, with the prompt or the GitHub issue as its first message. Without --touch, every project runs the base unchanged. Optional projects (see the manifest) stay off unless named in --with or --touch; what they need comes along. --from takes an issue number, owner/repo#123 or an issue URL. Claude opens once the feature is healthy; --no-up skips both the start and Claude. Run again on an existing feature, new resumes and repairs it, but refuses a different --touch set or --base. |
new [<name>] --from <user>/<feature>[@id] |
Creates a borrowed feature: a teammate’s pushed branches running on your Mac with your own slot, id, databases and hostnames. Needs aspenx login. Refuses while any touched branch is unpushed, and names it. --touch, --ref and --base are refused, since the teammate’s apply. The branches stay theirs. ls, the app and FEATURE.md say “from <user>”. No Claude session opens unless you pass --prompt; go opens one later. pr is refused until --mine. The name defaults to theirs. |
ls |
Lists every feature: id, slot, touched projects, dirty and ahead counts, run state, agent state, QA state, PRs, base, and who it was borrowed from. |
up <feature> |
Starts a feature, repairing it first if needed, and waits for health. It renews the feature’s callback tunnels and ends an expired review app first. |
down <feature> |
Stops a feature and keeps its worktrees, databases and routes. Ends its review app, if one is on. |
restart <feature> [project] |
Restarts a project’s containers, or every project’s without one. |
start <feature> <project> / stop <feature> <project> / pause <feature> <project> |
One project of a running feature. stop stops its containers and frees their memory; data and containers are kept. pause freezes the processes: instant to resume, but the memory stays in use. start resumes a paused project or starts a stopped one, and waits for its health path. These last until the feature’s next up, which runs every project again. To keep an optional project off for good, use disable. |
enable <feature> <project...> / disable <feature> <project...> |
Turns optional projects on or off in a feature. enable also turns on what they need; on a running feature it starts them, building their main images and template databases if missing, and restarts the services whose env now points at them. disable also turns off the optional projects that need them, removes their containers, and restarts the rest without their addresses. Their databases are kept. A project the feature works on can’t be turned off. Features created before a project became optional keep running it, and can turn it off. |
touch <feature> <project> |
Turns a project that runs the base into one the feature changes; an optional project that was off is turned on first. In the submodules layout it adds a branch worktree. It removes the deny rule and recreates only that project’s services in dev mode. On a stopped feature the services change at the next up. |
go <feature> [--shell [--project <name>]] [--no-open] |
Focuses the feature’s Claude tab, and opens one if there is none. --shell opens or focuses a plain shell in the feature folder. --project picks a project’s worktree instead and implies --shell. The shell exports COMPOSE_PROJECT_NAME, COMPOSE_FILE, COMPOSE_ENV_FILES and ASPENX_FEATURE, so docker compose ps, logs and exec address the feature. --no-open only focuses an existing tab, and exits 1 when there is none (without --json). |
open <feature> [project|mail] [--print] |
Opens the feature in the browser: open_project by default, else the first public project. While a review app is on, it opens the public URL. --print prints the URL instead. |
edit <feature> [--print] |
Opens the feature root in your editor: editor from config, else code, cursor or open. --print prints the command instead. |
logs <feature> [project|mail] [--tail 100] [--follow=false] |
Follows combined or per-project logs. With --json it prints one {project, service, line} object per line and always follows. |
diff <feature> [project|monorepo] [--stat] |
Shows every touched project’s changes since its pin, committed and uncommitted, and lists untracked files. In the submodules layout, monorepo shows the gitlink diff. |
db reset <feature> [project] [--yes] |
Drops the feature’s databases and clones them again from the templates. |
review <feature> [on [--for 90m] [--public] | off | extend [--for 90m] | status] |
Puts the whole feature, plus Mailpit, on public hostnames through one Cloudflare tunnel for a bounded window. Details below. |
tunnel <feature> on|off [project...] |
Callback tunnels. Each public project with tunnel set gets a stable public hostname, <id>-<project>.<public_domain> (<feature>-<project> on an install using its own zone). They are for callbacks from outside, such as a payment provider’s webhooks or an OAuth sandbox. Needs public_domain and cloudflared. Signed in, the control plane creates the tunnel and renews it for 30 days at every up. Otherwise AspenX uses CLOUDFLARE_API_TOKEN, or cloudflare.api_token in ~/.aspenx/config.yml, directly. Refused for a project the review app already exposes. |
pr <feature> [--draft] [--base <branch>] [--title-prefix <text>] [--mine] |
Pushes and opens cross-linked pull requests. In the submodules layout that is one per touched project with commits past its pin, plus the “Bump gitlinks” PR on the monorepo. In the directories layout it is one monorepo PR for the feature branch. Needs gh. Project PRs target each repository’s default branch, and the monorepo PR targets the feature’s base when that exists on origin. --base overrides both. Running it again updates the PRs. On a borrowed feature it is refused until --mine, which first moves every worktree to your own feature/<name>-<you> branch. |
team [--all] |
The organization’s live features by owner, from the control plane’s registry: touched projects, whether every branch is pushed, the PRs and their state, and the review link with its time left while one is on. Shows pushed features only by default, since only those can run on another Mac. --all adds the rest, marked “not pushed”. Needs aspenx login. |
pull <feature> |
On a borrowed feature, fast-forwards every worktree to the teammate’s latest push and moves the projects that run the base to their new pins. Recreates only the projects that changed; on a stopped feature, that waits for the next up. Refuses when you have local commits, or after pr --mine, which makes the branches yours. |
drop <feature> [--force] [--yes] |
Removes everything the feature owns: containers, network and volumes, databases, routes, worktrees, the review app and tunnels, its registry entry when signed in, and the folder. It deletes branches only when they are merged into their base, and lists the unmerged ones it keeps. Refuses on uncommitted or unpushed work in a touched worktree unless --force. |
review details:
- It needs
public_domain.onalso needs the feature up andcloudflared. - The hostnames are
<id>-<project>.<public_domain>, or<feature>-<project>on an install using its own zone. - A project with its own callback tunnel keeps it rather than joining the review tunnel.
- Without an action,
reviewprints the status. --fortakes a duration or a number of minutes, from 5 minutes to 6 hours, 90 minutes by default.extendsets the window to end--forfrom now.onon a running review app does the same.- AspenX recreates the services whose env changes, with the public URLs and a cookie domain of
.<public_domain>, so a reviewer can sign in to the app from any browser. The local hostnames keep answering. off, or the daemon when the window ends, puts the services back on local hostnames and removes the gate with the tunnel.
When you are signed in, the control plane brokers the tunnel. It registers the window and removes the tunnel itself if the Mac never does. The hostnames sit behind a sign-in gate: Cloudflare Access, with the control plane as its identity provider. A browser with no session goes to sign in, and only members of the organization get through. They sign in with GitHub, or with Google for a work email on one of the organization’s allowed domains. The owner lists those domains at api.aspenx.dev/org.
--public skips the gate for that review app, so a reviewer outside the organization follows the link and never signs in. on --public on a running review app removes the gate, and on without it puts the gate back, without touching the services. An install using its own zone has no gate.
A feature that changes billing and web, while the other projects run main’s code from its images. The image builds and compose’s own output are cut:
$ aspenx new invoice-pdf --touch billing,web --no-claude
feature invoice-pdf: slot 5, base main (68f9a07f3fd8), touching billing,web
added monorepo worktree /Users/Shared/aspenx/acme-shop/features/invoice-pdf on feature/invoice-pdf
…
creating database app_invoice_pdf from app_template
creating database billing_invoice_pdf from billing_template
…
starting compose project aspenx-invoice-pdf: api web admin billing search worker mail
…
waiting for services (timeout 10m0s)
mail up after 0s (200)
admin up after 2s (200)
api up after 2s (200)
billing up after 2s (200)
web up after 2s (200)
feature invoice-pdf slot 5 branch feature/invoice-pdf base main (68f9a07f3fd8)
folder /Users/Shared/aspenx/acme-shop/features/invoice-pdf
api referenced e438eb748827 https://api.invoice-pdf.aspenx.localhost :4500 db app_invoice_pdf
web touched 373668eef980 https://web.invoice-pdf.aspenx.localhost :4501
admin referenced a4964bcf2dc5 https://admin.invoice-pdf.aspenx.localhost :4502
billing touched 32e2fe2f4c7c https://billing.invoice-pdf.aspenx.localhost :4510 db billing_invoice_pdf
search referenced 3a2171c2c5a1 (internal)
worker referenced d984516f5111 (internal)
mail mailpit https://mail.invoice-pdf.aspenx.localhost :4599
redis indexes 20 to 23 on the shared redis
healthy in 6s
Three features side by side, then where one of them lives:
$ aspenx ls
FEATURE SLOT TOUCHED DIRTY AHEAD RUN AGENT QA PR BASE FROM
invoice-pdf 5 billing,web 1 1 up none none none main@68f9a07
sso-login 6 api,web,admin 0 0 up none none none main@68f9a07
search-v2 7 search 0 0 up none none none main@68f9a07
$ aspenx open invoice-pdf --print
https://web.invoice-pdf.aspenx.localhost
$ aspenx open invoice-pdf billing --print
https://billing.invoice-pdf.aspenx.localhost
$ aspenx edit invoice-pdf --print
code /Users/Shared/aspenx/acme-shop/features/invoice-pdf
$ aspenx logs invoice-pdf web --tail 5 --follow=false
web-1 | 2026/10/23 01:14:58 [notice] 1#1: start worker process 32
web-1 | 2026/10/23 01:14:58 [notice] 1#1: start worker process 33
web-1 | 2026/10/23 01:14:58 [notice] 1#1: start worker process 34
web-1 | 2026/10/23 01:14:58 [notice] 1#1: start worker process 35
web-1 | 172.24.0.1 - - [23/Oct/2026:01:15:00 +0000] "GET / HTTP/1.1" 200 279 "-" "Go-http-client/1.1" "-"
Bringing a project into a feature’s branch, then stopping and starting the feature:
$ aspenx touch search-v2 api
api: deny rule removed; override regenerated
api: building dev image and recreating [api]
api up after 2s (200)
api touched in search-v2: worktree /Users/Shared/aspenx/acme-shop/features/search-v2/services/api on feature/search-v2, services [api] recreated in dev mode (3s)
$ aspenx down search-v2
stopped aspenx-search-v2; worktrees, databases and routes kept (aspenx up search-v2 to resume)
$ aspenx up search-v2
starting compose project aspenx-search-v2
…
healthy in 3s
Resetting one database:
$ aspenx db reset sso-login api --yes
db reset will drop and re-clone:
app_sso_login (re-cloned from app_template)
api: app_sso_login re-cloned from app_template in 0.6s
api app_sso_login from app_template 0.6s
Commands that wait take --timeout <dur>. It is 10m for new, up, touch, pull, review and doctor’s touch fixes, 3m for restart, and 45s for tunnel. Commands that build main images (new, up, template rebuild, baseline pull) take --rebuild-images.
QA
| Command | What it does |
|---|---|
qa <feature> [--checklist <file>] [--timeout 20m] [--model <m>] [--budget <usd>] [--no-notify] |
Runs the QA agent. A read-only Claude session with Playwright works through .aspenx/qa/checklist.md against the feature’s hostnames and writes .aspenx/qa/<timestamp>.md. The feature must be running; a partial one runs with a warning. claude and npx must be on PATH. Defaults come from qa.timeout, qa.model and qa.max_budget_usd, else 20 minutes, Claude Code’s default model and $5. Exits 1 unless every item passes. See Agent integration. |
qa show <feature> [--run <id>] [--all] [--open] |
Shows the latest run, one run, or every run. |
qa send <feature> [--run <id>] [--item n ...] [--all] [--print] |
Hands failed items to the feature’s Claude session. It writes .aspenx/qa/<run>/fix.md and types one line into the session. --item takes numbers, repeated or comma-separated. --all also includes the items left for a person to check. --print prints the line instead of typing it. |
qa draft <feature> [--send] |
Prints the prompt that asks the build session to write the checklist. --send types it into the session instead. When the checklist is missing, it first writes it from its template. |
Measuring
| Command | What it does |
|---|---|
resources [--watch <dur>] [--latest] [--since <dur>] |
Memory and CPU per compose project, the headroom of the Docker VM and the host, swap, and a verdict. --latest returns the daemon’s newest recorded sample, or a fresh reading when there is none. --since 1h lists the recorded samples from the last hour. |
stats [--since 30d] |
The success metrics read from the state DB: new-to-healthy timings, peak concurrent features, QA items resolved, weekly usage. --since takes 30d, 8w, 24h or a Go duration. See Metrics. |
version, help |
The version, and the command summary. |
$ aspenx resources
2026-10-22 20:17:34
PROJECT KIND CONTAINERS MEMORY CPU
aspenx-shared shared 3 223 MiB 0.7%
aspenx-invoice-pdf feature invoice-pdf 7 43 MiB 0.0%
aspenx-search-v2 feature search-v2 7 43 MiB 0.0%
aspenx-sso-login feature sso-login 7 42 MiB 0.0%
…
docker vm 7.3 GiB of 9.7 GiB used, 2.4 GiB free
host 4.6 GiB free of 24.0 GiB
swap 8.3 GiB of 9.0 GiB used
3 feature(s) up, 45 containers; Docker 7.3 GiB of 9.7 GiB used (2.4 GiB free); host 4.6 GiB free of 24.0 GiB; swap 8.3 GiB of 9.0 GiB. Headroom for another feature.
That Mac’s other containers are cut from the table, so the totals count more than the rows shown. stats output is on Metrics.
Internal
hook <event> is the Claude Code hook that the feature’s settings install. mcp is the scoped MCP server that .mcp.json starts. Neither is meant to be typed, and neither writes a usage row. ASPENX_NO_USAGE=1 turns usage recording off for every command.
Behaviour rules
init,new,up,prandmanifest writeare idempotent. On a second run they repair and update rather than fail.- Destructive commands (
drop,db reset,template rebuild,doctor --fix) ask for confirmation on a terminal, and need--yesotherwise. --jsonoutput is the contract the GUI and scripts use. The human output can change; the JSON fields only grow.- Exit codes: 0 for success; 1 for a refused or failed operation, or a check that did not pass, with a message saying why; 2 for bad usage.