Commit c119de9
fix: address multi-model code review findings
Fixes from 6-model consensus review (Claude + GPT + Gemini + Kimi + MiniMax + GLM-5):
1. training_remove: add name validation regex matching training_save
(Gemini finding — prevents path traversal via malformed names)
2. training_save: improve name transform to strip ALL non-alphanumeric
chars, not just whitespace (Gemini finding — "don't-use-float!"
now becomes "don-t-use-float" instead of failing regex)
3. incrementApplied: replace silent `.catch(() => {})` with warning
log (Kimi + GLM-5 consensus — fire-and-forget is by design but
failures should be visible in logs for debugging)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent f492a57 commit c119de9
File tree
4 files changed
+19
-26
lines changed- packages/opencode
- .github/meta
- src
- altimate/tools
- memory
4 files changed
+19
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
6 | 5 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
26 | 9 | | |
27 | 10 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
16 | 23 | | |
17 | 24 | | |
18 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
223 | 224 | | |
224 | 225 | | |
225 | 226 | | |
226 | | - | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
227 | 230 | | |
228 | 231 | | |
229 | 232 | | |
| |||
0 commit comments