phase 1 core platform

Phase 1 — Risks

- Bloom filter for revoked tokens (architecture mentions; Phase 2) - JWT session tokens for dashboard (Phase 3+ / separate track) - `make db-reset` destructive helper (only if safely documented)

Phase 1 — Risks

RiskLikelihoodImpactMitigation
Migration tool fails on Windows Git BashMediumBlocks local devTest in 1.1.1; document PowerShell alternative; CI migration smoke on Linux
RLS misconfiguration leaks tenant dataLowCriticalCross-tenant integration tests mandatory; explicit org_id in queries per AGENTS.md
Auth gRPC adds latency to proxyMediumSLO riskStrict timeouts; cache layer in Phase 2 optional milestone
Scope creep into full DATABASE_SCHEMAHighSchedule slipMilestone 1.1.1 limits to orgs + tokens; extend in Phase 3
Buf breaking on new auth protoLowCI failFollow ADR-0004; initial import may skip breaking once
Custom metrics vs Prometheus client driftMediumOps confusionGoal 1.3 migrates or documents parity
Solo dev bottleneck on Python laterMediumPhase 3 delayPhase 1 stays Go-only; Python scaffold deferred

Pivot triggers

ConditionAction
Migrations cannot support pgvector extension in same DBSplit auth DB vs memory DB (ADR + FINDINGS)
gRPC auth too slow for proxy budgetAdd LRU cache milestone before Phase 2
OpenAI request shape unstableFreeze internal normalized type in 1.2.2; adapter handles provider quirks in Phase 2

Optional milestones (defer if schedule pressure)

  • Bloom filter for revoked tokens (architecture mentions; Phase 2)
  • JWT session tokens for dashboard (Phase 3+ / separate track)
  • make db-reset destructive helper (only if safely documented)
Edit on GitHub

Last updated on

On this page

0%