@@ -11,6 +11,63 @@ User Accounts: Supports signup, login, and personalized user sessions.
1111Secure Authentication: Protects user data with industry-standard authentication practices.
1212Responsive Interface: Clean, intuitive UI for seamless interactions across devices.
1313
14+ Hard Problems Solved
15+
16+ Persistent AI memory
17+
18+ * Conversation memory is stored per authenticated user
19+ * Memory persists across sessions and influences future responses
20+
21+ Memory poisoning prevention
22+
23+ * Rejects trivial, low-signal, or unsafe inputs from being stored
24+ * Prevents deliberate manipulation of AI traits via spam or abuse
25+
26+ Content moderation with enforcement
27+
28+ * Adult / unsafe language detection
29+ * Warning system for violations
30+ * Automatic cooldown periods that temporarily block interaction
31+
32+ Adaptive personality system
33+
34+ * AI traits evolve gradually over time
35+ * Prevents sudden or extreme personality shifts
36+ * Trait changes are tied to sustained interaction patterns
37+
38+ State isolation
39+
40+ * Each user’s memory, traits, and moderation status are fully isolated
41+ * No cross-user contamination or shared behavioral state
42+
43+ How It Works (High Level)
44+
45+ * Rails controllers manage conversation flow and user state
46+ * Service objects handle:
47+
48+ * moderation checks
49+ * memory persistence
50+ * trait updates
51+ * Models store long-term memory, traits, and cooldown state
52+ * AI responses are generated using:
53+
54+ * stored memory
55+ * current trait values
56+ * moderation and cooldown status
57+
58+ Example Interaction
59+
60+ 1 . User submits adult or unsafe language
61+ 2 . Input is rejected and not written to memory
62+ 3 . Warning is issued to the user
63+ 4 . After repeated violations, a cooldown period is enforced
64+ 5 . When interaction resumes:
65+
66+ * prior memory is intact
67+ * personality traits persist
68+ * no degradation from rejected inputs
69+
70+
1471Technologies
1572
1673Backend: Ruby on Rails
0 commit comments