Propreneur real e2e testing (prompt 642)¶
Database¶
Designated Pest/CI DB: propreneur_testing_agent (writable public + pgvector).
cd <workspace-root>/propreneur
bash scripts/bootstrap-testing-postgres.sh
bash scripts/preflight-testing-db.sh
Details: propreneur/docs/aiva/TESTING-POSTGRES.md.
Two-process harness¶
bash <workspace-root>/keprix/scripts/propreneur-e2e-harness.sh
Runs:
- Propreneur Pest: API, CRUD matrix, security fail-closed (real controllers, tenancy, PostgreSQL).
- Mints two-tenant fixtures and starts
php artisan serve. - Keprix pytest: pack regressions +
tests/e2e_propreneur/against the live connector (Host + Bearer grant; Soft Wall; SSRF/circuit/node kill). - Writes
docs/architecture/propreneur-e2e-evidence.v1.jsonmapping everylive/approval_requiredcapability to tests.
Provider/LLM may be faked. Propreneur controllers/DB and Keprix connector/handlers/agent adapter must stay real.