Development environment
git clone [email protected]:lukedawilson/fabriek.git
cd fabriek
pipx install --pip-args="--pre" fabriek # engine venv OUTSIDE the workspace (self-check)
export OPENAI_API_KEY=... # set your LLM key in the host env (no .env in the repo)
python -m pytest tests/ -q # fast suite (in-repo .venv is for tests only)
python -m pytest tests/ -q -m "not docker" # skip engine-dependent tests
fabriek fabriek/pipeline.yaml --dry-run # run the shipped pipeline
.venv-sandbox/bin/python tests/smoke/viz_demo.py # viz demo - scripted replay, no pipeline needed
.venv-sandbox/bin/python tests/smoke/viz_demo.py --fanout # history + stats pages over fixture runs
setup-venv.shbuilds the throwaway.venvfor localpytestruns. The loop itself must run from the pipx install - never an in-workspace.venv, which the startup self-check refuses.- Docker-marked integration tests need a local daemon; CI runs them on Linux.
- The shipped pipeline (
fabriek/pipeline.yaml) dogfoods the tool on its own repo - dev -> test -> review -> qa -> commit, with the engine's own three agent definitions insdk_agents/. - CI:
ci.yml(unit + integration suite, ubuntu),publish-image.yml(multi-arch dev image, amd64 + arm64),release.yml(PyPI publishing). - Pre-publish tooling can point
FABRIEK_DEV_IMAGEat a locally built dev image.
Branching and merges
origin/main is protected. Every change lands through a pull request;
direct pushes and direct merges to origin/main are blocked. Let CI pass
and get the pull request reviewed before merging.
Building the documentation site
The manual lives in docs/ and is built with MkDocs Material:
The site deploys to GitHub Pages from .github/workflows/docs.yml on every
push that touches docs/ or mkdocs.yml. Internal docs (docs/specs/,
docs/incidents/, and the standalone analyses) are excluded from the site
nav via exclude_docs: in mkdocs.yml.