docs(01-foundation-01): complete monorepo scaffolding and RLS tenant isolation plan

This commit is contained in:
2026-03-23 09:59:55 -06:00
parent 47e78627fd
commit 0054383be0
5 changed files with 230 additions and 20 deletions

View File

@@ -9,7 +9,7 @@ Requirements for beta-ready release. Each maps to roadmap phases.
### Channel Infrastructure
- [ ] **CHAN-01**: Channel Gateway normalizes messages from all channels into unified KonstructMessage format
- [x] **CHAN-01**: Channel Gateway normalizes messages from all channels into unified KonstructMessage format
- [ ] **CHAN-02**: User can interact with AI employee via Slack (Events API — @mentions, DMs, thread replies)
- [ ] **CHAN-03**: User can interact with AI employee via WhatsApp Business Cloud API
- [ ] **CHAN-04**: WhatsApp adapter enforces business-function scoping per Meta 2026 policy
@@ -33,10 +33,10 @@ Requirements for beta-ready release. Each maps to roadmap phases.
### Multi-Tenancy & Security
- [ ] **TNNT-01**: All tenant data is isolated via PostgreSQL Row Level Security
- [ ] **TNNT-02**: Inbound messages are resolved to the correct tenant via channel metadata
- [ ] **TNNT-03**: Per-tenant Redis namespace isolation for cache and session state
- [ ] **TNNT-04**: All data encrypted at rest (PostgreSQL, object storage) and in transit (TLS 1.3)
- [x] **TNNT-01**: All tenant data is isolated via PostgreSQL Row Level Security
- [x] **TNNT-02**: Inbound messages are resolved to the correct tenant via channel metadata
- [x] **TNNT-03**: Per-tenant Redis namespace isolation for cache and session state
- [x] **TNNT-04**: All data encrypted at rest (PostgreSQL, object storage) and in transit (TLS 1.3)
### Admin Portal
@@ -95,7 +95,7 @@ Which phases cover which requirements. Updated during roadmap creation.
| Requirement | Phase | Status |
|-------------|-------|--------|
| CHAN-01 | Phase 1 | Pending |
| CHAN-01 | Phase 1 | Complete |
| CHAN-02 | Phase 1 | Pending |
| CHAN-03 | Phase 2 | Pending |
| CHAN-04 | Phase 2 | Pending |
@@ -110,10 +110,10 @@ Which phases cover which requirements. Updated during roadmap creation.
| LLM-01 | Phase 1 | Pending |
| LLM-02 | Phase 1 | Pending |
| LLM-03 | Phase 3 | Pending |
| TNNT-01 | Phase 1 | Pending |
| TNNT-02 | Phase 1 | Pending |
| TNNT-03 | Phase 1 | Pending |
| TNNT-04 | Phase 1 | Pending |
| TNNT-01 | Phase 1 | Complete |
| TNNT-02 | Phase 1 | Complete |
| TNNT-03 | Phase 1 | Complete |
| TNNT-04 | Phase 1 | Complete |
| PRTA-01 | Phase 1 | Pending |
| PRTA-02 | Phase 1 | Pending |
| PRTA-03 | Phase 3 | Pending |