Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Simon Willison
Simon Willison
@simon@fedi.simonwillison.net  ·  activity timestamp 14 hours ago

Short musings on "cognitive debt" - I'm seeing this in my own work, where excessive unreviewed AI-generated code leads me to lose a firm mental model of what I've built, which then makes it harder to confidently make future decisions https://simonwillison.net/2026/Feb/15/cognitive-debt/

Simon Willison’s Weblog

How Generative and Agentic AI Shift Concern from Technical Debt to Cognitive Debt

This piece by Margaret-Anne Storey is the best explanation of the term cognitive debt I've seen so far. Cognitive debt, a term gaining traction recently, instead communicates the notion that …
  • Copy link
  • Flag this post
  • Block
SensibleOtter
SensibleOtter
@OtterlySensible@techhub.social replied  ·  activity timestamp 2 hours ago

@simon

I am going through exactly the same thing with actual humans.
The lack of decision RECORDING is a huge impact on even simple code.
The lack of validation of WHY we reach a decision is massive.

With humans the individual remembers, and it also remember it’s ow hallucinations (I THINK they mean this)

Ironically I had Agentic AI spitting out every decision made into Markdown, that is a tangible teaching tool to my team.

  • Copy link
  • Flag this comment
  • Block
deyaa Ayad
deyaa Ayad
@deyaa970@mastodon.social replied  ·  activity timestamp 3 hours ago

@simon Hello friends, this is Diaa from Gaza. 💔
I’m in severe pain, and doctors say I might lose my leg if I don’t get urgent surgery soon.
Even $10 or any help you can give would mean the world to me. 🙏😭
Please share my story and help me survive this. 💔🕊️
https://chuffed.org/project/133500-support-diyaa-a-home-a-future-and-hope-lost-in-gaza

Chuffed

Support Diyaa: A Home, a Future, and Hope Lost in Gaza

Hello everyone , My name is Diyaa , I am 28 years old, and I live in Gaza—or at least, I used to. I am the sole provider for my family of 9 people, including my wife. We were trying to live a simple life despite the difficult conditions, until everything was destroyed by the ongoing war.
  • Copy link
  • Flag this comment
  • Block
Rob Flickenger ⚡️
Rob Flickenger ⚡️
@hackerfriendly@mas.to replied  ·  activity timestamp 3 hours ago

@simon "Claude, walk me through this part of the implementation" can be helpful, both to understand what it has been up to and identify things that can be consolidated.

And particularly useful in other people's code bases.

It's a fine line between getting out of the way, and losing control. Why waste time on an out of date mental model, if the details aren't actually important?

  • Copy link
  • Flag this comment
  • Block
panu
panu
@shadowdancer@mstdn.social replied  ·  activity timestamp 9 hours ago

@simon
Oh boy... I have enough cognitive debt in my personal projects even with no AI involvement whatsoever.

  • Copy link
  • Flag this comment
  • Block
Thermophilus
Thermophilus
@thermophilus@mastodon.uno replied  ·  activity timestamp 11 hours ago

@simon I think that using AI reinforces our "System 1" mode (Kahneman) and weakens "System 2," so we lose the ability to reason properly.

  • Copy link
  • Flag this comment
  • Block
Adrian Cockcroft
Adrian Cockcroft
@adrianco@mastodon.social replied  ·  activity timestamp 12 hours ago

@simon The tooling is improving so quickly that it makes sense to regenerate code from the spec and tests if you’ve been away from a project for a while. I would prompt something like: review the existing spec and tests, create additional BDD and integration tests then re-implement all the code.

  • Copy link
  • Flag this comment
  • Block
Johannes Ernst
Johannes Ernst
@j12t@j12t.social replied  ·  activity timestamp 12 hours ago

@adrianco @simon chances are the cognitive debt is not just on the solution side (how is this supposed to work?) but also on the problem side (I don’t understand the problem in sufficient detail) because usually, when we code something genuinely new to us, we discover both sides at the same time.

  • Copy link
  • Flag this comment
  • Block
Jed Brown
Jed Brown
@jedbrown@hachyderm.io replied  ·  activity timestamp 13 hours ago

@simon I appreciate you writing about this, specifically because a lot of people in LLM-positive coding circles look to you for advice.

This is a key part of why many open source maintainers (myself included) have been averse to these products from the jump (reaffirmed by our interactions with people who have thrown in). We cannot faithfully execute the role of maintainer without clear understanding of tacit assumptions, limitations, and nuance of leaky abstractions. While some can be addressed through documentation and tests, PR review is an important medium in which to disseminate understanding within the community, and possibly conceptualize better approaches. The trust of the community depends on performance of these cognitive processes.

I believe the effect you describe becomes more insidious in larger projects, with distributed developer communities and bespoke domain knowledge. Such conditions are typical in research software/infrastructure (my domain), and the cost of recovering from such debt will often be intractable under public funding models (very lean; deliverables only for basic research, not maintenance and onboarding). Offloading to LLMs interferes not just with the cognitive processes of the "author", but also that of maintainers and other community members.

  • Copy link
  • Flag this comment
  • Block
S. LELLI
S. LELLI
@s_lelli@mastodon.social replied  ·  activity timestamp 14 hours ago

@simon 90s programmers were much used to look at assembly code after compiling C/C++ programs. They didn't trust fully the compiler. The difference is that now with vibe coding we don't look at a "code" as human interface, but use natural language texts, much imprecise and too high level.

  • Copy link
  • Flag this comment
  • Block
Bruce Elrick
Bruce Elrick
@virtuous_sloth@cosocial.ca replied  ·  activity timestamp 14 hours ago

@simon
Sounds like what a typical technical manager in IT is like, in my experience. They often don't really have a mental model of how things work, how they're put together.

  • Copy link
  • Flag this comment
  • Block
Chris Dickinson
Chris Dickinson
@isntitvacant@hachyderm.io replied  ·  activity timestamp 14 hours ago

@simon I am sure you’ve read this, but in case you haven’t, Peter Naur’s article on “Programming as Theory Building” has been very useful to me in talking about the maintenance of ai-augmented systems:

https://pages.cs.wisc.edu/~remzi/Naur.pdf

View (PDF)
  • Copy link
  • Flag this comment
  • Block
Ian Wagner
Ian Wagner
@ianthetechie@fosstodon.org replied  ·  activity timestamp 14 hours ago

@isntitvacant @simon this is exactly what popped into my head too!

  • Copy link
  • Flag this comment
  • Block
Chip Butty
Chip Butty
@otfrom@functional.cafe replied  ·  activity timestamp 10 hours ago

@ianthetechie @isntitvacant @simon same.

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.27 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct