Hidden pet system discovered in Claude Code leak: gacha mechanics with ASCII animations

Analysis of the leaked Claude Code source reveals a hidden companion pet system that was apparently scheduled for release. The system implements gacha mechanics with deterministic generation based on user IDs.
System architecture
The pet system is located in the buddy/ directory. Companions are deterministically rolled from a hash of the user ID through a seeded PRNG, ensuring the same account always gets the same pet. Species, eyes, hats, rarity, and stats are never stored — they're regenerated every time from the hash. Only the "soul" (name and personality, generated by the model on first hatch) gets persisted to config.
Pet mechanics
- 18 species including duck, ghost, axolotl, capybara, robot, and something called "chonk"
- Rarity weights: common 60%, uncommon 25%, rare 10%, epic 4%, legendary 1%
- 1% shiny chance on top of rarity (legendary shiny is about 1 in 10,000)
- 5 stats per companion: DEBUGGING, PATIENCE, CHAOS, WISDOM, SNARK
- Each species has 3-frame ASCII idle animations with fidget cycles and blinking
- Hats only appear on uncommon+ pets (options include crown, tophat, wizard, and "tinyduck")
Commands and implementation details
The system includes a /buddy pet command that spawns floating hearts. Species names are encoded as hex char codes in the source because one species name collides with an internal model codename. A comment in the code states: "One species name collides with a model-codename canary in excluded-strings.txt."
The teaser was apparently scheduled to go live April 1-7 with a rainbow /buddy notification, then remain permanent.
Specific user ID results
Analysis of brute-forced user IDs reveals specific combinations:
- Typing "ak" gives a legendary robot with a tophat
- Typing "szq" gives a legendary shiny cat
- Typing "bd" gives a legendary blob
📖 Read the full source: r/ClaudeAI
👀 See Also

The Hidden Financial Bubble in AI Infrastructure – Key Takeaways
A critical analysis of the AI infrastructure spending boom, warning of an unsustainable bubble similar to past tech crashes. The PDF argues that massive capital expenditure on GPUs and data centers far exceeds actual revenue generation.

Claude Pro User Documents Chronic Interface and Workflow Issues
A long-term Claude Pro subscriber details five persistent problems: file destruction during corrections, lack of versioning, amnesia after context compaction, inconsistent decision-making, and ignored user preferences. The user reports these issues occur despite explicit instructions in Claude's preferences section.

Qwen 3.6-35B-A3B KV Cache Bench: f16 vs q8_0 vs Turbo3 vs Turbo4 on M5 Max Up to 1M Context
Benchmarks of TheTom's TurboQuant Metal fork on M5 Max show f16 and q8_0 OOM past 256K, while turbo3 hits 1M at 6.5 tok/s decode. Prefill and decode split favors turbo3 for prefill and turbo4 for decode on long contexts.

SWE-rebench Leaderboard Update: February 2026 Results Show Tight Competition
The SWE-rebench leaderboard has been updated with February 2026 results testing 57 fresh GitHub PR tasks. Claude Opus 4.6 leads with 65.3% resolved rate, but the top six models are within 5 percentage points.