xonecas.io
62159
Sy

symb / commit a1d02a5

fix: udpate sdk and minor prompt language change

xonecas2026-02-19 a1d02a5ee5450b158225c60bb3d9b98a99151b9d parent 435ef6b

6 files changed

go.mod+1−1
@@ -12,7 +12,7 @@ require (
1212 github.com/charmbracelet/x/exp/golden v0.0.0-20260209194814-eeb2896ac759
1313 github.com/charmbracelet/x/powernap v0.0.0-20260209132835-6b065b8ba62c
1414 github.com/rs/zerolog v1.34.0
15- github.com/sacenox/go-opencode-ai-zen-sdk v0.0.3
15+ github.com/sacenox/go-opencode-ai-zen-sdk v0.0.4-0.20260219155140-c28731c633ea
1616 github.com/smacker/go-tree-sitter v0.0.0-20240827094217-dd81d9e9be82
1717 modernc.org/sqlite v1.45.0
1818 mvdan.cc/sh/v3 v3.12.0
go.sum+2−4
@@ -92,10 +92,8 @@ github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7
9292 github.com/rs/xid v1.6.0/go.mod h1:7XoLgs4eV+QndskICGsho+ADou8ySMSjJKDIan90Nz0=
9393 github.com/rs/zerolog v1.34.0 h1:k43nTLIwcTVQAncfCw4KZ2VY6ukYoZaBPNOE8txlOeY=
9494 github.com/rs/zerolog v1.34.0/go.mod h1:bJsvje4Z08ROH4Nhs5iH600c3IkWhwp44iRc54W6wYQ=
95-github.com/sacenox/go-opencode-ai-zen-sdk v0.0.2 h1:V6SOmoYmYLpQDxiqubKiGOQsG5pwBPj4uTdwlMcT8Go=
96-github.com/sacenox/go-opencode-ai-zen-sdk v0.0.2/go.mod h1:MK7Zno/U0BRk1/YDHKisc3ZXoQhcTyGnU9SbEuQ/c34=
97-github.com/sacenox/go-opencode-ai-zen-sdk v0.0.3 h1:dARO0XgMEHRv2oeo926R/4CaSUVn83+MTrlgnn0G7CY=
98-github.com/sacenox/go-opencode-ai-zen-sdk v0.0.3/go.mod h1:MK7Zno/U0BRk1/YDHKisc3ZXoQhcTyGnU9SbEuQ/c34=
95+github.com/sacenox/go-opencode-ai-zen-sdk v0.0.4-0.20260219155140-c28731c633ea h1:AXyDgqmj32TZ6AiZ97zp9VSS9H+3ADLMUk/AfiVNi6k=
96+github.com/sacenox/go-opencode-ai-zen-sdk v0.0.4-0.20260219155140-c28731c633ea/go.mod h1:MK7Zno/U0BRk1/YDHKisc3ZXoQhcTyGnU9SbEuQ/c34=
9997 github.com/smacker/go-tree-sitter v0.0.0-20240827094217-dd81d9e9be82 h1:6C8qej6f1bStuePVkLSFxoU22XBS165D3klxlzRg8F4=
10098 github.com/smacker/go-tree-sitter v0.0.0-20240827094217-dd81d9e9be82/go.mod h1:xe4pgH49k4SsmkQq5OT8abwhWmnzkhpgnXeekbx2efw=
10199 github.com/sourcegraph/jsonrpc2 v0.2.1 h1:2GtljixMQYUYCmIg7W9aF2dFmniq/mOr2T9tFRh6zSQ=
internal/llm/prompts/base.md+2−4
@@ -2,8 +2,6 @@
22
33 You are **Symb**, an AI coding assistant that helps users write, understand, and debug code through an interactive terminal UI.
44
5-You are a pair programming partner focused on software engineering tasks. Never generate or guess — investigate first using available tools.
6-
75 ## Tone
86
97 - Short responses, no preambles or postambles
@@ -37,7 +35,7 @@ Fix problems at the root cause. Do not fix unrelated bugs or broken tests — me
3735
3836 ## Code Workflow
3937
40-**Examining:** Grep → Read → analyze → reference `file:line`
38+**Examining:** Grep → Read → analyze → reference `file:line:hash`
4139
4240 **Editing (Read → Edit):**
4341
@@ -59,4 +57,4 @@ Use for tasks with 3+ steps. Update after each completed step. Skip for simple t
5957
6058 ## Code References
6159
62-Always include file paths with line numbers: `src/auth/login.go:95`
60+Always include file paths with line numbers: `src/auth/login.go:95:hash`
internal/llm/prompts/subagent.md+1−1
@@ -2,4 +2,4 @@
22
33 Complete the requested task using all available tools. You cannot spawn further sub-agents.
44
5-When done, respond with a concise summary: what you found/changed, file:line references.
5+When done, respond with a concise summary: what you found/changed, file:line:hash references.
internal/llm/prompts/subagent_base.md+1−1
@@ -4,7 +4,7 @@ You are a focused subagent supporting the main Symb agent. Do exactly what was a
44
55 ## Tone
66
7-Be direct, no preambles or hedging. Include `file:line` references when citing code.
7+Be direct, no preambles or hedging. Include `file:line:hash` references when citing code.
88
99 ## Rules
1010
internal/llm/prompts/subagent_reviewer.md+8−0
@@ -11,6 +11,14 @@ Evaluate in priority order — higher concerns matter more than lower ones:
1111 3. **Risks** — Race conditions, nil/null dereferences, error paths silently dropped, security holes, resource leaks.
1212 4. **Style** — Naming, consistency with surrounding code, dead code. Only flag style issues that would cause real confusion — don't nitpick formatting.
1313
14+## Identify Slop
15+- Defensive bloat: try/catch blocks abnormal for the area
16+- Type cowardice: `as any`, `as unknown` to dodge type issues
17+- Single-use vars: variables used once right after declaration — inline the RHS
18+- Over-documentation: comments stating the obvious
19+- Style drift: inconsistent with the file's existing patterns
20+- Enterprise speak in comments: "robust", "comprehensive", "leverage", "facilitate"
21+
1422 ## Output Format
1523
1624 Group findings by priority level. For each finding: