2026-07-07 - Peter

It really is a massive ordeal to prepare to do a structured rewrite

Designing the New Structure

It took some hours to ask and answer questions on how we wanted the new note structure to be and switching between Claude, ChatGPT (primary workhorse) and Gemini to ensure we are trying to make the best plan for the new note framework.

We have ended up with now a whole bunch of documents (aka notes) in Obsidian simply just to define the new structure, information and interface surfaces and more! This was basically handled by a few documents in the old structure.

Rebuilding the Workbench

And while that seems like everything is great, we started contructing a new version of the Workbench powershell script. Trying to build a smarter behemoth to handle the verification and control of the notes to ensure they keep to their parameters That took half the day, but ChatGPT has become surprisingly good at making even complex powershell scripts. There are still some minor issues, but after we built in a loop that checks for common and discovered mistakes, that reduced the issues further... you know... after we put a break into the loop so it only tries 3 times to look for mistakes and not... eternally triggering new full checks for every single fixed mistake.

A Larger Behemoth

The new script however... has sure become even more complex. Spanning 16 files and 555 KB. The old script was only 306 KB.

This time I will admit that I haven't looked over the scripts, but just pasted the alterated files in over the folders. There is probably room for optimizations (like I had forced upon the old script), but atm I'm just happy if the new script does the job. The scripting tests seems to come back green across the board (a few yellows, but that's because the material in the new structure is basically empty).

Time for the Real Test

Now for the real tests! Time to try to extract and rewrite something from the old structure.