@axn-dev/cli 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/LICENSE +21 -0
  2. package/dist/commands/completion.d.ts +11 -0
  3. package/dist/commands/completion.d.ts.map +1 -0
  4. package/dist/commands/completion.js +68 -0
  5. package/dist/commands/completion.js.map +1 -0
  6. package/dist/commands/init.d.ts +11 -0
  7. package/dist/commands/init.d.ts.map +1 -0
  8. package/dist/commands/init.js +206 -0
  9. package/dist/commands/init.js.map +1 -0
  10. package/dist/commands/install.d.ts +12 -0
  11. package/dist/commands/install.d.ts.map +1 -0
  12. package/dist/commands/install.js +305 -0
  13. package/dist/commands/install.js.map +1 -0
  14. package/dist/commands/setup.d.ts +9 -0
  15. package/dist/commands/setup.d.ts.map +1 -0
  16. package/dist/commands/setup.js +230 -0
  17. package/dist/commands/setup.js.map +1 -0
  18. package/dist/commands/uninstall.d.ts +9 -0
  19. package/dist/commands/uninstall.d.ts.map +1 -0
  20. package/dist/commands/uninstall.js +204 -0
  21. package/dist/commands/uninstall.js.map +1 -0
  22. package/dist/completion.d.ts +14 -0
  23. package/dist/completion.d.ts.map +1 -0
  24. package/dist/completion.js +24 -0
  25. package/dist/completion.js.map +1 -0
  26. package/dist/completion.test.d.ts +2 -0
  27. package/dist/completion.test.d.ts.map +1 -0
  28. package/dist/completion.test.js +37 -0
  29. package/dist/completion.test.js.map +1 -0
  30. package/dist/index.d.ts +7 -0
  31. package/dist/index.d.ts.map +1 -0
  32. package/dist/index.js +7 -0
  33. package/dist/index.js.map +1 -0
  34. package/dist/main.d.ts +3 -0
  35. package/dist/main.d.ts.map +1 -0
  36. package/dist/main.js +100 -0
  37. package/dist/main.js.map +1 -0
  38. package/dist/plugins.d.ts +10 -0
  39. package/dist/plugins.d.ts.map +1 -0
  40. package/dist/plugins.js +142 -0
  41. package/dist/plugins.js.map +1 -0
  42. package/dist/repo-scan.d.ts +17 -0
  43. package/dist/repo-scan.d.ts.map +1 -0
  44. package/dist/repo-scan.js +54 -0
  45. package/dist/repo-scan.js.map +1 -0
  46. package/dist/skill-sources.d.ts +20 -0
  47. package/dist/skill-sources.d.ts.map +1 -0
  48. package/dist/skill-sources.js +61 -0
  49. package/dist/skill-sources.js.map +1 -0
  50. package/package.json +44 -3
  51. package/skills/axn-dev-cli/SKILL.md +265 -0
  52. package/skills/axn-dev-setup/SKILL.md +168 -0
  53. package/README.md +0 -3
@@ -0,0 +1,265 @@
1
+ ---
2
+ name: axn-dev
3
+ description: Use the `axn-dev` CLI to manage Docker Compose dev scenarios across multiple configured repos — start/stop/patch scenarios, multi-repo git operations, the serve dashboard, dotenv backups, and plugin management.
4
+ ---
5
+
6
+ # axn-dev CLI Skill
7
+
8
+ `axn-dev` is a modular development CLI. Its core job is running **local dev scenarios**: start/stop Docker Compose stacks discovered in repo-local `scenarios/` folders or in configured integration repos (global scenarios). Additional commands (flow tests, dotenv backup, hardware, infra) ship as plugins.
9
+
10
+ ## When to use this skill
11
+
12
+ - Starting/stopping a dev stack (mock or full) across several repos.
13
+ - Checking the state of all configured repos at once (`axn-dev git status`).
14
+ - Running a scenario from a feature-branch worktree (`--workbase`).
15
+ - Managing plugins (`axn-dev install --plugin`).
16
+
17
+ ## Configuration
18
+
19
+ All repo paths and integration repos are configured in `~/.axn-dev/config.yaml` (global) or `<git-root>/.axn-dev/config.yaml` (project-local, takes precedence):
20
+
21
+ ```yaml
22
+ # Integration repos — searched in order for global scenarios
23
+ integration:
24
+ - /path/to/app-integration
25
+
26
+ # Repo checkout paths — injected as env vars for docker-compose
27
+ repos:
28
+ myapp-server: /path/to/myapp-server
29
+ myapp-frontend: /path/to/myapp-frontend
30
+ myapp-hardware: /path/to/myapp-hardware
31
+
32
+ # Plugin-owned section example (consumed by an infra plugin, if installed)
33
+ infra: /path/to/infra-repo
34
+ ```
35
+
36
+ Plugin packages may own additional top-level sections (e.g. `infra:`). The core CLI only interprets `repos:`, `integration:`, `worktrees:`, `auto-port:` and `gitlab-group:`.
37
+
38
+ ## Repo layout
39
+
40
+ ```
41
+ axn-dev/ # The CLI monorepo (pnpm workspace)
42
+ ├── packages/
43
+ │ ├── core/ # Shared library: plugin loader, drivers, scenario discovery
44
+ │ ├── cli/ # The axn-dev bin + built-in commands
45
+ │ ├── cmd-*/ # Command plugins (flow, serve, know, dotenv, overview, ...)
46
+ │ ├── adapter-*/ # Flow adapter plugins
47
+ │ └── type-*/ # Scenario type/driver plugins
48
+ └── docs/ # plugins.adoc, flow.adoc, scenarios.adoc, ...
49
+
50
+ <integration-repo>/ # e.g. app-integration (path from config)
51
+ ├── scenarios/ # Global cross-repo scenarios (e.g. app-mock)
52
+ │ └── <scenario>/compose.yaml + axn-dev.yaml (metadata: description, tags, env, frontendServices, backendServices)
53
+ └── .axn-dev.yaml # Optional product test suite definitions (test plugin)
54
+ ```
55
+
56
+ ## Core commands
57
+
58
+ ### Local scenarios
59
+
60
+ ```bash
61
+ axn-dev list # Show available scenarios (repo-local + global)
62
+ axn-dev start # Auto-detect single scenario in current repo
63
+ axn-dev start -s mock -- -d # Start named scenario, pass -d to compose
64
+ axn-dev start -g -s app-mock -- -d # Start a global scenario
65
+ axn-dev start -s mock -f # Foreground mode (attached, shows logs)
66
+ axn-dev start -s mock --build-no-cache # Rebuild images without layer cache
67
+ axn-dev start -s mock --auto-port # Pick free ports when defaults are taken
68
+ axn-dev start -g -s app-full -p 8091 # Single-port scenario on an explicit port
69
+ axn-dev stop -s mock
70
+ axn-dev stop -s mock -- -v # Also remove volumes
71
+ axn-dev clean -s mock -y # Stop + remove all named volumes (destructive)
72
+ axn-dev start -s mock --clean -y # Wipe data volumes, then start fresh
73
+ ```
74
+
75
+ #### `--workbase` and `--repo-root`
76
+
77
+ `start`, `stop`, `patch` and `serve` accept `--workbase <branch>`: every
78
+ configured repo (including `integration:` repos) is resolved to the checkout
79
+ or linked worktree on that branch. This is the supported way to run a
80
+ scenario from a feature branch without editing `~/.axn-dev/config.yaml`:
81
+
82
+ ```bash
83
+ axn-dev start -g -s app-full -p 8091 --workbase feature/my-branch
84
+ ```
85
+
86
+ If `axn-dev` is run **inside an integration repo checkout** (a `*-integration`
87
+ repo containing `scenarios/`), that checkout is automatically used as the
88
+ primary global scenario source — no `--workbase` needed.
89
+
90
+ `--repo-root <name>=<path>` overrides individual repo roots for one run, e.g.
91
+ `--repo-root myapp-frontend=/path/to/worktree`. Explicit `--repo-root`
92
+ wins over `--workbase`.
93
+
94
+ #### Single-port scenarios
95
+
96
+ A scenario whose `compose.yaml` references `SCENARIO_PORT` is a *single-port*
97
+ scenario: it publishes exactly one host port (typically a reverse proxy
98
+ that routes by `Host` header / `.localhost` subdomain). For those, `-p/--port`
99
+ selects the port:
100
+
101
+ ```bash
102
+ axn-dev start -g -s app-full -p 8091
103
+ axn-dev stop -g -s app-full -p 8091
104
+ axn-dev patch -g -s app-full -p 8091 api
105
+ ```
106
+
107
+ `-p` is rejected on multi-port scenarios. Without `-p`, `stop`/`patch`
108
+ discover the running port from Docker. Port conflicts are detected before
109
+ `docker compose up` and report the owning container, compose project and
110
+ scenario name. See `docs/scenarios.adoc` for the full model.
111
+
112
+ ### Patching a running scenario
113
+
114
+ Rebuild and/or restart specific services without touching the rest of the stack. The scenario must already be running.
115
+
116
+ ```bash
117
+ axn-dev patch -s app-dev app-server # restart only (fastest)
118
+ axn-dev patch -s app-dev app-server --build # rebuild + restart
119
+ axn-dev patch -s app-dev app-server --no-cache # rebuild without layer cache + restart
120
+ axn-dev patch -s app-dev svc1 svc2 --build # patch multiple services at once
121
+ ```
122
+
123
+ Uses `docker compose build` + `docker compose up -d --no-deps <services>` — `--no-deps` prevents restarting dependent services. Fails immediately if the scenario is not running.
124
+
125
+ The CLI auto-detects the current repo by walking up from `cwd`. Per-repo paths from `~/.axn-dev/config.yaml` are injected as env vars for compose files (e.g. `MYAPP_SERVER_ROOT`, `MYAPP_FRONTEND_ROOT`).
126
+
127
+ With `-s`, global scenarios (from integration repos) are checked first, falling back to the current repo's project scenario. Without `-s` inside a repo, the project scenario is auto-selected. Output always indicates whether a **Project** or **Global** scenario is being used.
128
+
129
+ ## Git (multi-repo)
130
+
131
+ The `axn-dev git` command provides a **fast, aggregated overview** of all repos configured in `~/.axn-dev/config.yaml`. In a multi-repo setup, running `git status` in every directory manually is slow and error-prone. This command collects everything into one view.
132
+
133
+ ### How it works
134
+
135
+ 1. Reads the `repos:` section and plugin-owned dir sections from `~/.axn-dev/config.yaml`.
136
+ 2. Walks each repo and reads `.git/config` directly (no git binary needed) to discover the remote group from the origin URL.
137
+ 3. Runs `git branch --show-current`, `git rev-list --left-right --count`, and `git status --porcelain` per repo.
138
+ 4. Groups output by remote path (e.g. `dev/myapp`, `dev/otherteam`).
139
+
140
+ ### Output indicators
141
+
142
+ ```
143
+ myapp-server main ↑2 ~
144
+ myapp-frontend feature/grid-renderer ↓1 ?3
145
+ ```
146
+
147
+ | Indicator | Meaning |
148
+ |---|---|
149
+ | `×` | Remote branch does not exist (local branch has never been pushed) |
150
+ | `↑N` | Ahead of origin by N commits |
151
+ | `↓N` | Behind origin by N commits |
152
+ | `~` | Dirty — tracked files have uncommitted changes |
153
+ | `?N` | N untracked files present |
154
+ | `✓` | Clean — no local changes, in sync with origin |
155
+
156
+ ### Actions
157
+
158
+ ```bash
159
+ axn-dev git status # All repos, grouped by remote group
160
+ axn-dev git status --group myapp # Only repos in the myapp group
161
+ axn-dev git status --machine-readable # Pipe-delimited rows for scripts
162
+ axn-dev git status --unmerged # Only repos whose branch is not merged into develop
163
+ axn-dev git fetch # Fetch all repos with --prune
164
+ axn-dev git push --group myapp # Push all repos in group (same branch required)
165
+ axn-dev git push --branch feature/my-work # Push every repo on this branch
166
+ axn-dev git pull --group myapp # Pull all repos in group
167
+ ```
168
+
169
+ ### Machine-readable output
170
+
171
+ `axn-dev git status --machine-readable` prints one pipe-delimited row per configured repo, with no ANSI colours or headers. This is useful for `grep`/`awk`/spreadsheet analysis.
172
+
173
+ ```
174
+ group|name|branch|ahead|behind|dirty|untracked|remoteBranchMissing|mergedToDevelop|path
175
+ ```
176
+
177
+ - `ahead` / `behind` counts are relative to `origin/<branch>`.
178
+ - `dirty` and `remoteBranchMissing` are `yes` or `no`.
179
+ - `mergedToDevelop` is `yes` if the current branch is fully contained in `origin/develop` (or `develop`), `no` if it is not, `no_develop` if no develop branch exists, and `no_branch` if HEAD is detached.
180
+ - Combine with `--group`, `--fetch`, or `--unmerged` as usual, e.g. `axn-dev git status --group myapp --machine-readable`.
181
+
182
+ **Safety guard:** `push` and `pull` with `--group` will **abort** if repos in that group are on different branches. Use `--branch` to target a specific branch across all groups instead.
183
+
184
+ ### Common tasks (cookbook)
185
+
186
+ **"Check if any repo has uncommitted work before leaving":**
187
+ ```bash
188
+ axn-dev git status
189
+ ```
190
+
191
+ **"Fetch everything after a morning standup":**
192
+ ```bash
193
+ axn-dev git fetch
194
+ ```
195
+
196
+ **"Push the current feature across all affected repos":**
197
+ ```bash
198
+ axn-dev git push --branch feature/my-work
199
+ ```
200
+
201
+ ## Serve (dashboard)
202
+
203
+ `axn-dev serve` starts a persistent local proxy server (default port `7079`):
204
+
205
+ - Live dashboard at `http://localhost:7079` listing global + project scenarios
206
+ - Start/stop scenarios and browse their endpoints from the browser
207
+ - Management API: `POST /register`, `DELETE /register/:id`, `GET /status`, `POST /stop`, `GET /scenarios`, `POST /scenarios/start`, `POST /scenarios/stop`, `GET /health`
208
+ - `POST /scenarios/start` accepts `{scenarioName, source, repoName, port?}` — `port` behaves like `start -p` for single-port scenarios. Starts run the same preflight as `axn-dev start`: restart-if-running, `auto-port` from config, and a port-conflict check that fails with `409` before `docker compose up`.
209
+ - `frontendServices`/`backendServices` from each `axn-dev.yaml` are resolved and shown as clickable links (including `.localhost` subdomain URLs for single-port scenarios, using the running `SCENARIO_PORT`)
210
+ - Scenario tags from each `axn-dev.yaml` and flow tags from `<tags>` in flow XML are shown as badges and can be filtered; tag search matches prefixes and path segments, so `myapp` also matches `myapp/e2e`
211
+ - Scenarios and flows each have a **Table** view (sortable list with tag badges) and a **Tree** view (slash-separated tags become folders; untagged items are grouped first); the selected view is remembered in `localStorage`
212
+ - `--workbase <branch>` applies the same worktree resolution as `start`/`stop`/`patch`
213
+ - `axn-dev serve --stop` stops a running server; `Ctrl+C` or `POST /stop` also work
214
+ - Config is re-read on every request, so changes to `~/.axn-dev/config.yaml` or scenario `axn-dev.yaml` files are picked up on refresh without restarting
215
+ - The dashboard is themed with axn-term-format theme files (`axn-dark`/`axn-light` bundled): drop `*.yaml`/`*.json` into `~/.axn-dev/themes/`; select via `serve:` config (`theme`, `light-theme`, `dark-theme`) in the global or project-local config.yaml. Themes rescan per page load.
216
+
217
+ ## Init / Install / Completion
218
+
219
+ ```bash
220
+ axn-dev init # Interactively create ~/.axn-dev/config.yaml
221
+ axn-dev init --local # Write <git-root>/.axn-dev/config.yaml
222
+ axn-dev init --scan <dir> --force # Auto-discover repos under <dir>, overwrite
223
+
224
+ axn-dev install --skills # Install agent skills (Claude, Devin, ...)
225
+ axn-dev install --skill axn-dev-cli --project
226
+ axn-dev install --completion # Append shell completion to ~/.zshrc/~/.bashrc
227
+ axn-dev install --plugin <pkg[@ver]> # Install plugin into ~/.axn-dev/plugins
228
+ axn-dev uninstall --plugin <pkg> # Remove a plugin package
229
+ axn-dev uninstall --skills # Remove installed skills
230
+
231
+ axn-dev completion zsh > ~/.zsh/completions/_axn-dev # Print completion script
232
+ ```
233
+
234
+ ## Plugins
235
+
236
+ `axn-dev` is modular: commands, scenario drivers, flow adapters and skills ship in plugin packages discovered via the `axn-dev` manifest field in `package.json`. Plugins are scanned from the CLI's sibling packages and `~/.axn-dev/plugins/node_modules` (populated by `axn-dev install --plugin <pkg>`).
237
+
238
+ See `docs/plugins.adoc` for authoring plugins.
239
+
240
+ ## Backup / Restore (.env files)
241
+
242
+ Provided by the bundled `@axn-dev/cmd-dotenv` plugin:
243
+
244
+ ```bash
245
+ axn-dev backup dotenv --infra * --tar --to ~/mybackup.tar # All infra .env files → tar
246
+ axn-dev backup dotenv -s dev # Scenario .env → directory
247
+ axn-dev backup dotenv --infra * --bitwarden # Store as Bitwarden secure notes
248
+ axn-dev restore dotenv --from ~/mybackup.tar --base ~/repos
249
+ axn-dev restore dotenv --bitwarden --infra * --force
250
+ ```
251
+
252
+ ## Plugin commands
253
+
254
+ Additional commands come from installed plugins — each ships its own skill:
255
+
256
+ - `axn-dev flow` — XML-defined flow tests (`@axn-dev/cmd-flow`, see `axn-dev-flow` skill)
257
+ - `axn-dev know` — BM25 knowledge index (`@axn-dev/cmd-know`, see `axn-dev-know` skill)
258
+ - `axn-dev overview` — machine-wide work report (`@axn-dev/cmd-overview`, see `axn-dev-overview` skill)
259
+
260
+ ## When to read more
261
+
262
+ - Plugin authoring: `docs/plugins.adoc`
263
+ - Scenario model: `docs/scenarios.adoc`
264
+ - Flow format: `packages/cmd-flow/docs/flow.adoc`
265
+ - Top-level overview: `README.adoc`
@@ -0,0 +1,168 @@
1
+ ---
2
+ name: axn-dev-setup
3
+ description: Bootstrap a development workspace. Run `axn-dev setup` to discover, clone, and register all GitLab group repos in ~/.axn-dev/config.yaml.
4
+ ---
5
+
6
+ # axn-dev Setup Skill
7
+
8
+ Set up a new machine or workspace for multi-repo development. The `axn-dev setup` command uses `glab` to discover and clone all repos in a GitLab group (including subgroups), then updates `~/.axn-dev/config.yaml` so `axn-dev` can find them.
9
+
10
+ ## When to use this skill
11
+
12
+ - Onboarding a new developer who needs all team repos locally.
13
+ - Rebuilding a dev machine from scratch.
14
+ - Adding a newly created repo or an entire new group to an existing `~/.axn-dev/config.yaml`.
15
+ - Preparing a workspace before running `axn-dev start`, `axn-dev git status`, or `axn-dev list`.
16
+
17
+ ## What you need first
18
+
19
+ - `glab` installed and authenticated (`glab auth login`).
20
+ - Access to the GitLab group that owns your repos (e.g. `acme`).
21
+ - A parent directory where you want the checkouts, e.g. `~/dev`.
22
+
23
+ ## Quick start
24
+
25
+ Set the default GitLab group in `~/.axn-dev/config.yaml`:
26
+
27
+ ```yaml
28
+ gitlab-group: acme
29
+ ```
30
+
31
+ Then run the setup command. It uses the configured group and asks for the
32
+ checkout directory interactively (default `~/repos`):
33
+
34
+ ```bash
35
+ axn-dev setup --dir ~/dev
36
+ ```
37
+
38
+ You can also pass a group name or URL directly, or a nested group path:
39
+
40
+ ```bash
41
+ axn-dev setup --group acme
42
+ axn-dev setup --group https://gitlab.com/acme
43
+ axn-dev setup --group acme/dev --dir ~/dev --non-interactive
44
+ ```
45
+
46
+ `axn-dev setup` will:
47
+
48
+ 1. List every non-archived project in the group (including subgroups).
49
+ 2. Skip repos that are already cloned.
50
+ 3. Clone missing repos while preserving the GitLab namespace structure.
51
+ 4. Place repos named `*-integration` under the `integration:` key.
52
+ 5. Add all other repos under `repos:`.
53
+ 6. Merge the results into `~/.axn-dev/config.yaml` — existing entries,
54
+ including `env:` aliases and plugin-owned sections like `infra:`,
55
+ are preserved.
56
+
57
+ Plugin-owned sections such as `infra:` are not written by setup; configure
58
+ them manually or per the owning plugin's docs.
59
+
60
+ ## Configuration target
61
+
62
+ `axn-dev` reads repo and integration paths from `~/.axn-dev/config.yaml`:
63
+
64
+ ```yaml
65
+ # Default GitLab group used by axn-dev setup
66
+ gitlab-group: acme
67
+
68
+ # Repositories that axn-dev knows about and injects as env vars.
69
+ # `env:` sets the variable prefix: APP_SERVER → APP_SERVER_ROOT.
70
+ repos:
71
+ myapp-server: {path: ~/dev/myapp-server, env: APP_SERVER}
72
+ myapp-frontend: {path: ~/dev/myapp-frontend, env: MYAPP_FRONTEND}
73
+ myapp-hardware: {path: ~/dev/myapp-hardware, env: MYAPP_HARDWARE}
74
+ myapp-contracts: {path: ~/dev/myapp-contracts, env: MYAPP_CONTRACTS}
75
+ myapp-integration: {path: ~/dev/myapp-integration, env: MYAPP_INTEGRATION}
76
+
77
+ # Integration repos that provide global cross-repo scenarios
78
+ integration:
79
+ - ~/dev/myapp-integration
80
+
81
+ # Plugin-owned section example (consumed by an infra plugin, if installed)
82
+ infra: ~/infra/infra-repo
83
+ ```
84
+
85
+ Local values in `<git-root>/.axn-dev/config.yaml` take precedence over global values.
86
+
87
+ ## Manual glab commands
88
+
89
+ If you prefer to run `glab` directly instead of using `axn-dev setup`, the same commands are available.
90
+
91
+ List every project in the group, including subgroups:
92
+
93
+ ```bash
94
+ glab repo list -g acme --include-subgroups
95
+ ```
96
+
97
+ Narrow the list if needed:
98
+
99
+ ```bash
100
+ # Only non-archived projects
101
+ glab repo list -g acme --include-subgroups --archived=false
102
+
103
+ # Output as JSON for filtering
104
+ glab repo list -g acme --include-subgroups --output json
105
+ ```
106
+
107
+ Clone a single repo:
108
+
109
+ ```bash
110
+ cd ~/dev
111
+ glab repo clone acme/dev/myapp-server
112
+ ```
113
+
114
+ Then add the checkout path to `~/.axn-dev/config.yaml` under `repos:`.
115
+
116
+ Clone an entire group while preserving the subgroup structure:
117
+
118
+ ```bash
119
+ mkdir -p ~/dev
120
+ cd ~/dev
121
+ glab repo clone -g acme \
122
+ --include-subgroups \
123
+ --archived=false \
124
+ --paginate \
125
+ --preserve-namespace
126
+ ```
127
+
128
+ After cloning, open `~/.axn-dev/config.yaml` and add the absolute paths for the repos you need:
129
+
130
+ ```yaml
131
+ repos:
132
+ myapp-server: {path: ~/dev/myapp-server, env: APP_SERVER}
133
+ myapp-frontend: {path: ~/dev/myapp-frontend, env: MYAPP_FRONTEND}
134
+ myapp-hardware: {path: ~/dev/myapp-hardware, env: MYAPP_HARDWARE}
135
+ myapp-contracts: {path: ~/dev/myapp-contracts, env: MYAPP_CONTRACTS}
136
+ myapp-integration: {path: ~/dev/myapp-integration, env: MYAPP_INTEGRATION}
137
+
138
+ integration:
139
+ - ~/dev/myapp-integration
140
+
141
+ infra: ~/infra/infra-repo
142
+ ```
143
+
144
+ To control the injected env-var names, use the object form of a `repos:`
145
+ entry — `myapp-server: {path: /x/myapp-server, env: APP_SERVER}`
146
+ yields `APP_SERVER_ROOT` instead of the derived `MYAPP_SERVER_ROOT`.
147
+
148
+ ## Verify the setup
149
+
150
+ Once the config is written, confirm everything is wired:
151
+
152
+ ```bash
153
+ # Should list scenarios from all configured repos
154
+ axn-dev list
155
+
156
+ # Should show every repo's branch and status
157
+ axn-dev git status
158
+ ```
159
+
160
+ ## Updating an existing workspace
161
+
162
+ When new repos are added to the group, re-run `axn-dev setup` for the same group and directory. It skips already-cloned repos, clones only the missing ones, and updates `~/.axn-dev/config.yaml` with any new entries.
163
+
164
+ ## Source
165
+
166
+ - `packages/cli/src/commands/setup.ts` — `axn-dev setup` implementation
167
+ - `packages/core/src/util/config.ts` — `~/.axn-dev/config.yaml` parsing, loading, and saving
168
+ - `packages/cli/skills/axn-dev-cli/SKILL.md` — full `axn-dev` usage reference
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.