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

Function parseJsonl

scripts/live-github-steward-proof.js:243–248  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

241}
242
243function parseJsonl(filePath) {
244 if (!fs.existsSync(filePath)) return [];
245 const content = fs.readFileSync(filePath, 'utf8').trim();
246 if (!content) return [];
247 return content.split(/\r?\n/).map((line) => JSON.parse(line));
248}
249
250function collectProof(workDir, owner, repoName, repoUrl, transcript, args) {
251 const queue = readJson(path.join(workDir, '.agent-steward', 'queue.json'));

Callers 1

collectProofFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected