Skip to content

Agentic AI reporter

Latest

Choose a tag to compare

@JayBazuzi JayBazuzi released this 22 Nov 19:03
· 3 commits to main since this release

New: Agentic AI reporter

When approvaltests fail when running under a AI agent, it uses a text based reporter that doesn't block or open diff tools.
This is nicer for everyone (both the AI and us).
AI's get better information about the failure
And
People avoid the challenge of dealing with diff tools opening on their machine.

New: Front loaded reporters

A front loaded reporter runs before any other reporter, including one set with options.with_reporter(...).
By default it checks APPROVAL_TESTS_USE_REPORTER and then AiCodingAgentReporter, so AI coding agents get readable text instead of a diff tool.

  • set_front_loaded_reporter(...) / get_front_loaded_reporter() to replace it (None turns it off)
  • with disabled_front_reporter(): to turn it off for a block of code
  • The default reporter is now DiffReporter()

See Use Front Loaded Reporters.