cerebro-regression-tests
Add focused regression coverage for Cerebro review findings, bugs, and security edge cases.
来源信息
- 仓库
- writer/cerebro
- 最近来源活动
- 2026年4月30日 14:20
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 14
- 分支
- 2
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- 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.
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.
在 GitHub 查看