MCPcopy Create free account
hub / github.com/SethGammon/Citadel / severityForBody

Function severityForBody

core/codex/native-integrations.js:381–384  ·  view source on GitHub ↗
(body)

Source from the content-addressed store, hash-verified

379}
380
381function looksLikeCodexReviewItem(item, authorHint = 'codex') {
382 const author = String(itemAuthor(item)).toLowerCase();
383 const body = String(itemBody(item)).toLowerCase();
384 const hint = String(authorHint || 'codex').toLowerCase();
385 return author.includes(hint) || body.includes('@codex') || body.includes('codex review');
386}
387

Callers 1

ingestCodexReviewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected