docs: update STATUS.md for current state

- Update migration count to 11, add 011_item_files.sql
- Update endpoint count from 74 to 75
- Replace htmx reference with React SPA
- Add file attachments as complete feature
- Update test file count from 1 to 9
- Update date to 2026-02-08

Closes #27
This commit is contained in:
Forbes
2026-02-08 14:04:26 -06:00
parent d504de84a7
commit 124eac1391

View File

@@ -1,6 +1,6 @@
# Silo Development Status # Silo Development Status
**Last Updated:** 2026-02-06 **Last Updated:** 2026-02-08
--- ---
@@ -10,10 +10,10 @@
| Component | Status | Notes | | Component | Status | Notes |
|-----------|--------|-------| |-----------|--------|-------|
| PostgreSQL schema | Complete | 10 migrations applied | | PostgreSQL schema | Complete | 11 migrations applied |
| YAML schema parser | Complete | Supports enum, serial, constant, string segments | | YAML schema parser | Complete | Supports enum, serial, constant, string segments |
| Part number generator | Complete | Scoped sequences, category-based format | | Part number generator | Complete | Scoped sequences, category-based format |
| API server (`silod`) | Complete | 74 REST endpoints via chi/v5 | | API server (`silod`) | Complete | 75 REST endpoints via chi/v5 |
| CLI tool (`silo`) | Complete | Item registration and management | | CLI tool (`silo`) | Complete | Item registration and management |
| MinIO file storage | Complete | Upload, download, versioning, checksums | | MinIO file storage | Complete | Upload, download, versioning, checksums |
| Revision control | Complete | Append-only history, rollback, comparison, status/labels | | Revision control | Complete | Append-only history, rollback, comparison, status/labels |
@@ -28,7 +28,8 @@
| Audit logging | Complete | audit_log table, completeness scoring | | Audit logging | Complete | audit_log table, completeness scoring |
| CSRF protection | Complete | nosurf on web forms | | CSRF protection | Complete | nosurf on web forms |
| Fuzzy search | Complete | sahilm/fuzzy library | | Fuzzy search | Complete | sahilm/fuzzy library |
| Web UI | Complete | Items, projects, schemas, audit pages (htmx) | | Web UI | Complete | React SPA (Vite + TypeScript), 6 pages, Catppuccin Mocha theme |
| File attachments | Complete | Presigned uploads, item file association, thumbnails |
| Odoo ERP integration | Partial | Config and sync-log CRUD functional; push/pull are stubs | | Odoo ERP integration | Partial | Config and sync-log CRUD functional; push/pull are stubs |
| Docker Compose | Complete | Dev and production configurations | | Docker Compose | Complete | Dev and production configurations |
| Deployment scripts | Complete | setup-host, deploy, init-db, setup-ipa-nginx | | Deployment scripts | Complete | setup-host, deploy, init-db, setup-ipa-nginx |
@@ -46,7 +47,7 @@ FreeCAD workbench and LibreOffice Calc extension are maintained in separate repo
| Inventory API endpoints | Database tables exist, no REST handlers | | Inventory API endpoints | Database tables exist, no REST handlers |
| Date segment type | Schema parser placeholder only | | Date segment type | Schema parser placeholder only |
| Part number format validation | API accepts but does not validate format on creation | | Part number format validation | API accepts but does not validate format on creation |
| Unit tests | Minimal: 1 Go test file (`internal/ods/ods_test.go`) | | Unit tests | 9 Go test files across api, db, ods, partnum, schema packages |
--- ---
@@ -92,3 +93,4 @@ The schema defines 170 category codes across 10 groups:
| 008_odoo_integration.sql | Odoo ERP integration tables (integrations, sync_log) | | 008_odoo_integration.sql | Odoo ERP integration tables (integrations, sync_log) |
| 009_auth.sql | Authentication system (users, api_tokens, sessions, audit_log, user tracking columns) | | 009_auth.sql | Authentication system (users, api_tokens, sessions, audit_log, user tracking columns) |
| 010_item_extended_fields.sql | Extended item fields (sourcing_type, sourcing_link, standard_cost, long_description) | | 010_item_extended_fields.sql | Extended item fields (sourcing_type, sourcing_link, standard_cost, long_description) |
| 011_item_files.sql | Item file attachments (item_files table, thumbnail_key column) |