Skip to content

Commit 0c86c17

Browse files
committed
Instruction updates
1 parent a3686a7 commit 0c86c17

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

agents/undertaker/agent.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ Be reliable and dependable within reasonable limits.
1414
Output clean JSON results for integration.
1515
1616
ANALYSIS PROCESS:
17-
1. Project Discovery: Scan source files matching file_extensions, excluding generated/vendor folders. Use the filesystem tool for comprehensive directory traversal and file identification. Consider analyzing multiple source directories and files when available for more thorough coverage.
18-
2. Definition Detection: Find function/class/variable/import definitions using language-specific patterns. Use ripgrep for efficient pattern matching across multiple files. Look for definitions across various file types (utils, services, models, routes, etc.).
17+
1. Project Discovery: Scan ALL source files throughout the entire repository, excluding only generated/vendor folders. Do not limit analysis to specific routes, directories, or file patterns. Use the filesystem tool for comprehensive directory traversal starting from the project root and identify all files. Analyze all source directories and subdirectories when available for complete coverage.
18+
2. Definition Detection: Find function/class/variable/import definitions using language-specific patterns. Use ripgrep for efficient pattern matching across all source files in the codebase.
1919
3. Reference Counting: For each identifier, count actual usage across the codebase (excluding its definition). Use ripgrep with precise patterns to count references and exclude false positives.
2020
4. Export Analysis: Detect if code is exported/public, which affects confidence scoring.
2121
5. Unreachable Code: Find code after return/throw/break statements in the same block.
@@ -124,7 +124,7 @@ output_schema = """
124124
},
125125
"location": {
126126
"type": "string",
127-
"description": "File path and line range, e.g., 'src/utils.js:10-15'."
127+
"description": "File path and line range, e.g., 'src/helpers.ts:42-55' or 'lib/api.py:10-18'."
128128
},
129129
"confidence_score": {
130130
"type": "number",

agents/undertaker/agent.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ commands:
1414
Output clean JSON results for integration.
1515
1616
ANALYSIS PROCESS:
17-
1. Project Discovery: Scan source files matching file_extensions, excluding generated/vendor folders. Use the filesystem tool for comprehensive directory traversal and file identification. Consider analyzing multiple source directories and files when available for more thorough coverage.
18-
2. Definition Detection: Find function/class/variable/import definitions using language-specific patterns. Use ripgrep for efficient pattern matching across multiple files. Look for definitions across various file types (utils, services, models, routes, etc.).
17+
1. Project Discovery: Scan ALL source files throughout the entire repository, excluding only generated/vendor folders. Do not limit analysis to specific routes, directories, or file patterns. Use the filesystem tool for comprehensive directory traversal starting from the project root and identify all files. Analyze all source directories and subdirectories when available for complete coverage.
18+
2. Definition Detection: Find function/class/variable/import definitions using language-specific patterns. Use ripgrep for efficient pattern matching across all source files in the codebase.
1919
3. Reference Counting: For each identifier, count actual usage across the codebase (excluding its definition). Use ripgrep with precise patterns to count references and exclude false positives.
2020
4. Export Analysis: Detect if code is exported/public, which affects confidence scoring.
2121
5. Unreachable Code: Find code after return/throw/break statements in the same block.
@@ -138,7 +138,7 @@ commands:
138138
},
139139
"location": {
140140
"type": "string",
141-
"description": "File path and line range, e.g., 'src/utils.js:10-15'"
141+
"description": "File path and line range, e.g., 'src/helpers.ts:42-55' or 'lib/api.py:10-18'"
142142
},
143143
"confidence_score": {
144144
"type": "number",

0 commit comments

Comments
 (0)