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

Function runStewardCycle

scripts/live-github-steward-proof.js:228–241  ·  view source on GitHub ↗
(workDir, cycle)

Source from the content-addressed store, hash-verified

226}
227
228function runStewardCycle(workDir, cycle) {
229 const stdout = run(process.execPath, [
230 path.join(workDir, '.agent-steward', 'deploy-steward.cjs'),
231 '--root',
232 workDir,
233 '--scan',
234 '--run',
235 '--deploy',
236 'node .agent-steward/fake-deploy.cjs',
237 '--cycle',
238 String(cycle),
239 ], { cwd: workDir });
240 return JSON.parse(stdout);
241}
242
243function parseJsonl(filePath) {
244 if (!fs.existsSync(filePath)) return [];

Callers 1

mainFunction · 0.85

Calls 1

runFunction · 0.70

Tested by

no test coverage detected