Develop
How Holtkeeper is built and how to extend it. The engine is a Bun monorepo with no build step: packages export TypeScript source, contracts sit in their own packages, and every implementation is replaceable.
Development setup
Install the tools, run the server and the panel from source, run the checks.
ArchitectureProcesses, contracts and how a webhook becomes a merge request.
Plan and decisionsPrinciples, stack choices, milestones and the decision log.
ModulesEvery package with its contract, options and public API.
Rules of the repository
Section titled “Rules of the repository”- No build step. Packages export
./src/index.tsand Bun runs it directly. - Erasable TypeScript only: no
enum,namespaceor parameter properties;.tsextensions in imports. - Depend on interfaces. Analyzers talk to
GitForge, never to a GitLab client; anything that shells out takes aCommandRunner, so tests use a fake runner. - Tests sit next to the code as
*.test.ts; integration tests and fixtures live in the module’stest/folder. - Docs move with code: a change to a module’s behaviour updates its
docs/in the same change. - Made-up examples only in tests, fixtures and docs.
bun run checkruns everything CI runs: format, lint, typecheck, tests and knip.
The full contributor guide is AGENTS.md in the repository.