Initial commit: establish deterministic rod-string solver stack.

Set up the C solver core, Node API orchestration, TS GUI workflow, and engineering documentation with cleaned repo hygiene for private Git hosting.

Made-with: Cursor
This commit is contained in:
2026-04-16 21:59:42 -06:00
commit 725a72a773
83 changed files with 14687 additions and 0 deletions

33
Makefile Normal file
View File

@@ -0,0 +1,33 @@
SHELL := /bin/bash
.PHONY: run down logs test smoke
run:
docker compose up --build
down:
docker compose down
logs:
docker compose logs -f
test:
cd solver-api && npm test
cd gui-ts && npm test
./solver-c/test_solver
smoke:
@echo "Checking API health..."
@for i in {1..30}; do \
if curl --fail --silent http://localhost:4400/health > /dev/null; then \
echo "API healthy"; \
break; \
fi; \
sleep 1; \
if [ $$i -eq 30 ]; then \
echo "API did not become healthy in time"; \
exit 1; \
fi; \
done
@echo "Checking solve endpoint with base case..."
@curl --fail --silent http://localhost:4400/solve/default > /dev/null && echo "Solve endpoint healthy"