- GET endpoints for all five Loop entity types:
GET /api/v1/material/:id,/material,/product/:id,/product,/offer/:id,/offer,/match/:id,/match,/transfer/:id,/transfer. - Minimal lab
GET /api/v1/node/infoendpoint for local node metadata. - Backup automation artifacts:
deploy/backup.sh, systemd backup service, and timer. categoryandstatusquery filters on list endpoints.- Migration
010_loop_indexes.sql: performance indexes on all loop_* tables (category, status, city columns, FK columns, created_at DESC). - Health endpoint now probes the database pool and returns
db: "ok"/"error"; responds503if the DB is unreachable. - Pool configuration:
DB_IDLE_TIMEOUT_MS,DB_CONNECTION_TIMEOUT_MS,REQUEST_TIMEOUT_MSwired through config into Fastify and pg Pool. - Docker Compose resource limits (CPU + memory) on all four services.
- Port
127.0.0.1:8088:8088exposed in Docker Compose for local dev.
DB_POOL_SIZEdefault raised from 10 to 20..env.docker.exampledocuments new pool/timeout vars.- Federation handshake responses now default to the preferred v0.2.0 context/version.
- Relay validation now restricts relayed event/entity combinations to supported lab event families.
deploy/setup.shnow provisions.env.dockerfor Docker-based operations.
- Rotated all
.env.dockersecrets (postgres, minio, better-auth).
- Prisma v7 ORM client and schema mappings for core tables.
- Interest and city data access now go through Prisma (raw SQL for PostGIS/search).
- City GIS filters (bbox/near/radius) and GeoJSON FeatureCollection endpoint.
- Route-level validation for city query parameters.
- Bun + Fastify API stack with Postgres, Redis, MinIO scaffolding.
- Full-text search materialized view and demo city data.
- OpenAPI JSON and Redoc documentation routes.
- Real-time interest SSE stream and BullMQ queue hooks.
- Migrated backend runtime from Node/Express to Bun/Fastify.
- Updated Docker Compose to include Postgres 18.1, Redis, and MinIO.
- Updated systemd service to run the Bun server.
- Auth is disabled by default; enable with
AUTH_ENABLED=trueandBETTER_AUTH_SECRET.
- Minimal interop lab demo endpoints (MaterialDNA → Offer → Match → Transfer).
- Loop event log + SSE stream for demo state updates.
- Lab demo scripts (seed + simulate + one-command runner).
- Privacy notice endpoint and in-memory metrics snapshot.
- Lab-only demo. No public pilots or deployments.