A minimal template for a repository's .factory/ #64
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "dario/minimal-template"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Projects copied the factory's own .factory/ and deleted what only the
factory needs (just, jq, Go, the C compiler, its hosts), which was an
awkward first step. template/.factory/ is a minimal start instead:
opencodeVersion, the forge host and credential as REPLACE
placeholders (with the header format per forge), and a setup hook
without the Claude login;
OpenCode block and the factory stage;
template/template_test.go (in just check) keeps the OpenCode and
factory blocks and the version args identical to the factory's own kit,
which is used every day, and validates the template's factory.json.
setup.md steps 4 and 5, the README quickstart, sandbox.md and the
factory's own kit now point to the template; ADR 0017 is amended, and
developing-the-factory.md describes releasing (tag, then bump both
kits).
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com