Major security, observability, and configuration improvements:
## Security Hardening
- Implemented configurable CORS (no more wildcards)
- Added comprehensive auth middleware for admin endpoints
- Enhanced webhook HMAC validation
- Added input validation and rate limiting
- Security headers and CSP policies
## Configuration Management
- Made N8N webhook URL configurable (WHOOSH_N8N_BASE_URL)
- Replaced all hardcoded endpoints with environment variables
- Added feature flags for LLM vs heuristic composition
- Gitea fetch hardening with EAGER_FILTER and FULL_RESCAN options
## API Completeness
- Implemented GetCouncilComposition function
- Added GET /api/v1/councils/{id} endpoint
- Council artifacts API (POST/GET /api/v1/councils/{id}/artifacts)
- /admin/health/details endpoint with component status
- Database lookup for repository URLs (no hardcoded fallbacks)
## Observability & Performance
- Added OpenTelemetry distributed tracing with goal/pulse correlation
- Performance optimization database indexes
- Comprehensive health monitoring
- Enhanced logging and error handling
## Infrastructure
- Production-ready P2P discovery (replaces mock implementation)
- Removed unused Redis configuration
- Enhanced Docker Swarm integration
- Added migration files for performance indexes
## Code Quality
- Comprehensive input validation
- Graceful error handling and failsafe fallbacks
- Backwards compatibility maintained
- Following security best practices
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2.5 KiB
2.5 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.7.0 - 2020-09-14
Added
- Support JSON serialization and deserialization of primitive atomic types.
- Support Text marshalling and unmarshalling for string atomics.
Changed
- Disallow incorrect comparison of atomic values in a non-atomic way.
Removed
- Remove dependency on
golang.org/x/{lint, tools}.
1.6.0 - 2020-02-24
Changed
- Drop library dependency on
golang.org/x/{lint, tools}.
1.5.1 - 2019-11-19
- Fix bug where
Bool.CASandBool.Toggledo work correctly together causingCASto fail even though the old value matches.
1.5.0 - 2019-10-29
Changed
- With Go modules, only the
go.uber.org/atomicimport path is supported now. If you need to use the old import path, please add areplacedirective to yourgo.mod.
1.4.0 - 2019-05-01
Added
- Add
atomic.Errortype for atomic operations onerrorvalues.
1.3.2 - 2018-05-02
Added
- Add
atomic.Durationtype for atomic operations ontime.Durationvalues.
1.3.1 - 2017-11-14
Fixed
- Revert optimization for
atomic.String.Store("")which caused data races.
1.3.0 - 2017-11-13
Added
- Add
atomic.Bool.CASfor compare-and-swap semantics on bools.
Changed
- Optimize
atomic.String.Store("")by avoiding an allocation.
1.2.0 - 2017-04-12
Added
- Shadow
atomic.Valuefromsync/atomic.
1.1.0 - 2017-03-10
Added
- Add atomic
Float64type.
Changed
- Support new
go.uber.org/atomicimport path.
1.0.0 - 2016-07-18
- Initial release.