Commit Graph

162 Commits

Author SHA1 Message Date
justin 0b5c3b260a Add self-host compose stack (Postgres, MinIO, backend, Caddy)
One env-driven compose stack stands up the whole system per ARCHITECTURE §2/§12. Postgres uses the pgvector image (pgvector + pg_trgm in contrib); MinIO is the S3-compatible store; Caddy reverse-proxies /api/* and /health* to the backend with an env-driven site address (':80' local, a domain for auto-HTTPS, or plain HTTP behind a Cloudflare Tunnel). Healthchecks and depends_on gate startup order.

.env.example documents twelve-factor config (DB, S3, SMTP, Caddy, model keys) with placeholders; no secrets in the repo. Verified end-to-end on the deploy target: all services healthy, /health/ready green against real Postgres.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Justin Paul <justin@jpaul.me>
2026-06-06 10:17:12 -04:00
justin 03aa9a3ca7 Scaffold FastAPI backend skeleton with health probes
Phase 0 foundation. uv-managed FastAPI app (package=false, runs from source via uv run). Layered seams in place: app/api for routers, app/core for config (pydantic-settings, fully env-driven) and the async SQLAlchemy engine; service/repository/domain layers land with the data model.

Exposes /health (liveness) and /health/ready (Postgres reachability via SELECT 1, 503 on failure) so the deploy wiring is verifiable before any data model exists. Includes a liveness test and the resolved uv.lock. Ignore pytest/ruff/mypy caches.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Justin Paul <justin@jpaul.me>
2026-06-06 10:16:58 -04:00
justin 4e115086e6 Add brand identity: Origin logo + monogram icon, palette, generator
Signed-off-by: Justin Paul <justin@jpaul.me>
2026-06-06 14:11:59 +00:00
justin 96a4ab0217 Add CLAUDE.md: handoff brief for Claude Code with invariants, stack, Phase 0 plan 2026-06-06 13:59:13 +00:00
justin d4ec166bca Add ARCHITECTURE v0.1: topology, data model, privacy engine, AI boundary, deploy 2026-06-06 13:58:23 +00:00
justin 4afe079753 Update CODE_OF_CONDUCT.md 2026-06-06 09:55:48 -04:00
justin d1e0a768ce Add Code of Conduct (Contributor Covenant 2.1) 2026-06-06 13:54:03 +00:00
justin 65b34a0efd Add CONTRIBUTING with DCO sign-off, dev setup, PR and security guidelines 2026-06-06 13:51:50 +00:00
justin ebd29f12e5 Add PRD v0.1: people + property, sources-first, AI propose-confirm, hints, phasing 2026-06-06 13:51:24 +00:00
justin 1fdb42b191 Rewrite README: source-available positioning, property tracking, AI/privacy model 2026-06-06 13:49:32 +00:00
justin e01f0168b7 Switch license from MIT to BUSL-1.1 (non-commercial; AGPL-3.0 change license, 4yr) 2026-06-06 13:49:03 +00:00
justin 176adf620f Initial commit: project narrative, license, gitignore 2026-06-06 12:51:41 +00:00