xonecas.io
62159
Sy

symb / commit 83e75c3

fix: remove old docs, add comfig example

xonecas2026-02-19 83e75c3581e28e742c29360cfd5bf285e8474c76 parent 559b372

2 files changed

config.example.toml+18−0
@@ -0,0 +1,18 @@
1+# Symb Example Configuration File
2+
3+# Default provider (optional - if not set, first provider in map is used)
4+default_provider = "ollama-qwen"
5+
6+# Ollama providers (local)
7+[providers.ollama-qwen]
8+endpoint = "http://localhost:11434"
9+model = "qwen3:8b"
10+
11+[providers.zen]
12+model = "glm-5"
13+
14+[ui]
15+# TODO
16+
17+[cache]
18+ttl_hours = 24
editfeedback.md+0−36
@@ -1,36 +0,0 @@
1-**Analysis of `edit.go`:**
2-
3-The core design is solid. Hashline anchoring works. What could be improved:
4-
5-**1. Error messages are too generic**
6-```go
7-// Current (line 83 in hashline.go):
8-"hash mismatch at line %d: expected %s, got %s"
9-```
10-Could include: actual line content, suggestion to re-read
11-
12-**2. No diff in response**
13-Currently returns full file with new hashes. Could add optional diff:
14-```
15--3|old line
16-+4|new line
17-```
18-
19-**3. Verbose JSON structure**
20-```json
21-{"replace": {"start": {"line": 5, "hash": "ab"}, "end": {...}}}
22-```
23-Could simplify to `"start": "5ab"` or similar shorthand
24-
25-**4. No "dry run" / validation mode**
26-LLM could check if edit is safe before committing
27-
28-**What I'd keep:**
29-- Read-before-edit enforcement ✅
30-- Hash validation ✅
31-- LSP diagnostics ✅
32-
33-**Quick wins:**
34-- Enhanced error messages with context
35-- Optional diff output in response
36-- Maybe shorthand anchor syntax (`"5ab"` vs `{"line":5,"hash":"ab"}`)