@the-vibe-company/armada 0.2.40 → 0.2.41

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 CHANGED
@@ -422,6 +422,7 @@ slug = "widgets" # stable id: lowercase letters, digits, dashes
422
422
  program_root = "ABC-1" # Linear issue at the root of the program (required)
423
423
  language = "en" # owner-facing language (default "en"; output is English for now)
424
424
  ready_label = "ready-for-agent" # marks a ticket an agent may take (default)
425
+ parked_label = "parked" # marks a ticket parked on purpose: never listed as work to start (default)
425
426
 
426
427
  [tracker.labels]
427
428
  phase_group = "Agent phase" # single-select label group for the agent phase (default)
package/dist/armada.js CHANGED
@@ -965,7 +965,7 @@ function inFlight(m, comments, opts) {
965
965
  };
966
966
  return m.program.filter((i) => m.isLeaf(i) && !isClosed(i) && held(i)).map((i) => buildLane(m, comments, i, opts)).sort((a, b) => PHASE_RANK[a.phase] - PHASE_RANK[b.phase] || a.issue.id.localeCompare(b.issue.id, "en", { numeric: true }));
967
967
  }
968
- function frontier(m, readyLabel) {
968
+ function frontier(m, labels) {
969
969
  const dependents = new Map;
970
970
  for (const i of m.program)
971
971
  for (const b of i.blockedBy)
@@ -979,11 +979,11 @@ function frontier(m, readyLabel) {
979
979
  return seen;
980
980
  };
981
981
  const critical = criticalIds(m);
982
- return m.program.filter((i) => m.isLeaf(i) && isNotStarted(i) && !i.agentPhase && m.openBlockersOf(i).length === 0 && !i.prs.some((p) => p.state === "open")).map((issue) => {
982
+ return m.program.filter((i) => m.isLeaf(i) && isNotStarted(i) && !i.agentPhase && !i.labels.includes(labels.parked) && m.openBlockersOf(i).length === 0 && !i.prs.some((p) => p.state === "open")).map((issue) => {
983
983
  const spec = m.specOf(issue.id);
984
984
  const unlocksAll = [...transitive(issue.id)];
985
985
  const unlocksNow = (dependents.get(issue.id) ?? []).filter((d) => !isClosed(d) && m.openBlockersOf(d).every((b) => b === issue.id)).map((d) => d.id);
986
- const readyForAgent = issue.labels.includes(readyLabel) && issue.statusType !== "triage";
986
+ const readyForAgent = issue.labels.includes(labels.ready) && issue.statusType !== "triage";
987
987
  const onCriticalPath = critical.has(issue.id);
988
988
  const score = (readyForAgent ? 1000 : 0) + (onCriticalPath ? 300 : 0) + unlocksAll.length * 20 + unlocksNow.length * 10 - (spec?.ordinal ?? 99);
989
989
  return {
@@ -2094,6 +2094,7 @@ var HERDR_HARNESSES = ["claude", "codex", "opencode", "deepseek"];
2094
2094
  var CONFIG_DEFAULTS = {
2095
2095
  language: "en",
2096
2096
  readyLabel: "ready-for-agent",
2097
+ parkedLabel: "parked",
2097
2098
  phaseGroup: "Agent phase",
2098
2099
  runtimeGroup: "Agent runtime",
2099
2100
  runtimes: ["Claude Code", "Codex", "Conductor", "Herdr"],
@@ -2215,7 +2216,7 @@ function parseConfig(text, source = CONFIG_FILE) {
2215
2216
  const herdrProfilesT = isTable(herdrProfilesRaw) ? herdrProfilesRaw : {};
2216
2217
  const known = [
2217
2218
  ["project", project, ["name", "slug"]],
2218
- ["tracker", tracker, ["program_root", "language", "ready_label", "labels"]],
2219
+ ["tracker", tracker, ["program_root", "language", "ready_label", "parked_label", "labels"]],
2219
2220
  ["tracker.labels", labelsT, ["phase_group", "runtime_group", "runtimes"]],
2220
2221
  ["github", github, ["repository"]],
2221
2222
  ["gates", gatesT, ["required_checks", "local_commands"]],
@@ -2503,6 +2504,7 @@ function parseConfig(text, source = CONFIG_FILE) {
2503
2504
  }),
2504
2505
  language: str(tracker, "tracker", "language", { default: CONFIG_DEFAULTS.language }),
2505
2506
  readyLabel: str(tracker, "tracker", "ready_label", { default: CONFIG_DEFAULTS.readyLabel }),
2507
+ parkedLabel: str(tracker, "tracker", "parked_label", { default: CONFIG_DEFAULTS.parkedLabel }),
2506
2508
  labels: {
2507
2509
  phaseGroup: str(labelsT, "tracker.labels", "phase_group", { default: CONFIG_DEFAULTS.phaseGroup }),
2508
2510
  runtimeGroup: str(labelsT, "tracker.labels", "runtime_group", { default: CONFIG_DEFAULTS.runtimeGroup }),
@@ -2550,6 +2552,7 @@ slug = ${q(p.slug)} # stable id: lowercase letters, digits and dashes
2550
2552
  program_root = ${q(p.programRoot)} # Linear issue at the root of the program
2551
2553
  language = "en" # language of owner-facing output
2552
2554
  ready_label = "ready-for-agent"
2555
+ # parked_label = "parked" # a ticket with this label is parked on purpose: never listed as work to start
2553
2556
 
2554
2557
  [tracker.labels]
2555
2558
  phase_group = "Agent phase"
@@ -9943,7 +9946,10 @@ function buildStatus({
9943
9946
  const issue = issues.find((i) => i.id === l.ticket);
9944
9947
  return { ...l, title: issue?.title ?? null, url: issue?.url ?? null, detail: notStartedBody(l, now) };
9945
9948
  }),
9946
- frontier: frontier(m, config.tracker.readyLabel).filter((c) => !phaseOf.has(c.issue.id)).map((c) => ({
9949
+ frontier: frontier(m, {
9950
+ ready: config.tracker.readyLabel,
9951
+ parked: config.tracker.parkedLabel ?? CONFIG_DEFAULTS.parkedLabel
9952
+ }).filter((c) => !phaseOf.has(c.issue.id)).map((c) => ({
9947
9953
  id: c.issue.id,
9948
9954
  title: c.issue.title,
9949
9955
  url: c.issue.url,
@@ -10150,7 +10156,7 @@ ${attachments.join(`
10150
10156
  };
10151
10157
  }
10152
10158
  // package.json
10153
- var version = "0.2.40";
10159
+ var version = "0.2.41";
10154
10160
 
10155
10161
  // src/attach.ts
10156
10162
  import { resolve } from "node:path";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-vibe-company/armada",
3
- "version": "0.2.40",
3
+ "version": "0.2.41",
4
4
  "type": "module",
5
5
  "description": "Run a fleet of coding agents on one project: the armada command line.",
6
6
  "license": "MIT",