@kentwynn/kgraph 0.1.8 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,7 +4,11 @@ export const copilotAdapter = {
|
|
|
4
4
|
targetPath: '.github/copilot-instructions.md',
|
|
5
5
|
instructions: `## KGraph Workflow
|
|
6
6
|
|
|
7
|
-
Before exploring the repository, run \`kgraph context "<topic>"\` to load existing repo intelligence.
|
|
7
|
+
1. Before exploring the repository, run \`kgraph context "<topic>"\` to load existing repo intelligence.
|
|
8
|
+
2. Use the returned files, symbols, relationships, and cognition before broad exploration.
|
|
9
|
+
3. After durable discoveries (architecture decisions, debugging insights, structural findings), write a concise Markdown note to \`.kgraph/inbox/\` and immediately run \`kgraph update\`.
|
|
10
|
+
4. If you created, moved, deleted, or renamed files or symbols, run \`kgraph scan\`.
|
|
11
|
+
5. Use /kgraph-scan, /kgraph-update, /kgraph-visualize, and /kgraph-history for manual maintenance steps.
|
|
8
12
|
`,
|
|
9
13
|
commandFiles: [
|
|
10
14
|
{
|
|
@@ -9,7 +9,11 @@ alwaysApply: true
|
|
|
9
9
|
|
|
10
10
|
## KGraph Workflow
|
|
11
11
|
|
|
12
|
-
Before exploring the repository, run \`kgraph context "<topic>"\` to load existing repo intelligence.
|
|
12
|
+
- Before exploring the repository, run \`kgraph context "<topic>"\` to load existing repo intelligence.
|
|
13
|
+
- After durable discoveries (architecture decisions, debugging insights, structural findings), write a concise Markdown note to \`.kgraph/inbox/\` and immediately run \`kgraph update\`.
|
|
14
|
+
- If you created, moved, deleted, or renamed files or symbols, run \`kgraph scan\`.
|
|
15
|
+
- Run \`kgraph visualize\` to open the interactive dependency graph at http://localhost:4242 with PNG export.
|
|
16
|
+
- Run \`kgraph history\` to review the timeline of past cognition sessions with git author attribution.
|
|
13
17
|
`,
|
|
14
18
|
obsoleteCommandFiles: ['.cursor/rules/kgraph-commands.mdc'],
|
|
15
19
|
};
|