Cerebro Regression Tests
Instructions
- Reproduce the reported bug class with the smallest package-level test.
- Prefer table-driven Go tests for parser, validator, projection, graph, and source connector edge cases; Rust kernel behavior belongs in the owning crate's tests (property tests where the crate already uses them).
- Include security boundary cases for URL, host, tenant, auth, pagination, size-limit, and error-mapping fixes.
- Keep fixtures local to the package unless an existing shared fixture pattern already exists.
- Run the focused package test with
-count=1 -v(Go) orcargo test -p <crate>(Rust), thenmake changed-check, thenmake verifywhen feasible.
Success Criteria
- The new test fails against the unfixed behavior or clearly asserts the regression boundary.
- The production fix is minimal and covered by the new test.