checkpoint
This commit is contained in:
@@ -5,17 +5,16 @@ model: gemini-3.1-pro-preview
|
||||
tools:
|
||||
- read_file
|
||||
- list_directory
|
||||
- discovered_tool_search_files
|
||||
- search_files
|
||||
- grep_search
|
||||
- discovered_tool_get_file_summary
|
||||
- discovered_tool_get_python_skeleton
|
||||
- discovered_tool_get_code_outline
|
||||
- discovered_tool_get_git_diff
|
||||
- discovered_tool_web_search
|
||||
- discovered_tool_fetch_url
|
||||
- get_file_summary
|
||||
- get_python_skeleton
|
||||
- get_code_outline
|
||||
- get_git_diff
|
||||
- web_search
|
||||
- fetch_url
|
||||
- activate_skill
|
||||
- discovered_tool_run_powershell
|
||||
- tier3-worker
|
||||
- run_powershell
|
||||
---
|
||||
STRICT SYSTEM DIRECTIVE: You are a Tier 1 Orchestrator.
|
||||
Focused on product alignment, high-level planning, and track initialization.
|
||||
|
||||
@@ -7,18 +7,16 @@ tools:
|
||||
- write_file
|
||||
- replace
|
||||
- list_directory
|
||||
- discovered_tool_search_files
|
||||
- search_files
|
||||
- grep_search
|
||||
- discovered_tool_get_file_summary
|
||||
- discovered_tool_get_python_skeleton
|
||||
- discovered_tool_get_code_outline
|
||||
- discovered_tool_get_git_diff
|
||||
- discovered_tool_web_search
|
||||
- discovered_tool_fetch_url
|
||||
- get_file_summary
|
||||
- get_python_skeleton
|
||||
- get_code_outline
|
||||
- get_git_diff
|
||||
- web_search
|
||||
- fetch_url
|
||||
- activate_skill
|
||||
- discovered_tool_run_powershell
|
||||
- tier3-worker
|
||||
- tier4-qa
|
||||
- run_powershell
|
||||
---
|
||||
STRICT SYSTEM DIRECTIVE: You are a Tier 2 Tech Lead.
|
||||
Focused on architectural design and track execution.
|
||||
|
||||
@@ -7,19 +7,19 @@ tools:
|
||||
- write_file
|
||||
- replace
|
||||
- list_directory
|
||||
- discovered_tool_search_files
|
||||
- search_files
|
||||
- grep_search
|
||||
- discovered_tool_get_file_summary
|
||||
- discovered_tool_get_python_skeleton
|
||||
- discovered_tool_get_code_outline
|
||||
- discovered_tool_get_git_diff
|
||||
- discovered_tool_web_search
|
||||
- discovered_tool_fetch_url
|
||||
- get_file_summary
|
||||
- get_python_skeleton
|
||||
- get_code_outline
|
||||
- get_git_diff
|
||||
- web_search
|
||||
- fetch_url
|
||||
- activate_skill
|
||||
- discovered_tool_run_powershell
|
||||
- run_powershell
|
||||
---
|
||||
STRICT SYSTEM DIRECTIVE: You are a stateless Tier 3 Worker (Contributor).
|
||||
Your goal is to implement specific code changes or tests based on the provided task.
|
||||
You have access to tools for reading and writing files, codebase investigation, and web tools.
|
||||
You CAN execute PowerShell scripts or run shell commands via discovered_tool_run_powershell for verification and testing.
|
||||
You CAN execute PowerShell scripts or run shell commands via run_powershell for verification and testing.
|
||||
Follow TDD and return success status or code changes. No pleasantries, no conversational filler.
|
||||
|
||||
@@ -5,19 +5,19 @@ model: gemini-2.5-flash-lite
|
||||
tools:
|
||||
- read_file
|
||||
- list_directory
|
||||
- discovered_tool_search_files
|
||||
- search_files
|
||||
- grep_search
|
||||
- discovered_tool_get_file_summary
|
||||
- discovered_tool_get_python_skeleton
|
||||
- discovered_tool_get_code_outline
|
||||
- discovered_tool_get_git_diff
|
||||
- discovered_tool_web_search
|
||||
- discovered_tool_fetch_url
|
||||
- get_file_summary
|
||||
- get_python_skeleton
|
||||
- get_code_outline
|
||||
- get_git_diff
|
||||
- web_search
|
||||
- fetch_url
|
||||
- activate_skill
|
||||
- discovered_tool_run_powershell
|
||||
- run_powershell
|
||||
---
|
||||
STRICT SYSTEM DIRECTIVE: You are a stateless Tier 4 QA Agent.
|
||||
Your goal is to analyze errors, summarize logs, or verify tests.
|
||||
You have access to tools for reading files, exploring the codebase, and web tools.
|
||||
You CAN execute PowerShell scripts or run shell commands via discovered_tool_run_powershell for diagnostics.
|
||||
You CAN execute PowerShell scripts or run shell commands via run_powershell for diagnostics.
|
||||
ONLY output the requested analysis. No pleasantries.
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
"enableAgents": true
|
||||
},
|
||||
"tools": {
|
||||
"discoveryCommand": "uv run python C:/projects/manual_slop/scripts/tool_discovery.py",
|
||||
"callCommand": "uv run python C:/projects/manual_slop/scripts/tool_call.py",
|
||||
"whitelist": [
|
||||
"*"
|
||||
]
|
||||
],
|
||||
"discoveryCommand": "type .gemini\\tools.json",
|
||||
"callCommand": "python scripts/tool_call.py"
|
||||
},
|
||||
"hooks": {
|
||||
"BeforeTool": [
|
||||
|
||||
143
.gemini/tools.json
Normal file
143
.gemini/tools.json
Normal file
@@ -0,0 +1,143 @@
|
||||
[
|
||||
{
|
||||
"name": "fetch_url",
|
||||
"description": "Fetch the full text content of a URL (stripped of HTML tags).",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "The full URL to fetch."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"url"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "get_code_outline",
|
||||
"description": "Get a hierarchical outline of a code file. This returns classes, functions, and methods with their line ranges and brief docstrings. Use this to quickly map out a file's structure before reading specific sections.",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string",
|
||||
"description": "Path to the code file (currently supports .py)."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "get_file_summary",
|
||||
"description": "Get a compact heuristic summary of a file without reading its full content. For Python: imports, classes, methods, functions, constants. For TOML: table keys. For Markdown: headings. Others: line count + preview. Use this before read_file to decide if you need the full content.",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string",
|
||||
"description": "Absolute or relative path to the file to summarise."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "get_git_diff",
|
||||
"description": "Returns the git diff for a file or directory. Use this to review changes efficiently without reading entire files.",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string",
|
||||
"description": "Path to the file or directory."
|
||||
},
|
||||
"base_rev": {
|
||||
"type": "string",
|
||||
"description": "Base revision (e.g. 'HEAD', 'HEAD~1', or a commit hash). Defaults to 'HEAD'."
|
||||
},
|
||||
"head_rev": {
|
||||
"type": "string",
|
||||
"description": "Head revision (optional)."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "get_python_skeleton",
|
||||
"description": "Get a skeleton view of a Python file. This returns all classes and function signatures with their docstrings, but replaces function bodies with '...'. Use this to understand module interfaces without reading the full implementation.",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string",
|
||||
"description": "Path to the .py file."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "run_powershell",
|
||||
"description": "Run a PowerShell script within the project base_dir. Use this to create, edit, rename, or delete files and directories. stdout and stderr are returned to you as the result.",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"script": {
|
||||
"type": "string",
|
||||
"description": "The PowerShell script to execute."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"script"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "search_files",
|
||||
"description": "Search for files matching a glob pattern within an allowed directory. Supports recursive patterns like '**/*.py'. Use this to find files by extension or name pattern.",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string",
|
||||
"description": "Absolute path to the directory to search within."
|
||||
},
|
||||
"pattern": {
|
||||
"type": "string",
|
||||
"description": "Glob pattern, e.g. '*.py', '**/*.toml', 'src/**/*.rs'."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path",
|
||||
"pattern"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "web_search",
|
||||
"description": "Search the web using DuckDuckGo. Returns the top 5 search results with titles, URLs, and snippets.",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"query": {
|
||||
"type": "string",
|
||||
"description": "The search query."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"query"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
17
.gemini/tools/fetch_url.json
Normal file
17
.gemini/tools/fetch_url.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "fetch_url",
|
||||
"description": "Fetch the full text content of a URL (stripped of HTML tags).",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "The full URL to fetch."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"url"
|
||||
]
|
||||
},
|
||||
"command": "python scripts/tool_call.py fetch_url"
|
||||
}
|
||||
17
.gemini/tools/get_code_outline.json
Normal file
17
.gemini/tools/get_code_outline.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "get_code_outline",
|
||||
"description": "Get a hierarchical outline of a code file. This returns classes, functions, and methods with their line ranges and brief docstrings. Use this to quickly map out a file's structure before reading specific sections.",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string",
|
||||
"description": "Path to the code file (currently supports .py)."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
]
|
||||
},
|
||||
"command": "python scripts/tool_call.py get_code_outline"
|
||||
}
|
||||
17
.gemini/tools/get_file_summary.json
Normal file
17
.gemini/tools/get_file_summary.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "get_file_summary",
|
||||
"description": "Get a compact heuristic summary of a file without reading its full content. For Python: imports, classes, methods, functions, constants. For TOML: table keys. For Markdown: headings. Others: line count + preview. Use this before read_file to decide if you need the full content.",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string",
|
||||
"description": "Absolute or relative path to the file to summarise."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
]
|
||||
},
|
||||
"command": "python scripts/tool_call.py get_file_summary"
|
||||
}
|
||||
25
.gemini/tools/get_git_diff.json
Normal file
25
.gemini/tools/get_git_diff.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"name": "get_git_diff",
|
||||
"description": "Returns the git diff for a file or directory. Use this to review changes efficiently without reading entire files.",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string",
|
||||
"description": "Path to the file or directory."
|
||||
},
|
||||
"base_rev": {
|
||||
"type": "string",
|
||||
"description": "Base revision (e.g. 'HEAD', 'HEAD~1', or a commit hash). Defaults to 'HEAD'."
|
||||
},
|
||||
"head_rev": {
|
||||
"type": "string",
|
||||
"description": "Head revision (optional)."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
]
|
||||
},
|
||||
"command": "python scripts/tool_call.py get_git_diff"
|
||||
}
|
||||
17
.gemini/tools/get_python_skeleton.json
Normal file
17
.gemini/tools/get_python_skeleton.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "get_python_skeleton",
|
||||
"description": "Get a skeleton view of a Python file. This returns all classes and function signatures with their docstrings, but replaces function bodies with '...'. Use this to understand module interfaces without reading the full implementation.",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string",
|
||||
"description": "Path to the .py file."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
]
|
||||
},
|
||||
"command": "python scripts/tool_call.py get_python_skeleton"
|
||||
}
|
||||
17
.gemini/tools/run_powershell.json
Normal file
17
.gemini/tools/run_powershell.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "run_powershell",
|
||||
"description": "Run a PowerShell script within the project base_dir. Use this to create, edit, rename, or delete files and directories. stdout and stderr are returned to you as the result.",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"script": {
|
||||
"type": "string",
|
||||
"description": "The PowerShell script to execute."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"script"
|
||||
]
|
||||
},
|
||||
"command": "python scripts/tool_call.py run_powershell"
|
||||
}
|
||||
22
.gemini/tools/search_files.json
Normal file
22
.gemini/tools/search_files.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "search_files",
|
||||
"description": "Search for files matching a glob pattern within an allowed directory. Supports recursive patterns like '**/*.py'. Use this to find files by extension or name pattern.",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string",
|
||||
"description": "Absolute path to the directory to search within."
|
||||
},
|
||||
"pattern": {
|
||||
"type": "string",
|
||||
"description": "Glob pattern, e.g. '*.py', '**/*.toml', 'src/**/*.rs'."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path",
|
||||
"pattern"
|
||||
]
|
||||
},
|
||||
"command": "python scripts/tool_call.py search_files"
|
||||
}
|
||||
17
.gemini/tools/web_search.json
Normal file
17
.gemini/tools/web_search.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "web_search",
|
||||
"description": "Search the web using DuckDuckGo. Returns the top 5 search results with titles, URLs, and snippets.",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"query": {
|
||||
"type": "string",
|
||||
"description": "The search query."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"query"
|
||||
]
|
||||
},
|
||||
"command": "python scripts/tool_call.py web_search"
|
||||
}
|
||||
Reference in New Issue
Block a user