📚 Encyclopedia

AI & Claude · updated 2026-10-13

Adversarial review before architecture decisions

code-reviewsubagentsarchitectureperformancemeasurementprocess

Before committing to a decision that is expensive to reverse, have one or more independent agents attack the plan, with performance as an explicit axis, and then verify their key claims by measurement before acting. Justin's phrasing (2026-08-14): "unless you're already certain, run the plan by an adversarial agent to get feedback and keep performance peak."

When to use it

Storage and file formats, rendering strategy, contracts between systems, data structures that everything else will depend on. Not routine implementation.

Setup that worked

Two reviewers in parallel: 1. Design reviewer: seams, schema, failure modes, "what hurts in six months". 2. Performance reviewer: told to label every number MEASURED or ESTIMATED and to benchmark rather than assert.

Then verify

Agents can be confidently wrong. Reproduce the decisive claims yourself (a quick benchmark or simulation) before changing the plan. Report which findings were accepted, which were rejected, and which were your own mistakes.

What it caught (Spacebar map architecture)

See also

Linked from

Sources: spacebar memory (feedback_adversarial_review, project_map_pipeline, project_js_rebuild)