What problem does it solve?
Provisioning reliable end-to-end test environments from production-like data is slow and risky, because teams need isolated clones, anonymized data, consistent scaling, and a stable URL for test execution.
Core Features & Use Cases
- Isolated clone provisioning (Mode II): Creates a scaled-down anonymized clone of a production environment suitable for autospec-test E2E runs.
- Declarative contract enforcement: Reads and validates
.autospec/clone.yml to determine snapshot sources, anonymization rules, scaling behavior, and expose adapter settings.
- PII-safe anonymization with fail-closed assertions: Redacts/hash/scrubs sensitive columns and can verify post-anonymization PII invariants.
- FK-aware scale-down and reachability closure: Samples data while preserving referential integrity so E2E tests fail for real reasons, not missing rows.
- Edge-case seed injection: Ensures required shape predicates have sufficient data by generating synthetic rows from a catalog (+ optional overlay).
- Expose + health-gated URL output: Brings up the environment via the configured adapter and writes the resulting routable URL to
.autospec/clone-url.txt.
Quick Start
Run /autospec-e2e-clone in your harness to provision .autospec/clone.yml and output a ready-to-test URL in .autospec/clone-url.txt.