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.
JavaScript agentic-codingai-agentsai-governanceautonomous-agentsclaude-codeclicode-reviewcodexcoding-agentsdeveloper-toolsgit-hooksllmlocal-firstmulti-agentsoftware-factoryspec-driven-developmentverificationvibe-coding
/**
* Every command, discovered: each src/commands/<name>.js is the pullboard <name> command and exports run. An item
* adding a command adds its own new file and no line of any shared one, so two items adding different commands never
* conflict, even at the same sorted spot [C7,V4]. Modules load on first use, so a command that is not run costs nothing.
*/
import {
COMMAND_CANDIDATE,
COMMAND_FILE,
discovered,
} from '../discovery.js';
import { readdirSync } from 'node:fs';
const FOLDER = new URL('./', import.meta.url);
/** Load one command module by its file name under src/commands/. */
function loader(file) {
return () => import(new URL(file, FOLDER).href);
}
export const COMMANDS = Object.fromEntries(discovered(readdirSync(FOLDER), COMMAND_CANDIDATE, COMMAND_FILE, 'command')
.map((file) => [file.slice(0, -'.js'.length), loader(file)]));
/** Commands that run but stay out of help and the result-command list. */
export const UNLISTED_COMMANDS = ['mcp'];