ระยะการวิจัย ยังไม่ได้ตั้งค่า

Delivery & Operations

futureส่วนขยายภายหลัง
? GuidelineTN

Delivery & Operations

Safe delivery, reversible changes and production reliability

หน้านี้แสดงเป็นตัวอย่างเท่านั้น · แผนผังตามต้นแบบ ส่วนสภาพแวดล้อมจริงอยู่ในแผงท้ายหน้า

DEV

Development

  • Synthetic data
  • Fast feedback
  • Postgres ใน Docker
  • Verbose tracing
STAGING

Staging / UAT

  • De-identified data
  • Migration rehearsal
  • Visual/E2E tests
  • Stakeholder acceptance
PROD

Production

  • Strict RLS
  • Controlled releases
  • Backups and alerts
  • Incident response
RESEARCH

Research Sandbox

  • Snapshot datasets
  • No production write
  • Reproducible analysis
  • Export approvals

Delivery pipeline

Evidence-based release
01Plan & ADR

Scope, risks, contracts, owners, rollout

02Implement

Bounded slice, migrations, tests, docs

03Quality gates

Lint, types, unit, RLS, E2E, evals, security

04Staging

UAT, performance, migration and rollback rehearsal

05Approval

Engineering, security, product and data owner

06Release

Progressive rollout, feature flags, rollback ready

07Observe

SLO, errors, agent quality, data quality, user outcomes

Reliability controls

AreaControlEvidence
DatabaseBackups, PITR, migration rollback, restore drillRestore test report
ApplicationError budgets, health checks, graceful degradationSLO dashboard
AgentsBudgets, model fallback, circuit breaker, eval thresholdsTrace + eval report
SecuritySecret rotation, audit, incident playbooksSecurity review log
ResearchVersioned snapshots and analysis manifestDataset lineage

Incident flow

Detect

Alert from errors, security, data quality or agent eval regression

Contain

Disable route/tool/model, revoke capability or switch fallback

Recover

Rollback code/migration, restore data, re-run affected jobs

Learn

Post-incident review, new test/eval item and policy update

สภาพแวดล้อมจริงของต้นแบบบนโฮสต์นี้

รันอยู่
ส่วนสิ่งที่รันอยู่เปิด
เว็บNext.js ผ่าน systemd หลัง nginx + TLSดู
APIFastify ผ่าน systemd · `GET /health` ตรวจได้ดู
ฐานข้อมูลPostgreSQL 16 ใน Docker · migration ครบ · RLS บังคับทุกตาราง PIIดู
ที่เก็บหลักฐานMinIO (S3 SigV4) · ด่านยืนยันอัปโหลดห้าขั้นดู
ประตูโมเดลLiteLLM · ยังไม่มีคีย์ · ห้ามรัน LIVE จนกว่าผู้วิจัยจะกำหนดเพดานงบดู
Operational simplicity: เริ่มจาก 6 deployable components—Web/BFF, Application Core, Agent Runtime, Database, Worker และ Observability—โดยยังไม่แยก Microservices จนมีเหตุผลจาก Scale จริง