Skip to main content

Module verification

Module verification 

Source
Expand description

Verification types

This module provides types for verification results. The actual verification logic is handled by the AI agent through prompts - the AI uses tools to discover project type and run appropriate build/test commands.

§AI-Driven Verification

Instead of hardcoded verification logic, the system prompt instructs the AI to:

  1. Identify project type by reading manifest files (Cargo.toml, package.json, etc.)
  2. Run appropriate build/check commands after making code changes
  3. Fix any errors and re-run until the build passes
  4. Only report success when code compiles successfully

Structs§

VerificationResult
Result of running a single verification command

Functions§

format_verification_errors
Format verification failures into a message
format_verification_status
Format a verification status message