cli/pkg/release
Snider a169558102 Centralized Configuration Service Implementation (#319)
* feat: implement centralized configuration service using viper

This commit introduces a centralized configuration service in `pkg/config`
to reduce code duplication and provide a unified way to manage configuration
across the project.

Key changes:
- Refactored `pkg/config` to use `github.com/spf13/viper` as the backend.
- Implemented `core.Config` interface with support for layered resolution
  (defaults, files, environment variables).
- Added `LoadFile` to support merging multiple configuration files, with
  automatic type detection for YAML and .env files.
- Migrated `pkg/agentic`, `pkg/devops`, `pkg/build`, and `pkg/release`
  to use the new centralized service.
- Added `mapstructure` tags to configuration structs to support viper unmarshaling.
- Added comprehensive tests for the new configuration service features.

This addresses the recommendations from the Architecture & Design Pattern Audit.

* feat: implement centralized configuration service and address security alerts

- Introduced centralized configuration service in `pkg/config` using `viper`.
- Migrated major packages (`agentic`, `devops`, `build`, `release`) to the new service.
- Resolved merge conflicts with `dev` branch.
- Addressed CodeQL security alert by making UniFi TLS verification configurable.
- Fixed `go.mod` to ensure it is tidy and consistent with direct dependencies.
- Updated UniFi CLI to support TLS verification configuration.
2026-02-05 10:26:44 +00:00
..
publishers Migrate pkg/release to io.Medium abstraction (#290) 2026-02-04 15:07:13 +00:00
testdata/.core feat(release): implement release system with GitHub publisher 2026-01-28 18:33:11 +00:00
changelog.go feat(release): implement release system with GitHub publisher 2026-01-28 18:33:11 +00:00
changelog_test.go test: increase coverage to 63.8% across packages 2026-01-29 14:28:23 +00:00
config.go Centralized Configuration Service Implementation (#319) 2026-02-05 10:26:44 +00:00
config_test.go Migrate pkg/release to io.Medium abstraction (#290) 2026-02-04 15:07:13 +00:00
release.go Migrate pkg/build to io.Medium abstraction (#287) 2026-02-04 17:59:10 +00:00
release_test.go Migrate pkg/release to io.Medium abstraction (#290) 2026-02-04 15:07:13 +00:00
sdk.go feat(mcp): add workspace root validation to prevent path traversal (#100) 2026-02-01 21:59:34 +00:00
sdk_test.go test(release): add SDK release integration tests 2026-01-29 03:28:05 +00:00
version.go feat(release): implement release system with GitHub publisher 2026-01-28 18:33:11 +00:00
version_test.go feat: git command, build improvements, and go fmt git-aware (#74) 2026-02-01 10:48:44 +00:00