Contract-first "business in a box" monorepo scaffold for provisioning a small demo platform, deploying modular business services, and generating scenario-driven synthetic business activity.
The project starts from a deliberate split:
infra/provisions the cluster chassis and local dependency stack.platform/holds GitOps and environment composition.contracts/defines the service APIs and event schemas that everything else must obey.scenario-packs/configure business overlays such ashotdog-standandit-consultancy.packages/contains shared validation and scenario tooling.
This initial scaffold mirrors the local conventions already used in neighboring repos under /projects/dev/*: Python + uv, Makefile-driven verification, explicit ADRs and requirements, and separate infra versus application layout.
Repo execution state is managed locally with sprintctl and kctl, then rendered into committed shared artifacts:
docs/sprint-snapshots/sprint-current.txtdocs/sprint-snapshots/backlog-master.txtdocs/knowledge/knowledge-base.md
Phase 0 is initialized:
- repository scaffold and agent guidance
- architecture ADR and requirement split
- repo-scoped sprintctl and kctl workflow
- staged feature baseline and backlog plan
- three initial service contracts: party, catalog, transaction
- two scenario packs: hotdog stand, IT consultancy
- local validation CLI and pytest coverage
- Terraform/Talos/GitOps placeholders aligned to the existing Hetzner/Talos/Flux setup
- Docker Compose dependency stack for local Postgres + NATS JetStream
This is intentionally not a full business platform. It is the contract and validation base that the services and simulator can grow on top of without collapsing into a shared-database monolith.
.
├── AGENTS.md
├── apps/
│ └── validator/
├── contracts/
│ ├── party-service/
│ ├── catalog-service/
│ └── transaction-service/
├── docs/
│ ├── agents/
│ ├── architecture/
│ ├── adr/
│ ├── features/
│ ├── knowledge/
│ ├── product/
│ ├── runbooks/
│ └── scenarios/
├── infra/
│ ├── examples/
│ ├── talos/
│ └── terraform/
├── packages/
│ ├── contract_kit/
│ └── scenario_sdk/
├── platform/
│ ├── clusters/
│ └── flux/
├── requirements/
├── scenario-packs/
│ ├── hotdog-stand/
│ └── it-consultancy/
├── schemas/
└── tests/
uv sync --dev
make verify-fast
source .envrcValidate contracts and scenario packs directly:
uv run box-validateInspect the local dependency stack:
docker compose -f infra/examples/compose.yaml config
docker compose -f infra/examples/compose.yaml up -dInspect live sprint and knowledge state:
make sprint-snapshot
make kctl-statusdocs/architecture/platform-architecture.mddefines the target runtime shape for the kernel, simulator, and platform layers.docs/architecture/data-architecture.mddefines service-owned persistence, outbox or inbox patterns, and cross-service data rules.docs/architecture/implementation-plan.mdmaps the architecture into the staged build order already reflected in the backlog.docs/runbooks/project-working-practices.mddefines the default working loops and done criteria.docs/agents/README.mdanddocs/agents/*.mddefine repo-specific planning, implementation, review, and release guidance for AI-assisted work.
- Implement reference FastAPI services behind the existing contracts.
- Add a simulation engine that emits only contract-valid commands and events.
- Replace the placeholder Flux and Terraform stubs with a working Hetzner/Talos bootstrap path.
- Add contract compatibility checks before service replacement demos.