Research and hypotheses
Markus Ahling, Department of Checking Things Twice (a fictional department)
I drag ideas about AI and software delivery into a room with the code, the measurements and the actual work. Here’s what happened when I made them sit down together.
NEW! Numbered footnotes. The department is very proud of them.
Research method and scope
The haul: records of when agents run, interaction categories, tool use, code changes, compiler results, deliberately introduced failures and returned work. I also study public-data schemas, identity models and client protocols. These records answer different questions, and they will happily answer the wrong one if you let them swap jobs. Activity alone cannot tell me how much someone read, whether a result was useful or what business value it created.
Attention and decisions
Delegated work and expert attention
Abstract. Fuller briefs went with less steering. Corrections did not fall. The agents got more capacity. I’d asked a different question. How much time did the operator get back?[1]
- Question
- I asked whether handing execution to the agents leaves the human more room for the hardest work. Fair question. Rough answer.
- Method
- The study compared local action logs, manually classified messages, context use and later code changes.
- Data
- It examined interaction timing, steering, corrections and possible reading effort.
- Result
- Fuller opening briefs went with less driving. We still had just as much correcting to do. Then the floor moved: the interpretation changed once I recognized that moving between subjects can be part of an operations role.
Decision cards and repeated questions
Abstract. Batching helped with repeat questions. The answers still did not arrive any sooner.
- Question
- I asked whether short, sharp cards could improve decisions while keeping the human's hands on the wheel.
- Method
- The study reviewed question history, tried recommendations in fresh sessions and used harmless permission tests.
- Data
- It compared card text, answer timing, repeated questions and expected or forbidden file changes.
- Result
- Batching helped with repeat questions, but answers did not arrive sooner. I tested ways to keep local work moving within the existing permissions.
Unattended work and handoffs
Abstract. The run produced useful engineering. Some summaries quietly dropped their qualifications, and handoffs needed repair.
- Question
- I asked whether agents left to themselves could advance useful work and come back with a coherent handoff, without manufacturing more management work for me.
- Method
- For selected periods, the study compared records of when agents ran with their returned work, the task board, code changes and later corrections.
- Data
- It separated requests, starts, waits, demonstrations, handoffs and confirmed outcomes.
- Result
- The run produced working changes, summaries that dropped details and handoffs I had to repair. I tracked queued time separately from execution.
Code and runtime checks
Code structure and repeated mistakes
Abstract. Types and service checks turned selected mistakes away at the door. Replacing owned state helped cleanup in the model.[2][3]
- Question
- I asked whether the code itself could slam the door on an error before anyone had to send another instruction.
- Method
- The study checked whether TypeScript and Zod caught incompatible calls and whether connected services agreed on who owned each operation. It also used a small model to test whether replacing account state prevented leftovers.
- Data
- The study used selected code, compiler results and checks with guards removed and restored.
- Result
- Types rejected selected changes to operations and arguments. Checks between connected services rejected incompatible capabilities. Replacing owned state simplified cleanup in the model. The stale external effects did not go quietly: they still needed a check that the worker's reservation remained valid.
Workflow dashboards and completed work
Abstract. The dashboards rendered and the collection kept coming back around, but some completed-work records just sat there, stale.[4]
- Question
- I asked whether a thin slice of run metadata could show useful operating state without hauling whole conversations along for the ride.
- Method
- The study followed reporting through an existing collector into Prometheus and Grafana.
- Data
- It examined run fields, source coverage, freshness and links to confirmed outcomes.
- Result
- The collector ran on a schedule and the dashboards rendered. Fresh collection still left some outcome records stale. A running collector is not a fresh record.
Sharing test setup
Abstract. The command with shared setup ran at a lower median time. The same tests passed.
- Question
- I asked whether tests could share fixture and migration setup without giving up their behavior checks.
- Method
- The study alternated the existing and proposed command, recording timing, setup and test results.
- Result
- The command with shared setup ran at a lower median time. The same tests passed.
Checking completion, traces and fresh data
Abstract. A trace can survive a rolled-back transaction, and a running collector can still leave completed-work records stale. Trust nothing that only says done.
- Question
- I check what a merged change actually delivers, not what the merge button implied.
- Method
- A diagnostic trace can be exported even if a database transaction rolls back.
- Data
- I also check the age of the completed-work record separately from the collector.
- Result
- These checks keep an incomplete result visible, out in the open where it cannot sneak off.
Diagram notes
- Code
- Check code separately from generated files, builds and running behavior.
- Generated files
- Check generated files separately from code and builds.
- Build/check
- A build check cannot establish running behavior by itself.
- Running behavior
- Check running behavior separately from a signed-in integration.
- Signed-in integration
- Check the signed-in integration separately from the confirmed result.
- Confirmed result
- A completion message alone does not establish these checks or a successful handoff.
- Missing check
- These checks keep an incomplete result visible.
Guides and retrieval
Finding a relevant guide
Abstract. Agents found the relevant guide more often in the local tests, and the unrelated control stayed unloaded. A small win, in local tests, and I will take it.
- Question
- I asked whether a conditional policy link could steer an agent to the right guide without dumping unrelated material on its head.
- Method
- Fresh sessions tried the same questions with and without the link, alongside an unrelated-question control.
- Data
- The study recorded guide reads and responses to stale guidance, conflicting sources and protected actions.
- Result
- Agents found the relevant guide more often in the local tests, and the unrelated control stayed unloaded. A small win, in local tests, and I will take it.
Local reasoning in a research tool
Abstract. The integration ran the model locally and still sent retrieval to an external service.
- Question
- I asked whether an upstream web-research application could run on a local model and still keep useful retrieval and citations.
- Method
- The investigation reviewed model-endpoint changes in existing applications, integration records and a cited sample.
- Data
- I looked at the code, the citations, the configuration and the builds.
- Result
- The integration ran the model locally and still sent retrieval to an external service.
Selecting changes for review
Abstract. The pilot used review and merge history to surface candidates for human review. A human still made the call.
- Question
- The pull request (PR) triage study asked which changes still needed review and which appeared to be dead weight.
- Method
- A bounded pilot compared review metadata, overlapping merges and whether branches remained reachable.
- Result
- It used human review to choose what to do next.
Data and client models
Public job-posting data
Abstract. The schema keeps rule-based normalization in one room and the model’s judgment in another.
- Question
- I examined how repeatable code can beat public job postings into a common format while keeping the model's judgment separate.
- Method
- Normalization applies the same rules to incoming records; a model can then make a separate judgment.
- Data
- The schema describes the source, role, location, workplace, description, compensation and source timestamps.
Organization identity models
Abstract. The Keycloak comparison dragged the migration and tooling prerequisites into the light.
- Question
- I investigated ways to represent separate customer organizations in one shared identity service without the whole thing turning into a crowd scene.
- Method
- The Keycloak study compared an organization attribute with native organization records, including membership across organizations, domain routing and identity-provider choices.
- Result
- It identified migration and tooling prerequisites.
A native agent-protocol client
Abstract. I reviewed the package families and conversation IDs for a native client.
- Question
- I investigated whether the Agent User Interaction (AG-UI) protocol could hold up a native .NET desktop client.
- Method
- The note compared documentation, package families and examples for streamed agent updates.
- Data
- It also examined conversation identifiers and the checks a server needs when a desktop client connects.
Diagram notes
- Question
- With coding agents, I test ideas by reading code, trying small cases, recording measurements and reviewing what happened on real tasks.
- Possible counterexample
- Remove the guard and confirm that the bad case passes; restore it and confirm that the bad case is rejected. Read the code structure study
- Method
- The study used selected code, compiler results and checks with guards removed and restored. Read the study method
- Minimized data
- I collect records of when agents run, interaction categories, tool use, code changes, compiler results, deliberately introduced failures and returned work.
- Observation
- The compiler probe targeted selected operations.
- Interpretation
- Activity alone cannot tell me how much someone read, whether a result was useful or what business value it created.
- Next test
- These records answer different questions.
- Supported in scope
- The tests support guide discovery; they do not establish better results on ordinary work. Read the guide discovery study
- Inconclusive
- The observations do not establish cause and effect or how much attention the work required. Read the expert attention study
- Not supported
- More agent capacity did not establish more protected expert time. Read the expert attention study and its limit
Footnotes
- Do not treat a thread visit as a measure of reading. Back to the claim
- Remove the guard and confirm that the bad case passes; restore it and confirm that the bad case is rejected. Back to the claim
- The compiler probe targeted selected operations. Back to the claim
- Check the age of the completed-work record separately from the collector. Back to the claim
Last modified: 1997, according to a fictional page stamp. The real dates live in the commit log, where nobody can backdate them.