v4.3.14: 죽은 코드 5개 정리 (readDailyMemoryContext, readMemoryCategories, renderTaskCandidatesForHuman, latestTaskForSession, buildBlockedTaskStatusMessage)
정의만 있고 호출부 없는 함수들. readDailyMemoryContext/readMemoryCategories는 Chroma 벡터 메모리(2026-07-24 도입, buildPersonalityContext의 [RECALLED_FACTS])가 관련성 기반 회상으로 대체하면서 이미 실질적으로 무용해진 상태였음.
This commit is contained in:
@@ -2105,14 +2105,6 @@ function createSSESender(res: express.Response): (event: string, data: any) => v
|
||||
return (type: string, data: any) => { try { res.write(`data: ${JSON.stringify({ type, ...data })}\n\n`); } catch {} };
|
||||
}
|
||||
|
||||
function renderTaskCandidatesForHuman(candidates: Array<Record<string, any>>): string {
|
||||
if (!Array.isArray(candidates) || candidates.length === 0) return 'No candidates found.';
|
||||
return candidates
|
||||
.slice(0, 3)
|
||||
.map((c, i) => `${i + 1}. ${c.title} [${c.status}] — Task ID: ${c.task_id}`)
|
||||
.join('\n');
|
||||
}
|
||||
|
||||
async function tryHandleBlockedTaskFollowup(sessionId: string, rawMessage: string): Promise<string | null> {
|
||||
if (String(sessionId || '').startsWith('task_')) return null;
|
||||
const message = String(rawMessage || '').trim();
|
||||
|
||||
Reference in New Issue
Block a user