@the-vibe-company/armada 0.0.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.
- package/LICENSE +21 -0
- package/README.md +116 -0
- package/dist/armada.js +2600 -0
- package/package.json +40 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 The Vibe Company
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
# Armada
|
|
2
|
+
|
|
3
|
+
Armada runs a fleet of coding agents on one project and keeps every piece of work visible.
|
|
4
|
+
|
|
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
|
+
|
|
7
|
+
**Status:** early. `armada status` and `armada auth` work; the other commands are being built.
|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
|
|
11
|
+
Requires [Node.js](https://nodejs.org) 22 or later: `npx` and `bunx` both run the command with Node.
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
npx @the-vibe-company/armada status # or: bunx @the-vibe-company/armada status
|
|
15
|
+
npm install -g @the-vibe-company/armada # then: armada status
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
`armada --version` prints the installed version. Each release is listed on [GitHub releases](https://github.com/The-Vibe-Company/armada/releases) with its changelog.
|
|
19
|
+
|
|
20
|
+
## Try it
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
armada auth login # once per machine: asks for the missing keys, input hidden
|
|
24
|
+
armada status # or: armada status --json
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
`armada status` reads the `armada.toml` of the current repository (or the nearest parent directory) and prints:
|
|
28
|
+
|
|
29
|
+
- **In flight**: tickets an agent holds, with their phase, runtime, last update and pull request. An agent with no sign of life (ticket edit, comment or pull request update) for longer than `policy.silent_after_minutes` is flagged `silent`, unless it is waiting on a human (`awaiting-approval`, `blocked`, `ready-to-merge`).
|
|
30
|
+
- **Ready to start**: tickets without sub-issues that are not started, not held by an agent, have no open pull request, and whose blocked-by tickets are all closed, ranked by what they unlock. Tickets without the ready label, or still in triage, are listed separately.
|
|
31
|
+
- **Pull requests waiting**: open pull requests with their CI state and mergeability.
|
|
32
|
+
|
|
33
|
+
GitHub is read with `GITHUB_TOKEN`, `GH_TOKEN` or the GitHub CLI login (`gh auth token`). Without any of them the tickets are still shown.
|
|
34
|
+
|
|
35
|
+
## Keys
|
|
36
|
+
|
|
37
|
+
Armada needs a few keys. Set them up once per machine with `armada auth login`, or pass them as environment variables, which always win over the stored ones (the way to go in CI and cloud sandboxes).
|
|
38
|
+
|
|
39
|
+
| Variable | What | Needed by |
|
|
40
|
+
| --- | --- | --- |
|
|
41
|
+
| `LINEAR_API_KEY` | Linear personal API key (Linear > Settings > Security & access > Personal API keys) | `armada status` |
|
|
42
|
+
| `ARMADA_TURSO_URL` | Turso database URL, `libsql://...` | live activity (coming) |
|
|
43
|
+
| `ARMADA_TURSO_TOKEN` | Turso database token | live activity (coming) |
|
|
44
|
+
| `GITHUB_TOKEN` or `GH_TOKEN` | GitHub token; otherwise `gh auth token` is used | pull requests and CI |
|
|
45
|
+
|
|
46
|
+
- `armada auth login` asks only for the keys that are missing, with hidden input for tokens, and stores them in `~/.config/armada/credentials` (or `$XDG_CONFIG_HOME/armada/credentials`), mode 0600 in a 0700 directory. Without a terminal it asks nothing and lists the variables to set instead.
|
|
47
|
+
- `armada auth status [--json]` shows which keys are set and where each comes from. It never prints a value.
|
|
48
|
+
- `armada auth logout` removes Armada's keys from the file.
|
|
49
|
+
|
|
50
|
+
The credentials file is a plain dotenv file (`KEY=value` lines, `#` comments) that a shell can also `source`. You may edit it by hand; Armada keeps your other lines and comments when it updates it. GitHub tokens are not stored there: use the environment or `gh auth login`.
|
|
51
|
+
|
|
52
|
+
Non-secret personal defaults go in `config.toml` next to it, created by the first `armada auth login`:
|
|
53
|
+
|
|
54
|
+
```toml
|
|
55
|
+
language = "en" # your language (BCP 47 tag)
|
|
56
|
+
|
|
57
|
+
[turso]
|
|
58
|
+
url = "libsql://<database>-<organization>.turso.io" # used when ARMADA_TURSO_URL is not set
|
|
59
|
+
|
|
60
|
+
[dashboard]
|
|
61
|
+
url = "https://<your-armada-dashboard>"
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Configure a project
|
|
65
|
+
|
|
66
|
+
Add an `armada.toml` at the root of the repository. One project is one repository plus one Linear program root. The file holds no secrets.
|
|
67
|
+
|
|
68
|
+
```toml
|
|
69
|
+
[project]
|
|
70
|
+
name = "Widgets"
|
|
71
|
+
slug = "widgets" # stable id: lowercase letters, digits, dashes
|
|
72
|
+
|
|
73
|
+
[tracker]
|
|
74
|
+
program_root = "ABC-1" # Linear issue at the root of the program (required)
|
|
75
|
+
language = "en" # owner-facing language (default "en"; output is English for now)
|
|
76
|
+
ready_label = "ready-for-agent" # marks a ticket an agent may take (default)
|
|
77
|
+
|
|
78
|
+
[tracker.labels]
|
|
79
|
+
phase_group = "Agent phase" # single-select label group for the agent phase (default)
|
|
80
|
+
runtime_group = "Agent runtime" # single-select label group for the agent runtime (default)
|
|
81
|
+
|
|
82
|
+
[github]
|
|
83
|
+
repository = "acme/widgets" # owner/name (required)
|
|
84
|
+
|
|
85
|
+
[policy]
|
|
86
|
+
silent_after_minutes = 15 # default 15
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
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).
|
|
90
|
+
|
|
91
|
+
The program follows one convention: specs are direct children of the root titled `Spec N/M — Name`, tickets are their sub-issues, and dependencies are Linear blocked-by relations. Agents declare their phase with a label from the phase group (`planning`, `awaiting-approval`, `implementing`, `shipping`, `blocked`, `ready-to-merge`) and start every comment with `Agent status: <phase> — <summary>`.
|
|
92
|
+
|
|
93
|
+
## Develop
|
|
94
|
+
|
|
95
|
+
Requires [Bun](https://bun.sh) 1.3 or later.
|
|
96
|
+
|
|
97
|
+
```sh
|
|
98
|
+
bun install
|
|
99
|
+
bun run armada status # run the CLI from source
|
|
100
|
+
bun run verify # lint, typecheck, tests
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
See [AGENTS.md](https://github.com/The-Vibe-Company/armada/blob/main/AGENTS.md) for the layout and the rules.
|
|
104
|
+
|
|
105
|
+
## What it is made of
|
|
106
|
+
|
|
107
|
+
- **`armada` CLI** (TypeScript). The coordinator and the workers call it to claim tickets, report progress, ask and answer questions, launch workers and merge.
|
|
108
|
+
- **Skills** vendored into the managed repository: the coordinator and worker protocols, planning and shipping skills.
|
|
109
|
+
- **Linear** holds the plan: specs, tickets, dependencies and agent phases.
|
|
110
|
+
- **Turso** (libSQL) holds live telemetry: events, heartbeats, pending questions and locks. Losing it loses live detail, never progress.
|
|
111
|
+
- **Conductor Cloud** runs the workers in the first version. Other runtimes come later without changing the worker contract.
|
|
112
|
+
- **Dashboard**: the live fleet view and the program view.
|
|
113
|
+
|
|
114
|
+
## License
|
|
115
|
+
|
|
116
|
+
MIT
|