Will Anderson 93096ea5b6 add sandbox stub service - 4-route placeholder until real soul wires up
Go HTTP server with five handlers:
  GET  /             -> 200 {env, status, soul}
  GET  /health       -> 200 {ok:true}
  POST /api/share    -> 410 not_available_in_sandbox
  GET  /said         -> 410 not_available_in_sandbox
  GET  /share/*      -> 410 not_available_in_sandbox
  any  other         -> 404 not_found

Distroless final image. Cross-compiled on host (Apple Silicon QEMU + Go
crashes with lfstack.push when go build runs inside an emulated linux/amd64
container). Pushed to us-central1-docker.pkg.dev/neuron-785695/neuron-sandbox/sandbox:initial.

Replaced when the real soul build pipeline lands.
2026-05-02 12:53:00 -05:00

sandbox-stub

Four-route placeholder for sandbox.neurontechnologies.ai. Replaced when the real soul build pipeline lands.

Routes

Method Path Status Body
GET / 200 {"env":"sandbox","status":"ready","soul":"not_loaded"}
GET /health 200 {"ok":true}
POST /api/share 410 {"error":"not_available_in_sandbox"}
GET /said 410 {"error":"not_available_in_sandbox"}
GET /share/* 410 {"error":"not_available_in_sandbox"}
any other 404 {"error":"not_found"}

Build + push

cd ~/Development/neuron-technologies/products/sandbox-stub
gcloud auth configure-docker us-central1-docker.pkg.dev --quiet
docker buildx build --platform linux/amd64 \
  -t us-central1-docker.pkg.dev/neuron-785695/neuron-sandbox/sandbox:initial \
  --push .

Why 410 on share / said

Sandbox runs experimental builds. Public artifact endpoints stay strictly in prod. 410 Gone makes the lockdown explicit even before the real soul wires up.

S
Description
4-route Go stub for sandbox.neurontechnologies.ai - placeholder until real soul ships there
Readme
26 KiB
Languages
Go 62.5%
Dockerfile 19.9%
Shell 17.6%