Buildautomaton: runtime plugins

These plugins run inside @buildautomaton/plugins. coreSet() installs them (buildautomatonSet() is the same list). They need the shared SQL store and HTTP server (not the file store). The same set works on a local host or a cloud host.

Artifact plugins

Each artifact plugin teaches agents (and the tell tool) about one kind of review output. Add or remove a plugin and the tell tool grows or shrinks with it.

PluginKindWhat it captures
summaryArtifactPluginsummaryShort plain-language blurbs of what changed by area
changesOverviewArtifactPluginchangesOverviewA structured overview of the change set
apiArtifactPluginapiAPI surfaces that changed
dataModelArtifactPlugindataModelData model / schema changes
uiArtifactPluginuiUI screens and flows
algorithmArtifactPluginalgorithmNon-trivial logic / algorithms

Work plugin

sqliteWorkPlugin (service id work) owns the queue: drafts, queued items, completed work, answers, and artifacts in SQLite. It mounts HTTP under /api and serves the sidebar widget. memoryWorkPlugin is for tests and light embeds.

Director tools

workToolsPlugin (service id tools) adds three tools beside the runtime’s minion tools:

ToolWhat it does
ask_buildautomaton_what_to_build_nextHand the agent the next queued item
tell_buildautomaton_what_was_builtSave artifacts from the registered artifact plugins
ask_buildautomaton_interview_questionsAsk follow-up questions about a draft

The tell tool’s fields and instructions are built from the artifact plugins you registered.

Prompt sessions

The sidebar composer and the app’s first prompt start a new ACP session per prompt. coordinatorPlugin binds on HTTP listen (it does not auto-start). Each session is attached to this runtime’s MCP server (/mcp) so it can call tell_buildautomaton_what_was_built when the work is done. The dashboard shows an in-progress task, then the recorded artifacts — not the session transcript.

GET /api/buildautomaton includes coordinator. POST /api/buildautomaton/session with { prompt, project? } creates in-progress work and starts the session.

HTTP paths

Default mounts: /api/work, /api/artifacts, /api/assets, /api/work/events, /api/buildautomaton, /buildautomaton, /buildautomaton.js.