@the-vibe-company/armada 0.2.56 → 0.2.57
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.
- package/README.md +48 -1
- package/dist/armada.js +16512 -12484
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,16 @@ Armada runs a fleet of coding agents on one project and keeps every piece of wor
|
|
|
4
4
|
|
|
5
5
|
It imposes one method: grill the decisions, write a spec, cut it into tickets, let one worker agent ship each ticket as a green pull request, and let a coordinator agent merge. The tracker is the source of truth for progress; Armada adds live telemetry, contention rules and a fleet dashboard on top.
|
|
6
6
|
|
|
7
|
-
**Status:** early
|
|
7
|
+
**Status:** early; the CLI and dashboard run the full ticket-to-pull-request workflow.
|
|
8
|
+
|
|
9
|
+
## What Armada does for you
|
|
10
|
+
|
|
11
|
+
- Launch one worker per ready ticket, preserve its session and progress, and let named coordinators resume the fleet.
|
|
12
|
+
- Route questions and owner approvals to the dashboard; send owner alerts and scheduled digests through a configured chat webhook.
|
|
13
|
+
- Keep merges under shared holds and a durable queue, notify affected workers, and require live acceptance checks when configured.
|
|
14
|
+
- Explain CI failures, rerun declared flakes once, check deployments and smoke tests after merges, and track long jobs on your runner.
|
|
15
|
+
|
|
16
|
+
`armada doctor` points out optional configuration. Enable what your project needs in `armada.toml` and Organization > Notifications; the [runbook](docs/runbook.md) covers each feature.
|
|
8
17
|
|
|
9
18
|
## Install
|
|
10
19
|
|
|
@@ -23,6 +32,7 @@ npm install -g @the-vibe-company/armada # then: armada status
|
|
|
23
32
|
2. **Enter the keys** once, on Organization > Keys: the Linear API key. It stays sealed in Armada: no laptop or runtime needs it, and no machine needs a database key either, since the CLI reaches the fleet's live data through Armada ([Keys](#keys)).
|
|
24
33
|
3. **Sign in from the terminal**: `armada login`, then approve the code in the browser. A headless coordinator sets `ARMADA_API_KEY` to an organization API key instead ([Sign in from a terminal](#sign-in-from-a-terminal)).
|
|
25
34
|
4. **Set up the repository**: `armada doctor` lists what it lacks, `armada init --program-root ABC-1` opens one pull request that adds it all ([Set up a repository](#set-up-a-repository)); merge it.
|
|
35
|
+
5. **Choose optional features.** Use the commented template and doctor’s `info` lines to configure deployment targets/smoke checks, known flakes, acceptance checks, jobs and owner approval rules. Enable owner alerts/digests on Organization > Notifications, then select each coordinator’s name with `armada coordinator use <name>`. Launch cloud workers with `armada launch ABC-12 --runtime conductor`. For an existing checkout, follow [Upgrade an existing project](docs/runbook.md#upgrade-an-existing-project).
|
|
26
36
|
|
|
27
37
|
```sh
|
|
28
38
|
armada login
|
|
@@ -60,6 +70,7 @@ armada skills update # update pointers and vendored skills on y
|
|
|
60
70
|
- this terminal is signed in to Armada, and to which organization: without a sign-in, `armada brief` gives workers no launch token, so each would need the keys in its environment;
|
|
61
71
|
- this CLI is as recent as that Armada expects (signed in only): every answer of the Armada API names the oldest CLI that reads it right and the latest one, and a CLI older than the oldest prints one line on any command, `Armada <version> is older than this server expects: npm install -g @the-vibe-company/armada@<latest>`;
|
|
62
72
|
- no key is left in the credentials file that Armada now gives this terminal (`armada auth logout` removes them, the sign-in stays);
|
|
73
|
+
- commit signing: known password-manager signers and GUI pinentry warn when signing may wait for a person. `armada doctor --deep` explicitly tests a signed throwaway commit object with a 10-second limit and moves no refs; the default check never signs. GitHub-required signatures are an error when signing is disabled locally or `[git] sign = "off"`;
|
|
63
74
|
- the Linear label groups `Agent phase` and `Agent runtime` exist with every value (needs a Linear key, from Armada or `LINEAR_API_KEY`);
|
|
64
75
|
- with Conductor profiles in `armada.toml`, the `conductor` command is found: on PATH, or inside the macOS app at `/Applications/Conductor.app/Contents/Resources/bin/conductor`, with the fix that puts it on PATH.
|
|
65
76
|
|
|
@@ -156,6 +167,8 @@ Label routing follows the same rules as the Conductor profiles (`[[herdr.routing
|
|
|
156
167
|
armada launch ABC-12 --runtime herdr --profile backend --reason "back end work"
|
|
157
168
|
```
|
|
158
169
|
|
|
170
|
+
`[git] sign = "inherit"` (the default) keeps signing configuration in new Herdr worktrees. Use `sign = "off"` only when branch rules allow unsigned commits: launch enables `extensions.worktreeConfig` and writes `commit.gpgsign = false` in the new worktree only. Repositories with common `core.worktree`, `core.bare = true` or `core.sparseCheckout = true` need those settings migrated to per-worktree config first; launch reports the fix instead of changing their meaning. If an included config still enables signing after the worktree override, launch stops before starting the worker and names the fix. Conductor Cloud workspaces keep their environment’s own signing configuration.
|
|
171
|
+
|
|
159
172
|
`armada doctor` checks what the local profiles need: herdr (0.9.1 or newer), each harness CLI, the Claude and Codex sign-ins, and every OpenCode or DeepSeek profile's exact model against `opencode models`. On a terminal it offers the official installs and a numbered model pick, each only with your consent; `--json` and CI only print the fixes. Armada never runs a sign-in and never handles a provider key. The runbook's [Launch a persistent local worker](docs/runbook.md#launch-a-persistent-local-worker) has the rest: routing and model choice, messaging the worker, and safe archival with `armada stop`.
|
|
160
173
|
|
|
161
174
|
## Work on a ticket (workers)
|
|
@@ -638,6 +651,40 @@ numbered = true
|
|
|
638
651
|
|
|
639
652
|
Declarations are optional documentation; undeclared keys can also be reserved. Reservations require Armada: if it is unavailable, ask the coordinator before choosing a value. After a lost response, check `armada reserve --list` before retrying, since the reservation may already have succeeded.
|
|
640
653
|
|
|
654
|
+
### Live acceptance before hand-back
|
|
655
|
+
|
|
656
|
+
Declare real build or preview checks in `armada.toml`. Each worker brief lists the
|
|
657
|
+
commands and limits; `armada report ready-to-merge` requires a Linear pass on the
|
|
658
|
+
exact PR head for every applicable check.
|
|
659
|
+
|
|
660
|
+
```toml
|
|
661
|
+
[[acceptance]]
|
|
662
|
+
name = "production build"
|
|
663
|
+
command = "docker build -f deploy/Dockerfile ."
|
|
664
|
+
paths = ["deploy/**", "Dockerfile", "package.json"]
|
|
665
|
+
timeout_minutes = 20
|
|
666
|
+
max_runs = 3
|
|
667
|
+
```
|
|
668
|
+
|
|
669
|
+
Omit `paths` to check every PR. Patterns support `*`, `**` and `?`; paths match
|
|
670
|
+
GitHub's changed files. An incomplete file reading or a rename whose original
|
|
671
|
+
path is unavailable applies every rule. The
|
|
672
|
+
default timeout is 15 minutes (maximum 120) and the default cap is three runs per
|
|
673
|
+
check and ticket. For commands needing project secrets, use `armada run -- …`.
|
|
674
|
+
|
|
675
|
+
Bring main in, commit and push, then run `armada acceptance run` in the clean
|
|
676
|
+
checkout (`--name "production build"` selects one check; `--ticket <id>` selects
|
|
677
|
+
the ticket). HEAD must equal the linked PR head. Fix every error before handing
|
|
678
|
+
back. Failed, timed-out and interrupted attempts count; a changed head needs a
|
|
679
|
+
new pass. At the cap, ask the coordinator, who can grant more with
|
|
680
|
+
`armada acceptance allow <ticket> --runs 2 --reason "<why>"`. Results and run
|
|
681
|
+
counts live in Linear. A local per-ticket lock prevents overlapping runs on the
|
|
682
|
+
worker's machine, even across checkouts. Diagnostics are masked with released
|
|
683
|
+
project secret values; if those values cannot be read, failure output is withheld.
|
|
684
|
+
Live fleet reports remain optional when Armada is
|
|
685
|
+
down. The merge checklist shows the evidence without adding a merge refusal,
|
|
686
|
+
so bringing main in with `merge --wait` preserves the worker's proven hand-back.
|
|
687
|
+
|
|
641
688
|
### Check deploys after each merge
|
|
642
689
|
|
|
643
690
|
Declare optional `[[deploy.target]]` entries in `armada.toml`:
|