Any language
For a repository written in PHP, Python, Go, or any language other than JavaScript. At the end the factory builds in it with your own commands, and nothing of Node's is added to it.
A repository that is not JavaScript
The factory's tool runs on Node, whatever your project is written in, and it is installed on each machine, not in your repository. In a PHP, Python, or Go repository that means:
- Nothing of Node's goes in the repository. The factory adds no
package.json, nopackage-lock.json, and nonode_modules/. The one exception is a spec tool that npm installs, such as OpenSpec, if you choose one (specs):factory initthen writes a small privatepackage.jsonfor it, and ignoresnode_modules/. - Everyone who runs an agent session in the repository needs Node
22.18 or later, and the
factorycommand, installed once on their machine as Install shows. - Your own CI does not change. The factory's cloud jobs install Node
and the factory for themselves. They run
npm cifor your project only when its root has apackage-lock.json, so in a repository without one they install nothing of yours. What a session in the cloud needs on its machine beyond that, such as a language, goes undercommands.build-setup. It installs your project's dependencies itself, from the registries you list underbuilds.hosts(What a session can use). - Your commands stay yours. The gate a build runs, and everything
else under
commandsin the settings, is whatever your project runs:composer test,make check,go vet ./....
The factory's hooks run the factory command, so they need nothing
beyond Node and its install. On a machine without the command, they stop a session's
commands and say how to install it. Someone who only writes code by
hand, and never runs an agent session in the repository, needs none of
this.
Example settings files has a complete settings file for a PHP library.