MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / formatDegradedBanner

Function formatDegradedBanner

src/mcp/tools.ts:444–451  ·  view source on GitHub ↗
(reason: string | null)

Source from the content-addressed store, hash-verified

442 * already names the operator remedy (`codegraph sync` / git hooks).
443 */
444export function formatDegradedBanner(reason: string | null): string {
445 return (
446 '⚠️ CodeGraph auto-sync is DISABLED — live file watching stopped, so the index is ' +
447 'frozen and any file edited since then is stale here. Read files directly to confirm ' +
448 'current content before relying on it.' +
449 (reason ? `\n Reason: ${reason}` : '')
450 );
451}
452
453/**
454 * MCP Tool definition

Callers 1

withStalenessNoticeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected