Some Bits: Nelson's log

No, Opus is really good at reasoning

I’m genuinely flummoxed by how good Opus is at some sysadmin tasks. Today I asked it:

I need some way to manage all the web page content that’s stored on the server. right now the authoritative copy is on the server and the restic backup is the only stopgap. and if I want to change something I live-edit it on the server, or at best live-edit it on a copy and then sync it over. that seems too ad hoc, I should have a content here on my dev machine and some process to sync it. ... help me figure out what to do.

I did not propose a solution. Claude/Opus reasoned very well to get to a solution for me. It’s thinking is clearer than my own!

The AI inventoried all my files. Then it came up with three sensible groups.

  1. Truly hand-edited files that change sometimes
  2. Files that only exist on the server but are archival and never really change
  3. Files that actually exist elsewhere and already are being synced to the server.

It came up with those groups itself. It was using some knowledge from previous discussions (particularly about the synced-from-elsewhere group 3) and I think inferring the archival idea of group 2 from the sizes and ages of files.

It then proposed treating each of the three categories separately. And building a special publish tool for group 1, so I can have them in git on my dev machine and then sync them over. No new publish tool needed for group 3, I already have tools doing that. And no publish tool needed for group 2 at all. Backups are sufficient.

One wrinkle: the AI proposed a fairly minimal solution for solving the problem of me hand-editing the same file in group 1 in both places. (The naive solution has one edit clobbering the other, it suggested adding a --dry-run flag). I asked it to do something more automatic and it came up with a reasonable thing involving touching a sentinel file after each sync and then using find to see if anything had changed. This isn’t super fancy, but it sure is sensible.

This AI is solving design problems as well as I could with very little direction. And I know it will go off and implement it very competently for me. It’s not just saving me time, it’s doing a good job of it.

Comments

This matches my experience: it's pretty damn great now. Sometimes overthinks, sometimes doesn't have enough or appropriate context to make the right decision, doesn't always optimize for maintainability...but regardless, it's more than good enough for real work. Last year, it was a cute gimmick, helpful mostly with stuff I didn't know well. Sometime around December, it turned a corner and became actually useful. Since then, it's gotten to the point where it's consistently doing a very good job

. Hell of a paradigm shift.