Cerebro Regression Tests

Add focused regression coverage for Cerebro review findings, bugs, and security edge cases.

writer Updated
Cerebro compliance overview showing framework readiness, open work, evidence gaps, and integration health

File contents

Cerebro Regression Tests

Instructions

  1. Reproduce the reported bug class with the smallest package-level test.
  2. Prefer table-driven Go tests for parser, validator, projection, graph, and source connector edge cases.
  3. Include security boundary cases for URL, host, tenant, auth, pagination, size-limit, and error-mapping fixes.
  4. Keep fixtures local to the package unless an existing shared fixture pattern already exists.
  5. Run the focused package test with -count=1 -v, then run make verify when 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.

writer/cerebro/tree/main/.factory/skills/cerebro-regression-tests commit b45e3269ff

Frequently asked questions

npx skillmds@latest add writer/cerebro-regression-tests-2