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

Function readAppArtifacts

core/codex/native-integrations.js:229–236  ·  view source on GitHub ↗
(projectRoot = process.cwd())

Source from the content-addressed store, hash-verified

227}
228
229function readAppArtifacts(projectRoot = process.cwd()) {
230 const filePath = path.join(planningDir(path.resolve(projectRoot), 'artifacts'), 'codex-app-evidence.jsonl');
231 if (!fs.existsSync(filePath)) return [];
232 return fs.readFileSync(filePath, 'utf8')
233 .split(/\r?\n/)
234 .filter(Boolean)
235 .map((line) => JSON.parse(line));
236}
237
238function verifyAppArtifacts(options = {}) {
239 const projectRoot = path.resolve(options.projectRoot || process.cwd());

Callers 4

verifyAppArtifactsFunction · 0.85
testBridgeUtilitiesFunction · 0.85

Calls 1

planningDirFunction · 0.70

Tested by

no test coverage detected