@feigi/fleet-ctl 3.161.4 → 3.161.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feigi/fleet-ctl",
3
- "version": "3.161.4",
3
+ "version": "3.161.6",
4
4
  "description": "Agent fleet: run-team controller, merge bot, PR reviewer, and the ticket pipeline they share",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -389,6 +389,9 @@ export function validateTable(t) {
389
389
  if (sc !== undefined && (!Array.isArray(sc) || sc.length === 0 || new Set(sc).size !== sc.length || !sc.every((c) => set.includes(c)))) {
390
390
  return bad("`starting_cells` is not a non-empty list of starting Cells, each once");
391
391
  }
392
+ // A fitted table's `cells` hold every Cell its `starting_cells` names.
393
+ const missing = sc?.find((c) => !t.cells.includes(c));
394
+ if (missing !== undefined) return bad(`\`starting_cells\` names ${missing}, which \`cells\` does not hold`);
392
395
  const cl = t.classifier;
393
396
  if (cl === null || typeof cl !== "object") return bad("`classifier` is not an object");
394
397
  if (cl.b !== null && cl.b !== "haiku" && cl.b !== "jev") return bad("`classifier.b` is not null, \"haiku\" or \"jev\"");