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

Function looksLikeCodexReviewItem

core/codex/native-integrations.js:374–379  ·  view source on GitHub ↗
(item, authorHint = 'codex')

Source from the content-addressed store, hash-verified

372
373function itemAuthor(item) {
374 return item.author?.login || item.user?.login || item.user || item.author || '';
375}
376
377function itemBody(item) {
378 return item.body || item.comment || item.review || item.message || '';
379}
380
381function looksLikeCodexReviewItem(item, authorHint = 'codex') {
382 const author = String(itemAuthor(item)).toLowerCase();

Callers 1

ingestCodexReviewFunction · 0.85

Calls 2

itemAuthorFunction · 0.85
itemBodyFunction · 0.85

Tested by

no test coverage detected