MCPcopy Create free account
hub / github.com/github/gh-aw / renderManagedCommentDisclosureNote

Function renderManagedCommentDisclosureNote

actions/setup/js/comment_memory.cjs:23–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21const MANAGED_COMMENT_HEADER = "### Comment Memory";
22
23function renderManagedCommentDisclosureNote() {
24 const promptsDir = process.env.GH_AW_PROMPTS_DIR || `${process.env.RUNNER_TEMP}/gh-aw/prompts`;
25 const templatePath = `${promptsDir}/comment_memory_disclosure_note.md`;
26 return renderTemplateFromFile(templatePath, {});
27}
28
29function sanitizeMemoryID(memoryID) {
30 const normalized = String(memoryID || "default").trim();

Callers 1

buildManagedMemoryBodyFunction · 0.85

Calls 1

renderTemplateFromFileFunction · 0.85

Tested by

no test coverage detected