Skip to content

feat: custom providers, error handling, internal cleanup#48

Merged
dkmnx merged 21 commits into
mainfrom
develop
May 27, 2026
Merged

feat: custom providers, error handling, internal cleanup#48
dkmnx merged 21 commits into
mainfrom
develop

Conversation

@dkmnx
Copy link
Copy Markdown
Owner

@dkmnx dkmnx commented May 27, 2026

Summary

Adds support for custom provider definitions, fixes silent error swallowing in config loading, and includes extensive internal refactoring and documentation improvements.

Changes

  • feat(providers): support custom provider definitions in config.yaml
  • fix(cmd): surface loadConfigOrEmpty errors instead of swallowing them
  • refactor(providers): compute provider order from priority list
  • refactor(cmd): remove dead code (setupSignalHandler, harnessBinary, yoloFlag rename), consolidate harness logic with crypto interface, add StartSession tests
  • docs: fix markdown formatting, switch contributing guide to Google Go Style, document custom_providers
  • test(execution): skip signal-self test on Windows

Test Plan

  • go test -race ./... — all pass
  • golangci-lint run ./... — 0 issues
  • coverage 83.8% (above 70% threshold)
  • Windows signal test correctly skipped
  • Custom provider round-trip through config load/save

Notes

Bumps minor version (v2.7.0 → v2.8.0) due to the new custom providers feature. No breaking changes.

dkmnx and others added 21 commits May 23, 2026 10:52
- Add crypto.Service interface with DefaultService impl, inject via Deps
- Add ConfigDirResolver to CLIContext for testable config dir resolution
- Create internal/harness package consolidating harness dispatch, flags, env vars
- Create internal/execution package with StartSession helper
- Update golang.org/x/crypto v0.51.0 -> v0.52.0
- Add harness package tests

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
…ions

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
@dkmnx dkmnx added bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request labels May 27, 2026
@dkmnx dkmnx changed the title feat: v2.8.0 — custom providers, error handling, internal cleanup feat: custom providers, error handling, internal cleanup May 27, 2026
@dkmnx dkmnx merged commit a9e4f9f into main May 27, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant