Skip to content

feat: hexagonal architecture with YAML agents, sonar & trivy clean#2

Merged
Kaiohz merged 3 commits intomainfrom
feat/structured-output-yaml
Apr 1, 2026
Merged

feat: hexagonal architecture with YAML agents, sonar & trivy clean#2
Kaiohz merged 3 commits intomainfrom
feat/structured-output-yaml

Conversation

@Kaiohz
Copy link
Copy Markdown
Contributor

@Kaiohz Kaiohz commented Apr 1, 2026

Summary

  • Restructure project to hexagonal architecture (ports & adapters pattern)
  • Add YAML-based agent configuration supporting multiple LLM variants
  • Add Dockerfile, CI pipeline (GitHub Actions), Trivy & Ruff config
  • Replace test doubles with real implementations
  • Add tracing support (Langfuse, Phoenix) and MCP tool integration
  • Add SonarQube config with coverage reporting (91.3% coverage)
  • Fix security hotspot: replace hashlib.md5 with sha256

Quality checks

  • Tests: 179 passed ✅
  • Ruff: clean ✅
  • SonarQube: 0 bugs, 0 vulnerabilities, 0 code smells, 91.3% coverage ✅
  • Trivy: 0 vulnerabilities ✅

Test plan

  • CI pipeline passes (tests, trivy, sonar)
  • Verify agent YAML configs load correctly
  • Verify WebSocket streaming works
  • Verify tracing integration (Langfuse/Phoenix)

Kaiohz added 3 commits April 1, 2026 18:49
- Refactor to ports & adapters pattern (domain/application/infrastructure)
- Add YAML-based agent configuration with multiple LLM variants
- Add Dockerfile, CI pipeline, trivy and ruff config
- Remove test doubles in favor of real implementations
- Add tracing support (Langfuse, Phoenix)
- Add MCP tool integration and WebSocket streaming
- Add sonar-project.properties with coverage report path
- Add pytest-cov dependency for coverage generation
- Replace hashlib.md5 with hashlib.sha256 in factory.py (security hotspot)
- Skip SonarQube scan when SONAR_TOKEN secret is not configured
- Add --cov flags to pytest step for coverage reporting
@Kaiohz Kaiohz merged commit 4e25d6a into main Apr 1, 2026
1 check passed
@Kaiohz Kaiohz deleted the feat/structured-output-yaml branch April 1, 2026 17:01
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