MCPcopy Create free account
hub / github.com/ByBrawe/opencode-loop / normalizeActionForCompare

Function normalizeActionForCompare

src/index.js:1363–1365  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

1361 if (job.goalNoProgressReason)
1362 lines.push("## No-progress guard", "", String(job.goalNoProgressReason), "");
1363 if (job.goalAcceptance?.length)
1364 lines.push("## Acceptance criteria", "", ...job.goalAcceptance.map((item) => `- ${item}`), "");
1365 if (job.lastGoalChecks?.length) {
1366 lines.push("## Latest checks", "");
1367 for (const item of job.lastGoalChecks)
1368 lines.push(`- ${item.command}: exit ${item.code}`);

Callers 1

sameLoopDefinitionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected