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

Function observedDrafts

graph-ui/src/compiler/card-compiler.ts:503–513  ·  view source on GitHub ↗
(packet: FactPacket, rank: number)

Source from the content-addressed store, hash-verified

501}
502
503function observedDrafts(packet: FactPacket, rank: number): Draft[] {
504 return packet.observed.map((entry) => ({
505 kind: 'observed' as const,
506 lines: [
507 `An imported recording saw ${entry.from} call ${entry.to} ${entry.count} time(s)`
508 + `${entry.lastSeen === undefined ? '' : `, last on ${entry.lastSeen}`}.`,
509 'This is an observation, not a reading of the index.',
510 ],
511 rank,
512 }));
513}
514
515/**
516 * The order the cards go in, per class.

Callers 1

compileCardsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected