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

Function statusForStack

scripts/stack-plan.js:174–178  ·  view source on GitHub ↗
(reports, blocked)

Source from the content-addressed store, hash-verified

172}
173
174function statusForStack(reports, blocked) {
175 if (reports.length === 0) return 'no-stack';
176 if (blocked.length > 0) return 'blocked';
177 return 'approval-needed';
178}
179
180function buildNextAction(status, ordered) {
181 if (status === 'no-stack') {

Callers 1

assessStackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected