feat: unify Luca identity across dashboard and Telegram#212
Merged
Conversation
- Extract shared LUCA_CORE_PROMPT into src/lib/luca-core-prompt.ts — same data integrity rules, same analyst discipline, same persona - Dashboard chat and Telegram bot both import from the shared core; each appends its own format instructions (markdown vs plain text) - Add @asklucaai Telegram link in the dashboard chat topbar so users know they are talking to the same Luca that is live on Telegram - Fix Telegram link on /luca page: t.me/AskLucaBot → t.me/asklucaai - Fix X handle on /luca page: x.com/AskLucaAI → x.com/zettaaidotco Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RjpGP3kYKnQuQAUoK6RZky
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Billing is not yet a real surface — redirect to overview rather than showing a stub page. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RjpGP3kYKnQuQAUoK6RZky
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
src/lib/luca-core-prompt.tsexportsLUCA_CORE_PROMPT(identity, analyst discipline, data integrity rules), plusLUCA_TELEGRAM_PROMPTandLUCA_DASHBOARD_PROMPTwhich extend it with format-specific instructions. Both the dashboard chat route and Telegram bot now import from this single source.@asklucaaias a Telegram link, making it clear it's the same Luca/lucapage links — Telegram link corrected tot.me/asklucaai, X handle tox.com/zettaaidotcoWhy this matters
Before this, the dashboard Luca and Telegram Luca had separate, diverging system prompts. Over time they would drift into different personalities. Now there's a single source of truth — change the core once and both interfaces reflect it.
Generated by Claude Code