@the-vibe-company/armada 0.2.30 → 0.2.32

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 +35 -5
  2. package/dist/armada.js +3562 -200
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -46,12 +46,13 @@ GitHub is read with `GITHUB_TOKEN`, `GH_TOKEN` or the GitHub CLI login (`gh auth
46
46
  ```sh
47
47
  armada doctor # what this repository lacks, with the fix for each
48
48
  armada init --program-root ABC-1 # one pull request that adds it all
49
+ armada skills update # update bundled skills locally on your current branch
49
50
  ```
50
51
 
51
52
  `armada doctor` checks, in the repository you are in:
52
53
 
53
54
  - `armada.toml` exists and is valid;
54
- - the Armada skills (`armada-coordinator`, `armada-worker`, `armada-runtime-conductor`, `armada-runtime-claude-code`) are in `.agents/skills`, linked from `.claude/skills`, recorded in `skills-lock.json` (the [`npx skills`](https://github.com/vercel-labs/skills) format), and match this version of Armada;
55
+ - the Armada skills (`armada-coordinator`, `armada-worker`, `armada-runtime-conductor`, `armada-runtime-claude-code`, `ship-pr-dev`, `review-code-dev`, `capture-learning-tools`) are in `.agents/skills`, linked from `.claude/skills`, recorded in `skills-lock.json` (the [`npx skills`](https://github.com/vercel-labs/skills) format), and match this version of Armada;
55
56
  - `.conductor/settings.toml` has a `[scripts] setup` command;
56
57
  - `.gitignore` ignores `plans/ship-pr-dev/`;
57
58
  - 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;
@@ -62,12 +63,28 @@ armada init --program-root ABC-1 # one pull request that adds it all
62
63
 
63
64
  Each problem is an error or a warning, with its fix. A missing skill, or a CLI older than Armada expects, is an error: workers cannot run without it. A skill that differs from this Armada version, a missing ignore line, a missing sign-in or a leftover key is a warning. Doctor exits 1 when there is an error. `--json` prints the same report as JSON.
64
65
 
65
- `armada init` fixes everything doctor reports in one go:
66
+ The shipping skills include every helper, reference, eval, companion manifest and license.
67
+ `armada doctor` also checks Python 3.9+, Git 2.41+ and the checksum-pinned OCR 1.12.1
68
+ cache without downloading or executing OCR. Its first bootstrap requires GitHub
69
+ HTTPS access and a writable cache (`REVIEW_CODE_OCR_HOME` optionally overrides
70
+ `~/.local/share/review-code-dev/ocr`). Delegation uses an isolated host reviewer;
71
+ no additional API key, Alibaba service or OCR LLM endpoint is needed. See the
72
+ vendored `review-code-dev` setup notes for supported platforms and exact fixes.
73
+
74
+ `armada init` fixes the repository setup in one go:
66
75
 
67
76
  1. It creates the missing Linear labels (a missing group goes in the team of the program root).
68
77
  2. It builds the missing or outdated files on a fresh checkout of the default branch, commits them on the branch `armada/init-<version>` and opens a pull request with `gh`. Your own checkout is not touched. Running it again rebuilds that branch and updates the same pull request. When the default branch already has everything, no pull request is opened.
69
78
  3. It registers the project (slug, name, repository, program root) on Armada, for the organization the terminal is signed in to, so `armada status --all` and the dashboard list it. A slug another organization already holds is refused.
70
79
 
80
+ To update the bundled skills on an existing ticket branch, run `armada skills update`.
81
+ It uses init's vendoring rules for skills, links, `skills-lock.json` and the shipping
82
+ artifact ignore, in the current checkout. It requires Git, but no sign-in, Linear
83
+ key or network. Review and commit its changes yourself; it does not open a setup PR
84
+ or edit `armada.toml`, Conductor scripts or Claude hooks. It replaces locally edited
85
+ bundled skills and removes files dropped by their current package; other skills and
86
+ their lock entries stay. Use `armada init` for the full setup PR.
87
+
71
88
  On a repository without `armada.toml`, pass `--program-root <ISSUE-ID>`; the name comes from the GitHub repository unless you pass `--name`, and the slug from the name unless you pass `--slug`. An existing `armada.toml` is never replaced. `init` needs `git`, the GitHub CLI logged in (`gh auth login`), a sign-in to Armada (`armada login`), and the Linear key, from Armada or from `LINEAR_API_KEY`; on a terminal it asks for a missing key first.
72
89
 
73
90
  `armada status --all` prints the status of every project registered for the organization the terminal is signed in to, each read with the `armada.toml` on its repository's default branch. A project that cannot be read shows its error without hiding the others.
@@ -149,7 +166,7 @@ armada answer --note ABC-12 "main moved: bring it in before you ship" # an unso
149
166
 
150
167
  ## What the owner validates
151
168
 
152
- The owner decides only what they asked to: a merge their rule keeps for them, the work of a kind of ticket they want to see first (a design), and a question the coordinator escalates. Each is one item on the dashboard's **Validations** page (with a count in the sidebar), opened from one link, `https://<dashboard>/approve/<id>`, readable on a phone. "Yours to decide" on the overview holds those items only (and a coordinator that stopped answering); the workers' questions, plans and hand-backs stay with the coordinator, in one line: "With the coordinator: n, oldest 4 min".
169
+ The owner decides only what they asked to: a merge their rule keeps for them, the work of a kind of ticket they want to see first (a design), and a question the coordinator escalates. Each is one item on the dashboard's **Validations** page, opened from one link, `https://<dashboard>/approve/<id>`, readable on a phone, and the first thing on the page of the session it concerns, its images full width. The overview groups the sessions in flight by coordinator and marks those items "À valider" (to validate) on the session's row, its coordinator and the menu; the workers' questions, plans and hand-backs stay with the coordinator.
153
170
 
154
171
  ```sh
155
172
  armada merge 34 --reason "CLI only" # coordinator: the rule lets it merge on its own
@@ -489,17 +506,30 @@ bun run armada status # run the CLI from source
489
506
  bun run verify # lint, typecheck, tests
490
507
  ```
491
508
 
509
+ When changing a package under `skills/`, run `bun run skills:bundle` to regenerate
510
+ the text payload included in the published Node bundle, then `bun run armada skills
511
+ update` to refresh this repository's vendored copies. The bundle test compares all
512
+ source skill files byte for byte, including nested helpers and license notices.
513
+
492
514
  See [AGENTS.md](https://github.com/The-Vibe-Company/armada/blob/main/AGENTS.md) for the layout and the rules.
493
515
 
494
516
  ## What it is made of
495
517
 
496
518
  - **`armada` CLI** (TypeScript). The coordinator and the workers call it to claim tickets, report progress, ask and answer questions, launch workers and merge.
497
- - **Skills** vendored into the managed repository by `armada init`: the coordinator loop, the worker protocol and one runtime guide per runtime. They live in [`skills/`](skills).
519
+ - **Skills** vendored into the managed repository by `armada init`: the coordinator loop, the worker protocol, one runtime guide per runtime, and the shipping/review/learning workflow. They live in [`skills/`](skills).
498
520
  - **Linear** holds the plan: specs, tickets, dependencies and agent phases.
499
521
  - **The app's database** (Postgres, e.g. Neon) holds the accounts, the organizations' sealed keys and the fleet's live data: events, heartbeats, pending questions and locks. The CLI reaches it only through the Armada API, with its sign-in. Losing it loses live detail, never progress.
500
522
  - **Conductor Cloud** runs the workers in the first version. Other runtimes come later without changing the worker contract.
501
523
  - **Dashboard** (Next.js, `packages/dashboard`): the live Fleet view of every project. The program view comes later.
502
524
 
525
+ Workers ship with the bundled `ship-pr-dev` by default. The hand-back command adds
526
+ `--shipped-with "ship-pr-dev"`, or `--shipped-with "fallback: <exact reason>"` when the
527
+ workflow cannot run. Linear and `armada inbox` show `shipped with ship-pr-dev` or
528
+ `shipped with the fallback: <reason>` with the PR and full SHA. Older workers remain
529
+ compatible and their hand-backs say `shipping path unreported`; this field records
530
+ the worker's declaration, not an independent CLI verification of review artifacts.
531
+
503
532
  ## License
504
533
 
505
- MIT
534
+ MIT. The bundled Alibaba review workflow retains Apache-2.0; each shipping skill
535
+ includes its license and attribution notices.