@handsupmin/gc-tree 0.7.16 → 0.7.17
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.
- package/dist/src/scaffold.js +2 -0
- package/package.json +1 -1
package/dist/src/scaffold.js
CHANGED
|
@@ -8,6 +8,7 @@ function renderCodexAgentsSnippet() {
|
|
|
8
8
|
'',
|
|
9
9
|
'- Treat the active gctree branch as a **gc-branch** when you describe it to users.',
|
|
10
10
|
'- gctree init installs SessionStart and UserPromptSubmit hooks that auto-check gc-tree before work.',
|
|
11
|
+
'- When you encounter an unfamiliar term, acronym, concept, or domain word, run `gctree resolve --query "<term>"` **before** grepping or reading code files. The gc-tree index is the first lookup, not the last resort.',
|
|
11
12
|
'- When a UserPromptSubmit hook provides `[gc-tree] PRE-TASK CONTEXT`, treat it as mandatory pre-reading before any tool use.',
|
|
12
13
|
'- If the injected summaries contain enough information to answer the question or complete the task, respond directly from them **without calling any tools**. Do not grep, explore, or read code files to confirm what the summaries already cover.',
|
|
13
14
|
'- Only use tools if the summaries are clearly insufficient — meaning the answer cannot be derived from them at all.',
|
|
@@ -113,6 +114,7 @@ function renderClaudeSnippet() {
|
|
|
113
114
|
'',
|
|
114
115
|
'- Treat the active gctree branch as a **gc-branch** in user-facing language.',
|
|
115
116
|
'- gctree init installs SessionStart and UserPromptSubmit hooks that auto-inject gc-tree context before every prompt.',
|
|
117
|
+
'- When you encounter an unfamiliar term, acronym, concept, or domain word, run `gctree resolve --query "<term>"` **before** grepping or reading code files. The gc-tree index is the first lookup, not the last resort.',
|
|
116
118
|
'- When a UserPromptSubmit hook provides `[gc-tree] PRE-TASK CONTEXT`, treat it as mandatory pre-reading before any tool use.',
|
|
117
119
|
'- If the injected summaries contain enough information to answer the question or complete the task, respond directly from them **without calling any tools**. Do not grep, explore, or read code files to confirm what the summaries already cover.',
|
|
118
120
|
'- Only use tools if the summaries are clearly insufficient — meaning the answer cannot be derived from them at all.',
|