Skip to content

Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.

540 B
Raw Blame
import { agentAt } from '../seats.js';
/** The pullboard queue command, in its own module so an item adding another command never edits these lines. */
import * as queueView from '../queue.js';
import {
  context,
  withBoard,
} from '../cli.js';

/** Run `pullboard queue` and return its exit code. */
export function run(io, { first, second, rest }) {
  const ctx = context(io);
  return queueView.queueCommand(io, [first, second, ...rest], (work) => withBoard(ctx, work),
    board => agentAt(board, ctx.info.root)?.agent_id ?? null);
}