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

Function availableSources

core/memory/blocks.js:68–70  ·  view source on GitHub ↗
(projectRoot, candidates)

Source from the content-addressed store, hash-verified

66}
67
68function availableSources(projectRoot, candidates) {
69 return candidates.filter((entry) => exists(projectRoot, entry.path));
70}
71
72function extractDecisionLog(campaignText) {
73 const match = campaignText.match(/## Decision Log\s+([\s\S]*?)(?:\n## |\n<!--|$)/);

Callers 1

buildBlocksFunction · 0.85

Calls 1

existsFunction · 0.70

Tested by

no test coverage detected