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

Function read

scripts/skill-bench.js:581–585  ·  view source on GitHub ↗
(rel)

Source from the content-addressed store, hash-verified

579 */
580function snapshotTelemetry(tmpDir) {
581 const read = (rel) => {
582 const full = path.join(tmpDir, rel);
583 if (!fs.existsSync(full)) return 0;
584 return fs.readFileSync(full, 'utf8').split('\n').filter(Boolean).length;
585 };
586 return {
587 timing: read('.planning/telemetry/hook-timing.jsonl'),
588 audit: read('.planning/telemetry/audit.jsonl'),

Callers 1

snapshotTelemetryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected