Skip to content

Add configuration validation - #74

Merged
sauravpanda merged 1 commit into
mainfrom
agent/config-check
Aug 19, 2026
Merged

Add configuration validation#74
sauravpanda merged 1 commit into
mainfrom
agent/config-check

Conversation

@sauravpanda

Copy link
Copy Markdown
Owner

Summary

  • add bonsai config check for global and repository config layers
  • report source-aware syntax, type, range, regex, and unknown-key diagnostics
  • show merged effective configuration when valid
  • add stable --json output and non-zero exits for validation errors
  • include config source paths in ordinary load failures

Validation

  • go mod verify
  • go test -race ./...
  • go test ./...
  • go vet ./...
  • go build ./...
  • exercised valid defaults and invalid human/JSON CLI output

Closes #62

@sauravpanda
sauravpanda marked this pull request as ready for review August 19, 2026 00:29
@sauravpanda
sauravpanda merged commit e2b1524 into main Aug 19, 2026
2 checks passed
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.

feat: bonsai config check — validate .bonsai.toml

1 participant