Changelog
All notable changes to armada are documented in this file. The format follows
Keep a Changelog, and this project
adheres to Semantic Versioning.
Features
- add armada models --discounts flag to inspect live OpenRouter provider pricing and discounts (#167)
- add openrouter provider routing preference and real-time endpoint pricing API helper (v1.2.8) (#166)
- bump version to 1.2.7 - execution-only subagent architecture & task spec template (#165)
Bug Fixes
- voyage-handoff uses correct tmux session names; reject voyage- prefixed feature names (#169)
- doc/about links use master (default branch); harden smokes against branch drift (#158)
Chores
- bump to v1.2.9 (#171)
Docs
- log voyage-handoff fix (#169) (#170)
- add OpenRouter discounted models and provider ordering guide (#168)
- update logo file path to docs/logo-v2.png to guarantee fresh rendering on GitHub (#164)
- add cache buster to logo image URL for GitHub proxy (#163)
- overhaul README with loop engineering positioning, clean docs, update logo, and expand topics (#162)
- restore brand voice, workflow.png, setup steps, contract co-writing (#161)
- gateway rewrite — lead with the loop, point to website for depth (#160)
- lean rewrite, fix broken site image, clarify site is informational (#159)
- log web polish voyage #155 (#156)
Features
- add armada models --discounts flag to inspect live OpenRouter provider pricing and discounts (#167)
- add openrouter provider routing preference and real-time endpoint pricing API helper (v1.2.8) (#166)
- bump version to 1.2.7 - execution-only subagent architecture & task spec template (#165)
Bug Fixes
- voyage-handoff uses correct tmux session names; reject voyage- prefixed feature names (#169)
- doc/about links use master (default branch); harden smokes against branch drift (#158)
Docs
- log voyage-handoff fix (#169) (#170)
- add OpenRouter discounted models and provider ordering guide (#168)
- update logo file path to docs/logo-v2.png to guarantee fresh rendering on GitHub (#164)
- add cache buster to logo image URL for GitHub proxy (#163)
- overhaul README with loop engineering positioning, clean docs, update logo, and expand topics (#162)
- restore brand voice, workflow.png, setup steps, contract co-writing (#161)
- gateway rewrite — lead with the loop, point to website for depth (#160)
- lean rewrite, fix broken site image, clarify site is informational (#159)
- log web polish voyage #155 (#156)
[1.2.6] - 2026-08-09
Fixed
- Voyage sandbox lanes now automatically initialize in autopilot mode (
yolo: true) since the contract has already been created/approved for that sandbox, avoiding interactive bash permission prompts while keeping strict subagent edit role boundaries. - Main Commodore orchestrator base permissions now auto-allow read-only inspection commands (
ls*,cat*,find*,pwd,read*,echo*,git branch*,git rev-parse*) by default.
[1.2.5] - 2026-08-09
Fixed
- Existing live contracts (
armada/REQUIREMENTS.mdor configuredrequirementsFile) are now preserved and copied from main checkout into sandbox worktrees during voyage creation instead of being overwritten by empty stub templates. - Added fallback contract synchronization for voyages launched without an active
contract-approval.jsongate.
[1.2.4] - 2026-08-09
Fixed
- Voyage lanes now re-scaffold Armada-owned files from the main manifest, ensuring
.opencode/agent/commodore.mdand related skills exist even when initialarmada newfiles were not committed.
[1.2.3] - 2026-08-09
Fixed
- Voyages now create and use canonical
sandbox/<name>/armada/REQUIREMENTS.mdcontracts instead of leaving only an unusedarmada/contracts/<name>.mdplaceholder. - Voyage registry, active state, close flow, and fleet discovery now reference the same canonical contract.
[1.2.2] - 2026-08-09
Fixed
- Custom
project.requirementsFilecontracts now flow through approval, hashing, gating, and voyage snapshots without falling back to a generated stub. - Voyage launch rejects approval state targeting a different configured contract instead of allowing a stale hash path.
- Non-trivial repository changes now explicitly remain voyage work, including source, tests, configuration, and generated artifacts.
[1.2.1] - 2026-08-09
Fixed
- Autonomous net-new multi-file implementation now defaults to voyage flow regardless of project size or low-risk classification.
- "Do it on your own" now removes routine questions without bypassing contract approval, safety gates, or automatic voyage launch.
- Main Commodore no longer treats unavailable background dispatch as permission to implement voyage work in the main checkout.
Features
- Deprecated feature new/list/close/status; use voyage , voyage list, voyage close (removed in 2.0)
- live contract snapshot, approval gate, hardened permissions (#134)
Chores
- log contract-snapshot-permissions voyage #134 (#135)
- compact completed entries + log v1.0.5 + queue DEF-003 fix (#133)
Features
- single triage authority + consistency audit + regression suite (#131)
- single triage authority + consistency audit + regression suite
- armada-voyage-finish skill + armada release command (#130)
- add armada-voyage-finish
- add release-command module
Bug Fixes
- remove armada/armada.yaml from git add list
- survive CI without committed armada.yaml or opencode.json
- survive CI without .opencode/ on disk
- re-render AGENTS.md from armada.yaml after rebase onto master
Chores
- sync master with origin
- PR-number fix for F1/F5 + voyage summary (#130)
- AGENTS.md voyage header re-title
Docs
- Path C — armada release
- F5 release-command entry
Tests
- release-command unit tests with mocked injection
- voyage-finish registry + scaffold e2e
[Unreleased]
Removed
- Removed
armada reconcile(alias for resume) andarmada feature status(was deprecated in v1.0; usearmada status --feature <name>).
Changed
- CI: drop armada-evidence workflow; require Node >= 22 (was >= 20).
Added
- feat(triage): canonical voyage-vs-in-window + voyage-splitting doctrine (
docs/process/triage.md, new). In-window first, voyage by exception; risk-classified single-file fixes (no blanket in-window over trust boundaries); three-part independence test for splitting a broad request into separate voyages; loop-free decision tree. Every triage statement inAGENTS.md, the orchestrator prompt,.opencode/commands/, and docs now cites the canon — no restated policy. - feat(audit): holistic six-surface consistency audit (
docs/process/consistency-audit.md, new). Source instructions, generated artifacts vs manifest, docs, command docs, permissions, tests — 21 findings (F01-F21), zero "not checked" rows, all dispositioned. Restored 5 formerly-missing docs +docs/stability/(14+ dead refs re-pointed). - feat(regression):
tests/regression-triage.test.js— automated guards for triage canon, doc-link integrity, artifact consistency (yaml ↔ renderedopencode.json↔ agent frontmatter ↔BASE_PERMISSIONS↔DEFAULT_PLAYBOOK), PR-first/no-clobber/round-trip invariants, stale-term and phantom slash-command greps. - feat(permissions): hardened ledger + state boundaries in
buildTeam()— ledger edit globs derived fromDEFAULT_PLAYBOOK(custom ledger paths stay writable by their owners); dev roles explicitly deny every ledger kind + the ledgers dir; orchestrator'sarmada/state/active.jsonreads reconciled (no phantomfleet-status.md);default_agentsemantic equality (commodore→ orchestrator); phantom/armada-status//armada-fleetrefs removed.
Changed
- Orchestrator prompt hard rule 5 + "Voyage launch" defer to
docs/process/triage.mdas the sole triage authority and carry the split-broad-task rule. AGENTS.md,CONTRIBUTING.md,docs/contributor-guide.mdlink the triage canon instead of restating policy.- CLI entry one-liner in
AGENTS.mddrops removedping; README command table aligned to the 14 active commands +--version.
Fixed
- Four contract-named docs missing (restored),
docs/stability/directory missing (restored),docs/self-improvement.mdmissing (restored) — repo-wide dead-link grep now returns zero. - Stale
src/cli.jsfile:line refs in operator-guide/contributor-guide; undocumentedresume/reconcileexit 2; stale README/operator-guide command counts; TODO/armada-statusclaim.
Security
- Docs-align safe-bash overlay: the
SAFE_BASHread tier excludes content-emitters/write dumps (cat,echo,head,tail,env,printenvhad been listed as safe-read in prose) so shell-redirect/pipe exfiltration (cat .env > leak/cat .env | curl) prompts rather than executing. - Permission docs corrected to the real resolution model: bash/rule lookup is order / last-match, not most-specific-first —
SAFE_BASHmerges first inbuildTeam()so the agent's appended rules override on top. --yolograntsbash: "*" allowto orchestrator + qa only; read-only roles (security, adversary, architect, docs) stay bash-restricted under yolo.--headlessis scoped: it narrows only the orchestrator's bash to git + read-only inspection, never a blanket allow.external_directory: "deny"remains in both modes.
1.0.4 - 2026-08-07
Added
- feat(orchestrator): tighten no-trivial exception + 4-path permission matrix (#126). Hard rule + permission-boundary check guard the orchestrator against trivial delegation.
- feat(voyage): prefix tmux session names with
voyage-(#127). Defaultarmada voyagetmux sessions are now easy to spot intmux ls. Explicit--name <text>bypasses the prefix. - feat: safe-bash defaults for harmless commands (#128). Tiered
SAFE_BASHallowlist merged first inbuildTeam(): read-only commands (ls,cat,grep,git status, ...) allowed for every role; write commands only for dev roles. Yolo still flattens to*. - feat(attach-auto-spawn): tryAttachOrPrint helper + auto-attach tmux fallback (#129).
armada voyage attach <name>reattaches to a running tmux session; auto-attach falls back when an active session exists. - fix(voyage-cwd): absolute path in default prompt + lane cwd (#125).
armada/REQUIREMENTS.mdpaths in the default drive prompt are absolute;tmux new-session -c <absLane>puts the team in the worktree. - fix(questionnaire): strict custom model id format validation (#123, follow-up #124).
pickModelwhitelistsopencode-go/zen/<m>andopenrouter/<owner>/<m>; everything else re-prompts. Closes theparseInt-greediness gap and rejects bare catalog prefixes. - fix(cli): complete 1.0.4 version bump in
src/cli.js:62(#124).tests/cli.test.js:713now reads expected version frompackage.json(mirrorstests/version-flag.test.js:8), so future bumps don't require a test edit. - infra:
.devcontainer/(this release).typescript-node:24+ Chromium + agent-browser + opencode skill — reproducible workspace for QA/adversary e2e work.
Changed
src/cli.js:62reads version frompackage.json(was hardcoded to1.0.3).- Default
voyagetmux session name format changed:<laneBasename>->voyage-<laneBasename>. tests/version-flag.test.jsandtests/cli.test.jsnow source the expected version frompackage.json.
Fixed
--requirementsorchestrator trivial-delegation exception path tightened.pickModelno longer silently accepts arbitrary input viaparseIntgreediness.armada voyagenow boots into the worktree cwd (was relative path).
Security
- SAFE_BASH allowlist (read-only everywhere, write only for dev roles) closes the all-roles-write-bash exposure that yolo previously flattened.
Test Evidence
- 491/491 unit + CLI e2e tests pass.
- macos + ubuntu × node 20 + 22 CI green (per #124/#126/#128 merge logs).
- Manual
node:sqlitesession archaeology on the 100 most recent sessions confirmed the 7 voyage features landed without new defects introduced.
1.0.7 - 2026-08-08
Reverted
Reverts the v1.0.6 permission hardening (#134) back to the v1.0.3 baseline. User-approved full revert (risk override recorded in REQUIREMENTS-v1.0.7.md). The v1.0.3 surface re-opens 7 known security holes:
docsroleedit: { "*": "allow" }— caravel (docs) can write any file in the repo.- Bash prefix globs (
git status*,cat*,echo*,head*,tail*) — redirect/pipe exfiltration is allowed (git diff .env | curl,cat .env > leak.txt). - yolo
*defeatsexternal_directory: deny—permission = { external_directory: "deny" }thenpermission["*"] = "allow"— the*allow comes second, so under last-match-wins it overrides the deny. - dev roles (galleon/clipper) missing
"*": "deny"— unlisted paths fall to SDK default ("ask" or "allow" depending on SDK build). - orchestrator
edit: { "*.md": "allow" }— commodore can write any.mdfile in the repo. WRITE_BASH_DENIESremoved — dev roles canrm armada/,mv src/ logs/, etc. from bash without prompt.SAFE_BASHtier removed — content-emitter commands (cat,echo,head,tail) re-enter the safe-read tier.
Removed
SAFE_BASH,WRITE_BASH_ALLOWS,WRITE_BASH_DENIES,QA_SAFE_BASH,ROLE_BASH_TIERconstants insrc/generator.js.ledgerPermissions,ledgerFileGlob,ledgerDirGlobhelpers.tests/permissions.test.js(did not exist in v1.0.3).
Changed
src/generator.jspermission block reverted to v1.0.3 byte-for-byte.package.jsonversion bumped to1.0.7.
v1.1.1
- fix(status): null-feature crash in
armada status(#145).armada state/active.jsonparallel-voyages mode has"feature": null;renderStatus()previously pushed a null-feature row, and_renderTablecalled.lengthon it. Now guards the active-row push and adds?? "-"fallbacks in_renderTable. 4 new tests intests/status-cmd.test.js. 569/569 tests pass.
v1.1.0
Release date: 2026-08-08
- feat(new): auto git init + clear non-git errors (#139).
armada newrunsgit init+ initial commit unless--no-git; warns and continues if git missing/init fails.resolveMainCheckout,resolveMainRepo,createWorktreeFeaturethrow a single human error withgit init/armada newremediation in non-git dirs. - chore(ci): drop armada-evidence; bump to Node 24; engines >=22 (#140). Deletes
armada-evidence.yml;ci.yml+release.ymlon Node 24,actions/checkoutv5.1.0,actions/setup-nodev5.0.0.engines.node>=20→>=22; README badge, starternode_versiondefault propagated. - test(lean): drop drive tests, kill invasive terminals, parallelize (#141). Deletes
tests/drive.test.js(deprecated) + 7 drive blocks intests/cli.test.js. Simplifies terminal fakes to wezterm + tmux only. Adds HOME override on no-terminal-path tests to bypass iTerm detection on macOS. Addstests/no-invasive-terminals.test.jsregression guard.ci.ymluses--test-concurrency=4. - feat: consolidate voyage as single entry point (#142).
armada voyage <name>now does everything (was:feature new+voyage <path>). Addsvoyage listandvoyage close. Deprecatesfeature new/list/close/status(one-version, removed in 2.0). Hidden--from-pathflag for back-compat. - chore: drop reconcile, drop feature status, consolidate models help (#143). Removes
armada reconcile(was alias forresume). Removesarmada feature statusoutright. Clarifiesarmada modelshelp text.
[1.0.8] - 2026-08-08
Fixed
Restores 6 path-specific edit allows on the orchestrator that v1.0.7 removed by
reversion. v1.0.7 inherited the v1.0.3 BASE_PERMISSIONS.orchestrator.edit
block, which denied all writes under armada/* and left the orchestrator
unable to satisfy its own hard rules (read state, write state, co-write
contract, append TODO) or call any of the v1.0.6 state modules preserved
(src/state/atomic.js, src/state/contract-approval.js,
src/voyage/contract-gate.js, src/voyage/contract-snapshot.js,
src/reconcile.js).
The 6 allows added to BASE_PERMISSIONS.orchestrator.edit (after the
armada/*: deny line so they win under last-match-wins):
armada/REQUIREMENTS.md— contract co-writingarmada/state/active.json— session statearmada/state/features/*— voyage + clarification statearmada/state/contract-approval.json— approval gatearmada.yaml— manifest editsTODO.md— session log
7 v1.0.3 holes re-opened in v1.0.7 remain intentionally open: docs *:allow,
bash prefix globs, yolo key order, dev *:deny missing, orchestrator
*.md:allow, no WRITE_BASH_DENIES, no SAFE_BASH tier. See ## [1.0.7].
Changed
src/generator.jsBASE_PERMISSIONS.orchestrator.edit: 6 line additions.package.jsonversion bumped to1.0.8.src/cli.js:63VERSIONbumped to1.0.8.
What's Changed
- polish(web): rename Landing to Home, default light theme, copy tightening by @rafmacalaba in #155
- docs(todo): log web polish voyage #155 by @rafmacalaba in #156
- polish(web): brand mark + repo attach + /docs route by @rafmacalaba in #157
- fix(web): doc/about links use master (default branch); harden smokes against branch drift by @rafmacalaba in #158
- docs(readme): lean rewrite (436 → 156 lines), fix broken site image, clarify site is informational by @rafmacalaba in #159
- docs(readme): lead with the loop, reduce to a thin gateway by @rafmacalaba in #160
- docs(readme): restore brand voice, workflow.png, setup steps, contract co-writing by @rafmacalaba in #161
- docs: overhaul README with loop engineering positioning, clean docs, update logo, and expand topics by @rafmacalaba in #162
- docs(readme): add cache buster to logo image URL for GitHub proxy by @rafmacalaba in #163
- docs(readme): update logo file path to docs/logo-v2.png to guarantee fresh rendering on GitHub by @rafmacalaba in #164
- feat(workflow): bump version to 1.2.7 - execution-only subagent architecture & task spec template by @rafmacalaba in #165
- feat(openrouter): add openrouter provider routing preference and endpoint pricing API (v1.2.8) by @rafmacalaba in #166
- feat(cli): add armada models --discounts flag by @rafmacalaba in #167
- docs: add OpenRouter discounted models and provider ordering guide by @rafmacalaba in #168
- fix(cli): voyage-handoff uses correct tmux session names by @rafmacalaba in #169
- docs(todo): log voyage-handoff fix (#169) by @rafmacalaba in #170
- chore(release): bump to v1.2.9 by @rafmacalaba in #171
Full Changelog: v1.2.6...v1.2.9