MCPcopy Create free account
hub / github.com/garrytan/gstack / doctor

Function doctor

test/gbrain-cycle-completed.test.ts:59–61  ·  view source on GitHub ↗
(check: { name: string; status: string; message?: string } | null)

Source from the content-addressed store, hash-verified

57const SRC = "gstack-code-gstack-c5994d95";
58
59function doctor(check: { name: string; status: string; message?: string } | null): string {
60 return JSON.stringify({ checks: check ? [check] : [] });
61}
62
63describe("cycleCompleted", () => {
64 it("returns 'completed' when cycle_freshness is ok", () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected