MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / stateMarkerLabel

Function stateMarkerLabel

graph-ui/src/twin/strings.ts:328–337  ·  view source on GitHub ↗
(state: KnowledgeState)

Source from the content-addressed store, hash-verified

326
327/** Short word shown next to a section heading whose fact is not a direct reading. */
328export function stateMarkerLabel(state: KnowledgeState): string {
329 switch (state) {
330 case 'inferred': return 'inferred';
331 case 'ambiguous': return 'ambiguous';
332 case 'unsupported': return 'not recorded';
333 case 'notIndexed': return 'not indexed';
334 case 'unknown': return 'no answer';
335 case 'known': return '';
336 }
337}
338
339/**
340 * One sentence saying why a fact is empty or untrusted.

Callers 1

StateMarkerFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected