aspenx

Guides

Everyday tasks, each shown in the app and in the terminal. The app runs the same commands, so use whichever is open.

The examples come from a small monorepo, acme/shop, with six projects: web, admin, api, billing, search and worker. api and billing have databases. The output is real. Long output is cut where you see ….

Start a feature

Name the feature and pick the projects you’ll change. Those projects get a branch and run in dev mode. The rest run main’s code from shared images, so they cost a container start each, not a rebuild.

In the app, New feature (⌘N) on Home or Features opens the form. Give it a prompt or an issue, and Claude Code opens on it once the feature is healthy. The run below skips the session with --no-claude.

The New feature form: name, projects to work on, issue link, starting prompt and base ref.
$ aspenx new invoice-pdf --touch billing,web --no-claude
feature invoice-pdf: slot 5, base main (68f9a07f3fd8), touching billing,web
…
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

Each feature gets its own hostnames, host ports, Redis indexes and mail inbox, plus databases cloned from the templates. Two features never share a session cookie, a port or a database row.

Work across features

Home lists every feature with its branch, base, services and memory. Each row has buttons to stop or start it, open it in the browser, open a terminal, and open it on GitHub. Click a name for the feature’s page. In the terminal, ls prints the same table, and open or go take you to a feature.

Home: the baseline row, then invoice-pdf, sso-login and search-v2 running.
$ 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

Stop the features you aren’t working in. down keeps a feature’s worktrees, databases and routes, and up brings it back in seconds. When a feature’s Claude session needs you, the menu bar icon shows a count and a notification names the feature.

$ 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

Change one more project

When a feature turns out to need another project, touch adds it without restarting the rest. The project gets the feature’s branch, and AspenX recreates only that project’s services, in dev mode. In the app, use Bring into branch on the project’s card.

The Projects tab: web and billing in this branch; api, admin, search and worker from main, each with Bring into branch.
$ 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)

Look at what changed

The Diff tab shows everything the branch changed since its base, committed or not, with one tab per project. diff prints the same.

The Diff tab on web: orders.html and orders.js changed.
$ aspenx diff invoice-pdf
…
diff --git a/apps/web/src/orders.html b/apps/web/src/orders.html
index 92e4857..aca39d4 100644
--- a/apps/web/src/orders.html
+++ b/apps/web/src/orders.html
@@ -4,7 +4,7 @@
 <body>
   <h1>Your orders</h1>
   <table id="orders">
-    <thead><tr><th>Order</th><th>Date</th><th>Total</th></tr></thead>
+    <thead><tr><th>Order</th><th>Date</th><th>Total</th><th>Invoice</th></tr></thead>
     <tbody></tbody>
   </table>
…

Review a teammate’s branch

After aspenx login, you can see what the team has pushed and run any of it beside your own work. The borrowed feature gets its own slot, databases and hostnames, and nothing of yours stops. The app’s Team section has a Run on my Mac button on each feature.

$ aspenx team
OWNER         FEATURE      ID     TOUCHED        PUSHED  PRS                          REVIEW  REPORTED
alex          sso-login    m2p8d  admin,api,web  yes     api #418 open, web #96 open  off     2m ago
sam           search-v2    t4w3g  search         yes     search #77 draft             off     just now
jordan (you)  invoice-pdf  k7f3q  billing,web    yes     none                         off     just now
run one with `aspenx new <name> --from <owner>/<feature>`
$ aspenx new --from alex/sso-login
feature sso-login  slot 3  branch feature/sso-login  base main (3f2a9c1)
from    alex's sso-login (m2p8d): the branches are theirs; `aspenx pull sso-login` follows their pushes, `aspenx pr sso-login --mine` branches off
folder  /Users/you/aspenx/acme-shop/features/sso-login
…
healthy in 28s
claude  not opened for a borrowed feature (aspenx go sso-login opens one)

aspenx pull sso-login brings in their next push. Dropping the borrowed feature leaves your own features as they were.

Share a review app

A review app puts the whole feature on public HTTPS links for a set time, 90 minutes by default. The mail inbox is included. Someone can then click through the feature from their own laptop or phone. In the app, use Share… in the feature’s header or on its Public tab.

The Public tab before sharing: Share, and the callback switches for api and billing.
$ aspenx review invoice-pdf on
review app for invoice-pdf is on until 15:32 (1h30m0s left)
  share:  https://k7f3q-web.aspenx.dev
  admin          https://k7f3q-admin.aspenx.dev
  api            https://k7f3q-api.aspenx.dev
  billing        https://k7f3q-billing.aspenx.dev
  mail           https://k7f3q-mail.aspenx.dev
  web            https://k7f3q-web.aspenx.dev
  gate:   members of acme sign in with GitHub at the link; `aspenx review invoice-pdf on --public` opens it to anyone
sign in at the public URL; the local hostnames answer but set cookies for .aspenx.dev until the window ends

When the window ends, the feature goes back to its local hostnames by itself. review invoice-pdf off ends it sooner.

Check the machine

Doctor finds things no feature owns any more, such as a stray database, route, container or worktree. Each finding names its fix. Fix applies one and Fix all applies every one, after a confirmation that lists them.

Doctor with one finding: a database clone with no feature record, fix dropdb.
$ 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

Resources tells you whether there’s room for another feature. It shows memory per feature, the Docker VM, the Mac’s memory and swap, and a verdict. Metrics explains the numbers.

Clean up

Drop removes everything a feature owns: containers, databases, routes, worktrees, tunnels and the folder. It deletes branches already merged into their base, and keeps and lists the rest. While work is uncommitted or unpushed, drop refuses. Force drop (--force) discards that work.

The Drop dialog for sso-login, listing what it removes, with Drop and discard.
$ aspenx drop search-v2