Preparing your design workspace

Loading the problem and your latest saved attempt…

Design Human-Governed File Review Agents

Design a multi-agent review service that classifies a file, proposes conflict-aware edits, and leaves publication decisions to a human editor.

Problem statement

For this exercise, assume an authorized editor starts a review against one immutable text-bearing file version and one immutable rule-set version. The rule set contains the deterministic policy that maps rule findings to qualified, acceptable, or unqualified. Up to eight review agents may inspect the same snapshot.

The service returns the classification with rule-linked evidence and produces structured edit proposals for acceptable and unqualified outcomes. Agents can record findings and proposals, but they can never change or publish the authoritative file.

Overlapping or incompatible proposals must be shown as alternatives rather than silently merged. One human editor accepts, rejects, or revises suggestions and explicitly publishes a new immutable file version using an expected-base-version check.

Design the review, coordination, and publication paths; real-time co-editing, binary-media editing, rule authoring, and agent-model training are out of scope.

What to build

  1. An authorized editor can start a review for a specific file version and rule-set version, then retrieve a deterministic classification with rule-linked findings.
  2. For acceptable and unqualified results, the editor receives structured edit proposals anchored to the reviewed file version.
  3. The service identifies duplicate, overlapping, and incompatible agent proposals and presents conflicting alternatives without silently applying them.
  4. Only an authenticated human editor can accept, reject, or revise proposals and explicitly publish a new file version without overwriting a newer version.

At scale

  • Assume 100,000 review jobs per day with brief bursts of 50 new jobs per second.
  • Assume text-bearing files are at most 10 MB and one review fans out to at most eight agents.
  • Assume consolidated results for files up to 2 MB are ready within two minutes at p95; larger files may complete asynchronously within ten minutes.
  • Assume published file versions and human decisions are retained for one year, while intermediate agent outputs and proposals are retained for 90 days.