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

Function appendDecision

graph-ui/src/adr/adr-model.ts:58–61  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

56
57/** Generic authoring scaffold; no repository facts are invented. */
58export function appendDecision(content: string): string {
59 const heading = content.trim() ? '\n\n---\n\n## Decision title' : '# Architecture decisions\n\n## Decision title';
60 return `${content.trimEnd()}${heading}\n\n**Status:** Proposed\n\n### Context\n\nWhat problem or constraint led to this decision?\n\n### Decision\n\nWhat will change, and why?\n\n### Alternatives\n\nWhich options were considered?\n\n### Consequences\n\nWhat benefits, costs, and follow-up work should readers know?\n`;
61}

Callers 1

startEditingFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected