A minimal template for a repository's .factory/ #64

Merged
dario merged 1 commit from dario/minimal-template into main 2026-11-23 14:00:51 +01:00
Owner

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:

  • sbxenv.yaml on the opencode workload;
  • kit.yaml with factoryVersion, goVersion (builds the factory) and
    opencodeVersion, the forge host and credential as REPLACE
    placeholders (with the header format per forge), and a setup hook
    without the Claude login;
  • kit.dockerfile with an empty block for the project's toolchain, the
    OpenCode block and the factory stage;
  • factory.json with one OpenCode profile and the two required roles.

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

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: - sbxenv.yaml on the opencode workload; - kit.yaml with factoryVersion, goVersion (builds the factory) and opencodeVersion, the forge host and credential as REPLACE placeholders (with the header format per forge), and a setup hook without the Claude login; - kit.dockerfile with an empty block for the project's toolchain, the OpenCode block and the factory stage; - factory.json with one OpenCode profile and the two required roles. 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>
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:

- sbxenv.yaml on the opencode workload;
- kit.yaml with factoryVersion, goVersion (builds the factory) and
  opencodeVersion, the forge host and credential as REPLACE
  placeholders (with the header format per forge), and a setup hook
  without the Claude login;
- kit.dockerfile with an empty block for the project's toolchain, the
  OpenCode block and the factory stage;
- factory.json with one OpenCode profile and the two required roles.

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>
dario merged commit 5b3adb5395 into main 2026-11-23 14:00:51 +01:00
dario deleted branch dario/minimal-template 2026-11-23 14:00:51 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dario/factory!64
No description provided.