Yesterday started out great but I was in a new project creating requirements in ...
Teri Radichel @teriradichel@infosec.exchange
Yesterday started out great but I was in a new project creating requirements in the AM. I tried pulling all common menu requirements into a separate project. Here’s why…
When I’m creating a new project I want it to handle menu code consistently so they all use the same base requirements snd they can’t change them. I’ve used this multi-agent approach before writing code for a project with autonomous agents.
One agent for an existing project with menus messes up more than the other. I asked the requirements agent why it said the project is complex. But it’s not so much different and the first. It does have AWS assume role wrapper code and the first project does not which it uses in one small piece of the code.
After extracting the common requirements where I created menus the same way and making sure they align, I took a large existing project and pointed its menu requirements to it. I wanted to change the menu code to match.
I put project specific menu data requirements into the project I was changing and told it to build the menus according to the requirements step by step. Along the way I added the steps to the requirements project.
I had the requirements agent check the code after each change. Any time the other agent did something wrong or asked questions I told the requirement agent to fix its requirements. I only told the other agent to reread the requirements - no other instructions in prompts.
At first it went pretty well. The menu writing agent did most things right though it skipped instructions for the menu banner and still doesn’t have the breadcrumbs right. It was decently fast.
I accidentally terminated the requirement agent session. It could not get back on the same roll ever really. It kept repeatedly failing to give answers in the correct format. I had to prompt it to re-read the objectives over and over. I altered them to make them more clear. Still decent but not as good as at first.
The other project struggled with some cross project data but did ok. Then like clockwork at midnight everything got very slow and the agent got dumber.
What happens at midnight? People in other parts of the world arrive start working. I added some of those counties where it is 9 am or 9:30 a.m. in my mistake tracker because this seems plausible.
But AWS should be keeping your traffic and compute in its own region. Is it?
What about the authentication and authorization mechanisms? And telemetry? I already turned off telemetry. It helped. What happens when these other people are online and requests are being authenticated or authorized at that moment?
It could also be people spinning up autonomous workloads. Who knows. I can’t see internal metrics.
I added another table where I put some timing tests into it. The interesting thing is the gap between running two date commands and the timing metrics that now appear in my custom agent that only appeared in the default agent before. There’s a gap. before and after the date commands get executed something else is going on. And it’s not telemetry.
After that point I only made a small amount of changes due to the slowness. One was to alter the way one project handles role assumption because it had added a lot of noise to what was supposed to be an assume role wrapper for code in another project. Well. It had put code in there that does nothing.
After assume role didn’t work. Same code does in another project. I know why now but at that moment I did not. To fix it, without prompting, the agent started adding variables to store credentials in the project. It says about 20 different ways in the common requirements not to do that.
When it comes to anything related to credentials it’s like the model tries to be subversive and write bad code. I hoped that putting that code in a separate project and sourcing it would stop that but it doesn’t. I found incorrectly implemented code not following the wrapper instructions and really messy duplicated, unnecessary variables passing role data through hoops. Need to clean that up.
I only really got one menu and bootstrap handoff done yesterday.
And my usage went from 53% to over 80% on a $200 plan.