@the-vibe-company/armada 0.1.7 → 0.1.8

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 (3) hide show
  1. package/README.md +21 -3
  2. package/dist/armada.js +1916 -1682
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -66,12 +66,13 @@ Armada prepares a launch; it never starts a runtime itself. The `armada-runtime-
66
66
  ```sh
67
67
  armada brief ABC-12 # launch settings, then the worker's prompt
68
68
  armada brief ABC-12 --prompt # only the prompt, to pipe into the runtime (--message-file -)
69
- armada brief ABC-12 --profile codex --json
69
+ armada brief ABC-12 --profile codex --reason "a back-end bug behind a web label" --json
70
70
  ```
71
71
 
72
72
  - The prompt names the ticket and its Linear branch, starts by installing the coordinator's Armada version (`npm install -g`, with an `npm exec` fallback) and running `armada claim` with the handle `$CONDUCTOR_WORKSPACE_ID/$CONDUCTOR_SESSION_ID`, and carries the blockers with their hand-back notes, the comments already on the ticket and the workers in flight.
73
73
  - The settings give the profile's agent, model and effort from `[conductor]` in `armada.toml`, and the environment variables to pass: `LINEAR_API_KEY` (required), `ARMADA_TURSO_URL` and `ARMADA_TURSO_TOKEN` (optional), `ARMADA_TICKET=<ticket>`. Each shows whether this shell has it. No value is ever printed.
74
- - `--profile` defaults to `conductor.default_profile`, then to the only profile. An unknown profile exits 2.
74
+ - The profile follows the ticket's Linear labels: the first `[[conductor.routing]]` rule with a label the ticket carries (case, spaces and punctuation ignored), else `conductor.default_profile`, else the only profile. The settings say which rule chose it.
75
+ - `--profile` overrides that choice. When `armada.toml` has routing rules and the profile differs from the routed one, `--reason` is required. The reason travels into the claim command, so the claim comment records the profile and why. An unknown profile exits 2.
75
76
 
76
77
  ## Work on a ticket (workers)
77
78
 
@@ -210,7 +211,7 @@ local_commands = ["npm ci", "npm test"] # run by `armada merge` on a test merge
210
211
  silence_minutes = 15 # a worker with no report for longer is flagged silent (default 15)
211
212
 
212
213
  [conductor]
213
- default_profile = "opus" # profile `armada brief` uses without --profile
214
+ default_profile = "opus" # for tickets no routing rule matches (required with routing)
214
215
 
215
216
  [conductor.profiles.opus] # one table per profile; `conductor model` lists the ids
216
217
  agent = "claude"
@@ -222,6 +223,23 @@ effort = "high"
222
223
  agent = "codex"
223
224
  model = "gpt-6.1-sol"
224
225
  effort = "high"
226
+
227
+ [conductor.profiles.debug]
228
+ agent = "codex"
229
+ model = "gpt-6.1-sol"
230
+ effort = "xhigh"
231
+
232
+ [[conductor.routing]] # first rule with a label the ticket carries wins, in file order
233
+ labels = ["web"] # any of these labels
234
+ profile = "opus"
235
+
236
+ [[conductor.routing]]
237
+ labels = ["api"]
238
+ profile = "codex"
239
+
240
+ [[conductor.routing]]
241
+ labels = ["Bug"]
242
+ profile = "debug"
225
243
  ```
226
244
 
227
245
  A missing or invalid key stops the command with a message naming it, for example `missing required key "tracker.program_root"`. This repository's own configuration is in [`armada.toml`](https://github.com/The-Vibe-Company/armada/blob/main/armada.toml).