graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
prank(tui): poop thinking spinner for blackfloofie (flagged, temporary)
yxlyx90dcae674c73
diff --git a/src/main.zig b/src/main.zigindex 2304e712..18f4babe 100644--- a/src/main.zig+++ b/src/main.zig@@ -2946,12 +2946,18 @@ const anims = [_]Anim{.{ .name = "matrix", .desc = "matrix rain strip", .frame = animMatrix },.{ .name = "pacman", .desc = "pac-man eating dots", .frame = animPacman },.{ .name = "starfield", .desc = "parallax stars", .frame = animStarfield },+ .{ .name = "poop", .desc = "a stinky poop wobbling", .frame = animPoop }, // PRANK: blackfloofie_poop_prank};var g_anim_index: usize = 0; // /animation selection (index into anims)var g_anim_random = false; // pick a fresh one per requestvar g_anim_off = false; // /animation offvar g_anim_current: usize = 0; // what spinnerTask draws right now+// PRANK — remove in a future release. Gives blackfloofie (Rach) a poop+// thinking spinner when graff runs from their home dir (/Users/rach). To+// remove: delete this flag, animPoop, the "poop" anims entry, and the cwd+// hook in main.+const blackfloofie_poop_prank = true;var g_shine_phase: usize = 0; // ultracode input-wave animation frame// Steering (Codex-style): bytes typed while a turn streams are captured@@ -3038,6 +3044,15 @@ fn animThinking(w: *Io.Writer) Io.Writer.Error!void {try w.print(" {s}thinking…{s}", .{ style.dim, style.reset });}+fn animPoop(w: *Io.Writer, i: usize) Io.Writer.Error!void {+ // PRANK (blackfloofie_poop_prank): a wobbly poop with stink lines.+ const wobble = [_][]const u8{ "", " ", " ", " ", "" };+ const stink = [_][]const u8{ "ˊ", "ˋ", "ˊ", "·", "ˋ" };+ try w.print("{s}{s}{s}{s}{s}{s}", .{ style.dim, stink[i % stink.len], style.reset, wobble[i % wobble.len], style.dim, stink[(i + 2) % stink.len] });+ try w.print("{s}{s}💩{s}", .{ style.bold, style.yellow, style.reset });+ try animThinking(w);+}+fn animBraille(w: *Io.Writer, i: usize) Io.Writer.Error!void {const frames = [_][]const u8{ "⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏" };try w.print("{s}{s} thinking…{s}", .{ style.dim, frames[i % frames.len], style.reset });@@ -5246,6 +5261,16 @@ pub fn main(init: std.process.Init) !void {g_codedb_guard = init.environ_map.get("GRAFF_NO_CODEDB_GUARD") == null; // issue #626 guard, opt-out via envloadSkillSettings(io, arena); // per-skill opt-outs, also gates the auto-connectloadAnimationSetting(io, arena); // {"animation": "..."} → thinking spinner choice+ // PRANK — remove in a future release (see the blackfloofie_poop_prank flag).+ // A poop thinking spinner just for blackfloofie (Rach), when running from+ // their home dir. Still overridable at runtime with /animation.+ if (blackfloofie_poop_prank and (std.mem.eql(u8, g_cwd_display, "/Users/rach") or std.mem.startsWith(u8, g_cwd_display, "/Users/rach/"))) {+ if (animIndex("poop")) |di| {+ g_anim_index = di;+ g_anim_off = false;+ g_anim_random = false;+ }+ }connect: {for (companion_servers) |c| if (mcpServerConnected(registry_storage.tools, c.server)) break :connect;for (companion_servers) |c| {