Examples

Examples

Copy-ready contracts for common repo shapes, setup surfaces, adapter ownership, and workspace layouts.

copynew usersbasicstable2026-05-11

Copy with intent

Browse examples by repo shape, not just by language.

These examples are strongest when they answer the topology question first: one runtime, mixed runtimes, workspace acquisition, or policy-backed provisioning.

How to choose

Start from the closest topology and trim only what your repo does not need.

The examples are organized so you can choose by operational shape first, then by implementation detail once the readiness contract boundary is already right.

Single runtime

Use language-first examples when one repo owns one loop.

Node, Python, Go, Java, .NET, Rust, and script examples are the shortest path when one readiness contract owns one runtime boundary.

Mixed topology

Use mixed or fullstack examples when more than one runtime must stay explicit.

Choose mixed and service examples when the value comes from keeping boundaries legible instead of collapsing everything into one setup command.

Policy or workspace

Use policy and workspace examples when coordination or governance is the payoff.

Choose these when repo acquisition, approved sources, or multi-repo ordering matters more than the language itself.

Start by goal

Use this layer first when you want to prove value quickly instead of scanning every example page.

Libraries and SDKs

A repo can be a reusable SDK and still keep readiness, linting, and release flow explicit.

Single-repo examples

Use these when one repo owns one contract and one task flow.

Mixed and service repos

Use these when more than one runtime or service boundary matters.

Focused contract surfaces

Use these when the repo shape is already clear and the real question is which stronger Ota surface should own setup or adapter truth.

Bake adapter inputs

A focused contract that keeps docker buildx bake file selection in adapter_inputs.overlays.bake.files instead of shell -f flags.

When to use it

Use this when Bake file truth belongs to one task path or one workflow overlay.

Deterministic env bootstrap

A focused contract that uses action.kind: ensure_env_file for governed .env creation, replacement, removal, and secret generation.

When to use it

Use this when env bootstrap is one deterministic host-file mutation instead of shell copy-plus-sed glue.

Bundled deterministic setup

A focused contract that uses action.kind: ensure_bundle for ordered deterministic setup actions without shell orchestration.

When to use it

Use this when one setup lane owns several deterministic setup actions and they should stay in one governed action body.

Deterministic git checkout bootstrap

A focused contract that uses action.kind: ensure_git_checkout for governed sibling or vendored Git materialization.

When to use it

Use this when setup truthfully owns cloning one repo-local checkout and should not hide that bootstrap inside setup.sh or shell git clone glue.

Deterministic git template bootstrap

A focused contract that uses action.kind: ensure_git_template for governed scaffold or factory materialization.

When to use it

Use this when setup truthfully owns cloning one Git-backed template into a fresh local repo and should not hide that bootstrap inside shell git clone, rm -rf .git, or git init glue.

Container network bootstrap

A focused contract that uses action.kind: ensure_container_network for governed external Docker network readiness.

When to use it

Use this when one setup lane owns shared Docker network bootstrap and should not hide docker network inspect/create glue in shell.

Compose service volume reset

A focused contract that uses action.kind: reset_compose_service_volume for governed destructive local data reset on one Compose-managed service.

When to use it

Use this when one local recovery lane truthfully owns stop/rm/volume-reset/restart instead of hiding that sequence in shell glue.

Execution topology examples

Use these when the hard part is not language support but honest communication between host, workload, service contexts, and dependency storage.

Workspace examples

Use these when multiple repos need a shared bootstrap and execution order.

Policy and provisioning

Use these when you want to show how repo intent and org policy meet in one contract pair.

Advanced examples

This repo lives on GitHub, and the card below is meant to stand apart as a proven pattern to copy and adapt.