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

Function summarizeSnapshot

scripts/next-action.js:98–110  ·  view source on GitHub ↗
(snapshot)

Source from the content-addressed store, hash-verified

96}
97
98function summarizeSnapshot(snapshot) {
99 return {
100 nextAction: snapshot.nextAction,
101 pending: snapshot.pending,
102 gitStatus: snapshot.gitStatus,
103 problemSummary: snapshot.problemSummary,
104 repairs: (snapshot.repairs || []).map((repair) => ({
105 label: repair.label,
106 command: repair.command,
107 repairAvailable: repair.repairAvailable,
108 })),
109 };
110}
111
112function slugify(value) {
113 const slug = String(value || '')

Callers 1

resolveNextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected