MCPcopy Create free account
hub / github.com/cursor/plugins / isAndonActive

Function isAndonActive

orchestrate/skills/orchestrate/scripts/core/andon.ts:233–237  ·  view source on GitHub ↗
(
  andon: Andon | undefined
)

Source from the content-addressed store, hash-verified

231}
232
233export function isAndonActive(
234 andon: Andon | undefined
235): andon is Andon & { raisedAt: string } {
236 return Boolean(andon?.raisedAt && !andon.cleared);
237}
238
239function isValidAndon(value: unknown): value is Andon {
240 // Cached state JSON is git-fetched and partially untrusted, so validate via

Callers 5

printSweepHeartbeatFunction · 0.90
printLoopSummaryFunction · 0.90
registerInspectCommandsFunction · 0.90
drainEventsMethod · 0.85
isActiveMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected