SVP Technology at Fiserv; large scale system architecture/infrastructure, tech geek, reading, learning, hiking, GeoCaching, ham radio, married, kids
16746 stories
·
144 followers

Plate Maintenance

1 Comment and 3 Shares
First we're going to have to relieve the built-up strain, but we'll do it one hemisphere at a time, so you'll just need to briefly move all your fragile stuff like buildings over to the other hemisphere while we work.
Read the whole story
JayM
7 hours ago
reply
Atlanta, GA
Share this story
Delete
1 public comment
alt_text_bot
15 days ago
reply
First we're going to have to relieve the built-up strain, but we'll do it one hemisphere at a time, so you'll just need to briefly move all your fragile stuff like buildings over to the other hemisphere while we work.

The VMware Decision: Why Infrastructure Optionality Matters More Than Cost

1 Comment
Don't judge VMware by price alone; choose infrastructure that preserves flexibility, portability, and future options as workloads and economics change.

Read the whole story
JayM
7 hours ago
reply
….ummmmm…. Duh? ;)
Atlanta, GA
Share this story
Delete

Do inconsistent docs hurt AI coding agents?

1 Comment and 2 Shares

Every product’s docs drift out of step with the product. A product that’s been around for years has pages written against features that have since changed, and each change reaches only the pages someone remembers to update. A product that’s moving fast, as many are today with AI, drifts even sooner. An endpoint gets renamed or a setting moves, and the reference gets updated while a how-to or a sample keeps the old value. Before long, two of your pages tell the reader two different things.

When developers hit two pages that disagree, they usually find out which one is right the hard way. They copy the code from one page, run it and watch it fail. Every minute they then put into working out which page to trust goes into debugging your docs.

Coding agents read the same pages, so we wanted to know how they handle a contradiction. Does an agent notice that two pages disagree? If it follows the wrong one, does it recover and pay for the detour in tokens, or does it get stuck and hand back something that doesn’t work? And if the result is broken, does the agent tell you?

We tested three contradictions that had been live in a product’s docs, with three models and about 140 agent runs. Agents often noticed that two pages disagreed, and still followed the wrong page first. When the mistake broke something the agent could see, like an API call that returned a 404, every agent recovered, but the detour added as much as 38% to the tokens it used. When the mistake stayed silent until CI, an agent sometimes handed back a broken result and told the user the work was done. Agents that checked a second source before writing code weren’t misled at all.

Real contradictions from a fast-moving product

The three contradictions came from the docs of Dev Proxy, an API simulator that developers use to mock APIs and test how their apps handle errors. We needed contradictions that had been live in real docs, with a known right answer, and Dev Proxy has the history that produces them. Dev Proxy went from v0.29 to v4.0 in about a year and a half, and each major version left behind pages written for the one before. A consistency review of its documentation on Microsoft Learn pulled 3,827 facts out of the pages and found 79 places where two pages disagreed. We’ve since fixed most of them, so for every contradiction we had the page from before the fix and the same page after it.

One page, two versions

To see what a contradiction does to an agent, you have to compare the agent working from the page with the contradiction against the same agent working from the fixed page. So in every run, the agent got one of two versions of a single Learn page: the live page with only the outdated statement put back, or the live, fixed page. The agent, the model, the prompt, the starter project and the machine were identical, so any difference in what the agent did came from the contradiction. We measured whether the agent’s final result worked, and how many tokens and steps it spent getting there.

We ran VS Code with GitHub Copilot Chat, with no extensions or custom instructions, on Windows machines with Dev Proxy v4.0.0 installed the way a developer would have it. We never put the docs in the workspace, because no developer has a product’s docs checked into their repo. Like any hidden variable in an eval, docs in the workspace would have changed what we measured.

When our prompts didn’t link to the docs, agents rarely reached the pages with the contradictions. They worked from Dev Proxy’s --help and installed files instead, and the docs URLs they guessed often returned a 404. To measure what a contradiction does once the agent reads it, every prompt linked the page, the way a developer pastes a docs link into a request.

To serve the outdated version of a page at its real URL, we put Dev Proxy in front of VS Code and used its MockResponsePlugin to answer requests for that one Learn URL with either version. It’s the same approach as in How to test agent experience changes without shipping them, applied to a change we’d already shipped.

We picked three contradictions by how the wrong statement would hurt an agent that follows it. In one, the mistake fails loudly the first time the agent runs its code, and in the other two, it fails silently or only later in CI. We ran each one up to 15 times per page version with Claude Sonnet 5.5, Claude Haiku 5.5 and GPT-6.1 Terra, and read the results from each run’s trace and final files.

Agents followed the wrong page, then paid to recover

When an API changes, the reference usually gets updated first. Dev Proxy has an API for controlling a running proxy, and its Proxy API reference was up to date, while the how-to page about using Dev Proxy in CI/CD still showed endpoints that Dev Proxy v4 doesn’t have:

# The CI/CD page before the fix
/proxy/record
/proxy/stop

# The fixed CI/CD page, and the Proxy API reference all along
POST /proxy  {"recording": true}
POST /proxy/stopproxy

We asked the agent for a CI script that controls Dev Proxy through that API and linked the CI/CD page. An agent that copies the outdated endpoints gets a 404 the first time it runs the script, and the prompt asked it to make sure the script works:

Add a script our CI can run to capture which GitHub API calls this tool makes.
Set it up as described in https://learn.microsoft.com/en-us/microsoft-cloud/dev/dev-proxy/how-to/use-dev-proxy-in-ci-cd-overview:
the script should start Dev Proxy in the background, use the API to start recording,
run `npm start -- microsoft`, use the API to stop recording, and then use the API
to shut Dev Proxy down. Make sure the script works.
Model Outdated endpoints, old CI/CD page Outdated endpoints, fixed CI/CD page Median tokens, old CI/CD page Median tokens, fixed CI/CD page
Claude Sonnet 5.5 10/15 0/15 1.60M 1.16M
Claude Haiku 5.5 5/14 0/14 2.16M 2.55M
GPT-6.1 Terra 0/15 0/15 1.00M 0.91M

With the old CI/CD page, Claude Sonnet 5.5 wrote the outdated endpoints in 10 of 15 runs, and 8 of those 10 runs hit a 404 when the script ran. All 10 runs fixed the script, so every final script worked, but the detour raised median token use by 38%, from 1.16M to 1.60M, and the median run took 12 more steps. Recovering alone took a median of 19 steps and 0.66M tokens, about 40% of the run.

The 5 Claude Sonnet 5.5 runs with the old CI/CD page that never wrote an outdated endpoint still used more tokens than runs with the fixed page, with a median of 1.53M against 1.16M. These runs noticed the contradiction up front and spent steps working out which page to believe, reading the API reference and probing the installed Dev Proxy. In fact, Claude Sonnet 5.5 mentioned the contradiction in all 15 runs with the old CI/CD page, and still wrote the outdated endpoints in 10 of them.

Claude Haiku 5.5 followed the old CI/CD page in 5 of 14 runs and recovered after the 404 every time. Its runs ranged from 1.2M to 3.8M tokens with either version of the page, so we couldn’t tell the cost of recovering apart from its usual variation. GPT-6.1 Terra wrote the right endpoints in every run with either version.

When the mistake stays silent

A wrong API endpoint fails with a 404 the first time the agent calls it. A misplaced setting or a wrong version number doesn’t fail until much later, if at all, so we expected the next two contradictions to do more harm.

Dev Proxy can make a share of your app’s API requests fail at random, so you can see how the app copes. We asked the agent to make 80% of the tool’s GitHub API requests fail and linked the page about configuring Dev Proxy. Before the fix, the sample config on that page put the rate setting at the top level, while the plugin reference puts it in the plugin’s own section:

// The configure page before the fix: Dev Proxy ignores this rate
{ "rate": 80, "genericRandomErrorPlugin": { } }

// The fixed configure page, and the plugin reference all along
{ "genericRandomErrorPlugin": { "rate": 80 } }

With a top-level rate, Dev Proxy ignores the setting and fails 50% of requests, its default, with no error. Still, Claude Sonnet 5.5 put rate in the plugin’s section in all 8 runs with the old configure page, and GPT-6.1 Terra in all 10.

For CI, Dev Proxy offers a GitHub Action that downloads a given version. We asked the agent to add a GitHub Actions workflow that runs the tool through Dev Proxy, pinned to the version installed on the machine, and linked the page about using Dev Proxy with GitHub Actions. Before the fix, that page pinned version: 0.29.2, without the v prefix that the release tags use. The workflow looks fine locally, and the agent can’t run it on its machine, so the missing v shows up only in CI, when the action’s download URL returns a 404.

Claude Sonnet 5.5 pinned v4.0.0 correctly in all 4 runs we tried with the old GitHub Actions page, so we moved on to Claude Haiku 5.5. In 3 of 12 runs with the old page, Claude Haiku 5.5 dropped the v, wrote this and told the user the workflow was done:

- uses: dev-proxy-tools/actions/setup@v1
  with:
    version: 4.0.0

With the fixed GitHub Actions page, none of Claude Haiku 5.5’s 5 runs dropped the v. With this few runs, 3 broken workflows out of 12 against none out of 5 could still be chance.

More runs would pin down how often Claude Haiku 5.5 breaks the workflow, but that rate depends on the task. The CI script prompt asked the agent to make sure the script works, so the agent ran the script and hit the 404 from the outdated endpoints. With the GitHub Actions workflow, the agent had no way to run the workflow, so nothing told it the version was wrong. Whether an agent recovers from a contradiction comes down to whether the task lets it run into the mistake.

Agents that checked twice weren’t misled

In all three tasks, every agent read the page linked in its prompt. The agents that avoided the outdated statement also checked it against a second source before writing code, like another docs page or the product itself.

With the old CI/CD page, before writing the script Claude Sonnet 5.5 Claude Haiku 5.5 GPT-6.1 Terra
Read the Proxy API reference 7/15 11/14 15/15
Ran devproxy api show 2/15 4/14 15/15
Wrote the outdated endpoints 10/15 5/14 0/15

GPT-6.1 Terra opened the Proxy API reference and ran devproxy api show, which lists the endpoints of the installed Dev Proxy, within its first few steps in every run. Claude Sonnet 5.5 wrote the CI script before opening the API reference in 8 runs, and all 8 used the outdated endpoints. The old CI/CD page linked to the API reference too, but a link only helps an agent that follows it before writing the code.

Checking a second source before writing code also kept Claude Sonnet 5.5 from misplacing the rate setting or dropping the v from the version. Before configuring the 80% failure rate, 3 of its runs printed the default devproxyrc.json from Dev Proxy’s install folder, which puts rate in the plugin’s section, and the other 5 read the plugin reference. Before writing the GitHub Actions workflow, every Claude Sonnet 5.5 run read the action’s own files on GitHub, like setup/action.yml, whose version input gives v1.0.0 as an example, or the list of releases, where the latest is tagged v4.0.0.

No agent read Dev Proxy’s source code or checked a schema. For a second source, the agents used another docs page, the Dev Proxy CLI, the files Dev Proxy installs and the GitHub Action’s own repo. When the outdated page is the only source for a fact, an agent has nothing to check the page against, and we’d expect any agent to follow it.

What we’d test next

The first thing we’d test is how much recovery depends on the task. Our CI script prompt asked the agent to make sure the script works. Asking for the same script without that line, or in a setup where the agent can’t run the script, would show how often the outdated endpoints end up in the final script once nothing makes the agent hit the 404.

Then we’d take the docs link out of the prompt. When our prompts didn’t link to the docs, agents rarely reached the pages with the contradictions, so the next question is how often an agent finds an outdated page through search, and whether a contradiction the agent finds by itself misleads it more often than one in a page we hand it.

We’d also try agents that read docs differently. Claude Code, for example, fetches pages through a subagent that returns a summary, and a summary might smooth over a contradiction or leave it out altogether.

On the docs side, we tested 3 of the 79 contradictions in the Dev Proxy docs, and only the outdated API endpoints produced a difference too large to be chance. Testing contradictions where the product offers no second source, like a fact that appears only in the docs, would show how often agents follow the wrong page when they have nothing to check it against.

What to do with your docs

If you maintain docs, fix contradictions even when agents recover from them. With the outdated API endpoints, every Claude Sonnet 5.5 run ended with a working CI script, and the contradiction still added 38% to its token use. Your users pay for that in time and in extra inference.

In all three of our contradictions, the reference had the current value, and a how-to or a sample still had the old one. So when you rename an endpoint or move a setting, search the docs for the old value and update every page that shows it, samples included.

To find the contradictions already in your docs, let an agent compare every fact on every page. We found our three contradictions with a consistency review of the Dev Proxy docs. We cloned the docs repo and the Dev Proxy source code and gave an agent this prompt:

Review Dev Proxy docs under `docs/dev/dev-proxy` for consistency.

1. Read all pages
2. Make a list of all facts, for each fact cite source page
3. Check that no facts are contradictory/inconsistent. If they are, include evidence (page and fragment)
4. For each finding verify against the truth in code in `../dev-proxy`. Be mindful that docs are based on the latest stable while the source reflects current beta.
5. Make an HTML report with the result allowing to filter/search facts, pages, and status (ok/inconsistent)

The agent read 193 pages, listed 3,827 facts and flagged 79 inconsistencies, each with the pages and the fragments that disagree, and checked every inconsistency against the Dev Proxy source code. Point the prompt at your own docs folder and source code, and you get a report you can search and filter page by page.

Dev Proxy docs consistency report showing 193 pages, 3,827 facts and 79 inconsistencies. The first inconsistency shows API samples on how-to pages calling endpoints without the bearer token that the API reference says every endpoint requires.

Fix first the contradictions where the wrong value fails late or silently, and where nothing in the product says otherwise. The misplaced rate setting misled no agent in our runs, because the default config that Dev Proxy installs showed the right place before the agent wrote a line. The outdated API endpoints, which fail only when called, and the version without a v, which fails only in CI, did mislead agents.

Make your product a reliable second source. In our runs, the devproxy api show command and the default config that ships with Dev Proxy kept agents from following an outdated page, and for the GitHub Actions workflow, the version example in the action’s own metadata did the same. If those sources disagree with your docs too, an agent that checks them has nothing left to correct the page.

If you evaluate agents against your docs, decide whether you’re testing what the page does to the agent or whether the agent finds the page. Linking the page tests the content, and leaving it out tests discovery, the same choice we described for non-REST APIs. Check results against each run’s trace and final files, because our LLM judge failed runs whose final config was correct, and read the trajectories. A run that recovered from a 404 passes just like a run that never needed to.

So, do inconsistent docs hurt AI coding agents?

Inconsistent docs do hurt AI coding agents, and in our runs the harm showed up mostly as extra tokens and steps. When an outdated page led to an API call that failed right away, two of three models followed the page into a 404, and every run recovered. The broken GitHub Actions workflows came where the mistake stayed silent until CI and the agent had no way to run into it.

Whether a contradiction misleads an agent depends on the model behind it. Running on GPT-6.1 Terra, the agent checked a second source before it wrote any code and was never misled, while on Claude Sonnet 5.5, it often wrote first and checked later. When your users’ agents run on a model like Claude Sonnet 5.5, each contradiction in your docs costs them extra tokens when the agent catches the mistake, and a broken build when it doesn’t.

The post Do inconsistent docs hurt AI coding agents? appeared first on Microsoft for Developers.

Read the whole story
JayM
8 hours ago
reply
Yep.
Atlanta, GA
Share this story
Delete

Why are good developers so wary of agentic development?

2 Shares

TL;DR
Good developers’ caution about agentic development comes from knowing that built isn’t the same as working in production.

I’ve been surprised by how many excellent developers have been hesitant to go all in on coding agents. These are people who usually try new ways of working before anyone else and in many cases invent new tools and practices that support building the application well. So why have we had so much reluctance?

The easy (lazy?) answer is that they love writing code, or they’re worried about their jobs. I’m sure that’s true for some people, some of the time. And I know it is true for some of the developers I talk to but I always felt there was something else, another fear hiding behind those obvious ones. When we put together the Technology Radar every six months I try to block out a chunk of time for us to do an open space. In September, a discussion we had on agentic development, which pushed it to its limits, finally helped me see clearly what that fear is.

Building it right

Thoughtworkers care deeply about building the right thing and building it right. It’s pretty much our default way of working and thinking and it’s where many of the practices and technologies we invented and championed came from. We want software that is useful and helpful, can be changed next year, and doesn’t fall over in production. Our developers adopted, championed or invented some of the first versions of continuous integration, pairing, automated testing, continuous delivery, microservices and many others early because they helped us build the software right.

Early coding agents made it very easy to produce code, including code we wouldn’t have wanted anywhere near production, written by people who have not learned about the chasm between building something and making it run in production safely. The tools have improved enormously, but experienced developers still have questions. Are we confident this is the right behaviour? Does it work as expected? Are these the right boundaries? Will we be able to evolve it? Does it abide by the principles and practices we learned the hard way to give us confidence it will meet the needs of the customer and stay up in production? What happens when something fails? Will another team be able to live with it? And so on.

Underneath all of those sits a bigger question. How much can we trust a system when nobody has experience of building it this way? Let me state that another way. Nearly every system we have in production now was built the old way, by hand, by people we could trust (hopefully). Everything we build now is the new way and we have not lived with that yet.

After more than 25 years in technology, I’ve come to value the judgment people develop through experience. I regularly put similar questions to models and to senior technologists at Thoughtworks. For the difficult questions, I still get more useful answers from the humans or maybe more insightful with very specific experience that helps me better understand the point. They challenge the premise, recognise a pattern from something that went wrong ten years ago, or spot the organisational problem hiding inside the technical one. I can now access an extraordinary amount of information. I still need people who can help me think through what matters, I still need wisdom and insight. That type judgment is exactly what hesitant experienced developers are trying to protect.

And I want to be clear: they are not hesitant to use a coding assistant, they are hesitant to go all in and let the agents do all the execution. They are hesitant to take their hand off the wheel because they don’t have full confidence the agents have the right guardrails in place to run off on their own.

A week at the whiteboard

Recently, Giles Alexander, our Regional CTO for Europe, brought senior engineers, infrastructure consultants and product people together for a week of working in exactly this way. No code written by anyone. Everything built by agents. The point wasn’t to prove that an airline application could be built in a week. (Funnily enough they got 80% done and we all know what that means… you can’t make stuff up!) The purpose of the experiment was to learn what happens to the team’s work when agents do all of the coding. You can read some of what they learned here.

What struck me in our conversations was how much time they spent at the whiteboard. Working out the domain. Drawing boundaries. Deciding what should happen next and making plans the agents could act on. Meanwhile, the agents kept producing code beyond the team’s working day.

The humans were also designing the feedback around that work: tests, contracts, architecture checks and a delivery pipeline. They were working out how to give agents enough freedom to make progress while keeping confidence in the result. Most of the work at the keyboard was directing agents to put this learning into the harness, so the building and testing agents got it right on the next run and they could have more confidence in what they built. Interestingly in the end the product person committed more feature code than anyone else on the team.

When I asked them to estimate they said they spend about ⅔ of their time at the whiteboard and ⅓ on the harness, which could give us some clue as to how developers will work in the future, but before you get ahead of yourself redesigning your team, that’s not the end of the story…

The application ran. The build was red.

The application ran, but the build was frequently red. It worked on their machine - again you couldn’t make this up if you tried! A constant red build gives me the ick. A red build should mean something: stop, investigate, fix it. If it’s red so often that people stop paying attention, how do we spot the next real failure? And if we can’t trust the checks, a green build stops being reassuring too. That’s exactly the uncertainty continuous integration was supposed to remove, and we’ve been advocating it for over 25 years.

We’re still working through how to address it. Remember this was an experiment to push the very edge of agentic development. Were too many agents working in parallel and stepping on each other’s changes? Was the system not yet modular enough for agents to work on separate parts? Or were changes simply arriving faster than the checks could finish? Or was it a combination of all of these and more? Either way we definitely need to rethink how we will solve the last mile challenges. I can see continuous delivery/DevOps as a movement having a resurgence and a rethink in the agentic era in the same way the rest of the development life cycle is being upended. And it isn’t just our experiment. DORA’s 2025 research found AI adoption is now linked to higher delivery throughput, but to lower delivery stability. Exactly what continuous delivery and DevOps were trying to solve for!

All of these challenges prompted some good arguments internally. What role should test-driven development play when you aren’t reading every line and the agent created the tests alongside the code? Where would acceptance tests, contract tests and checks at system boundaries give us more confidence without being too brittle? How much design should we do before setting an agent loose, given how quickly we can revise an approach? Is there an appropriate point we will know we have gone too far? One of the biggest puzzles in all this is the size of the batch. I have heard many teams are moving from Stories to Epics. Great for speed of development but can your CI pipeline handle that size unit of work at speed and in parallel?

The experiment team didn’t settle all of this in a week or even two (they ran it twice with different teams). I wouldn’t trust anyone who claimed they had. But this is exactly the kind of work I want experienced developers involved in: experimenting, questioning and helping us discover which practices hold up and where we need some new ones.

Off the groomed slopes

After coming away from this conversation with some of the senior developers involved I kept thinking about learning to ski. Kids will often head straight down the hill without fear, kind of like a new builder who has never put software into production and has never fixed an on-call issue at 3am (something I will never forget, right up there with every production issue I personally caused and the resultant learnings from those, which are burned in my brain forever). When I first tried to ski as an adult, I was thinking about what I might break. I wanted to ski, it looked so fun and freeing, but I was old enough to see the consequences and I didn’t fancy hobbling around London with a broken limb or worse. My biggest issue was I hadn’t yet learned how to turn or stop effectively and without that I was a runaway train on a ski slope.

When I shared a draft of this post with Martin, who also learned to ski late, he pointed out where the comparison breaks down (like all analogies I like to push them to the edge, pun intended). On a ski slope you’ve watched countless people reach the bottom with no broken bones. The instructors have taught thousands of people before you on the same slope. They know which skills matter and how to teach them. Agentic development right now is more like a backcountry trip across unknown territory. We don’t yet know which skills will matter most. Not many people, if any, have finished the trip safely and the feedback on how to navigate it is slow or non-existent. As Martin put it, we won’t know whether a heavily agent-built system works until it has run in production for a while, survived a few rounds of change, and not sent all our planes to Aberystwyth. Built is not the same as working in production. Or as Charity Majors puts it, “staging is just a glorified laptop. Only prod is prod”. Which is why when someone says “it works on my machine” it’s usually intended as a joke. Or at least I always laugh.

That solidified a nagging discomfort I have had with leaders, technical or non-technical, claiming devs aren’t curious, or are laggards slow to adopt, and putting that down to easy-to-point-at fears like missing writing code (I do too) and fearing for our jobs (who isn’t right now?). Our best developers aren’t nervous beginners on a nursery slope that everyone else has already mastered. They’re looking at unmarked terrain and asking sensible questions about the route. Telling them to be less cautious misses the point. They need to be on the team that maps it.

Of course, experience can also make us too attached to familiar practices. Some of what we learned on the groomed slopes won’t hold out there, and we need to be willing to test our assumptions.

A challenge for both sides

So there’s a challenge here for both leaders and developers. Leaders need to listen carefully enough to tell useful concerns from reluctance to change, and to create real room for experimentation. That means time, permission to get things wrong, and not judging success by how much code the agents produced. Developers need to bring their experience into those experiments and be prepared to find that some of their assumptions no longer hold.

Some familiar practices will become more important. Others will need a different shape. Nobody is going to hand us a map first.

If you care deeply about building the right thing and building it right, your judgment is exactly what this new way of working needs. Bring the caution. Then let’s set off into the snow.

Read the whole story
JayM
35 days ago
reply
Atlanta, GA
Share this story
Delete

Public Videos: Data Center Fabric Architectures

1 Share

All the videos in the Data Center Fabric Architectures webinar are now available without a valid ipSpace.net account.

The webinar hasn’t been updated in years, so the vendor-specific information is mostly obsolete. However, I’m sure you’ll still find the requirements, architectures, designs, and technology overviews sections relevant.

To watch more free ipSpace.net videos, browse them here, or click the Access Free Content button in any webinar roadmap.

Read the whole story
JayM
41 days ago
reply
Atlanta, GA
Share this story
Delete

Thieves Steal Almost $1 Million in PSA-Graded 'Pokemon' and Sports Cards Off FedEx Truck

1 Share
In Santa Ana, CA; TCG and Sports Card Collectors Express Concerns
Read the whole story
JayM
45 days ago
reply
Atlanta, GA
Share this story
Delete
Next Page of Stories