Deterministic validation (doxloop test) is suitable for every pull request. Agent authoring (create, update, review) is optional in CI because it may require model credentials and can pause for interactive decisions.
Validate in CI
npm ci
doxloop testdoxloop test exits with status 1 when any validation error remains; warnings don't change the exit status, so a pipeline step that checks the exit code catches only real errors.
Use structured output when another tool consumes the result:
doxloop test --format json > doxloop-validation.json
doxloop status --format jsonRun the generator's strict build
doxloop test performs fast project and content checks; your generator's native strict build is the final parser for its format. Run it after validation, using the command and output directory reported by:
doxloop generator doctor
doxloop generator info <generator>Treat either check's failure as blocking.
Publishing
Never run doxloop deploy in an untrusted pull-request context, such as a build triggered by an external contributor's PR. Restrict deployment to protected environments and short-lived or scoped credentials, and run doxloop deploy --dry-run before an approved deployment. See Publish documentation.