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>
This commit is contained in:
@@ -271,7 +271,7 @@ export class TelegramAlerter {
|
||||
headline: `OSINT Surge: ${osintNew.length} New Urgent Posts`,
|
||||
reason: `${osintNew.length} new urgent OSINT signals detected. Elevated conflict reporting tempo.`,
|
||||
actionable: 'Review OSINT stream for pattern. Cross-check with satellite and ACLED data.',
|
||||
signals: osintNew.map(s => (s.text || '').substring(0, 40)).slice(0, 3),
|
||||
signals: osintNew.map(s => s.text || s.label || s.key).slice(0, 5),
|
||||
crossCorrelation: 'telegram OSINT',
|
||||
};
|
||||
}
|
||||
@@ -728,7 +728,10 @@ Respond with ONLY valid JSON:
|
||||
}
|
||||
|
||||
if (evaluation.signals?.length) {
|
||||
lines.push('', `Signals: ${evaluation.signals.join(' · ')}`);
|
||||
lines.push('', `*Signals:*`);
|
||||
for (const sig of evaluation.signals) {
|
||||
lines.push(`• ${sig}`);
|
||||
}
|
||||
}
|
||||
|
||||
lines.push('', `_${new Date().toISOString().replace('T', ' ').substring(0, 19)} UTC_`);
|
||||
|
||||
Reference in New Issue
Block a user