Phase 1: Transplant Thoth source into Kiwi #2

Closed
opened 2026-03-28 14:59:51 -07:00 by pyr0ball · 0 comments
Owner

Migrate the legacy Thoth codebase into Kiwi and replace the Postgres/Alembic stack with CF-core SQLite.

Tasks

  • Copy Thoth source (app/, frontend/) into kiwi repo
  • Remove async SQLAlchemy, Alembic, PostgreSQL deps
  • Port 4 Alembic schema revisions → app/db/migrations/001–004_*.sql (integer PKs, no UUIDs)
  • Write app/db/store.py using CF-core get_connection() + run_migrations()
  • Replace app/core/config.py (pydantic-settings) with CF-core load_env() + require_env()
  • Add circuitforge-core editable install to pyproject.toml
  • Write manage.sh (start/stop/restart/status/logs/open)
  • Write compose.yml (api + web containers)
  • Smoke-test: health endpoint, barcode scan, inventory CRUD
Migrate the legacy Thoth codebase into Kiwi and replace the Postgres/Alembic stack with CF-core SQLite. ## Tasks - [ ] Copy Thoth source (app/, frontend/) into kiwi repo - [ ] Remove async SQLAlchemy, Alembic, PostgreSQL deps - [ ] Port 4 Alembic schema revisions → `app/db/migrations/001–004_*.sql` (integer PKs, no UUIDs) - [ ] Write `app/db/store.py` using CF-core `get_connection()` + `run_migrations()` - [ ] Replace `app/core/config.py` (pydantic-settings) with CF-core `load_env()` + `require_env()` - [ ] Add circuitforge-core editable install to `pyproject.toml` - [ ] Write `manage.sh` (start/stop/restart/status/logs/open) - [ ] Write `compose.yml` (api + web containers) - [ ] Smoke-test: health endpoint, barcode scan, inventory CRUD
pyr0ball added this to the Alpha milestone 2026-03-28 14:59:51 -07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Circuit-Forge/kiwi#2
No description provided.