Validator
A component that verifies the result after task execution. It does not take things at face value: before marking a task as successful, it rechecks key conditions.
Why is it needed
An automated process can silently fail: the API returned 200, but the data was not written, or the model generated the wrong format. The validator catches such cases with deterministic checks.
How it works
- re-reads the page or data after publication;
- checks success markers (e.g., required classes in HTML);
- if the check passes, status
done, otherwiseerrorand alert.
Example
In the card rewrites of products, the validator re-downloads the card and checks that the description now includes the classes faq-item and facts-wrapper. Only after this is the card considered ready.