Root cause: deploy-to-zhuyuan-server.yml prioritizes server/sites/portal/
over docs/ when deploying to production. PR #358 only updated docs/index.html,
so the old portal page kept being served at guanghulab.online.
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/139e14a6-7613-480a-a279-ba821323704a
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Create server/app/modules/persona-memory.js:
- PostgreSQL connection to age_os database
- Load 5-page notebook (identity, relationships, world, feelings, timeline)
- Load recent memory anchors (top 8 by importance)
- Load recent light tree leaves (last 3 for awakening context)
- Load relationship network
- Load user-specific memories for personalized responses
- Build enriched system prompt with all memory context
- Record conversation memories asynchronously after replies
- Grow light tree leaves for important conversations
- 5-minute cache for persona memory to reduce DB load
- Full graceful degradation: DB down → static persona prompt
Update chat-engine.js:
- Import and use persona-memory for enriched system prompts
- Record memory after each successful API response
- Grow tree leaves for important conversations
Update domestic-llm-gateway.js:
- Use persona-memory for enriched system prompts
- Record memory after successful CN relay and direct API responses
Update server.js:
- Load persona-memory module
- Add GET /api/memory/status endpoint
Add pg dependency to server/app/package.json
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/2e09fb7c-c501-4223-8734-5afac689ded9
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
- Replace hero landing with full-screen GPT-style chat interface
- Add left sidebar with chat history, search, and navigation
- Make chat window full-height (no more floating panel)
- Add user ID (编号) verification modal
- Add persona process visualization (brain activity indicators)
- Remove team member displays, replaced with dev status note
- Responsive design for PC (sidebar always visible) and mobile (hamburger menu)
- Keep backend API integration intact
- Keep all existing pages (editor, desk, etc.) accessible via sidebar nav
- Conversation history saved to localStorage with CRUD operations
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/6138ad64-32ec-4191-9730-de0bf24e87a8
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Changes:
- Remove the ugly 光 logo-mark icon (red arrow marked element)
- Add English translations below each Chinese text line
- Increase title size from 3.2rem to 4.5rem max
- Expand main container from 680px to 860px
- Add shimmer light sweep effect on title and tagline
- Add breathing scale animation on title
- Add typewriter effect on status badge text
- Add cursor blink animation
- Improve tagline layout with bilingual rows
- Enhance spacing, letter-spacing and visual hierarchy
- Keep favicon unchanged (browser tab icon is fine)
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/897b908e-8f31-4392-a0d2-7291dd6ad8bd
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
- Replace emoji 🌊 logo with CSS gradient "光" character in glass card
- Change tagline from "探索人类与AI共生的数字世界" to "用语言,建世界"
- Brighten ICP footer link color (text-dim → text-secondary)
- Update favicon from emoji to gradient SVG text
- Sync meta description and OG tags
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/90b67b46-e361-4b97-8f6e-fe4a0408a2e2
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>