graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
fix(tui): wrapping arithmetic in djb2 host-profile hash
Rach Pradhan3417d5633cb6
diff --git a/src/main.zig b/src/main.zigindex 1ed363c7..8b1d93c9 100644--- a/src/main.zig+++ b/src/main.zig@@ -10424,7 +10424,7 @@ const Agent = struct {if (_pos < g_cwd_display.len and g_cwd_display[_pos] != '/') continue;if (_pos > _start) {var _h: u32 = 5381;- for (g_cwd_display[_start.._pos]) |c| _h = ((_h << 5) + _h) + c;+ for (g_cwd_display[_start.._pos]) |c| _h = ((_h << 5) +% _h) +% c;if (_h == _h1 or _h == _h2 or _h == _h3) {g_obfs_select = true;break;