benignswarm 0.12.11 → 0.12.16

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/dist/args.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { parseArgs } from "node:util";
2
2
  import { CliError } from "./errors.js";
3
- export const STRING_FLAGS = ["as", "admin", "key", "url", "label", "model", "since", "limit", "after", "topic", "goal", "task", "state", "blocked-on", "tags", "custom", "vendor", "role", "description", "permissions", "cardinality", "machine", "dir", "confirm", "type", "name", "out", "token", "prefix", "uses", "expires-hours", "skill-dir", "harness", "reply-to", "event", "project", "projects", "post", "title", "body", "body-file", "handoff-to", "evidence", "agent", "parent", "parent-item", "channel", "statuses", "assign", "if-status", "status", "exec", "interval", "requeue-after", "category", "command", "follow-delay", "env", "scope", "pr", "note", "add", "remove", "merged", "tag", "activity", "max-unanswered", "to", "replay-of", "branch", "effort", "by", "target", "milestone", "file", "exit", "depends-on"];
4
- export const BOOL_FLAGS = ["json", "follow", "account", "help", "version", "broadcast", "create-channels", "read-account-status", "replace-key", "mentions-me", "no-skill", "replace", "unread", "force", "no-hooks", "yes", "open", "bind-here", "peek", "once", "launchd", "full", "no-bind", "all", "here", "keep-worktree", "prune", "abandon"];
3
+ export const STRING_FLAGS = ["as", "admin", "key", "url", "label", "model", "since", "limit", "after", "topic", "goal", "task", "state", "blocked-on", "tags", "custom", "vendor", "role", "description", "permissions", "cardinality", "machine", "dir", "confirm", "type", "name", "out", "token", "prefix", "uses", "expires-hours", "skill-dir", "harness", "reply-to", "event", "project", "projects", "post", "title", "body", "body-file", "handoff-to", "evidence", "agent", "parent", "parent-item", "channel", "statuses", "assign", "if-status", "status", "exec", "interval", "requeue-after", "category", "command", "follow-delay", "env", "scope", "pr", "note", "add", "remove", "merged", "tag", "activity", "max-unanswered", "to", "replay-of", "branch", "effort", "by", "target", "milestone", "file", "exit", "depends-on", "source"];
4
+ export const BOOL_FLAGS = ["json", "follow", "account", "help", "version", "broadcast", "create-channels", "read-account-status", "replace-key", "mentions-me", "no-skill", "replace", "unread", "force", "no-hooks", "yes", "open", "bind-here", "peek", "once", "launchd", "full", "no-bind", "all", "here", "keep-worktree", "prune", "abandon", "hold"];
5
5
  export function parse(argv) {
6
6
  const options = {};
7
7
  for (const f of STRING_FLAGS)
@@ -1,8 +1,9 @@
1
+ import { realpathSync } from "node:fs";
1
2
  import { str, bool } from "../args.js";
2
3
  import { Client } from "../client.js";
3
4
  import { loadAgent, resolveAgentName } from "../config.js";
4
5
  import { CliError } from "../errors.js";
5
- import { defaultMachine, scanWorktrees, prunableWorktrees, removeWorktreeIfClean } from "../git.js";
6
+ import { defaultMachine, scanWorktrees, pruneReport, removeWorktreeIfClean } from "../git.js";
6
7
  import { table } from "../output.js";
7
8
  /**
8
9
  * The project's worktree registry.
@@ -19,13 +20,24 @@ export async function worktrees(p, out) {
19
20
  if (sub === "prune") {
20
21
  // Space back: delete linked worktrees that are clean and merged into the base branch. Dry run
21
22
  // unless --yes. Branches are kept (deleting a worktree never deletes its branch).
22
- const candidates = prunableWorktrees();
23
+ // Worktrees recorded on units that are done or abandoned: clean ones go even if their branch never merged.
24
+ const closedUnitPaths = new Map();
25
+ try {
26
+ const all = await Client.forAgent(creds, undefined, { presence: false }).call("GET", `/projects/${project}/work-units?all=1`);
27
+ for (const u of all.units)
28
+ if (u.worktree && (u.status === "done" || u.status === "abandoned"))
29
+ closedUnitPaths.set(realpathSync(u.worktree), `WU #${u.number} ${u.status}`);
30
+ }
31
+ catch { /* the worktree is gone or the server is unreachable: fall back to merged-only */ }
32
+ const rep = pruneReport(process.cwd(), closedUnitPaths);
33
+ const candidates = rep.prunable;
34
+ const keptText = rep.kept.length ? `\nKept ${rep.kept.length} (measured against ${rep.base ?? "the base branch"}):\n${rep.kept.map((k) => ` ${k.path}${k.branch ? ` (${k.branch})` : ""}: ${k.reason}`).join("\n")}` : "";
23
35
  if (!candidates.length) {
24
- out.print("(no clean, merged worktrees to remove)", { removed: [], candidates: [] });
36
+ out.print(`(no clean, merged worktrees to remove)${keptText}`, { removed: [], candidates: [], kept: rep.kept });
25
37
  return;
26
38
  }
27
39
  if (!bool(p.flags, "yes")) {
28
- out.print(`${candidates.length} clean, merged worktree(s) would be removed (run again with --yes):\n${candidates.map((c) => ` ${c.path}${c.branch ? ` (${c.branch})` : ""}`).join("\n")}`, { removed: [], candidates });
40
+ out.print(`${candidates.length} clean, merged worktree(s) would be removed (run again with --yes):\n${candidates.map((c) => ` ${c.path}${c.branch ? ` (${c.branch})` : ""}${c.why ? `: ${c.why}, branch kept` : ""}`).join("\n")}${keptText}`, { removed: [], candidates, kept: rep.kept });
29
41
  return;
30
42
  }
31
43
  const removed = [];
@@ -1,3 +1,4 @@
1
+ import { spawnSync } from "node:child_process";
1
2
  import { readFileSync } from "node:fs";
2
3
  import { str } from "../args.js";
3
4
  import { Client } from "../client.js";
@@ -41,7 +42,7 @@ export async function wu(p, out) {
41
42
  };
42
43
  const tags = (u) => (u.tags.length ? u.tags.map((t) => `#${t}`).join(" ") : "(untagged)");
43
44
  const fmt = (u) => {
44
- const flags = [u.assigned_by ? `assigned by ${u.assigned_by}` : null, u.milestone ? `milestone ${u.milestone}` : null, u.target ? `lands in ${u.target}` : null, u.replay_of ? "REPLAY" : null, u.trial_tags?.length ? `trial on ${u.trial_tags.map((t) => `#${t}`).join(" ")}` : null].filter(Boolean).join(" · ");
45
+ const flags = [u.assigned_by ? `assigned by ${u.assigned_by}` : null, u.preferred_name ? `reserved for ${u.preferred_name}` : null, u.hold ? "held" : null, u.milestone ? `milestone ${u.milestone}` : null, u.target ? `lands in ${u.target}` : null, u.replay_of ? "REPLAY" : null, u.trial_tags?.length ? `trial on ${u.trial_tags.map((t) => `#${t}`).join(" ")}` : null].filter(Boolean).join(" · ");
45
46
  const reviewers = u.reviewers.map((r) => `${r.name}${r.tags.length ? ` for ${r.tags.map((t) => `#${t}`).join(" ")}` : ""}`).join(", ");
46
47
  const approvals = u.approvals.map((a) => a.name).join(", ");
47
48
  return [
@@ -74,8 +75,8 @@ export async function wu(p, out) {
74
75
  if (!title || !to)
75
76
  throw new CliError("usage", 'wu assign "<title>" --to <agent|auto|queue> --scope "<what it covers and does not>" [--tags a,b] [--evidence id] [--replay-of <n>]');
76
77
  const replay = str(p.flags, "replay-of");
77
- const r = await client.call("POST", `${base}/assign`, { to, title, scope: str(p.flags, "scope") ?? "", tags: list("tags"), evidence: list("evidence"), replay_of: replay ? Number(replay) : null, branch: str(p.flags, "branch") ?? null, target: str(p.flags, "target") ?? null, milestone: str(p.flags, "milestone") ?? null });
78
- out.print(`${fmt(r.unit)}\n${r.unit.status === "queued" ? `Queued: nobody qualified is free; it goes to the first qualified worker with capacity (or bschat wu take ${r.unit.number} --to <agent>).` : `Assigned to ${r.unit.owner_name}; they start it with bschat wu start ${r.unit.number}.`}`, r);
78
+ const r = await client.call("POST", `${base}/assign`, { to, title, scope: str(p.flags, "scope") ?? "", tags: list("tags"), evidence: list("evidence"), replay_of: replay ? Number(replay) : null, branch: str(p.flags, "branch") ?? null, target: str(p.flags, "target") ?? null, milestone: str(p.flags, "milestone") ?? null, hold: !!p.flags.hold });
79
+ out.print(`${fmt(r.unit)}\n${r.unit.status === "queued" && r.unit.preferred_name ? `Reserved for ${r.unit.preferred_name}, who is busy: theirs when free, open to any qualified worker after the takeover window (--hold keeps it assigned to them).` : r.unit.status === "queued" ? `Queued: nobody qualified is free; it goes to the first qualified worker with capacity (or bschat wu take ${r.unit.number} --to <agent>).` : `Assigned to ${r.unit.owner_name}; they start it with bschat wu start ${r.unit.number}.`}`, r);
79
80
  return;
80
81
  }
81
82
  case "take": {
@@ -182,25 +183,13 @@ export async function wu(p, out) {
182
183
  throw new CliError("usage", `this project's process requires the merge commit: bschat wu done ${num()} --merged <sha>`);
183
184
  }
184
185
  const r = await client.call("POST", `${base}/${num()}/done`, { note: str(p.flags, "note") ?? "", merged });
185
- // The unit's worktree goes with it when it is clean and we are not standing in it.
186
- let cleanup = "";
187
- const wt = r.unit.worktree;
188
- if (wt && !p.flags["keep-worktree"]) {
189
- if (resolve(process.cwd()).startsWith(resolve(wt)))
190
- cleanup = `\nWorktree ${wt} left in place (you are in it); remove it from elsewhere: git worktree remove ${wt}`;
191
- else if (wt === repoParent() || worktreeForBranch(def.merge.target_branch) === wt)
192
- cleanup = "";
193
- else {
194
- const res = removeWorktreeIfClean(wt);
195
- cleanup = res.removed ? `\nRemoved worktree ${wt}.` : `\nWorktree ${wt} kept: ${res.reason}.`;
196
- }
197
- }
198
- out.print(fmt(r.unit) + cleanup, r);
186
+ out.print(fmt(r.unit) + cleanupUnitWorktree(r.unit.worktree, def, !!p.flags["keep-worktree"]), r);
199
187
  return;
200
188
  }
201
189
  case "abandon": {
202
190
  const r = await client.call("POST", `${base}/${num()}/abandon`, { note: str(p.flags, "note") ?? "" });
203
- out.print(fmt(r.unit), r);
191
+ // Same as done: a clean worktree goes (its branch, and every commit on it, stays).
192
+ out.print(fmt(r.unit) + cleanupUnitWorktree(r.unit.worktree, await processDef(), !!p.flags["keep-worktree"]), r);
204
193
  return;
205
194
  }
206
195
  case "note": {
@@ -302,6 +291,17 @@ export async function processCmd(p, out) {
302
291
  await client.call("POST", `/projects/${project}/process/ack`, { version: r.process.version });
303
292
  }
304
293
  /** Per agent per tag, what real units have shown. */
294
+ /** A closed unit's worktree goes when it is clean and we are not standing in it; the branch and its commits stay. */
295
+ function cleanupUnitWorktree(wt, def, keep) {
296
+ if (!wt || keep)
297
+ return "";
298
+ if (resolve(process.cwd()).startsWith(resolve(wt)))
299
+ return `\nWorktree ${wt} left in place (you are in it); remove it from elsewhere: git worktree remove ${wt}`;
300
+ if (wt === repoParent() || worktreeForBranch(def.merge.target_branch) === wt)
301
+ return "";
302
+ const res = removeWorktreeIfClean(wt);
303
+ return res.removed ? `\nRemoved worktree ${wt} (branch kept).` : `\nWorktree ${wt} kept: ${res.reason}.`;
304
+ }
305
305
  /**
306
306
  * One worktree per unit, made (or repaired) here. Exceptions are explicit and recorded: --branch
307
307
  * continues existing work in its own worktree; --here uses the current checkout (single-agent repos).
@@ -309,9 +309,22 @@ export async function processCmd(p, out) {
309
309
  function prepareWorktree(n, unit, def, p) {
310
310
  // The unit's own target when it has one: a lane or release branch the work lands in.
311
311
  const target = unit.target ?? def.merge.target_branch;
312
- if (!p.flags.here && fullSha(target) === null && !(fetchRef(target) && fullSha(`origin/${target}`) !== null))
313
- throw new CliError("no_target", `the unit lands in ${target}, which this repository does not have`, `git fetch origin ${target}:${target} then try again`);
314
312
  const log = (line) => process.stderr.write(`bschat: ${line}\n`);
313
+ // Where reviewers may be on other machines, origin is the truth: start from origin's target, not
314
+ // this machine's possibly stale copy, and continue a pinned branch from what origin has of it.
315
+ const remoteFirst = !!def.merge.require_pushed;
316
+ let baseRef = target;
317
+ if (!p.flags.here) {
318
+ if (remoteFirst) {
319
+ if (!fetchRef(target))
320
+ throw new CliError("no_remote", `cannot fetch ${target} from origin, and this project requires work to start from origin's ${target}`, "Check the remote is reachable and try again.");
321
+ baseRef = `origin/${target}`;
322
+ log(`starting from origin/${target} (${fullSha(baseRef)?.slice(0, 9)}); this machine's ${target} is not used`);
323
+ }
324
+ else if (fullSha(target) === null && !(fetchRef(target) && fullSha(`origin/${target}`) !== null)) {
325
+ throw new CliError("no_target", `the unit lands in ${target}, which this repository does not have`, `git fetch origin ${target}:${target} then try again`);
326
+ }
327
+ }
315
328
  if (p.flags.here)
316
329
  return { mode: "here", path: process.cwd(), branch: branchAndHead().branch };
317
330
  const name = repoName();
@@ -322,15 +335,21 @@ function prepareWorktree(n, unit, def, p) {
322
335
  if (pinned) {
323
336
  const existing = worktreeForBranch(pinned);
324
337
  const path = existing ?? resolve(parent, `${name}-wu${n}`);
338
+ // Continuing someone else's branch from another machine: take origin's copy of it when we have none.
339
+ if (!existing && remoteFirst && fullSha(pinned) === null && fetchRef(pinned)) {
340
+ const r = spawnSync("git", ["branch", "--track", pinned, `origin/${pinned}`], { cwd: process.cwd(), encoding: "utf8" });
341
+ if (r.status !== 0)
342
+ throw new CliError("no_branch", `cannot create ${pinned} from origin: ${(r.stderr || r.stdout).trim()}`);
343
+ log(`created ${pinned} from origin/${pinned}`);
344
+ }
325
345
  if (!existing)
326
- ensureWorktree(path, pinned, target, process.cwd(), log);
346
+ ensureWorktree(path, pinned, baseRef, process.cwd(), log);
327
347
  return { mode: "branch", path, branch: pinned };
328
348
  }
329
349
  const slug = String(unit.title).toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "").slice(0, 40);
330
350
  const branch = `wu/${n}-${slug}`;
331
351
  const path = resolve(parent, `${name}-wu${n}`);
332
352
  // A replay starts from the target branch as it was when the original was opened: the same ground, none of the original's work.
333
- let baseRef = target;
334
353
  if (unit.replay?.created_at) {
335
354
  const at = commitAtTime(target, unit.replay.created_at);
336
355
  if (!at)
@@ -390,14 +409,15 @@ export async function milestone(p, out) {
390
409
  throw new CliError("not_found", `no milestone ${key}; use milestone add ${key} --title "..."`);
391
410
  const title = str(p.flags, "title") ?? existing?.title;
392
411
  if (!title)
393
- throw new CliError("usage", 'milestone add <key> --title "..." [--exit "what done means"] [--depends-on a,b] (no exit and no dependencies = a container for ongoing work)');
412
+ throw new CliError("usage", 'milestone add <key> --title "..." [--exit "what done means"] [--source "docs/plan.md#section"] [--depends-on a,b] (no exit and no dependencies = a container for ongoing work)');
394
413
  const deps = str(p.flags, "depends-on") !== undefined ? (str(p.flags, "depends-on") ?? "").split(",").map((s) => s.trim()).filter(Boolean) : existing?.depends_on ?? [];
395
414
  const exit = str(p.flags, "exit") ?? existing?.exit ?? "";
396
- const next = cur.map((m) => ({ key: m.key, title: m.title, exit: m.exit, depends_on: m.depends_on }));
415
+ const source = str(p.flags, "source") ?? existing?.source ?? "";
416
+ const next = cur.map((m) => ({ key: m.key, title: m.title, exit: m.exit, source: m.source ?? "", depends_on: m.depends_on }));
397
417
  if (existing)
398
- Object.assign(next.find((m) => m.key === key), { title, exit, depends_on: deps });
418
+ Object.assign(next.find((m) => m.key === key), { title, exit, source, depends_on: deps });
399
419
  else
400
- next.push({ key, title, exit, depends_on: deps });
420
+ next.push({ key, title, exit, source, depends_on: deps });
401
421
  const r = await client.call("PUT", `/projects/${project}/milestones`, { milestones: next });
402
422
  const m = r.milestones.find((x) => x.key === key);
403
423
  out.print(`${sub === "add" ? "Added" : "Updated"} milestone ${m.key}: ${m.title} [${m.ready ? "ready" : `waits on ${m.waiting_on.join(", ")}`}]${!m.exit && !m.depends_on.length ? " (container: never chased)" : ""}`, r);
@@ -407,7 +427,7 @@ export async function milestone(p, out) {
407
427
  const m = (await client.call("GET", `/projects/${project}/milestones`)).milestones.find((x) => x.key === key);
408
428
  if (!m)
409
429
  throw new CliError("not_found", `no milestone ${key}`);
410
- out.print(`${m.key}: ${m.title} [${m.status}${m.status === "open" && !m.ready ? `, waits on ${m.waiting_on.join(", ")}` : ""}]\n depends on: ${m.depends_on.join(", ") || "-"}\n units: ${m.units.done} done, ${m.units.open} open, ${m.units.queued} queued of ${m.units.total}\n exit: ${m.exit || "(not written)"}${m.closed_at ? `\n closed ${m.closed_at} by ${m.closed_by}: ${m.closed_note}${m.evidence.length ? ` (${m.evidence.map((e) => `evidence:${e}`).join(" ")})` : ""}` : ""}`, m);
430
+ out.print(`${m.key}: ${m.title} [${m.status}${m.status === "open" && !m.ready ? `, waits on ${m.waiting_on.join(", ")}` : ""}]\n depends on: ${m.depends_on.join(", ") || "-"}\n units: ${m.units.done} done, ${m.units.open} open, ${m.units.queued} queued of ${m.units.total}\n exit: ${m.exit || "(not written)"}${m.source ? `\n source: ${m.source} (the full brief; read it when planning this slice)` : ""}${m.closed_at ? `\n closed ${m.closed_at} by ${m.closed_by}: ${m.closed_note}${m.evidence.length ? ` (${m.evidence.map((e) => `evidence:${e}`).join(" ")})` : ""}` : ""}`, m);
411
431
  return;
412
432
  }
413
433
  if (sub === "close") {
package/dist/git.js CHANGED
@@ -194,14 +194,47 @@ export function ensureWorktree(path, branch, base, cwd = process.cwd(), log = ()
194
194
  * worktrees are never candidates, whatever their age.
195
195
  */
196
196
  export function prunableWorktrees(cwd = process.cwd()) {
197
+ return pruneReport(cwd).prunable;
198
+ }
199
+ /**
200
+ * Every linked worktree sorted into prunable or kept, with the reason. "Merged" means the
201
+ * worktree's head is on the base branch here or on origin's copy of it (fetched first), so a
202
+ * machine whose local main is behind does not keep work that already landed.
203
+ */
204
+ export function pruneReport(cwd = process.cwd(), closedUnitPaths = new Map()) {
197
205
  const scan = scanWorktrees(cwd);
198
206
  if (!scan)
199
- return [];
207
+ return { prunable: [], kept: [], base: null };
200
208
  const here = realpathOrSelf(cwd);
201
- return scan.worktrees
202
- .filter((w) => realpathOrSelf(w.path) !== realpathOrSelf(scan.repo) && !here.startsWith(realpathOrSelf(w.path)))
203
- .filter((w) => w.dirty === false && w.merged === true)
204
- .map((w) => ({ path: w.path, branch: w.branch }));
209
+ const base = scan.worktrees.find((w) => w.base)?.base ?? null;
210
+ const remoteBase = base && fetchRef(base, "origin", scan.repo) && fullSha(`origin/${base}`, scan.repo) ? `origin/${base}` : null;
211
+ const prunable = [];
212
+ const kept = [];
213
+ for (const w of scan.worktrees) {
214
+ if (realpathOrSelf(w.path) === realpathOrSelf(scan.repo))
215
+ continue;
216
+ if (here.startsWith(realpathOrSelf(w.path))) {
217
+ kept.push({ path: w.path, branch: w.branch, reason: "you are standing in it" });
218
+ continue;
219
+ }
220
+ if (w.dirty !== false) {
221
+ kept.push({ path: w.path, branch: w.branch, reason: w.dirty === null ? "cannot read its status" : "uncommitted changes" });
222
+ continue;
223
+ }
224
+ const onRemote = remoteBase && w.head ? spawnSync("git", ["merge-base", "--is-ancestor", w.head, remoteBase], { cwd: scan.repo, stdio: "ignore" }).status === 0 : false;
225
+ if (w.merged === true || onRemote) {
226
+ prunable.push({ path: w.path, branch: w.branch });
227
+ continue;
228
+ }
229
+ // A clean worktree of a closed unit holds nothing the branch does not: nobody is working there.
230
+ const closed = closedUnitPaths.get(realpathOrSelf(w.path));
231
+ if (closed) {
232
+ prunable.push({ path: w.path, branch: w.branch, why: closed });
233
+ continue;
234
+ }
235
+ kept.push({ path: w.path, branch: w.branch, reason: `${w.ahead ?? "?"} commit${w.ahead === 1 ? "" : "s"} not on ${remoteBase ?? base ?? "the base branch"}` });
236
+ }
237
+ return { prunable, kept, base: remoteBase ?? base };
205
238
  }
206
239
  /** The remote's current head for a branch, asked of the remote itself; null when there is no remote or it cannot be reached. */
207
240
  export function remoteHead(branch, remote = "origin", cwd = process.cwd()) {
package/dist/help.js CHANGED
@@ -33,7 +33,9 @@ Agent commands
33
33
  worktree; tags come from the vocabulary; --target is the branch it lands in (default: the
34
34
  process target), e.g. a lane branch; wu target <n> <branch|default> changes it before review
35
35
  bschat wu assign "<title>" --to <agent|auto|queue> --scope ".." [--tags a,b] [--replay-of n] hand out a unit (assigner roles);
36
- auto queues it when nobody qualified is free; queue waits deliberately
36
+ auto queues it when nobody qualified is free; queue waits deliberately; naming a
37
+ busy worker reserves it for them (theirs when free, anyone's after the takeover
38
+ window); --hold keeps it assigned to them however long it takes
37
39
  bschat wu take <n> [--to <agent>] pull a queued unit for yourself (qualified by works or trial), or hand it to someone
38
40
  bschat wu next take the oldest queued unit you qualify for
39
41
  --to auto picks the active worker qualified for the tags with the lightest load;
@@ -47,7 +49,8 @@ Agent commands
47
49
  bschat milestones the plan's slices: ready or waiting on which, units done/total; wu open|assign --milestone <key>
48
50
  bschat milestones set --file plan.json define or replace the plan (assigner roles or the operator): a JSON list of
49
51
  {key, title, exit, depends_on}; existing keys keep their status; cycles are refused
50
- bschat milestone add <key> --title ".." [--exit ".."] [--depends-on a,b] add one slice (assigner roles or the operator);
52
+ bschat milestone add <key> --title ".." [--exit ".."] [--source "docs/plan.md#b0"] [--depends-on a,b] add one slice (assigner
53
+ roles or the operator); --source is where the full brief lives, read only when planning the slice;
51
54
  no exit and no dependencies makes a container for ongoing work; milestone edit <key> amends
52
55
  bschat milestone show <key> exit criterion, dependencies, counts; wu milestone <n> <key|none> moves a unit
53
56
  bschat milestone close <key> --note ".." [--evidence a,b] [--abandon] the lead closes a slice against its exit criterion
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const CLI_VERSION = "0.12.11";
1
+ export const CLI_VERSION = "0.12.16";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "benignswarm",
3
- "version": "0.12.11",
3
+ "version": "0.12.16",
4
4
  "description": "bschat: chat, status board and evidence store for coding agents (benignswarm.org)",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {