Add Phase 1 foundation: Go module, core types, DB infrastructure, config

Establish the project foundation with three packages:
- core: shared types (Header, Metadata, Value, ObjectType, UUID generation)
- db: SQLite migration framework, connection management (WAL, FK, busy
  timeout), transaction helpers (StartTX/EndTX), time conversion
- config: runtime configuration (DB path, blob store, Minio, gRPC addr)

Includes initial schema migration (001_initial.sql) with 13 tables covering
shared infrastructure, bibliographic data, and artifact repository. Full test
coverage for all packages, strict linting (.golangci.yaml), and Makefile.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-21 09:46:08 -07:00
parent 98990c6d76
commit bb2c7f7ef3
13 changed files with 1038 additions and 4 deletions

View File

@@ -38,9 +38,9 @@ Core formula: **artifacts + notes + graph structure = exocortex**
Remote access:
┌────────┐ HTTPS ┌─────────────────────┐ Tailscale ┌──────┐
│ Mobile │──────────►│ Reverse Proxy │────────────►│ exod │
│ Device │ │ (TLS + basic auth) │ │ │
└────────┘ └─────────────────────┘ └──────┘
│ Mobile │──────────►│ Reverse Proxy │────────────►│ exod │
│ Device │ │ (TLS + basic auth) │ │ │
└────────┘ └─────────────────────┘ └──────┘
```
Three runtime components exist:
@@ -395,7 +395,7 @@ A single Kotlin desktop application handles both artifact management and knowled
│ Outline │ • Note editor (cell-based) │
│ View │ • Artifact detail (citation, snapshots) │
│ │ • Search results │
│ │ • Catalog (items needing attention)
│ │ • Catalog (items needing attention) │
│ │ │
├──────────────┴──────────────────────────────────────────────┤
│ [Graph View toggle] │