Cerebro Source Integration
Instructions
- Start from the closest existing integration under
sources/. - Implement config parsing with safe defaults, strict validation, and clear error mapping.
- Add preview behavior and runtime sync behavior only within the requested scope.
- Protect network-facing settings against loopback, unsafe schemes, malformed URLs, unbounded responses, and pagination loops.
- Add package tests for config validation, preview decoding, pagination, and error handling.
- Run focused source package tests, then
make verifywhen feasible.
Boundaries
- Do not introduce new external dependencies unless explicitly requested.
- Do not add live-service tests unless they are opt-in behind environment variables.