Wave 11 — the three candidates: CLI — lawsynth simplify (egraph equality saturation extracts the lowest-cost EQUIVALENT law; proves equivalence by simulating both worlds, deviation ~0; honest 'already minimal' on sparse discovered worlds); lawsynth compose (union two worlds into a coupled system, namespacing collisions) and lawsynth edit (immutable rename/set-param/drop-law/scale-law, re-validated). SDK — lawsynth.simplify / World.simplify (stdlib expand/fold/combine + equivalence verify), lawsynth.compose, World.rename/set_parameter/drop_law/ scale_law. Two runnable examples. Deploy — a verifiable hosted-deploy story: deploy/quickstart (config-validated minimal api+gateway) + docs/self-hosting/quickstart.md (real curl/Client run loop), after fixing genuine drift in the compose files (SQLite URL the API actually accepts, correct token env, object root, health endpoints, native build step) — verified end-to-end from source. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
29 lines
1.1 KiB
YAML
29 lines
1.1 KiB
YAML
# Canonical declaration of the shared network and named volumes for the local
|
|
# LawSynth stack.
|
|
#
|
|
# The per-service files (postgres.yaml, minio.yaml, ...) each declare the
|
|
# volumes and the network they reference so they remain independently valid.
|
|
# Compose merges those identical declarations with the ones below when the
|
|
# stack is assembled through compose.yaml's `include:`. This file is the single
|
|
# place that documents the persistent state of the stack.
|
|
#
|
|
# Persistent state:
|
|
# lawsynth_api_data API SQLite metadata database + filesystem object store
|
|
# lawsynth_pgdata Postgres metadata database (Rust scheduler/worker plane)
|
|
# lawsynth_minio MinIO object store (Rust plane: artifacts, exports, checkpoints)
|
|
# lawsynth_nats NATS JetStream durable streams (Rust plane)
|
|
# lawsynth_artifacts Artifact service content-addressed store (Rust plane)
|
|
#
|
|
# Reset the whole stack (DESTROYS DATA):
|
|
# docker compose -f compose.yaml down --volumes
|
|
|
|
networks:
|
|
lawsynth:
|
|
|
|
volumes:
|
|
lawsynth_api_data:
|
|
lawsynth_pgdata:
|
|
lawsynth_minio:
|
|
lawsynth_nats:
|
|
lawsynth_artifacts:
|