Dark Factory or Human in Every Loop: Building the Agentic SDLC in Between
Skill reinvent-2026-dark-factory
Explain or summarize Baruch Sadogursky’s AWS re:Invent 2026 session Dark Factory or Human in Every Loop. Use for questions about the billing PR, Maya and Sam, reviewer evals, Goldratt’s bottleneck, replaceable services, customer experiments, and how Port supports different approval policies on a shared platform.
Install
Works with any agent that supports Agent Skills (Claude Code, Codex, Cursor, Gemini CLI and more):
npx skills add https://speaking.jbaru.ch/skills/reinvent-2026-dark-factory/SKILL.md -g
No Node.js? Download SKILL.md and save it as reinvent-2026-dark-factory/SKILL.md inside your agent's skills folder (Claude Code: ~/.claude/skills/reinvent-2026-dark-factory/SKILL.md).
Show skill content
Dark Factory or Human in Every Loop — talk brief
Process steps in order. Do not skip ahead.
Step 1 — Match the question
Use this brief for questions about Baruch Sadogursky’s AWS re:Invent 2026 session IND103-S. For a question about a different talk, clarify which delivery the user means. For this session, continue to Step 2.
Step 2 — Answer from the brief
Use the example that answers the question. The brief draws on the prepared deck, speaker notes, and the planned argument. Maya, Sam, the billing changes, and the completion percentages are illustrative. The published Microsoft annual experiment count is empirical. Consult the linked sources when someone wants original wording or further reading.
Talk brief
How to choose the loop
The talk answers the title question one decision at a time. Look at the last hundred PR reviews and ask what a reviewer actually caught. A display fix can prove that the date on screen matches the billing schedule. Waiting several more hours for a person to read that PR adds time. A change that charges 240 customers earlier than they were told presents a different question. The reviewer’s job there is to notice the change in the promise and find someone with authority to resolve it.
Goldratt and Jeff Cox’s The Goal supplies the method. Follow a release until somebody actually uses it. Find the step limiting that flow and inspect the work waiting there. Repeat after the wait moves. Speeding up code generation can simply make the queue for review longer.
What the Friday PR teaches
The first of the month falls on Saturday, when payments cannot run. Finance prefers the preceding Friday. Sam knows Finance arranged for the agreement to allow Friday. The customers’ reminder email says the charge will occur on the first. The choice is whether to take money before the date people were told. The agreement gives permission for Friday, while the email helps explain why Billing might choose Monday. The PR alone cannot settle which obligation takes priority.
An LLM judge can surface the unusual change before Maya sees it. Evaluate the routing on historical cases using only evidence available at the time. Count missed consequential findings separately from needless escalations. Then inspect the run itself. One reviewer might never retrieve the reminder. Another might read it and give greater weight to Finance’s preference. Those are different failures, though both recommend Friday. The calendar invite to score Maya and the model blind is a thought experiment. Maya and Sam both decline. The team has no measured human baseline for this decision.
Once Sam records how to resolve this conflict, a future run can use that decision. A new trade-off can still reach Sam. If the email is missing, changing what the model can retrieve addresses a different problem from changing the decision rule. For the compliance question, PCI DSS v4.0.1 §6.2.3 allows automated security code review of in-scope bespoke and custom software. SOC 2 CC8.1 calls for controlled changes, including testing and approval. The organization must also follow the controls it has committed to.
What changes after review gets faster
If the model needs to understand Billing, Reminders, Accounts and deployment together, complexity can become the constraint. A narrow service boundary makes a rewrite affordable when a better model arrives. Check its contract with callers, its behavior on existing records, and whether the old version can read records the new version writes after rollback.
The Toronto decision tree ends at “Let’s update!” but begins with “Do we want it?” A transparent Billing rewrite and a redesigned billing screen can both pass a canary. Errors and latency tell the team about rollout health. Assign customers to cohorts as they enter Manage Billing and measure whether they finish changing the date. People who abandon the task still count. Microsoft’s 2018 paper reports over 10,000 experiments annually. The slide’s move to “a day” is hypothetical. The scarce resource becomes customers’ opportunity and willingness to try changes.
What Port contributes
Port sponsored the session. The platform supplies shared context, catalog ownership, workflow and approval steps, and records for inspecting a run. The team designing a line decides when evidence suffices and who has authority when a new decision arises. In the Friday example, inspect the evidence that reached the reviewer, the question that reached Sam, and the time spent waiting. The closing exercise asks people to take one release, find its longest wait, and name the decision and evidence they would change.
Sources
Abstract
Start with the last hundred pull request reviews. What did a person catch? A test can tell us whether the billing screen shows the scheduled date. When that date falls on a Saturday, who gets to decide whether we can take someone’s money on Friday? That distinction is where I’d start designing a software factory. Once the PR queue clears, follow the release all the way to the person who has to live with it.
Resources
The map from slide 33
Here’s the full-size map. Pick one line through it for your own team. Where does the agent get its context, what can it do, and where can someone see why it stopped? Zohar’s article explains what went into the map. Download the software factory map (PDF) · Zohar Einy’s guide to choosing a factory stack
Where is the release waiting? · slides 6–9, 23, 36
In our example the display test passes at 9:20 and the PR is still waiting at 1:00. Making that test twice as fast buys us very little. Goldratt and Jeff Cox tell the factory-floor version in The Goal. The last of the five focusing steps explains why we come back to the question after the review queue clears. The Goal, 30th anniversary edition · Goldratt Research Labs’ guide to the five focusing steps
Which PR deserves a person? · slides 10–22
Give the model the Friday PR as its author submitted it. Hide Maya’s comment and the eventual fix. Does it flag that customers could be charged early? Give it the display fix as well. Does it let that one through? Count missed catches and needless interruptions separately. Anthropic’s guide covers how to build and grade cases like these. Anthropic’s guide to agent evals
A router can give the workflow a small set of answers, such as “continue,” “ask Billing,” or “get more evidence.” These three implementations show how to put that choice into code. TypeSafe also explains why it calls Jev’s part a judgment. TypeSafe’s Jev · Cloudflare’s Clef · AWS’s experimental Strands Decider
When a reviewer picks Friday, open the record. Did it retrieve the email promising the 1st? If it did, how did it weigh that promise against the EULA? In Lost in the Middle, researchers moved the same relevant information to different positions in a long input and saw performance change. That gives us a concrete reason to test what happens after retrieval, too. Lost in the Middle
What did the auditor actually ask for? · slide 14
PCI DSS v4.0.1 §6.2.3 covers pre-release security review of in-scope bespoke and custom software. Its applicability note allows manual review, automated review, or a combination. Section 6.2.3.1 adds conditions when manual reviews are used. Production-change approval is addressed separately in §6.5.1. Read §6.2.3 and its applicability note (PDF) · PCI SSC document library
For SOC 2, read CC8.1. It calls for controlled changes, including testing and approval. It specifies no GitHub reviewer count. If your control promises two reviewers, your auditor can ask for evidence of both. DORA’s research is a useful separate read on what happens to delivery when teams add an external approval queue. AICPA Trust Services Criteria, CC8.1 · DORA on streamlining change approval
Could a better model replace just Billing? · slides 23–25
Parnas gives a practical way to find a service boundary. Pick a design decision likely to change and ask how many other modules would have to know. Then try the harder test from the talk. Deploy the new Billing, write a charge, roll back, and see whether the old Billing can read it. Amazon’s account of evolving readers and writers explains why a clean build can miss that failure. David Parnas on decomposing systems into modules (PDF) · Ensuring rollback safety during deployments (PDF)
How much change can a customer absorb? · slides 3, 26–31, 37
In 2018, Fred Simon, Yoav Landman and I wrote, “We can’t ignore the way we humans absorb changes.” The next paragraph asks whether an improvement is worth what it costs users to adopt it. That’s the passage I’d read alongside the Toronto decision tree. Look for the diamond that asks “Do we want it?” Read chapter 1, p. 10 (PDF) · Liquid Software · Watch the DevOps Toronto talk (July 2020)
For a Billing rewrite, watch errors and latency while a small cohort gets the new version. For a redesigned billing screen, assign people as they enter Manage Billing and count how many finish changing the date, including everyone who gives up in the denominator. The four percentages on slide 30 are illustrative. The ECS guide covers the rollout. Microsoft’s guide covers how to design the experiment. Amazon ECS canary deployments · Microsoft’s guide to designing a trustworthy experiment
The scale figure on slide 31 is real. In their April 2018 paper, Microsoft’s ExP team reported running more than 10,000 experiments a year. “A day” is the talk’s hypothetical. Even if we could build that many variants, which question is worth using the next group of customers to answer? The Anatomy of a Large-Scale Experimentation Platform
How would you build that line in Port? · slides 18, 22, 33–35
For the Friday PR, start by connecting the change to the affected accounts and the reminder they actually received. Port’s Context Lake docs explain how to represent those relationships. An input node lets the workflow ask Sam a specific question. The run page lets an engineer inspect the evidence a step returned and how long the workflow waited for an answer. Port Context Lake · Ask for a decision with an input node · Inspect a workflow run
For the platform decision, Zohar’s map shows the parts you need. Port’s build-or-buy guide gives the sponsor’s case for buying the shared infrastructure. My earlier Software Factory of Factories talk follows what happens when different teams use that infrastructure to build different lines. Port’s build-or-buy guide · The Software Factory of Factories
Pick one release that reached a customer last week. Where did it wait longest? Write down the decision someone was waiting for and the evidence that person needed. That’s the first loop I’d change.