Commit Graph

8 Commits

Author SHA1 Message Date
Greg Scher
31c305cbbb Escape Markdown in alert signals and cap OSINT text in ideas prompt
Addresses PR review: escape Markdown-sensitive characters in
_formatTieredAlert signal bullets to prevent Telegram Bot API
rejections, and add a 1500-char budget for URGENT_OSINT in
compactSweepForLLM to bound prompt size while keeping full text upstream.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 12:57:37 -04:00
Greg Scher
2d166c20e8 Remove remaining text truncation across delta engine, memory, and ideas
The prior fix (753c676) only removed truncation at source ingestion and
alert formatting. Signals were still being cut to 120 chars in the delta
engine, 80 chars in memory snapshots, and 120 chars in the ideas LLM
context — so OSINT posts arrived at the alerter already truncated.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 12:59:30 -04:00
Greg Scher
753c6766a0 Remove text truncation limits from Telegram posts
Posts were being cut to 300 chars (source ingestion) and 150 chars
(alert evaluation), losing valuable OSINT context. The sendMessage
chunker already handles the 4096-char Telegram API limit.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 16:49:58 -04:00
satoshipanic
801293356c fix(telegram): restore command auth boundary and scope command registration
Restrict command handling to TELEGRAM_CHAT_ID again to prevent arbitrary private chats from executing privileged bot commands. Keep reply routing, @BotName parsing, and long-message chunking while scoping setMyCommands to the configured chat only.

Made-with: Cursor
2026-03-18 08:20:32 +01:00
satoshipanic
28121298cf fix(telegram): split long messages at 4096 chars to avoid truncation
- Add TELEGRAM_MAX_TEXT and _chunkText(); send multiple messages when over limit
- Prefer newline boundaries to avoid breaking Markdown

Made-with: Cursor
2026-03-17 14:41:47 +01:00
satoshipanic
2a0b73e5a6 fix(telegram): register slash commands and support DM/group two-way bot
- Call setMyCommands on startup for private and group chat scopes
- Parse /cmd@BotName in groups; reply to originating chat
- Allow sendMessage chatId override for command replies

Made-with: Cursor
2026-03-17 14:41:47 +01:00
calesthio
3674fcb4f7 Crucix — agent with dashboard, delta engine, Telegram/Discord bots 2026-03-14 00:35:31 -07:00
calesthio
ef2c6470fb Initial release — Crucix Intelligence Engine v2.0.0
26-source OSINT intelligence engine with live Jarvis dashboard,
auto-refresh via SSE, optional LLM layer (4 providers), delta/memory
system, and Telegram breaking news alerts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 23:45:46 -07:00