mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-28 13:57:43 +00:00
log() handed console.debug the live DOM element and the extra object. With debug on, Element's rageshake JSON-serialises console arguments, and a React node there crashes the renderer (RangeError: Invalid string length, 'Page crashed' in PR 1210 Matrix#2 and main Moodle#2). The patch now names the element as a tag string and passes console.debug one line of text, as the IAM line already does. The test turns debug on with a node that carries a React fiber and requires every console.debug call to be a single string; it fails against the old log(). 🎯 Fix: 90 % 💥 Break: 2 % 💸 Tokens: – ⏱️ Velocity: – 🛡️ Security: 100 % 🏆 Score: 88 🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 % Created-with: https://s.veen.world/skills Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>