Skip to content

Comments

fix: add input validation and CLI consistency across all nodes#6

Merged
edgarriba merged 1 commit intomainfrom
fix/node-compliance-audit
Feb 6, 2026
Merged

fix: add input validation and CLI consistency across all nodes#6
edgarriba merged 1 commit intomainfrom
fix/node-compliance-audit

Conversation

@edgarriba
Copy link
Member

Summary

  • system-telemetry: add topic name regex validation and rate_hz bounds checking (0.01–1000.0)
  • network-monitor: add topic/numeric validation, set -e endpoint default to tcp/127.0.0.1:7447, add build task alias in pixi.toml
  • openmeteo: add FetchConfig bounds validation, populate scope field in all Header messages, scope data topics with bubbaloop/{scope}/{machine}/ prefix, rename -z flag to -e for consistency, add 30s HTTP client timeout
  • inference: add -c/-e CLI flags via argh, add config.yaml with subscribe_topic, use scoped subscribe topic, validate topic pattern

All changes modeled after rtsp-camera which was already fully compliant.

Test plan

  • system-telemetry: verify node rejects invalid publish_topic and out-of-range rate_hz
  • network-monitor: verify validation errors on bad config, confirm -e default works
  • openmeteo: verify config bounds rejection, confirm weather topics now appear under bubbaloop/{scope}/{machine}/weather/*, confirm -e flag works (was -z)
  • inference: verify -c config.yaml and -e flags work, confirm subscription uses scoped topic

🤖 Generated with Claude Code

Audit all nodes against CLAUDE.md checklist and fix compliance gaps:

- system-telemetry: add topic name validation and rate_hz bounds checking
- network-monitor: add topic/numeric validation, endpoint default, build task
- openmeteo: add config bounds validation, fix Header scope field, scope
  topics with bubbaloop/{scope}/{machine}/ prefix, rename -z to -e flag,
  add HTTP client timeout
- inference: add -c/-e CLI flags, config.yaml, scoped subscribe topic

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@edgarriba edgarriba merged commit fd29e0d into main Feb 6, 2026
6 checks passed
@edgarriba edgarriba deleted the fix/node-compliance-audit branch February 6, 2026 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant