MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / buildRefinePrompt

Function buildRefinePrompt

graph-ui/src/compiler/prompt-contract.ts:272–278  ·  view source on GitHub ↗
(blockText: string)

Source from the content-addressed store, hash-verified

270
271/** The user half of the refine prompt. */
272export function buildRefinePrompt(blockText: string): string {
273 return [
274 `Rewrite these ${blockText.split('\n').length} lines. Same count, same order, same numbers.`,
275 '',
276 blockText,
277 ].join('\n');
278}
279
280/**
281 * The reader prompt: word the same sentences for the person reading them.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected