Yesterday felt somewhat productive though I didn’t check a lot off the list so w...

@teriradichel@infosec.exchange

Yesterday felt somewhat productive though I didn’t check a lot off the list so was it? Anthropic models 🤖 didn’t experience the midnight drag but check out what happened when I tried glm-5…

I was fixing AI model’s prior mistakes. It fixed one aspect of the program but broke another with the change when I went back to look at it. Tests didn’t follow rules and wiped out valid data. Lack of coordinated architecture made things fragile.

How did I fix all that?

Tests. Lots and lots of tests. Anytime something didn’t work I said fix it and wrote a test for that. I also made sure the requirements got updated or clarified anytime something was wrong. I made one project run all the tests for the other projects. I checked for test coverage using rules I created for tests.

The biggest problem: AI agents models or whatever you want to call it DO NOT read ALL the requirements and follow ALL the rules. And that is the only thing you can rely on when it comes to AI.

Hence, deterministic tests are your only mechanism for some small amount of sanity in your AI long term maintainable application development experience.

Even then do you really have reliable test coverage? And do your tests really test the thing? Do they follow your rules? Clobber your data?

And when you change something how long does it take the agent to realign the test? Depending on the test and how convicted the code was it wrote to create the test in the first place - quite some time. One test for a new feature I added took forever to fix.

That’s why I’m developing small things then not touching them or let other agents test them once I know they work.once something is working I lock it down. That requires good design principles to create a solid architecture built in pieces.

So I reworked the organization types and configuration projects yesterday because I was having problems adjusting the data to match my current org with only the changes I want to make in place. Data got corrupted along the way. Bugs. Different aspects of the program weren’t quite right.

I added descriptions of my types and organizational constructs to explain their purpose because with all the noise I’m dealing with due to AI I forget what I was thinking half the time by the time I get back to it.

I added those descriptions to my organizational diagram of org name, org resources, environment names, environment resources, account names, and account resources.

Now I can generate a diagram of part or all of my organization to review everything that can be deployed in each environment. The drift project not completed will show what is deployed when I get around to it.

The other thing I did was better lock down in files in my projects and framework. I added a check on the permissions each time I start a project.

I saw a tweet about glm-5 yesterday and tested that for like 2 minutes. It was slower than Anthropic was before. I switched back to Opus and noticed a container running as root listening in the local system which was shut down and locked out 7 minutes later. All my permission controls on agents potentially out the window.

So in fheory (also with manual testing) org configuration should work. I need to configure my org and plow through fixes the deploy steps which in theory should just work for a lot of things. Others will need done adjustments for the per account model.