Spaces:
Sleeping

phucsd commited on
Commit
b01d539
·
verified ·
1 Parent(s): ec1a44c

Deploy GitHub commit f81680443de94cdbd778f9e30e47e2d2392c100b

Browse files
42 files changed +1674 -177
Files changed (42)
.env.example+10-2
.github/workflows/deploy-hf.yml+23-3
.github/workflows/validation.yml+21-48
Dockerfile+32-4
README.md+14-8
apps/server/src/app.ts+24-2
apps/server/src/config/environment.ts+95-31
apps/server/src/config/environment.unit.test.ts+78-2
apps/server/src/database/create-database.ts+16-12
apps/server/src/database/migration-runner.integration.test.ts+4-8
apps/server/src/database/sqlite-system-database.ts+46-4
apps/server/src/database/transaction-runner.integration.test.ts+5-1
apps/server/src/http/routes.integration.test.ts+5-3
apps/server/src/index.ts+24-1
apps/server/src/observability/operational-metrics.tsAdded+84
apps/server/src/observability/operational-metrics.unit.test.tsAdded+35
apps/server/src/startup/bootstrap-database.tsAdded+44
apps/server/src/startup/database-bootstrap.tsAdded+72
apps/server/src/startup/database-bootstrap.unit.test.tsAdded+144
apps/server/src/startup/database-path.tsAdded+91
apps/server/src/startup/database-path.unit.test.tsAdded+109
apps/server/src/startup/legacy-database.integration.test.tsAdded+42
apps/server/src/startup/litestream-restorer.tsAdded+50
apps/server/src/startup/litestream-restorer.unit.test.tsAdded+42
apps/server/src/system/runtime-witness-service.tsAdded+56
apps/server/src/system/runtime-witness.integration.test.tsAdded+84
docker/entrypoint.shAdded+14
docker/litestream.ymlAdded+14
docs/architecture/BACKUP_AND_RECOVERY.md+7-3
docs/architecture/DATABASE_MIGRATION_STRATEGY.md+9-2
docs/architecture/DEPLOYMENT.md+14-7
docs/architecture/FOUNDATION.md+1-1
docs/architecture/IMPLEMENTATION_SEQUENCE.md+2-1
docs/architecture/LOCAL_DEVELOPMENT.md+2-1
docs/architecture/OBJECT_STORAGE_V1.md+2-2
docs/architecture/PHASE3A_PERSISTENCE_KERNEL.md+23-11
docs/architecture/TECHNICAL_ARCHITECTURE_V1.md+19-14
docs/decisions/0017-sqlite-single-space-mvp.md+2-2
docs/decisions/0026-backup-recovery-and-scaling-exit.md+4
docs/decisions/0027-local-sqlite-with-hf-s3-replication.mdAdded+81
playwright.config.ts+3-4
scripts/run-docker-litestream-recovery.shAdded+227