forked from colbymchenry/codegraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstructions-template.ts
More file actions
18 lines (17 loc) · 883 Bytes
/
Copy pathinstructions-template.ts
File metadata and controls
18 lines (17 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
* Marker constants for the legacy agent-instructions block.
*
* Codegraph used to write a `## CodeGraph` usage guide into each
* agent's instructions file (CLAUDE.md / AGENTS.md / GEMINI.md /
* codegraph.mdc / Kiro steering doc). That duplicated the guidance the
* MCP server already emits in its `initialize` response — every agent
* read the same playbook twice each turn (issue #529). The installer no
* longer writes an instructions file; the MCP server instructions in
* `mcp/server-instructions.ts` are the single source of truth.
*
* These markers are retained so install (self-heal on upgrade) and
* uninstall can find and strip the block a previous install wrote.
*/
/** Markers used by the marker-based section removal. */
export const CODEGRAPH_SECTION_START = '<!-- CODEGRAPH_START -->';
export const CODEGRAPH_SECTION_END = '<!-- CODEGRAPH_END -->';