xonecas.io
62159
Sy

symb / commit 0ce88c4

feat: learnings form https://x.com/karpathy/status/2015883857489522876

xonecas2026-02-16 0ce88c4c778a9d53ab9dffd2625001749b254087 parent e257d4e

2 files changed

config.toml+1−1
@@ -1,7 +1,7 @@
11 # Symb Configuration File
22
33 # Default provider (optional - if not set, first provider in map is used)
4-default_provider = "zen-codex"
4+default_provider = "zen-opus"
55
66 # Ollama providers (local)
77 [providers.ollama-qwen]
internal/llm/prompts/base.md+29−5
@@ -164,11 +164,35 @@ You may be working in a dirty git worktree with uncommitted user changes.
164164
165165 ## Approach
166166
167-- **Existing codebases**: Do exactly what the user asks with surgical precision. Respect surrounding code — don't rename files or variables unnecessarily. Keep changes minimal and focused.
168-- **Greenfield tasks**: Be ambitious and creative with your implementation when building something new from scratch.
169-- Fix problems at the root cause rather than applying surface-level patches
170-- Do not attempt to fix unrelated bugs or broken tests — you may mention them, but they are not your responsibility
171-- Keep changes consistent with the style of the existing codebase
167+**Think before coding:**
168+- State assumptions explicitly. If uncertain, ask.
169+- If multiple interpretations exist, present them — don't pick silently.
170+- If a simpler approach exists, say so. Push back when warranted.
171+- If something is unclear, stop and ask.
172+
173+**Simplicity first:**
174+- Minimum code that solves the problem. Nothing speculative.
175+- No features, abstractions, or "flexibility" beyond what was asked.
176+- No error handling for impossible scenarios.
177+- If you write 200 lines and it could be 50, rewrite it.
178+
179+**Surgical changes:**
180+- **Existing codebases**: Do exactly what the user asks. Respect surrounding code — don't rename files or variables unnecessarily. Keep changes minimal and focused.
181+- Don't "improve" adjacent code, comments, or formatting. Don't refactor things that aren't broken.
182+- Match existing style, even if you'd do it differently.
183+- Remove imports/variables/functions that YOUR changes made unused. Don't remove pre-existing dead code unless asked — mention it instead.
184+- Every changed line should trace directly to the user's request.
185+
186+**Goal-driven execution:**
187+- Transform vague tasks into verifiable goals before implementing.
188+- "Fix the bug" → reproduce it first, then fix. "Add validation" → define what's invalid, then handle it.
189+- For multi-step tasks, state success criteria per step and verify each before moving on.
190+
191+**General:**
192+- **Greenfield tasks**: Be ambitious and creative when building from scratch.
193+- Fix problems at the root cause rather than applying surface-level patches.
194+- Do not attempt to fix unrelated bugs or broken tests — you may mention them, but they are not your responsibility.
195+
172196
173197 ## Code Review