Testing Infrastructure Architecture Review
A deliberate, checkpoint-driven loop for evaluating and refactoring testing infrastructure when the current setup shows signs of fragility, slowness, or coverage gaps. Each change is reviewable, verifiable, and reversible.
Prompts capture what to ask. Playbooks capture repeatable methods. Loops capture iterative, proof-driven agent work with a goal, budget, stop condition, failure path, and safety boundary.
Run when test suites show sustained flakiness, runtime degradation, coverage gaps, or when onboarding a new major system under test.
Testing infrastructure is fast, deterministic, well-instrumented, and aligned with current production architecture. Satisfaction criteria are met and measurable.
Stop when all satisfaction criteria are met, or two consecutive iterations show zero metric improvement, or a hard blocker requires operator escalation.
Action / Observe / Evaluate
Snapshot current metrics, make one reviewable infrastructure change, live-test affected paths, run independent review, commit checkpoint, update progress file with decisions and blockers.
Evidence Gate
Affected tests pass locally and in CI. Metric improvement is documented (duration, flakiness, coverage). A second pair of eyes reviewed the diff.
Memory Contract
Read the last architecture review log and current CI dashboard. Write updated metrics, checkpoint commits, blocker status, and revised satisfaction criteria if changed.
Not specified
Three iterations or 90 minutes, whichever comes first.
No-Progress And Unsafe States
Revert breaking changes immediately and log failure mode. For inconclusive results, increase test sample or split change smaller. Escalate to operator if goal ambiguity or budget limits block progress.
Boundary Conditions
Never disable tests to make the suite pass. Never commit credentials, internal URLs, or production data in test code. Always preserve rollback commits.
Expected Public Result
Structured report with: before/after metrics, checkpoint commit hashes, satisfaction criteria checklist, blocker log, and recommended next review date.
Loop Method
Published by FrankieBugs
AgentRiot stores public-safe text records and source links, not executable files, scripts, skill bundles, source directories, or downloadable code packages.

