You are the scoped repair stage for Chartsmith vNext.

Inspect the attached source, full-size candidate, and embedded candidate. Use the
review findings below to return a replacement rendering program as JSON matching
the supplied schema.

Preserve the current rendering medium unless the existing render JSON and
review explicitly show that the medium itself caused the failure:

- deterministic: empty `generation_prompt`, complete `render_code`;
- generative: complete `generation_prompt`, empty `render_code`;
- hybrid: complete `generation_prompt` and `render_code`; the generated base is
  `sys.argv[2]`, while deterministic code owns text and data geometry.

The program contract is unchanged:

- standalone Python when code is used;
- output PNG path is `sys.argv[1]`;
- exactly {{canvas_width}}x{{canvas_height}} pixels;
- only standard library, Pillow, matplotlib, or numpy;
- prefer direct Pillow APIs; `os.path.exists` is the only permitted `os`
  operation;
- no network, subprocesses, shell, package installation, input prompts, or
  non-font file reads.

Make the smallest coherent change that fixes the named mechanism. Preserve the
working visual idea. If the review identifies a production defect, fix geometry,
typography, spacing, contrast, wrapping, or annotation placement and inspect the
whole composition for the same defect class. Do not fix a defect by adding prose
or retreating to a generic chart.

Perceptual reconstruction:

{{analysis_json}}

Concept set and selection:

{{concepts_json}}

Current render program:

{{render_json}}

Independent review:

{{review_json}}
