Principle:A5c ai Babysitter Plugin Validation Testing
| Knowledge Sources | |
|---|---|
| Domains | Plugin_Generation, Validation, Testing |
| Last Updated | 2026-10-23 00:00 GMT |
Overview
A method for validating atlas plugin source, generated output, processes, and repository sync state through structured assertion suites.
Description
Plugin Validation Testing is the principle of running multiple test suites that assert different aspects of the plugin generation pipeline:
- source suite: Validates the atlas-unified source structure (required files, correct format)
- generated suite: Validates the generated per-target output (correct files, valid manifests)
- processes suite: Validates process files referenced by plugins
- sync suite: Validates external repo sync state (repos exist, content matches)
- sync-workflow suite: Validates the CI sync workflow configuration
- all: Runs all suites sequentially
Package metadata validation (via check-package-metadata.cjs) ensures names, repository URLs, bugs URLs, and docs coverage are consistent across all publishable packages.
All suites exit non-zero on any failure, gating CI.
Usage
Use this principle when building plugin generation pipelines where source, output, and sync state all require validation before release.
Theoretical Basis
The testing is a multi-suite assertion runner:
suites = { source, generated, processes, sync, sync-workflow }
for suite in selectedSuites:
results = runAssertions(suite)
if any failure: exit(non-zero)
Key property: Each suite is independently selectable, enabling targeted testing during development and comprehensive testing in CI.