GitSΓ©ance: An Offline Digital Ofrenda Where Local Gemma Summons Deleted Code (And Refuses to Guess Why It Died) A developer built GitSΓ©ance, an offline-first tool that mines deleted code from a repository's git history and generates memorials for excised functions using Google's Gemma 2B model (gemma2:2b) running locally via Ollama. After finding the small model hallucinated reasons for deletions when commit messages were cryptic (e.g. "wip" or "cleanup"), the developer added a deterministic safety pipeline: a polyglot AST symbol extractor for Python, JavaScript, Go and Rust, a cryptic-commit preflight that falls back to a fixed epitaph, and a grounding fact-checker that verifies the commit SHA and file path appear in the model's reply. The project ships as release v1.0.0 with 41 automated tests and zero AST violations. .-" "-. / 🌼 🌼 \ | 000dead | |, .-. .-. ,| | o/ \o | |/ /\ \| ^^ \ |IIIIII| / | \IIIIII/ | \ / -------- "The code you delete never truly dies: it becomes the silent foundation of every commit that follows. Viva Open Source " β€” Spirit 000dead MictlΓ‘n Relic git blame only speaks for the living. It tells you who touched the lines that survived in HEAD β€”but every mature repository is built on the bones of hundreds of excised functions, retired prototypes, and emergency midnight bugfixes that were quietly erased from history. When a regression resurfaces two years later, modern teams often commit the exact same architectural mistakes of 2022. Why? Because the reasoning behind deleted code is buried deep inside git log -p , where nobody looks. For Hacktoberfest 2026: Week 4 "Ghost in the Machine" , bridging Halloween with the sacred Mesoamerican tradition of DΓ­a de los Muertos Day of the Dead , I created GitSΓ©ance : An offline-first developer archaeologist and interactive Digital Ofrenda that scans your repository's graveyard, builds a marigold-adorned altar for departed code, and lets you conduct grounded sΓ©ances with excised functions powered by Google Gemma gemma2:2b running 100% locally on your own machine. IMPORTANT Live Web Ofrenda: https://gitseance.tech https://gitseance.tech Source Repository: https://github.com/FranciscoGrandon/git-seance https://github.com/FranciscoGrandon/git-seance Release v1.0.0 Β· 41 Automated Tests Β· 0 AST Violations When I first fed deleted git diffs into local 2B language models and asked, "Why was this function removed?" , Gemma did what small language models do best: it hallucinated. If a commit message was informativeβ€”such as "Drop parse xml invoice soap to patch XXE vulnerability CVE-2026-0412 " β€”Gemma recited a magnificent, respectful memorial. But what happened when the commit was a Friday 4:59 PM rush job that literally said "wip" or "cleanup" ? The model immediately fabricated an elaborate, fictional backstory about microservice migrations, imaginary database locks, or phantom compliance audits In software archaeology, a fictional story is worse than silence. To make GitSΓ©ance an authentic developer tool rather than a toy, I engineered a multi-stage deterministic safety pipeline: β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ git log -p Graveyard Miner β”‚ β”‚ Single-Pass Pipeline β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β–Ό β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ Polyglot AST Symbol β”‚ β”‚ Cryptic Commit Preflightβ”‚ β”‚ Extractor Py/JS/Go/Rs β”‚ β”‚ wip/cleanup Interceptorβ”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚ β”‚ πŸ›‘οΈ Is commit cryptic? β”‚ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ YES ───────────────► πŸ›‘οΈ Fallback β”‚ Epitaph β”‚ NO Informative commit message β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ Local Google Gemma 2B β”‚ Ollama localhost:11434 / temp=0.25 β”‚ SΓ©ance Inference Engine β”‚ $0.00 Cloud Bill / 100% Local Privacy β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ Grounding Fact-Checker β”‚ Verifies Commit SHA & File Path in reply β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ Sentry Agent Tracing ai.seance OpenTelemetry Spans β”‚ β”‚ β€’ Latency ms β€’ Token Count β€’ Hallucination Flags β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β–Ό β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ Terminal CLI Ofrenda β”‚ β”‚ Single-Page App Ofrenda β”‚ β”‚ + Quine 000dead β”‚ β”‚ Render / index.html β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ mine git graveyard : git show subprocesses. GitSΓ©ance streams git log -p -U0 in a single pass with delimited token buffers, reconstructing author, timestamp, commit SHA, and exact unified diff deletions in under is cryptic commit : wip , temp , cleanup , fix , chore core : wip . If flagged, GitSΓ©ance temperature=0.25 : verify response grounding : 8f3a91c and the file path. If the spirit fails the audit, it is evicted in favor of verified deterministic text. Software should evoke wonder. The Digital Ofrenda web app is packed with three organic technical easter eggs: 000dead GitSΓ©ance contains a living mythological spirit embedded directly into the source code: Spirit 000dead The Relic of MictlΓ‘n . python git seance.py --mictlan dynamically introspects its own source code on disk using Python's ast module. It extracts the hex cipher MICTLAN HEX CIPHER , decodes it in memory, calculates its own 32-bit FNV-1a checksum 0x71790691 , and summons itself as a living departed relic. mictlan anywhere on the keyboard or clicking the golden calavera skull executes awakenSourceQuineSpirit , reading