So recently I had one of those "Hue hue hue stoopid #LLM can't code" exchanges.
You know someone who is super confident they know the #AI tech, even though the closest they got to it is reposting angry Memes and the auto-correct on their iPhone (Because of course they are never Android users /s)
They were super surprised (read: facetious) that AI can debug #vibecode
Here is a copy pasta of the "chain of though" reasoner process #Claude (#sonnet - net even the smartest) model went through to find the bug;
(NB: These are just the comments, it actually runs shell script commands on its own virtual machine spun up for the session - this is where your RAM goes nowadays BTW)
FIX #1: Can't Add Labels
🤖 : Let me check the radial menu label handler:
🤖 : Code looks correct. Let me check if labels module exports addLabel:
🤖 : addLabel is exported. Let me check console for errors. Actually, let me check the addLabel function itself - maybe I broke it with my changes:
🤖 : Function looks correct. Maybe showPanel is broken? Let me check if I broke the HTML when adding controls:
🤖 : HTML looks OK. Issue might be JavaScript error on init. Let me add proper error handling to showPanel to see what breaks:
🤖 : Let me find the actual showPanel:
🤖 : Line 226 will throw error if #label-line-target doesn't exist! Maybe the HTML got corrupted. Let me just re-upload a working labels.js from before my changes. Actually, let me check event handlers - maybe they reference non-existent IDs:
🤖 : All IDs referenced. Let me verify the HTML has those IDs. The problem is likely that querySelector fails because element doesn't exist in DOM. Let me just wrap it in try-catch:
🤖 : The error handling shows elements missing. Let me check if my HTML edit broke the structure:
🤖 : Panel IS appended (line 126). But #module-ui might not exist! Let me check:
🤖 : #module-ui EXISTS. So panel should work. Real issue must be event listener failures. Let me add better error handling to createLabelPanel:
🤖 : (I love this bit) Actually this is taking too long. Let me just check if there's a syntax error breaking the whole file:
🤖 : FOUND IT! Duplicate const State declaration! Line 587:
Point being the folks who don't #vibecode live in a world where they are super confident about the technology that they dont use...
... their credibility is approaching zero.