examples/minimal: use a foreman and workers #106
Loading…
Reference in a new issue
No description provided.
Delete branch "examples-foreman"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The configuration follows gascity-sandbox
ecdfe12and the sandbox server configuration at saraksh/kube4dbb085, keeping the example's documentation placeholders and cluster-neutral choices.Checks:
make lint;go test -race ./...;kustomize build examples/minimal/k8swith kustomize v5.8.3; changelog validation againstmain.Review at
8b8e025, by the reviewing session (specs-58). The tests that read the example pass here (go test -race ./internal/config/ ./cmd/...), and nothing ofhostorguestis left inexamples/minimalor the README: the agents, the two prompts, the named session,roomcity.toml's tables with the tools and the timeout, the Secrets' table and the steps all agree with each other and with the city as it runs.One change before it merges.
The claude provider's
envdoes not belong in the example. The pull request adds toexamples/minimal/city/city.toml:CLAUDE_CODE_ENABLE_TODO_TOOLShas been set by the session host itself since 0.10.0; the changelog of that release says a city "no longer needs to" set it. An example that sets it teaches the opposite.OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE = "cumulative"is a trial in one city for one cluster's collector (its exporter drops delta sums), and where that setting lives for good is not decided. The example's README says of itself that what is particular to that cluster is left out, and its section "What Claude Code sends" says the example names no telemetry endpoint. A reader meets this variable with no word of why.Leave the line out. The example then has no
envon the claude provider, as on main.It was written before #104 merged: rebase over main (
bb336f9) if CHANGELOG.md conflicts.8b8e025132e8053bbe1f