Skip to main content

cerebro-regression-tests

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

Ir a la instalación

Datos de origen

Repositorio
writer/cerebro
Última actividad en el origen
27 de agosto de 2026 a las 21:30
Idioma detectado de SKILL.md
inglés
Estrellas
14
Forks
2

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
name
cerebro-regression-tests
description
Add focused regression coverage for Cerebro review findings, bugs, and security edge cases.
# 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; Rust kernel behavior belongs in the owning crate's tests (property tests where the crate already uses them). 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` (Go) or `cargo test -p <crate>` (Rust), then `make changed-check`, then `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.
Ver en GitHub