# Changelog

> **This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.**

## Score

- CAI 51 → 63 (+12.1)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

## Lenses

- Code Health 65 → 65 (-0.0)
- Architecture 84 → 84 (-0.3)
- Maturity 70 → 75 (+5.2)
- Readiness 54 → 57 (+3.0)
- Security 36 → 63 (+26.8)
- Domain Modelling 100 → 100 (+0.0)
- Event-Driven 80 → 80 (+0.0)
- Event Sourcing 100 → 100 (+0.0)
- Performance 82 → 82 (+0.0)

## Resolved (64)

- Ambiguous 'sync' suffix. In Rust, 'sync' often implies thread-safety or blocking behavior. Having two methods that likely return the same data structure ('HashMap') with one marked 'sync' suggests inconsistent handling of interior mutability or locking, or one is a legacy alias.
- Change coupling: mod.rs ↔ execution_service.rs (src/application/system/mod.rs)
- Change coupling: risk_manager.rs ↔ execution_service.rs (src/application/risk_management/core/risk_manager.rs)
- CircuitBreakerService::check_circuit_breaker (cognitive 27) (src/application/risk_management/validation/circuit_breaker_service.rs)
- CircuitBreakerService::check_circuit_breaker (cyclomatic 16) (src/application/risk_management/validation/circuit_breaker_service.rs)
- ClassTooLong: RiskManager (src/application/risk_management/core/risk_manager.rs)
- Duplicated block (12 lines × 2) (src/application/risk_management/validation/circuit_breaker_service.rs)
- Executor::handle_order (cognitive 28) (src/application/agents/executor.rs)
- Executor::update_portfolio (cognitive 22) (src/application/agents/executor.rs)
- High CVE: [GHSA redacted] (Cargo.lock)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- Hotspot: src/application/agents/analyst.rs (src/application/agents/analyst.rs)
- Hotspot: src/application/agents/executor.rs (src/application/agents/executor.rs)
- Hotspot: src/application/agents/user_agent.rs (src/application/agents/user_agent.rs)
- Hotspot: src/application/bootstrap/agents.rs (src/application/bootstrap/agents.rs)
- …and 44 more

## New (35)

- AlpacaExecutionService::execute (cognitive 18) (src/infrastructure/alpaca/execution.rs)
- AlpacaExecutionService::execute (cyclomatic 16) (src/infrastructure/alpaca/execution.rs)
- CandleAggregator::on_quote (cognitive 17) (src/application/market_data/candle_aggregator.rs)
- Change coupling: risk_manager.rs ↔ execution.rs (src/application/risk_management/core/risk_manager.rs)
- ClassTooLong: AlpacaExecutionService (src/infrastructure/alpaca/execution.rs)
- Duplicated block (12 lines × 2) (src/infrastructure/alpaca/execution.rs)
- Executor::handle_order (cognitive 24) (src/application/agents/executor/mod.rs)
- Executor::handle_order (cyclomatic 16) (src/application/agents/executor/mod.rs)
- Executor::reconcile_pending (cognitive 22) (src/application/agents/executor/reconciliation.rs)
- Executor::run (cognitive 19) (src/application/agents/executor/mod.rs)
- Executor::update_portfolio (cognitive 22) (src/application/agents/executor/acceptance.rs)
- FileTooLong: alpaca/execution.rs (src/infrastructure/alpaca/execution.rs)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- …and 15 more

## Changes since last survey

- 10 commits — 4 feature/other, 6 fixes

## By area

- (root) — 5 commits
- src/application — 2 commits
- src/infrastructure — 2 commits
- src/interfaces — 1 commit

## Notable commits

- fix: chore(deps): fix security advisories and prune unused deps (0.99.27)
- fix: chore: stabilize 0.99.26 - secure API, pin toolchain, fix misleading docs
- fix: fix: P0 safety - live gate for all brokers, idempotent orders, fail-closed reconciliation (0.99.28)
- fix: fix: P1 reliability - fail-closed circuit breaker, stops after unknown outcomes (0.99.29)
- fix: fix: P1 reliability - no zero defaults on the risk and execution path (0.99.30)
- fix: fix: recover CandleAggregator from outlier lockout and comply with Rust 1.99 clippy
- change: chore: ignore captured runtime logs (*_logs.txt)
- change: feat: P1 operations - versioned SQLite schema and Prometheus /metrics (0.99.31)
- change: refactor: split executor and risk manager into focused modules (0.99.33)
- change: test: P2 quality - CI gates, property tests, WebSocket chaos tests (0.99.32)
