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

Function main

scripts/dashboard-server.js:423–443  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

421 age: problem.relative || 'unknown',
422 evidence: null,
423 });
424 }
425 }
426
427 const capsule = snapshot.operatorArtifacts && snapshot.operatorArtifacts.approvalCapsule;
428 if (capsule && capsule.path && capsule.stale === false) {
429 items.push({
430 kind: 'approval',
431 severity: 'action',
432 title: capsule.request || 'Approval requested',
433 detail: `risk: ${capsule.risk || 'unstated'} · boundary: ${capsule.boundary || 'unstated'}`,
434 age: capsule.freshness || 'unknown',
435 evidence: capsule.path,
436 });
437 }
438
439 const pending = snapshot.pending || {};
440 if (pending.mergeReviews > 0) {
441 items.push({
442 kind: 'merge-review',
443 severity: 'action',
444 title: `${pending.mergeReviews} fleet merge review${pending.mergeReviews === 1 ? '' : 's'} waiting`,
445 detail: 'fleet merge queue',
446 age: 'now',

Callers 1

Calls 4

createServerFunction · 0.85
openBrowserFunction · 0.85
parseArgsFunction · 0.70
usageFunction · 0.70

Tested by

no test coverage detected