Skip to content

Commit a4b7c37

Browse files
committed
update readme
1 parent d136371 commit a4b7c37

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,14 @@ M --> B
8282
- Active recall oriented conversation flow
8383
- System guided reasoning instead of direct answers
8484

85+
---
86+
### UI System (Claude-style Interface)
87+
- Centered chat layout inspired by Claude
88+
- Persistent sidebar (UI-level only, no DB persistence yet)
89+
- Dark / Light theme toggle system
90+
- Chat-first minimal interface design
91+
- Responsive input dock with action buttons
92+
8593
---
8694

8795
### Content Transformation Pipeline
@@ -95,11 +103,13 @@ M --> B
95103

96104
---
97105

98-
### Backend Protection Layer
106+
## Backend & Auth Protection Layer
99107
- Backend only AI execution
100108
- Environment variable protection
101109
- Global AI kill switch
102110
- API route protection
111+
- Google OAuth authentication via NextAuth
112+
- Session-based user identity system
103113
- Request rate limiting
104114
- Structured backend logging
105115
- Production aware request handling
@@ -154,7 +164,7 @@ M --> B
154164
### Learning Mode Flow
155165

156166
- User enters raw thought or confusion
157-
- Request passes authentication layer
167+
- Request passes Google OAuth (NextAuth Session Layer)
158168
- Request passes rate limiting layer (Redis)
159169
- Token usage is estimated before AI execution
160170
- AI cost budget is validated (Redis stored quota)
@@ -268,6 +278,7 @@ The pipeline only transforms user generated understanding.
268278
- Stateless serverless architecture
269279
- Protection before execution
270280
- Observability over assumptions
281+
- UI and backend are intentionally decoupled; UI state is currently ephemeral and will later migrate to persistent session storage
271282

272283
---
273284

@@ -277,12 +288,15 @@ The system is a production-capable MVP with core safety and cost-control archite
277288

278289
The system has production-grade UI and core backend protections in place, but is still evolving toward full production hardening in areas like observability, real-time streaming, and session persistence.
279290

291+
280292
Current limitations include:
281293
- Observability is limited to structured logging only; no tracing, metrics pipeline, or production monitoring dashboard is implemented yet.
282294
- No distributed quota coordination (single Redis instance)
283295
- Cost enforcement is based on token estimation and budget reservation logic, not real-time provider billing reconciliation.
284296
- No automated anomaly detection or abuse pattern detection system
285297
- Learning history exists in the system but is not yet fully leveraged into product features such as personalization, analytics, or memory-based reasoning.
298+
- Chat persistence layer is not yet implemented (no database-backed session storage)
299+
- Sidebar chat history is currently UI-level and not yet connected to backend storage
286300

287301
---
288302

0 commit comments

Comments
 (0)