You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-2Lines changed: 16 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,6 +82,14 @@ M --> B
82
82
- Active recall oriented conversation flow
83
83
- System guided reasoning instead of direct answers
84
84
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
+
85
93
---
86
94
87
95
### Content Transformation Pipeline
@@ -95,11 +103,13 @@ M --> B
95
103
96
104
---
97
105
98
-
###Backend Protection Layer
106
+
## Backend & Auth Protection Layer
99
107
- Backend only AI execution
100
108
- Environment variable protection
101
109
- Global AI kill switch
102
110
- API route protection
111
+
- Google OAuth authentication via NextAuth
112
+
- Session-based user identity system
103
113
- Request rate limiting
104
114
- Structured backend logging
105
115
- Production aware request handling
@@ -154,7 +164,7 @@ M --> B
154
164
### Learning Mode Flow
155
165
156
166
- User enters raw thought or confusion
157
-
- Request passes authentication layer
167
+
- Request passes Google OAuth (NextAuth Session Layer)
158
168
- Request passes rate limiting layer (Redis)
159
169
- Token usage is estimated before AI execution
160
170
- AI cost budget is validated (Redis stored quota)
@@ -268,6 +278,7 @@ The pipeline only transforms user generated understanding.
268
278
- Stateless serverless architecture
269
279
- Protection before execution
270
280
- Observability over assumptions
281
+
- UI and backend are intentionally decoupled; UI state is currently ephemeral and will later migrate to persistent session storage
271
282
272
283
---
273
284
@@ -277,12 +288,15 @@ The system is a production-capable MVP with core safety and cost-control archite
277
288
278
289
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.
279
290
291
+
280
292
Current limitations include:
281
293
- Observability is limited to structured logging only; no tracing, metrics pipeline, or production monitoring dashboard is implemented yet.
282
294
- No distributed quota coordination (single Redis instance)
283
295
- Cost enforcement is based on token estimation and budget reservation logic, not real-time provider billing reconciliation.
284
296
- No automated anomaly detection or abuse pattern detection system
285
297
- 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
0 commit comments