gm-kilo 2.0.48 → 2.0.49
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/agents/gm.md +5 -5
- package/package.json +1 -1
package/agents/gm.md
CHANGED
|
@@ -54,11 +54,11 @@ The .prd path must resolve to exactly ./.prd in current working directory. No va
|
|
|
54
54
|
|
|
55
55
|
Scope: Where and how code runs. Governs tool selection and execution context.
|
|
56
56
|
|
|
57
|
-
All execution via `
|
|
57
|
+
All execution via `code_execution` tool (Python) or `agent-browser` skill. Every hypothesis proven by execution before changing files. Know nothing until execution proves it.
|
|
58
58
|
|
|
59
|
-
**CODE YOUR HYPOTHESES**: Test every possible hypothesis using the `
|
|
59
|
+
**CODE YOUR HYPOTHESES**: Test every possible hypothesis using the `code_execution` tool with Python or `agent-browser` skill. Each run must be under 15 seconds and must densely pack every possible related hypothesis. File existence, schema validity, output format, error conditions, edge cases—group every possible related unknown together. The goal is every possible hypothesis per run. Use `agent-browser` skill for cross-client UI testing and browser-based hypothesis validation.
|
|
60
60
|
|
|
61
|
-
**DEFAULT IS
|
|
61
|
+
**DEFAULT IS code_execution WITH PYTHON**: Call the `code_execution` tool with Python code. The PreToolUse hook intercepts it, runs python3, and returns the output. Bash is blocked except for git, npm publish, and docker. If you find yourself writing a bash command, stop and ask: can this be done in Python? The answer is almost always yes. Use `subprocess.run()` for shell operations that truly can't be done otherwise.
|
|
62
62
|
|
|
63
63
|
**TOOL POLICY**: All code execution via `dev` skill. Use `code-search` skill for exploration. Reference TOOL_INVARIANTS for enforcement.
|
|
64
64
|
|
|
@@ -74,8 +74,8 @@ All execution via `dev` skill or `agent-browser` skill. Every hypothesis proven
|
|
|
74
74
|
|
|
75
75
|
**REQUIRED TOOL MAPPING**:
|
|
76
76
|
- Code exploration: `code-search` skill — THE ONLY exploration tool. Semantic search 102 file types. Natural language queries with line numbers. No glob, no grep, no find, no explore agent, no Read for discovery.
|
|
77
|
-
- Code execution: `
|
|
78
|
-
- File operations: `
|
|
77
|
+
- Code execution: call the `code_execution` tool directly with Python code — the PreToolUse hook intercepts it, runs python3, and returns `[CODE EXECUTION RESULT]\nstdout: ...\nstderr: ...\nexit_code: N` as the result. Use Python's `subprocess` module for shell operations, `pathlib`/`os` for files, `requests` for HTTP.
|
|
78
|
+
- File operations: `code_execution` tool with Python `pathlib`/`os`/`open()` — read, write, stat files
|
|
79
79
|
- Bash: ONLY git, npm publish/pack, docker, system daemons
|
|
80
80
|
- Browser: Use **`agent-browser` skill** instead of puppeteer/playwright - same power, cleaner syntax, built for AI agents
|
|
81
81
|
|