Executive summary
Faraone-Dev/atomic-mesh scores 51 out of 100 and is rated Adequate, while seven of its eight lenses score higher still: Event Sourcing at 100, Architecture at 95 and Performance at 91, all rated Exemplary, and Code Health at 64, Maturity at 61, Accessibility at 56 and Production Readiness at 54, all rated Adequate.
The score is lower than those seven because the weakest lens counts most, and here that is Security and Compliance, which scores 42 and is rated Weak. Its Access Controls dimension scores 0 out of 10, and until that reaches 4, Security and Compliance can't be rated higher than Adequate. The first actions are to protect endpoints by default-deny: a global authentication guard or middleware with explicit public opt-outs, or a guard on every route, plus named role/permission rules for what an authenticated caller may do and to set security response headers on what the server sends — actix-web's `DefaultHeaders::new().add((header::X_CONTENT_TYPE_OPTIONS, "nosniff"))`, tower-http's `SetResponseHeaderLayer::overriding(…)` on an axum router, or keep Rocket's default `Shield` — with `Content-Security-Policy`, `X-Content-Type-Options` and a frame policy on every response, and if Security and Compliance rose to 70, the score would rise from 51 to about 59.
14 findings are critical: 11 in Static Analysis (SAST) and three in Dependency Vulnerabilities.
Watchdog couldn't measure 21 dimensions in this code, among them Code Coverage, Test Reliability and Navigability, so they are left out of the score. The product code is 8,427 lines, which would take an estimated 0.1 person-years, around €8,700, to rebuild.
If Security and Compliance rose from 42 to 70, the lowest score rated Strong, the score would rise from 51 to about 59.
New since the last survey: 7 findings
- Dependency Vulnerabilities · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Access Controls · No authorization crates/atomic-node/src/dashboard.rs
- Visual & motion safety · Animation without a prefers-reduced-motion guard dashboard/index.html
- Visual & motion safety · Animation without a prefers-reduced-motion guard dashboard/index.html
- Visual & motion safety · Animation without a prefers-reduced-motion guard dashboard/index.html
- Visual & motion safety · Animation without a prefers-reduced-motion guard dashboard/index.html
Fixed since the last survey: 2 findings
- Supply-chain Provenance & Signing REDACTED
- Visual & motion safety · Animation without a prefers-reduced-motion guard dashboard/index.html
Rebuild cost: about €8,700 · Estimate
| Cost to rebuild | €2,900 to €15,000, for 48 to 153 hours of work, about 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | Standard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.7 at a score of 51. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Small: 8,427 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture — module dependency graph
Architecture: which parts of the code depend on which
| uses → | 1 atomic_bus.ring | 2 atomic_core.clock | 3 atomic_core.error | 4 atomic_core.metrics | 5 atomic_core.node | 6 atomic_core.snapshot | 7 atomic_core.types | 8 atomic_feed.connector | 9 atomic_transport.protocol | 10 dashboard | 11 atomic_core.event | 12 atomic_feed.binance | 13 atomic_hotpath | 14 atomic_node.bin.generate_backtest_data | 15 atomic_node.dashboard | 16 atomic_orderbook.book | 17 atomic_risk.limits | 18 atomic_strategy.inventory | 19 atomic_strategy.microprice | 20 atomic_strategy.toxicity | 21 atomic_transport.mesh | 22 atomic_bus.sequencer | 23 atomic_execution.simulator | 24 atomic_execution.state_machine | 25 atomic_feed.gateway | 26 atomic_feed.normalizer | 27 atomic_node.config | 28 atomic_node.recovery | 29 atomic_replay.log | 30 atomic_router.router | 31 atomic_strategy.traits | 32 atomic_replay.player | 33 atomic_strategy.engine | 34 atomic_strategy.market_maker | 35 atomic_node.main |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 atomic_bus.ring | |||||||||||||||||||||||||||||||||||
| 2 atomic_core.clock | |||||||||||||||||||||||||||||||||||
| 3 atomic_core.error | |||||||||||||||||||||||||||||||||||
| 4 atomic_core.metrics | |||||||||||||||||||||||||||||||||||
| 5 atomic_core.node | |||||||||||||||||||||||||||||||||||
| 6 atomic_core.snapshot | |||||||||||||||||||||||||||||||||||
| 7 atomic_core.types | |||||||||||||||||||||||||||||||||||
| 8 atomic_feed.connector | |||||||||||||||||||||||||||||||||||
| 9 atomic_transport.protocol | |||||||||||||||||||||||||||||||||||
| 10 dashboard | |||||||||||||||||||||||||||||||||||
| 11 atomic_core.event | 1 | 31 | |||||||||||||||||||||||||||||||||
| 12 atomic_feed.binance | 2 | ||||||||||||||||||||||||||||||||||
| 13 atomic_hotpath | 3 | ||||||||||||||||||||||||||||||||||
| 14 atomic_node.bin.generate_backtest_data | 1 | ||||||||||||||||||||||||||||||||||
| 15 atomic_node.dashboard | 1 | ||||||||||||||||||||||||||||||||||
| 16 atomic_orderbook.book | 5 | ||||||||||||||||||||||||||||||||||
| 17 atomic_risk.limits | 5 | ||||||||||||||||||||||||||||||||||
| 18 atomic_strategy.inventory | 1 | ||||||||||||||||||||||||||||||||||
| 19 atomic_strategy.microprice | 2 | ||||||||||||||||||||||||||||||||||
| 20 atomic_strategy.toxicity | 1 | ||||||||||||||||||||||||||||||||||
| 21 atomic_transport.mesh | 1 | ||||||||||||||||||||||||||||||||||
| 22 atomic_bus.sequencer | 1 | 1 | |||||||||||||||||||||||||||||||||
| 23 atomic_execution.simulator | 10 | 2 | |||||||||||||||||||||||||||||||||
| 24 atomic_execution.state_machine | 1 | 12 | 1 | ||||||||||||||||||||||||||||||||
| 25 atomic_feed.gateway | 9 | 1 | |||||||||||||||||||||||||||||||||
| 26 atomic_feed.normalizer | 3 | 1 | 1 | ||||||||||||||||||||||||||||||||
| 27 atomic_node.config | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||
| 28 atomic_node.recovery | 2 | 1 | |||||||||||||||||||||||||||||||||
| 29 atomic_replay.log | 1 | ||||||||||||||||||||||||||||||||||
| 30 atomic_router.router | 11 | 1 | |||||||||||||||||||||||||||||||||
| 31 atomic_strategy.traits | 1 | ||||||||||||||||||||||||||||||||||
| 32 atomic_replay.player | 1 | 1 | |||||||||||||||||||||||||||||||||
| 33 atomic_strategy.engine | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||
| 34 atomic_strategy.market_maker | 2 | 1 | 1 | 1 | 3 | ||||||||||||||||||||||||||||||
| 35 atomic_node.main | 1 | 2 | 1 | 1 | 2 | 1 | 1 | 1 | 1 |
11→5 atomic_core.event uses atomic_core.node✕
- Connections
- 1 pair of types, where a type in atomic_core.event uses a type in atomic_core.node.
- The types involved
atomic_core.event.NodeJoinEvent→atomic_core.node.NodeRole
- Direction
- atomic_core.event uses atomic_core.node, so a change to atomic_core.node can break atomic_core.event, while a change to atomic_core.event can't break atomic_core.node.
- Position
- Below the diagonal: atomic_core.event uses a module listed above it, which is the healthy direction.
11→7 atomic_core.event uses atomic_core.types✕
- Connections
- 31 pairs of types, where a type in atomic_core.event uses a type in atomic_core.types. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- The types involved
atomic_core.event.OrderAckEvent→atomic_core.types.OrderIdatomic_core.event.OrderAckEvent→atomic_core.types.Venueatomic_core.event.OrderBookUpdateEvent→atomic_core.types.Levelatomic_core.event.OrderBookUpdateEvent→atomic_core.types.Symbolatomic_core.event.OrderCancelEvent→atomic_core.types.OrderIdatomic_core.event.OrderCancelEvent→atomic_core.types.Venueatomic_core.event.OrderFillEvent→atomic_core.types.OrderIdatomic_core.event.OrderFillEvent→atomic_core.types.Priceatomic_core.event.OrderFillEvent→atomic_core.types.Qtyatomic_core.event.OrderFillEvent→atomic_core.types.Sideatomic_core.event.OrderFillEvent→atomic_core.types.Symbolatomic_core.event.OrderFillEvent→atomic_core.types.Venueatomic_core.event.OrderNewEvent→atomic_core.types.OrderIdatomic_core.event.OrderNewEvent→atomic_core.types.OrderTypeatomic_core.event.OrderNewEvent→atomic_core.types.Priceatomic_core.event.OrderNewEvent→atomic_core.types.Qtyatomic_core.event.OrderNewEvent→atomic_core.types.Sideatomic_core.event.OrderNewEvent→atomic_core.types.Symbolatomic_core.event.OrderNewEvent→atomic_core.types.TimeInForceatomic_core.event.OrderNewEvent→atomic_core.types.Venueatomic_core.event.OrderRejectEvent→atomic_core.types.OrderIdatomic_core.event.OrderRejectEvent→atomic_core.types.Venueatomic_core.event.SignalEvent→atomic_core.types.Sideatomic_core.event.SignalEvent→atomic_core.types.Symbolatomic_core.event.TickerEvent→atomic_core.types.Price
- Direction
- atomic_core.event uses atomic_core.types, so a change to atomic_core.types can break atomic_core.event, while a change to atomic_core.event can't break atomic_core.types.
- Position
- Below the diagonal: atomic_core.event uses a module listed above it, which is the healthy direction.
12→8 atomic_feed.binance uses atomic_feed.connector✕
- Connections
- 2 pairs of types, where a type in atomic_feed.binance uses a type in atomic_feed.connector.
- The types involved
atomic_feed.binance.BinanceConnector→atomic_feed.connector.FeedConnectoratomic_feed.binance.binance$module→atomic_feed.connector.RawFeedMessage
- Direction
- atomic_feed.binance uses atomic_feed.connector, so a change to atomic_feed.connector can break atomic_feed.binance, while a change to atomic_feed.binance can't break atomic_feed.connector.
- Position
- Below the diagonal: atomic_feed.binance uses a module listed above it, which is the healthy direction.
13→7 atomic_hotpath uses atomic_core.types✕
- Connections
- 3 pairs of types, where a type in atomic_hotpath uses a type in atomic_core.types.
- The types involved
atomic_hotpath.HotPathEngine→atomic_core.types.Priceatomic_hotpath.HotPathEngine→atomic_core.types.Qtyatomic_hotpath.HotPathEngine→atomic_core.types.Side
- Direction
- atomic_hotpath uses atomic_core.types, so a change to atomic_core.types can break atomic_hotpath, while a change to atomic_hotpath can't break atomic_core.types.
- Position
- Below the diagonal: atomic_hotpath uses a module listed above it, which is the healthy direction.
14→7 atomic_node.bin.generate_backtest_data uses atomic_core.types✕
- Connections
- 1 pair of types, where a type in atomic_node.bin.generate_backtest_data uses a type in atomic_core.types.
- The types involved
atomic_node.bin.generate_backtest_data.generate_backtest_data$module→atomic_core.types.Symbol
- Direction
- atomic_node.bin.generate_backtest_data uses atomic_core.types, so a change to atomic_core.types can break atomic_node.bin.generate_backtest_data, while a change to atomic_node.bin.generate_backtest_data can't break atomic_core.types.
- Position
- Below the diagonal: atomic_node.bin.generate_backtest_data uses a module listed above it, which is the healthy direction.
15→4 atomic_node.dashboard uses atomic_core.metrics✕
- Connections
- 1 pair of types, where a type in atomic_node.dashboard uses a type in atomic_core.metrics.
- The types involved
atomic_node.dashboard.DashboardState→atomic_core.metrics.PipelineMetrics
- Direction
- atomic_node.dashboard uses atomic_core.metrics, so a change to atomic_core.metrics can break atomic_node.dashboard, while a change to atomic_node.dashboard can't break atomic_core.metrics.
- Position
- Below the diagonal: atomic_node.dashboard uses a module listed above it, which is the healthy direction.
16→7 atomic_orderbook.book uses atomic_core.types✕
- Connections
- 5 pairs of types, where a type in atomic_orderbook.book uses a type in atomic_core.types.
- The types involved
atomic_orderbook.book.OrderBook→atomic_core.types.Levelatomic_orderbook.book.OrderBook→atomic_core.types.Priceatomic_orderbook.book.OrderBook→atomic_core.types.Qtyatomic_orderbook.book.OrderBook→atomic_core.types.Sideatomic_orderbook.book.OrderBook→atomic_core.types.Symbol
- Direction
- atomic_orderbook.book uses atomic_core.types, so a change to atomic_core.types can break atomic_orderbook.book, while a change to atomic_orderbook.book can't break atomic_core.types.
- Position
- Below the diagonal: atomic_orderbook.book uses a module listed above it, which is the healthy direction.
17→7 atomic_risk.limits uses atomic_core.types✕
- Connections
- 5 pairs of types, where a type in atomic_risk.limits uses a type in atomic_core.types.
- The types involved
atomic_risk.limits.RiskEngine→atomic_core.types.Positionatomic_risk.limits.RiskEngine→atomic_core.types.Priceatomic_risk.limits.RiskEngine→atomic_core.types.Qtyatomic_risk.limits.RiskEngine→atomic_core.types.Sideatomic_risk.limits.RiskEngine→atomic_core.types.Symbol
- Direction
- atomic_risk.limits uses atomic_core.types, so a change to atomic_core.types can break atomic_risk.limits, while a change to atomic_risk.limits can't break atomic_core.types.
- Position
- Below the diagonal: atomic_risk.limits uses a module listed above it, which is the healthy direction.
18→7 atomic_strategy.inventory uses atomic_core.types✕
- Connections
- 1 pair of types, where a type in atomic_strategy.inventory uses a type in atomic_core.types.
- The types involved
atomic_strategy.inventory.InventoryManager→atomic_core.types.Side
- Direction
- atomic_strategy.inventory uses atomic_core.types, so a change to atomic_core.types can break atomic_strategy.inventory, while a change to atomic_strategy.inventory can't break atomic_core.types.
- Position
- Below the diagonal: atomic_strategy.inventory uses a module listed above it, which is the healthy direction.
19→7 atomic_strategy.microprice uses atomic_core.types✕
- Connections
- 2 pairs of types, where a type in atomic_strategy.microprice uses a type in atomic_core.types.
- The types involved
atomic_strategy.microprice.microprice$module→atomic_core.types.Levelatomic_strategy.microprice.microprice$module→atomic_core.types.Price
- Direction
- atomic_strategy.microprice uses atomic_core.types, so a change to atomic_core.types can break atomic_strategy.microprice, while a change to atomic_strategy.microprice can't break atomic_core.types.
- Position
- Below the diagonal: atomic_strategy.microprice uses a module listed above it, which is the healthy direction.
20→7 atomic_strategy.toxicity uses atomic_core.types✕
- Connections
- 1 pair of types, where a type in atomic_strategy.toxicity uses a type in atomic_core.types.
- The types involved
atomic_strategy.toxicity.ToxicityTracker→atomic_core.types.Side
- Direction
- atomic_strategy.toxicity uses atomic_core.types, so a change to atomic_core.types can break atomic_strategy.toxicity, while a change to atomic_strategy.toxicity can't break atomic_core.types.
- Position
- Below the diagonal: atomic_strategy.toxicity uses a module listed above it, which is the healthy direction.
21→9 atomic_transport.mesh uses atomic_transport.protocol✕
- Connections
- 1 pair of types, where a type in atomic_transport.mesh uses a type in atomic_transport.protocol.
- The types involved
atomic_transport.mesh.MeshTransport→atomic_transport.protocol.MeshMessage
- Direction
- atomic_transport.mesh uses atomic_transport.protocol, so a change to atomic_transport.protocol can break atomic_transport.mesh, while a change to atomic_transport.mesh can't break atomic_transport.protocol.
- Position
- Below the diagonal: atomic_transport.mesh uses a module listed above it, which is the healthy direction.
22→2 atomic_bus.sequencer uses atomic_core.clock✕
- Connections
- 1 pair of types, where a type in atomic_bus.sequencer uses a type in atomic_core.clock.
- The types involved
atomic_bus.sequencer.EventSequencer→atomic_core.clock.SequenceGenerator
- Direction
- atomic_bus.sequencer uses atomic_core.clock, so a change to atomic_core.clock can break atomic_bus.sequencer, while a change to atomic_bus.sequencer can't break atomic_core.clock.
- Position
- Below the diagonal: atomic_bus.sequencer uses a module listed above it, which is the healthy direction.
22→11 atomic_bus.sequencer uses atomic_core.event✕
- Connections
- 1 pair of types, where a type in atomic_bus.sequencer uses a type in atomic_core.event.
- The types involved
atomic_bus.sequencer.EventSequencer→atomic_core.event.Event
- Direction
- atomic_bus.sequencer uses atomic_core.event, so a change to atomic_core.event can break atomic_bus.sequencer, while a change to atomic_bus.sequencer can't break atomic_core.event.
- Position
- Below the diagonal: atomic_bus.sequencer uses a module listed above it, which is the healthy direction.
23→7 atomic_execution.simulator uses atomic_core.types✕
- Connections
- 10 pairs of types, where a type in atomic_execution.simulator uses a type in atomic_core.types.
- The types involved
atomic_execution.simulator.SimOrder→atomic_core.types.OrderIdatomic_execution.simulator.SimOrder→atomic_core.types.OrderTypeatomic_execution.simulator.SimOrder→atomic_core.types.Priceatomic_execution.simulator.SimOrder→atomic_core.types.Qtyatomic_execution.simulator.SimOrder→atomic_core.types.Sideatomic_execution.simulator.SimOrder→atomic_core.types.Symbolatomic_execution.simulator.SimOrder→atomic_core.types.TimeInForceatomic_execution.simulator.SimulatedExchange→atomic_core.types.OrderIdatomic_execution.simulator.SimulatedExchange→atomic_core.types.Symbolatomic_execution.simulator.simulator$module→atomic_core.types.Side
- Direction
- atomic_execution.simulator uses atomic_core.types, so a change to atomic_core.types can break atomic_execution.simulator, while a change to atomic_execution.simulator can't break atomic_core.types.
- Position
- Below the diagonal: atomic_execution.simulator uses a module listed above it, which is the healthy direction.
23→11 atomic_execution.simulator uses atomic_core.event✕
- Connections
- 2 pairs of types, where a type in atomic_execution.simulator uses a type in atomic_core.event.
- The types involved
atomic_execution.simulator.SimulatedExchange→atomic_core.event.Eventatomic_execution.simulator.SimulatedExchange→atomic_core.event.OrderNewEvent
- Direction
- atomic_execution.simulator uses atomic_core.event, so a change to atomic_core.event can break atomic_execution.simulator, while a change to atomic_execution.simulator can't break atomic_core.event.
- Position
- Below the diagonal: atomic_execution.simulator uses a module listed above it, which is the healthy direction.
24→6 atomic_execution.state_machine uses atomic_core.snapshot✕
- Connections
- 1 pair of types, where a type in atomic_execution.state_machine uses a type in atomic_core.snapshot.
- The types involved
atomic_execution.state_machine.ExecutionEngine→atomic_core.snapshot.EngineSnapshot
- Direction
- atomic_execution.state_machine uses atomic_core.snapshot, so a change to atomic_core.snapshot can break atomic_execution.state_machine, while a change to atomic_execution.state_machine can't break atomic_core.snapshot.
- Position
- Below the diagonal: atomic_execution.state_machine uses a module listed above it, which is the healthy direction.
24→7 atomic_execution.state_machine uses atomic_core.types✕
- Connections
- 12 pairs of types, where a type in atomic_execution.state_machine uses a type in atomic_core.types.
- The types involved
atomic_execution.state_machine.ExecutionEngine→atomic_core.types.OrderIdatomic_execution.state_machine.ExecutionEngine→atomic_core.types.Priceatomic_execution.state_machine.ExecutionEngine→atomic_core.types.Qtyatomic_execution.state_machine.ExecutionEngine→atomic_core.types.Venueatomic_execution.state_machine.LiveOrder→atomic_core.types.OrderIdatomic_execution.state_machine.LiveOrder→atomic_core.types.OrderTypeatomic_execution.state_machine.LiveOrder→atomic_core.types.Priceatomic_execution.state_machine.LiveOrder→atomic_core.types.Qtyatomic_execution.state_machine.LiveOrder→atomic_core.types.Sideatomic_execution.state_machine.LiveOrder→atomic_core.types.Symbolatomic_execution.state_machine.LiveOrder→atomic_core.types.TimeInForceatomic_execution.state_machine.LiveOrder→atomic_core.types.Venue
- Direction
- atomic_execution.state_machine uses atomic_core.types, so a change to atomic_core.types can break atomic_execution.state_machine, while a change to atomic_execution.state_machine can't break atomic_core.types.
- Position
- Below the diagonal: atomic_execution.state_machine uses a module listed above it, which is the healthy direction.
24→11 atomic_execution.state_machine uses atomic_core.event✕
- Connections
- 1 pair of types, where a type in atomic_execution.state_machine uses a type in atomic_core.event.
- The types involved
atomic_execution.state_machine.ExecutionEngine→atomic_core.event.Event
- Direction
- atomic_execution.state_machine uses atomic_core.event, so a change to atomic_core.event can break atomic_execution.state_machine, while a change to atomic_execution.state_machine can't break atomic_core.event.
- Position
- Below the diagonal: atomic_execution.state_machine uses a module listed above it, which is the healthy direction.
25→7 atomic_feed.gateway uses atomic_core.types✕
- Connections
- 9 pairs of types, where a type in atomic_feed.gateway uses a type in atomic_core.types.
- The types involved
atomic_feed.gateway.ExecutionGateway→atomic_core.types.OrderIdatomic_feed.gateway.ExecutionGateway→atomic_core.types.OrderTypeatomic_feed.gateway.ExecutionGateway→atomic_core.types.Priceatomic_feed.gateway.ExecutionGateway→atomic_core.types.Qtyatomic_feed.gateway.ExecutionGateway→atomic_core.types.Sideatomic_feed.gateway.ExecutionGateway→atomic_core.types.Symbolatomic_feed.gateway.ExecutionGateway→atomic_core.types.TimeInForceatomic_feed.gateway.ExecutionGateway→atomic_core.types.Venueatomic_feed.gateway.gateway$module→atomic_core.types.Venue
- Direction
- atomic_feed.gateway uses atomic_core.types, so a change to atomic_core.types can break atomic_feed.gateway, while a change to atomic_feed.gateway can't break atomic_core.types.
- Position
- Below the diagonal: atomic_feed.gateway uses a module listed above it, which is the healthy direction.
25→11 atomic_feed.gateway uses atomic_core.event✕
- Connections
- 1 pair of types, where a type in atomic_feed.gateway uses a type in atomic_core.event.
- The types involved
atomic_feed.gateway.gateway$module→atomic_core.event.Event
- Direction
- atomic_feed.gateway uses atomic_core.event, so a change to atomic_core.event can break atomic_feed.gateway, while a change to atomic_feed.gateway can't break atomic_core.event.
- Position
- Below the diagonal: atomic_feed.gateway uses a module listed above it, which is the healthy direction.
26→7 atomic_feed.normalizer uses atomic_core.types✕
- Connections
- 3 pairs of types, where a type in atomic_feed.normalizer uses a type in atomic_core.types.
- The types involved
atomic_feed.normalizer.FeedNormalizer→atomic_core.types.Levelatomic_feed.normalizer.FeedNormalizer→atomic_core.types.Symbolatomic_feed.normalizer.FeedNormalizer→atomic_core.types.Venue
- Direction
- atomic_feed.normalizer uses atomic_core.types, so a change to atomic_core.types can break atomic_feed.normalizer, while a change to atomic_feed.normalizer can't break atomic_core.types.
- Position
- Below the diagonal: atomic_feed.normalizer uses a module listed above it, which is the healthy direction.
26→8 atomic_feed.normalizer uses atomic_feed.connector✕
- Connections
- 1 pair of types, where a type in atomic_feed.normalizer uses a type in atomic_feed.connector.
- The types involved
atomic_feed.normalizer.FeedNormalizer→atomic_feed.connector.RawFeedMessage
- Direction
- atomic_feed.normalizer uses atomic_feed.connector, so a change to atomic_feed.connector can break atomic_feed.normalizer, while a change to atomic_feed.normalizer can't break atomic_feed.connector.
- Position
- Below the diagonal: atomic_feed.normalizer uses a module listed above it, which is the healthy direction.
26→11 atomic_feed.normalizer uses atomic_core.event✕
- Connections
- 1 pair of types, where a type in atomic_feed.normalizer uses a type in atomic_core.event.
- The types involved
atomic_feed.normalizer.FeedNormalizer→atomic_core.event.EventPayload
- Direction
- atomic_feed.normalizer uses atomic_core.event, so a change to atomic_core.event can break atomic_feed.normalizer, while a change to atomic_feed.normalizer can't break atomic_core.event.
- Position
- Below the diagonal: atomic_feed.normalizer uses a module listed above it, which is the healthy direction.
27→5 atomic_node.config uses atomic_core.node✕
- Connections
- 1 pair of types, where a type in atomic_node.config uses a type in atomic_core.node.
- The types involved
atomic_node.config.NodeConfig→atomic_core.node.NodeRole
- Direction
- atomic_node.config uses atomic_core.node, so a change to atomic_core.node can break atomic_node.config, while a change to atomic_node.config can't break atomic_core.node.
- Position
- Below the diagonal: atomic_node.config uses a module listed above it, which is the healthy direction.
27→7 atomic_node.config uses atomic_core.types✕
- Connections
- 1 pair of types, where a type in atomic_node.config uses a type in atomic_core.types.
- The types involved
atomic_node.config.FeedConfig→atomic_core.types.Venue
- Direction
- atomic_node.config uses atomic_core.types, so a change to atomic_core.types can break atomic_node.config, while a change to atomic_node.config can't break atomic_core.types.
- Position
- Below the diagonal: atomic_node.config uses a module listed above it, which is the healthy direction.
27→17 atomic_node.config uses atomic_risk.limits✕
- Connections
- 1 pair of types, where a type in atomic_node.config uses a type in atomic_risk.limits.
- The types involved
atomic_node.config.NodeConfig→atomic_risk.limits.RiskLimits
- Direction
- atomic_node.config uses atomic_risk.limits, so a change to atomic_risk.limits can break atomic_node.config, while a change to atomic_node.config can't break atomic_risk.limits.
- Position
- Below the diagonal: atomic_node.config uses a module listed above it, which is the healthy direction.
28→6 atomic_node.recovery uses atomic_core.snapshot✕
- Connections
- 2 pairs of types, where a type in atomic_node.recovery uses a type in atomic_core.snapshot.
- The types involved
atomic_node.recovery.RecoveryCoordinator→atomic_core.snapshot.EngineSnapshotatomic_node.recovery.RecoveryPlan→atomic_core.snapshot.EngineSnapshot
- Direction
- atomic_node.recovery uses atomic_core.snapshot, so a change to atomic_core.snapshot can break atomic_node.recovery, while a change to atomic_node.recovery can't break atomic_core.snapshot.
- Position
- Below the diagonal: atomic_node.recovery uses a module listed above it, which is the healthy direction.
28→11 atomic_node.recovery uses atomic_core.event✕
- Connections
- 1 pair of types, where a type in atomic_node.recovery uses a type in atomic_core.event.
- The types involved
atomic_node.recovery.RecoveryPlan→atomic_core.event.Event
- Direction
- atomic_node.recovery uses atomic_core.event, so a change to atomic_core.event can break atomic_node.recovery, while a change to atomic_node.recovery can't break atomic_core.event.
- Position
- Below the diagonal: atomic_node.recovery uses a module listed above it, which is the healthy direction.
29→11 atomic_replay.log uses atomic_core.event✕
- Connections
- 1 pair of types, where a type in atomic_replay.log uses a type in atomic_core.event.
- The types involved
atomic_replay.log.EventLog→atomic_core.event.Event
- Direction
- atomic_replay.log uses atomic_core.event, so a change to atomic_core.event can break atomic_replay.log, while a change to atomic_replay.log can't break atomic_core.event.
- Position
- Below the diagonal: atomic_replay.log uses a module listed above it, which is the healthy direction.
30→7 atomic_router.router uses atomic_core.types✕
- Connections
- 11 pairs of types, where a type in atomic_router.router uses a type in atomic_core.types.
- The types involved
atomic_router.router.OrderSlice→atomic_core.types.OrderTypeatomic_router.router.OrderSlice→atomic_core.types.Priceatomic_router.router.OrderSlice→atomic_core.types.Qtyatomic_router.router.OrderSlice→atomic_core.types.Sideatomic_router.router.OrderSlice→atomic_core.types.Symbolatomic_router.router.OrderSlice→atomic_core.types.TimeInForceatomic_router.router.OrderSlice→atomic_core.types.Venueatomic_router.router.SmartOrderRouter→atomic_core.types.Qtyatomic_router.router.SmartOrderRouter→atomic_core.types.Sideatomic_router.router.SmartOrderRouter→atomic_core.types.Symbolatomic_router.router.SmartOrderRouter→atomic_core.types.Venue
- Direction
- atomic_router.router uses atomic_core.types, so a change to atomic_core.types can break atomic_router.router, while a change to atomic_router.router can't break atomic_core.types.
- Position
- Below the diagonal: atomic_router.router uses a module listed above it, which is the healthy direction.
30→16 atomic_router.router uses atomic_orderbook.book✕
- Connections
- 1 pair of types, where a type in atomic_router.router uses a type in atomic_orderbook.book.
- The types involved
atomic_router.router.SmartOrderRouter→atomic_orderbook.book.OrderBook
- Direction
- atomic_router.router uses atomic_orderbook.book, so a change to atomic_orderbook.book can break atomic_router.router, while a change to atomic_router.router can't break atomic_orderbook.book.
- Position
- Below the diagonal: atomic_router.router uses a module listed above it, which is the healthy direction.
31→11 atomic_strategy.traits uses atomic_core.event✕
- Connections
- 1 pair of types, where a type in atomic_strategy.traits uses a type in atomic_core.event.
- The types involved
atomic_strategy.traits.Strategy→atomic_core.event.Event
- Direction
- atomic_strategy.traits uses atomic_core.event, so a change to atomic_core.event can break atomic_strategy.traits, while a change to atomic_strategy.traits can't break atomic_core.event.
- Position
- Below the diagonal: atomic_strategy.traits uses a module listed above it, which is the healthy direction.
32→11 atomic_replay.player uses atomic_core.event✕
- Connections
- 1 pair of types, where a type in atomic_replay.player uses a type in atomic_core.event.
- The types involved
atomic_replay.player.ReplayPlayer→atomic_core.event.Event
- Direction
- atomic_replay.player uses atomic_core.event, so a change to atomic_core.event can break atomic_replay.player, while a change to atomic_replay.player can't break atomic_core.event.
- Position
- Below the diagonal: atomic_replay.player uses a module listed above it, which is the healthy direction.
32→29 atomic_replay.player uses atomic_replay.log✕
- Connections
- 1 pair of types, where a type in atomic_replay.player uses a type in atomic_replay.log.
- The types involved
atomic_replay.player.ReplayPlayer→atomic_replay.log.EventLog
- Direction
- atomic_replay.player uses atomic_replay.log, so a change to atomic_replay.log can break atomic_replay.player, while a change to atomic_replay.player can't break atomic_replay.log.
- Position
- Below the diagonal: atomic_replay.player uses a module listed above it, which is the healthy direction.
33→7 atomic_strategy.engine uses atomic_core.types✕
- Connections
- 1 pair of types, where a type in atomic_strategy.engine uses a type in atomic_core.types.
- The types involved
atomic_strategy.engine.StrategyEngine→atomic_core.types.Position
- Direction
- atomic_strategy.engine uses atomic_core.types, so a change to atomic_core.types can break atomic_strategy.engine, while a change to atomic_strategy.engine can't break atomic_core.types.
- Position
- Below the diagonal: atomic_strategy.engine uses a module listed above it, which is the healthy direction.
33→11 atomic_strategy.engine uses atomic_core.event✕
- Connections
- 1 pair of types, where a type in atomic_strategy.engine uses a type in atomic_core.event.
- The types involved
atomic_strategy.engine.StrategyEngine→atomic_core.event.Event
- Direction
- atomic_strategy.engine uses atomic_core.event, so a change to atomic_core.event can break atomic_strategy.engine, while a change to atomic_strategy.engine can't break atomic_core.event.
- Position
- Below the diagonal: atomic_strategy.engine uses a module listed above it, which is the healthy direction.
33→16 atomic_strategy.engine uses atomic_orderbook.book✕
- Connections
- 1 pair of types, where a type in atomic_strategy.engine uses a type in atomic_orderbook.book.
- The types involved
atomic_strategy.engine.StrategyEngine→atomic_orderbook.book.OrderBook
- Direction
- atomic_strategy.engine uses atomic_orderbook.book, so a change to atomic_orderbook.book can break atomic_strategy.engine, while a change to atomic_strategy.engine can't break atomic_orderbook.book.
- Position
- Below the diagonal: atomic_strategy.engine uses a module listed above it, which is the healthy direction.
33→31 atomic_strategy.engine uses atomic_strategy.traits✕
- Connections
- 1 pair of types, where a type in atomic_strategy.engine uses a type in atomic_strategy.traits.
- The types involved
atomic_strategy.engine.StrategyEngine→atomic_strategy.traits.StrategyCommand
- Direction
- atomic_strategy.engine uses atomic_strategy.traits, so a change to atomic_strategy.traits can break atomic_strategy.engine, while a change to atomic_strategy.engine can't break atomic_strategy.traits.
- Position
- Below the diagonal: atomic_strategy.engine uses a module listed above it, which is the healthy direction.
34→7 atomic_strategy.market_maker uses atomic_core.types✕
- Connections
- 2 pairs of types, where a type in atomic_strategy.market_maker uses a type in atomic_core.types.
- The types involved
atomic_strategy.market_maker.MarketMaker→atomic_core.types.Symbolatomic_strategy.market_maker.MarketMaker→atomic_core.types.Venue
- Direction
- atomic_strategy.market_maker uses atomic_core.types, so a change to atomic_core.types can break atomic_strategy.market_maker, while a change to atomic_strategy.market_maker can't break atomic_core.types.
- Position
- Below the diagonal: atomic_strategy.market_maker uses a module listed above it, which is the healthy direction.
34→11 atomic_strategy.market_maker uses atomic_core.event✕
- Connections
- 1 pair of types, where a type in atomic_strategy.market_maker uses a type in atomic_core.event.
- The types involved
atomic_strategy.market_maker.MarketMaker→atomic_core.event.Event
- Direction
- atomic_strategy.market_maker uses atomic_core.event, so a change to atomic_core.event can break atomic_strategy.market_maker, while a change to atomic_strategy.market_maker can't break atomic_core.event.
- Position
- Below the diagonal: atomic_strategy.market_maker uses a module listed above it, which is the healthy direction.
34→18 atomic_strategy.market_maker uses atomic_strategy.inventory✕
- Connections
- 1 pair of types, where a type in atomic_strategy.market_maker uses a type in atomic_strategy.inventory.
- The types involved
atomic_strategy.market_maker.MarketMaker→atomic_strategy.inventory.InventoryManager
- Direction
- atomic_strategy.market_maker uses atomic_strategy.inventory, so a change to atomic_strategy.inventory can break atomic_strategy.market_maker, while a change to atomic_strategy.market_maker can't break atomic_strategy.inventory.
- Position
- Below the diagonal: atomic_strategy.market_maker uses a module listed above it, which is the healthy direction.
34→20 atomic_strategy.market_maker uses atomic_strategy.toxicity✕
- Connections
- 1 pair of types, where a type in atomic_strategy.market_maker uses a type in atomic_strategy.toxicity.
- The types involved
atomic_strategy.market_maker.MarketMaker→atomic_strategy.toxicity.ToxicityTracker
- Direction
- atomic_strategy.market_maker uses atomic_strategy.toxicity, so a change to atomic_strategy.toxicity can break atomic_strategy.market_maker, while a change to atomic_strategy.market_maker can't break atomic_strategy.toxicity.
- Position
- Below the diagonal: atomic_strategy.market_maker uses a module listed above it, which is the healthy direction.
34→31 atomic_strategy.market_maker uses atomic_strategy.traits✕
- Connections
- 3 pairs of types, where a type in atomic_strategy.market_maker uses a type in atomic_strategy.traits.
- The types involved
atomic_strategy.market_maker.MarketMaker→atomic_strategy.traits.Strategyatomic_strategy.market_maker.MarketMaker→atomic_strategy.traits.StrategyCommandatomic_strategy.market_maker.MarketMaker→atomic_strategy.traits.StrategyContext
- Direction
- atomic_strategy.market_maker uses atomic_strategy.traits, so a change to atomic_strategy.traits can break atomic_strategy.market_maker, while a change to atomic_strategy.market_maker can't break atomic_strategy.traits.
- Position
- Below the diagonal: atomic_strategy.market_maker uses a module listed above it, which is the healthy direction.
35→4 atomic_node.main uses atomic_core.metrics✕
- Connections
- 1 pair of types, where a type in atomic_node.main uses a type in atomic_core.metrics.
- The types involved
atomic_node.main.main$module→atomic_core.metrics.PipelineMetrics
- Direction
- atomic_node.main uses atomic_core.metrics, so a change to atomic_core.metrics can break atomic_node.main, while a change to atomic_node.main can't break atomic_core.metrics.
- Position
- Below the diagonal: atomic_node.main uses a module listed above it, which is the healthy direction.
35→7 atomic_node.main uses atomic_core.types✕
- Connections
- 2 pairs of types, where a type in atomic_node.main uses a type in atomic_core.types.
- The types involved
atomic_node.main.main$module→atomic_core.types.Symbolatomic_node.main.main$module→atomic_core.types.Venue
- Direction
- atomic_node.main uses atomic_core.types, so a change to atomic_core.types can break atomic_node.main, while a change to atomic_node.main can't break atomic_core.types.
- Position
- Below the diagonal: atomic_node.main uses a module listed above it, which is the healthy direction.
35→9 atomic_node.main uses atomic_transport.protocol✕
- Connections
- 1 pair of types, where a type in atomic_node.main uses a type in atomic_transport.protocol.
- The types involved
atomic_node.main.main$module→atomic_transport.protocol.MeshMessage
- Direction
- atomic_node.main uses atomic_transport.protocol, so a change to atomic_transport.protocol can break atomic_node.main, while a change to atomic_node.main can't break atomic_transport.protocol.
- Position
- Below the diagonal: atomic_node.main uses a module listed above it, which is the healthy direction.
35→21 atomic_node.main uses atomic_transport.mesh✕
- Connections
- 1 pair of types, where a type in atomic_node.main uses a type in atomic_transport.mesh.
- The types involved
atomic_node.main.main$module→atomic_transport.mesh.MeshTransport
- Direction
- atomic_node.main uses atomic_transport.mesh, so a change to atomic_transport.mesh can break atomic_node.main, while a change to atomic_node.main can't break atomic_transport.mesh.
- Position
- Below the diagonal: atomic_node.main uses a module listed above it, which is the healthy direction.
35→24 atomic_node.main uses atomic_execution.state_machine✕
- Connections
- 2 pairs of types, where a type in atomic_node.main uses a type in atomic_execution.state_machine.
- The types involved
atomic_node.main.main$module→atomic_execution.state_machine.ExecutionEngineatomic_node.main.main$module→atomic_execution.state_machine.StateVerifier
- Direction
- atomic_node.main uses atomic_execution.state_machine, so a change to atomic_execution.state_machine can break atomic_node.main, while a change to atomic_node.main can't break atomic_execution.state_machine.
- Position
- Below the diagonal: atomic_node.main uses a module listed above it, which is the healthy direction.
35→27 atomic_node.main uses atomic_node.config✕
- Connections
- 1 pair of types, where a type in atomic_node.main uses a type in atomic_node.config.
- The types involved
atomic_node.main.main$module→atomic_node.config.NodeConfig
- Direction
- atomic_node.main uses atomic_node.config, so a change to atomic_node.config can break atomic_node.main, while a change to atomic_node.main can't break atomic_node.config.
- Position
- Below the diagonal: atomic_node.main uses a module listed above it, which is the healthy direction.
35→28 atomic_node.main uses atomic_node.recovery✕
- Connections
- 1 pair of types, where a type in atomic_node.main uses a type in atomic_node.recovery.
- The types involved
atomic_node.main.main$module→atomic_node.recovery.RecoveryCoordinator
- Direction
- atomic_node.main uses atomic_node.recovery, so a change to atomic_node.recovery can break atomic_node.main, while a change to atomic_node.main can't break atomic_node.recovery.
- Position
- Below the diagonal: atomic_node.main uses a module listed above it, which is the healthy direction.
35→29 atomic_node.main uses atomic_replay.log✕
- Connections
- 1 pair of types, where a type in atomic_node.main uses a type in atomic_replay.log.
- The types involved
atomic_node.main.main$module→atomic_replay.log.EventLog
- Direction
- atomic_node.main uses atomic_replay.log, so a change to atomic_replay.log can break atomic_node.main, while a change to atomic_node.main can't break atomic_replay.log.
- Position
- Below the diagonal: atomic_node.main uses a module listed above it, which is the healthy direction.
35→33 atomic_node.main uses atomic_strategy.engine✕
- Connections
- 1 pair of types, where a type in atomic_node.main uses a type in atomic_strategy.engine.
- The types involved
atomic_node.main.main$module→atomic_strategy.engine.StrategyEngine
- Direction
- atomic_node.main uses atomic_strategy.engine, so a change to atomic_strategy.engine can break atomic_node.main, while a change to atomic_node.main can't break atomic_strategy.engine.
- Position
- Below the diagonal: atomic_node.main uses a module listed above it, which is the healthy direction.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Event Sourcing
At a glance — Accessibility
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A03:2025 — Software Supply Chain Failures | 12 | High / Critical |
| A05:2025 — Injection | 11 | High / Critical |
Roadmap
First, implement a global authentication guard with explicit public opt-outs and named role rules to protect all endpoints by default. Second, enforce security response headers such as Content-Security-Policy and X-Content-Type-Options on every server response to harden the web security posture. Third, resolve the three high-severity dependency vulnerabilities identified in the lock file to eliminate known risks. Finally, establish architectural decision records to document key design choices and configure request timeouts with retry logic for all outbound HTTP calls to ensure system resilience.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Protect endpoints by default-deny: a global authentication guard or middleware with explicit public opt-outs, or a guard on every route, plus named role/permission rules for what an authenticated caller may do. | +7.7 pts | Medium | Access Controls |
| Set security response headers on what the server sends — actix-web's `DefaultHeaders::new().add((header::X_CONTENT_TYPE_OPTIONS, "nosniff"))`, tower-http's `SetResponseHeaderLayer::overriding(…)` on an axum router, or keep Rocket's default `Shield` — with `Content-Security-Policy`, `X-Content-Type-Options` and a frame policy on every response. | +5.6 pts | Medium | Web-Security Posture |
| Resolve the 3 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (3). | +2.3 pts | Low | Dependency Vulnerabilities |
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +1.4 pts | Low | ADR Quality |
| Resolve the 2 Hotspot finding(s) in Churn × Complexity Hotspots — start with main.rs, limits.rs. | +1.0 pts | Medium | Churn × Complexity Hotspots |
| Resolve the 3 Medium advisory (unsound) finding(s) in Dependency Vulnerabilities — start with REDACTED (3). | +1.0 pts | Low | Dependency Vulnerabilities |
| Resolve the 3 Medium vulnerability finding(s) in Dependency Vulnerabilities — start with REDACTED (3). | +1.0 pts | Low | Dependency Vulnerabilities |
| Give every client a whole-request bound: `reqwest::Client::builder().timeout(Duration::from_secs(10))` (never `reqwest::get` or `Client::new()`, which have none), ureq's `timeout_global`, or wrap the call in `tokio::time::timeout`; add retry with back-off (`reqwest-retry`'s `RetryTransientMiddleware`, `backoff`) around dependencies that fail. | +1.4 pts | Medium | Outbound HTTP resilience |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.2 | Slop | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 2.3 | Slop | Static Analysis (SAST): High: REDACTED |
| crates/atomic-node/src/main.rs | 7.0 | Mixed | Cyclomatic Complexity: atomic_node::main (cyclomatic 125) |
| dashboard/index.html | 7.2 | Mixed | Cyclomatic Complexity: index.html.updateTopbar (cyclomatic 20) |
| crates/atomic-feed/src/gateway.rs | 7.2 | Mixed | Cognitive Complexity: ExecutionGateway::start_user_data_stream (cognitive 24) |
| crates/atomic-execution/src/simulator.rs | 7.4 | Mixed | Cyclomatic Complexity: SimulatedExchange::submit_order (cyclomatic 16) |
| crates/atomic-core/src/types.rs | 7.8 | Mixed | Code Duplication: Duplicated block (6 lines × 2) |
| crates/atomic-feed/src/binance.rs | 8.5 | Near-clean | Cognitive Complexity: BinanceConnector::connect (cognitive 29) |
| crates/atomic-risk/src/limits.rs | 8.5 | Near-clean | Cognitive Complexity: RiskEngine::check_order (cognitive 19) |
| crates/atomic-strategy/src/market_maker.rs | 8.5 | Near-clean | Cognitive Complexity: MarketMaker::on_event (cognitive 19) |
| crates/atomic-router/src/router.rs | 8.5 | Near-clean | Cognitive Complexity: SmartOrderRouter::route_best_venue (cognitive 17) |
| crates/atomic-node/src/dashboard.rs | 8.5 | Near-clean | Code Duplication: Duplicated block (5 lines × 2) |
How the grades work
A definite problem that already costs you something and drags the score down: a missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here tends to cause failures elsewhere.
Likely wrong, but not failing yet. It degrades the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to carry for two years either.
Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.
Something this survey could not settle from the outside, and which could be critical or serious. Either a control was required and no positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean result. These are excluded from the score rather than awarded a pass, so the number on the cover neither rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 51 of 55 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 4 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.8 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 55 dimensions across the health lenses
- Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 105 of 136 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT MEASURED: test source is present (.rs) but the built-in coverage collector has no runner for this repository's ecosystem — so this suite was never executed by it. Not scored — this is a gap in the analyzer's language coverage, not a defect in the repo. To have real coverage read, produce a coverage report in a standard format (lcov — `cargo install cargo-llvm-cov`, then `cargo llvm-cov --lcov --output-path lcov.info`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures. You can widen what we reach: optional: produce a coverage report in a standard format (lcov — `cargo install cargo-llvm-cov`, then `cargo llvm-cov --lcov --output-path lcov.info`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures — then the real number is read on the next scan.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test source is present (.rs) and this repository declares a Cargo test suite (repository root, 18 test files), but it was not re-run: no test result was produced. Not scored — this is a gap in the analyzer's language coverage, not a finding about this repository.
- D15 Churn × Complexity Hotspots — measured, with a gap in what it reached — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Git history depth insufficient — this repository has 24 commit(s), too few for a reliable trend signal. The clone is complete, so there is no deeper history to fetch: the signal returns as the project accumulates history.
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-contributor repository — bus factor is not applicable (1 contributor(s) across 24 commit(s) sampled, automation and bot accounts excluded). Concentration needs a team to concentrate: with one contributor there is nobody to spread the knowledge to, so there is nothing here for the owner to act on.
- D27 Navigability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
- D34 Knowledge Freshness — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Too few commits to judge knowledge freshness (24 commit(s) sampled).
- D35 Change Coupling — measured, with a gap in what it reached — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Git history depth insufficient — this repository has 24 commit(s), too few for a reliable change-coupling signal. The clone is complete, so there is no deeper history to fetch: the signal returns as the project accumulates history.
- D44 Platform End-of-Life — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This dimension reads a project's own statement about the platform it runs on: a TargetFramework in a .NET project file, a .nvmrc or .python-version, a capped requires-python, a Rust toolchain file or Cargo.toml rust-version, a .go-version, .java-version, .ruby-version, .tool-versions or .sdkmanrc, a go.mod go directive, a Maven or Gradle Java level or toolchain, a Gemfile's ruby directive, a mix.exs elixir requirement, a rebar.config minimum_otp_vsn, a pubspec.yaml SDK constraint, a build.sbt scalaVersion, or a framework major pinned by a dependency constraint. This repository carries none of them, so nothing about its platform was established. That is a gap in this analyzer's coverage, NOT a finding that the platform is supported — a language whose runtime is declared elsewhere (Package.swift, a Dockerfile) is simply not read here yet.
- AX6 Interface segregation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over the public interfaces this run's compilations declare, and none was loaded, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- AXR1 Runtime accessibility — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via ToolchainServer (crates/atomic-node). the service did not build — `cargo build --locked --bin 'atomic-node'` exited 101: libatomic_hotpath-14226530bd01476d.rlib rust-lld: error: undefined symbol: hp_on_trade >>> referenced by lib.rs:201 (crates/atomic-hotpath/src/lib.rs:201) >>>…; runtime evidence skipped (launch chosen because 'axum' dependency in crates/atomic-node/Cargo.toml, binary 'atomic-node').
- GD1 Unfinished & placeholder code — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, F#, JavaScript/TypeScript, Dart, Ruby and Scala source only, and no C#, F#, JavaScript/TypeScript, Dart, Ruby or Scala was found, and this repository's Rust, c, cpp is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- IC1 Incompleteness & stubs — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, JavaScript/TypeScript, Java, Dart, Ruby and Scala source only, and no C#, JavaScript/TypeScript, Java, Dart, Ruby or Scala was found, and this repository's Rust, c, cpp is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- P5 DR & Backup — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found — and no production persistence was detected either (no data-access packages, no data-store services, no database resources), so there is nothing in this repository whose loss a DR control would recover. If this system's data lives in a platform or ops repo we can't see, that's where the DR evidence belongs.
- X12 Unreachable branch — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X13 Undrained process stream — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X16 Unfloored truncation loop — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, PHP, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Java, PHP, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X17 Uncapped recursion over a caller-supplied document — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X18 Disposal-pattern correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Kotlin, Dart, Ruby, Scala and PHP source only, and no C# was loaded and no JavaScript/TypeScript, Java, Kotlin, Dart, Ruby, Scala or PHP was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X19 Unrestored process-global state — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Kotlin, Python, Dart, Ruby, Scala and PHP source only, and no C# was loaded and no JavaScript/TypeScript, Java, Kotlin, Python, Dart, Ruby, Scala or PHP was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X22 Contradicted release guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and Java, TypeScript/JavaScript, Python, Dart, Ruby, Scala, Kotlin and PHP source only, and no C# was loaded, and this repository's C, C++, Rust is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X23 Unguarded diagnostic materialisation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, F#, Python, Dart, Ruby, Scala, Kotlin and PHP source only, and no C# was loaded and no JavaScript/TypeScript, Java, F#, Python, Dart, Ruby, Scala, Kotlin or PHP was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X24 Document value interpolated into markup unescaped — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Scala, Ruby and Python source only, and no C# was loaded and no JavaScript/TypeScript, Java, Scala, Ruby or Python was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X25 Inert configuration knob — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Kotlin, Scala, PHP, Erlang, Python, Dart and Ruby source only, and no C# was loaded and no JavaScript/TypeScript, Java, Kotlin, Scala, PHP, Erlang, Python, Dart or Ruby was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X26 Unsynchronised callback handoff — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and Java, Kotlin, Scala, Go, Swift, Python and Ruby source only, and no C# was loaded, no Java, Kotlin, Scala, Go, Swift, Python or Ruby was found, and this repository's C, C++ is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X3 Exception handling — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and PHP, Java, Kotlin, Python, Ruby, Scala, Dart, Swift, Erlang, Go and JavaScript/TypeScript source only, and no C# was loaded and no PHP, Java, Kotlin, Python, Ruby, Scala, Dart, Swift, Erlang, Go, JavaScript or TypeScript was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X4 Structured logging — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 78 further occurrence(s) are not listed individually; the score already reflects all 118.
- X5 Nullable reference types — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax and MSBuild project configuration, TypeScript source and its tsconfig files, Java source and its package and module declarations, PHP source and its PHPStan and Psalm configuration, Dart source and its pubspec language version, Ruby source and its Sorbet and Steep configuration, Scala source and its build's explicit-nulls, WartRemover and Scalafix settings, and Kotlin source only, and no C# was loaded, no TypeScript was found, and this repository's C, Cpp, Rust is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D22 Internal API Consistency: API-surface coherence is an LLM judgement over a sample of the public surface — consistency of intent across the whole API is approximated, not exhaustively verified.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- AC2 Forms & labels: Label association is read from static markup — a label wired up at runtime (JS-set aria-labelledby, framework-injected ids) reads as missing, a present label says nothing about whether its text is correct. A known UI-library field component (e.g. a JSX <TextField>) is now checked conservatively — flagged only when it carries NO label/aria-label/aria-labelledby/id/name — but wrapper/context-labelled libraries (Chakra/Radix FormControl+FormLabel) aren't statically visible (possible false positive) and non-JSX lowercased components are still skipped. A click handler on a plain element is now asked for a name too (it is a control the author declared), but the subtree test that answers it is deliberately generous: any DYNAMIC text expression in the subtree counts as a name, so an icon chosen by a ternary ({cond ? <IconA/> : <IconB/>}) reads as named, and a glyph component from a library the icon-import list does not know still names its parent. A clean result is "no unlabelled control found", not a labelling proof.
- AC3 Page structure: Page structure is read from the static markup tree — landmarks, headings and lang injected at runtime aren't seen, heading ORDER is checked structurally (not against the rendered visual hierarchy), and lang/title/main fire only on full documents, never partials, and the data-table check sees header-cell presence (a <th> exists), not whether each header correctly associates with its cells. Static readiness, not conformance.
- AC6 Visual & motion safety: Contrast and motion safety are PARTIAL by construction — literal colours (hex/rgb/hsl/named) in inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS top-level declarations are read (same-rule/same-element colour+background pairs only); computed/runtime/theme colour, external-CDN stylesheets, CSS-in-JS dynamic (${…}) and nested-selector colours, cross-element pairs and image contrast stay out of reach, so a clean result is bounded by what the static CSS itself shows.
- AC7 A11y enforcement: Enforcement is scored from in-repo config/CI evidence only — an a11y gate enforced in external tooling with no in-repo trace can't be credited, and a configured linter is presence, not proof the rules actually run or block a merge.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- AX9 CQS / query purity: Handlers are found by interface/name convention — a query handler using neither is not seen. Mutation is a resolved write/publish invocation (SaveChanges/repository/bus), so a write hidden behind a hand-rolled wrapper, reflection, or a string-keyed service locator resolves to a non-persistence type and isn't flagged; it detects that a query writes state, not whether the write is a legitimate read-side cache update. Clean means "no resolved write/publish in a query body", not a proof of CQS purity.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
4 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was atomic_node::main at 125.
What to do
- Bring the 1 body over 60 down to 60 or less in Cyclomatic Complexity — start with atomic_node::main (cyclomatic 125). — Refactoring it lifts Cyclomatic Complexity from 7.5 to about 8.2/10.
- Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D2 · Cognitive Complexity
12 method(s) exceeded the cognitive complexity threshold of 15; the worst was atomic_node::main at 332.
What to do
- Bring the 2 bodies over 30 down to 30 or less in Cognitive Complexity — start with atomic_node::main (cognitive 332), atomic_node::run_backtest (cognitive 96). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 2 together lifts Cognitive Complexity from 4.3 to about 8.0/10, projected with the scoring formula itself and assuming each lands exactly at 30; a cleaner split scores higher.
- Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
3 over-large unit(s) detected — types, modules or files that carry too much.
What to do
- Resolve the 2 FunctionTooLong finding(s) in God Classes — start with main.rs (2). — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 FileTooLong finding(s) in God Classes — start with main.rs. — One of this dimension's main actionable groups (1 warning-level).
- Enforce God Classes in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D4 · Code Duplication
12 duplicated block group(s) detected.
What to do
- Resolve the 2 Duplicated block (15–16 lines × 2) finding(s) in Code Duplication — start with gateway.rs (2). — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 2 Duplicated block (6 lines × 2) finding(s) in Code Duplication — start with types.rs (2). — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 Duplicated block (17 lines × 2) finding(s) in Code Duplication — start with main.rs. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D5 · Coupling
12 production modules (Cargo), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; 3 module(s) off the main sequence.
What to do
- Resolve the 3 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (3 warning-level).
- Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D6 · Cohesion (LCOM4)
0 of 29 classes have LCOM4 above 3.
D9 · Test Distribution
92 test methods: 85 unit, 2 integration, 0 BDD, 5 e2e. The Rust suite contributes 92 `#[test]` function(s) across 18 file(s) declaring at least one; its unit/integration split is Cargo's own — 1 of those file(s) are integration-test targets under a crate's tests/ directory, and the rest are #[test] functions compiled into the crate they test.
D12 · Dependency Hygiene
14 outdated, 0 yanked direct Cargo dependencies. Only DIRECT edges are graded: a transitive crate cannot be moved past what its parent's requirement admits, so reporting one would be advice its owner cannot take. A newer release is reported only where this repository's OWN requirement already admits it, so the remedy is `cargo update` and never a manifest edit — which means a release outside the declared range is deliberately NOT charged, because a written-down constraint is a decision rather than a defect. Note that a bare requirement is a CARET, and for a 0.x crate its ceiling is the minor. Whether any crate is UNMAINTAINED is not graded — crates.io publishes no maintenance status, and release age does not stand in for one. Known CVEs in this dependency graph are D30's question, read from REDACTED there.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 307 shipped crate(s) use a banned license. Licences were resolved from crates.io over the crates a consumer compiles — this repository's REDACTED closed over its manifests' `[dependencies]` and `[build-dependencies]`. Crates it asks for ONLY under `[dev-dependencies]` are excluded: they are not compiled by anything that depends on this repository. This repository publishes itself under MIT, which is its own choice and is not judged here.
D15 · Churn × Complexity Hotspots
Top hotspots: crates/atomic-node/src/main.rs (8×125=1000); crates/atomic-risk/src/limits.rs (4×15=60)
What to do
- Resolve the 2 Hotspot finding(s) in Churn × Complexity Hotspots — start with main.rs, limits.rs. — One of this dimension's main actionable groups (2 warning-level).
D17 · Explicit Debt
0 deducted task-comment markers across 8427 LoC (0.0/KLoC) → score 10.0. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
D19 · Documentation Quality
The repository's single README is a comprehensive root-level overview of the project: it states what ATOMIC MESH is and its performance goals (sub-microsecond strategy compute time), shows the license badge with a legal link, and describes the architecture in an outlineable diagram. It also includes a disclaimer that this is a research showcase not production-ready trading software.
What to do
- Improve Documentation Quality — currently 8.0/10. — The repository's single README is a comprehensive root-level overview of the project: it states what ATOMIC MESH is and its performance goals (sub-microsecond strategy compute time), shows the license badge with a legal link, and describes the architecture in an outlineable diagram. It also includes a disclaimer that this is a research showcase not production-ready trading software.
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D22 · Internal API Consistency
5 API inconsistencies across a 400-member sample of 96 exposed types.
What to do
- Resolve the 1 Inconsistent iterator/consumer semantics for sequential data.… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Ambiguous naming for sequence generation. `EventSequencer.sequence`… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Inconsistent error handling for empty/failed operations.… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
D26 · Project Cohesion
0 of 13 build units (Cargo) flagged as possibly oversized/incoherent.
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
11 finding(s): 0 critical, 11 high, 0 medium, 0 low. 11 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens.
What to do
- No action in Static Analysis (SAST) — all 11 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (11 issue-level, 0 of them charged here).
D30 · Dependency Vulnerabilities
12 finding(s): 0 critical, 3 high, 8 medium, 1 low.
What to do
- Resolve the 3 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (3). — One of this dimension's main actionable groups (3 issue-level).
- Resolve the 3 Medium advisory (unsound) finding(s) in Dependency Vulnerabilities — start with REDACTED (3). — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 3 Medium vulnerability finding(s) in Dependency Vulnerabilities — start with REDACTED (3). — One of this dimension's main actionable groups (3 warning-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
Frontend & cross-cutting dimensions
AC2 · Forms & labels
AC3 · Page structure
- No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>. — dashboard/index.html:2
What to do
- Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.
AC6 · Visual & motion safety
- `.risk-card .bar-fill` moves (`transition: width .3s`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — dashboard/index.html:159
- `.toast` moves (`animation: fadeInOut 3s ease-in-out forwards`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — dashboard/index.html:182
- `.strat-toggle::after` moves (`transition: left .2s`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — dashboard/index.html:217
- `.pnl-bar` moves (`transition: height .3s`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — dashboard/index.html:232
What to do
- Keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1.
AC7 · A11y enforcement
- No accessibility enforcement found — no automated accessibility check runs over the HTML your app renders. Assert the accessibility invariants over that HTML in the test suite you already have (parse the output and assert, or drive a browser), and gate that test in CI so a regression blocks the merge. What was searched, so you can tell an absence from a miss: the 1 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository's test and CI files — matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here.
What to do
- Enforce accessibility in the test suite you already have: assert the accessibility invariants over the HTML your app renders — parse the rendered output in an existing test, or drive a real browser from one — and gate that test in CI so a regression blocks the merge.
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX3 · Project dependency cycles
AX4 · Dependency direction
AX9 · CQS / query purity
C2 · Access Controls
- This repository serves requests — a server (axum::serve) (crates/atomic-node/src/dashboard.rs:174) — and no route guard, auth-gate middleware, global guard or imperative check that refuses a caller (401/403, an Unauthorized/Forbidden error) was found: its endpoints may be unprotected. — crates/atomic-node/src/dashboard.rs:174
What to do
- Protect endpoints by default-deny: a global authentication guard or middleware with explicit public opt-outs, or a guard on every route, plus named role/permission rules for what an authenticated caller may do.
ES1 · Fold determinism
ES2 · Immutable events
M1 · Documentation (README)
What to do
- Add a README to the 12 of 12 project(s) that lack one — worth up to 2 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
M3 · Folder & project structure
M4 · Documentation accuracy
P1 · CI/CD gates
- A CI pipeline exists but no build step was matched — changes may merge without the build ever running. A build step may be invoked directly as a command, or declared as a task that a runner named in the pipeline resolves.
What to do
- Add an explicit build step to your CI pipeline — your stack's own build command, or, if the pipeline delegates to a task runner, a build task that runner executes in CI — so every change is built before merge.
P10 · Library API & versioning
- 89/108 types (82%) declared in the published library are public. For a library, every public type is a stability contract — keep implementation types off the surface and expose only the intended API.
What to do
- Keep implementation types off the public surface (Rust: `pub(crate)`, or keep the module private) so internals can change without breaking consumers.
P2 · Observability
What to do
- Consider OpenTelemetry tracing/metrics (opentelemetry with tracing-opentelemetry) and a health-check endpoint (a /health route on your axum/actix router) for operability.
P3 · Security & performance tooling
What to do
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P6 · Release Hygiene
- No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)
What to do
- Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release.
P7 · Outbound HTTP resilience
- `reqwest::Client::new(` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout. — crates/atomic-feed/src/gateway.rs:113
What to do
- Give every client a whole-request bound: `reqwest::Client::builder().timeout(Duration::from_secs(10))` (never `reqwest::get` or `Client::new()`, which have none), ureq's `timeout_global`, or wrap the call in `tokio::time::timeout`; add retry with back-off (`reqwest-retry`'s `RetryTransientMiddleware`, `backoff`) around dependencies that fail.
PF1 · Benchmark discipline
PF3 · Async & latency hygiene
S1 · Web-Security Posture
- None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, …) is set on a response this repository's Rust server sends — defense in depth, even when a proxy could set them. (−2.0 on this card.) The server: `axum::serve(` (crates/atomic-node/src/dashboard.rs:174).
- No handler of this repository's Rust server answers 400, 413 or 422 (`StatusCode::BAD_REQUEST`, `HttpResponse::BadRequest()`, `Status::BadRequest`, tonic `Status::invalid_argument`), and nothing declares validation — no `validator`/`garde` derive, no body limit (`DefaultBodyLimit::max`, `RequestBodyLimitLayer`, `JsonConfig::default().limit(…)`, Rocket `Limits`) — nothing shows inbound requests being checked, and refused, before a handler acts on them. A check that answers its failure with 200 and an error body is not seen. (−2.0 on this card.) The server: `axum::serve(` (crates/atomic-node/src/dashboard.rs:174).
What to do
- Set security response headers on what the server sends — actix-web's `DefaultHeaders::new().add((header::X_CONTENT_TYPE_OPTIONS, "nosniff"))`, tower-http's `SetResponseHeaderLayer::overriding(…)` on an axum router, or keep Rocket's default `Shield` — with `Content-Security-Policy`, `X-Content-Type-Options` and a frame policy on every response.
- Validate what the server reads from a request — path, query, headers, body size and shape — and answer what fails with 400 (413 for an oversized body) before a handler acts on it: derive `validator::Validate` (or `garde::Validate`) on the request types and reject with `StatusCode::BAD_REQUEST`, and cap bodies with `DefaultBodyLimit::max`/`RequestBodyLimitLayer` or actix's `JsonConfig::default().limit(…)`.
X1 · Async correctness
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
- `len` is read from the bytes being parsed at line 79 (`u32::from_le_bytes`), then used to size a `vec![…; n]` at line 80 — and nowhere in its scope is `len` compared to anything, clamped, or bounded against the input that remains. Whoever wrote those bytes therefore chooses the allocation directly: it reserves the whole length before a single byte of the payload is known to exist, so a 32-bit length asks for up to 4 GiB, and an allocation the allocator refuses aborts the process with `memory allocation of … bytes failed` — an abort, not a panic, so no `catch_unwind` intercepts it and the whole process dies; a 64-bit length past `isize::MAX` panics with `capacity overflow` instead, out of a parser whose failure path was written for malformed input, not for hostile input. Bound `len` against the bytes actually remaining and a maximum the format allows before allocating. — crates/atomic-replay/src/log.rs:80
What to do
- Each finding names the read that takes the length from the input and the site that spends it, and states that the value is never compared in between. Confirm from the two, then bound the length against the remaining stream before using it.
X21 · Side-effecting pattern guard
X27 · Collection changed while being enumerated
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X30 · Support guard that admits what it rejects
X4 · Structured logging
- `warn!` at line 204 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `warn!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-feed/src/gateway.rs:204
- `info!` at line 272 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `info!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-feed/src/gateway.rs:272
- `warn!` at line 274 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `warn!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-feed/src/gateway.rs:274
- `error!` at line 278 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `error!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-feed/src/gateway.rs:278
- `info!` at line 321 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `info!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-feed/src/gateway.rs:321
- `warn!` at line 324 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `warn!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-feed/src/gateway.rs:324
- `error!` at line 329 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `error!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-feed/src/gateway.rs:329
- `info!` at line 358 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `info!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-feed/src/gateway.rs:358
- `error!` at line 381 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `error!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-feed/src/gateway.rs:381
- `error!` at line 422 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `error!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-feed/src/gateway.rs:422
- `info!` at line 510 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `info!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-feed/src/gateway.rs:510
- `warn!` at line 528 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `warn!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-feed/src/gateway.rs:528
- `warn!` at line 565 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `warn!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-feed/src/gateway.rs:565
- `info!` at line 652 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `info!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-feed/src/gateway.rs:652
- `info!` at line 658 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `info!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-feed/src/gateway.rs:658
- `warn!` at line 672 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `warn!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-feed/src/gateway.rs:672
- `info!` at line 52 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `info!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-feed/src/binance.rs:52
- `info!` at line 53 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `info!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-feed/src/binance.rs:53
- `error!` at line 71 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `error!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-feed/src/binance.rs:71
- `info!` at line 78 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `info!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-feed/src/binance.rs:78
- `error!` at line 95 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `error!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-feed/src/binance.rs:95
- `error!` at line 99 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `error!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-feed/src/binance.rs:99
- `info!` at line 59 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `info!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-node/src/recovery.rs:59
- `info!` at line 80 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `info!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-node/src/recovery.rs:80
- `warn!` at line 115 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `warn!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-node/src/recovery.rs:115
- `warn!` at line 124 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `warn!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-node/src/recovery.rs:124
- `info!` at line 138 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `info!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. (×2) — crates/atomic-node/src/recovery.rs:138, crates/atomic-node/src/main.rs:138
- `info!` at line 113 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `info!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-node/src/main.rs:113
- `info!` at line 115 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `info!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-node/src/main.rs:115
- `warn!` at line 116 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `warn!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-node/src/main.rs:116
- `info!` at line 120 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `info!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-node/src/main.rs:120
- `error!` at line 131 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `error!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-node/src/main.rs:131
- `info!` at line 137 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `info!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-node/src/main.rs:137
- `info!` at line 139 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `info!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-node/src/main.rs:139
- `info!` at line 140 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `info!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-node/src/main.rs:140
- `info!` at line 141 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `info!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-node/src/main.rs:141
- `info!` at line 156 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `info!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-node/src/main.rs:156
- `warn!` at line 165 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `warn!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-node/src/main.rs:165
- `info!` at line 178 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `info!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — crates/atomic-node/src/main.rs:178
What to do
- Interpolated log message defeats structured logging
WCAG coverage — what static analysis assessed
| Dimension | WCAG 2.2 A/AA criteria | Coverage |
|---|---|---|
| AC2 · Forms & labels | 1.3.1, 3.3.2, 4.1.2 | Partial signal |
| AC3 · Page structure | 1.4.4, 2.2.1, 2.4.1, 2.4.2, 3.1.1, 4.1.2 | Partial signal |
| AC6 · Visual & motion safety | 1.4.3, 2.4.7 | Partial — literal CSS only |
| AC7 · A11y enforcement | enforcement — no page criterion | Enforcement posture (process) |
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 64% | Adequate — gated by X4 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 95% | Exemplary | Solid. |
| Maturity | 61% | Adequate — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 54% | Adequate — gated by P7 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 42% | Weak — gated by C2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Event Sourcing | 100% | Exemplary | Strongest area. |
| Accessibility | 56% | Adequate | Acceptable, with room to improve. |
| Performance | 91% | Exemplary | Solid. |
Unscored — 1 check(s) recorded observations but carry no score
- D36 Supply-chain Provenance & Signing — 1 observation(s) recorded · The CI pipeline builds and tests but publishes no released artifact — no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a published package, a container image, a deployed service or a tagged release). Build integrity and workflow-token hygiene are reported below: they describe what the CI runs and the token it runs with, neither of which is affected by whether the pipeline ships an artifact.
Not evidenced — 2 control(s) we could not find positive evidence for
- P4 Deployment & Rollback — not evidenced — no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 63 check(s) not relevant to this codebase
- AC1 Text alternatives — No image/media element found in the parsed markup — AC1 not applicable here.
- AC4 Keyboard semantics — No interactive element found in the parsed markup — AC4 not applicable here.
- AC5 ARIA correctness — No ARIA usage found in the parsed markup — AC5 not applicable here.
- AX1 Captive dependencies — Not applicable: Rust with no dependency-injection crate has no container to hand one lifetime's instance to another — every value is owned by the code that builds it, and the borrow checker rejects a longer-lived value keeping a borrow of a shorter-lived one.
- AX2 Stateful singletons — Not applicable: Rust's compiler refuses unsynchronised shared mutation — a value shared across threads must be Sync — so the race this check looks for cannot be written.
- AX5 Architecture & structure — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX6 Interface segregation — not assessed — interface segregation is computed over a type surface that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — the service did not build — `cargo build --locked --bin 'atomic-node'` exited 101: libatomic_hotpath-14226530bd01476d.rlib rust-lld: error: undefined symbol: hp_on_trade >>> referenced by lib.rs:201 (crates/atomic-hotpath/src/lib.rs:201) >>>…; runtime evidence skipped (launch chosen because 'axum' dependency in crates/atomic-node/Cargo.toml, binary 'atomic-node') This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- C1 Data Protection — No personal data detected in a persisted data model — no PII-named field (email, first_name, date_of_birth, phone, …) or stored credential in a Diesel schema, a SeaORM entity, a Diesel or sqlx row struct, or a SQL CREATE TABLE or ALTER TABLE — and no database or data-store crate (sqlx, Diesel, SeaORM, rusqlite, tokio-postgres, MongoDB, …) in the source either, so this repository keeps no data at rest for these controls to protect.
- C3 Audit Trail — No personal data detected in a persisted data model — no PII-named field (email, first_name, date_of_birth, phone, …) or stored credential in a Diesel schema, a SeaORM entity, a Diesel or sqlx row struct, or a SQL CREATE TABLE or ALTER TABLE — and no database or data-store crate (sqlx, Diesel, SeaORM, rusqlite, tokio-postgres, MongoDB, …) in the source either, so this repository keeps no sensitive data whose changes an audit trail would record. If it does (through a store configured outside this repository, for instance), the trail belongs to wherever that data is stored.
- C4 Data Retention — No personal data detected in a persisted data model — no PII-named field (email, first_name, date_of_birth, phone, …) or stored credential in a Diesel schema, a SeaORM entity, a Diesel or sqlx row struct, or a SQL CREATE TABLE or ALTER TABLE — and no database or data-store crate (sqlx, Diesel, SeaORM, rusqlite, tokio-postgres, MongoDB, …) in the source either, so this repository keeps no personal data whose lifetime a retention limit would bound.
- C5 Data-Subject Rights — No personal data detected in a persisted data model — no PII-named field (email, first_name, date_of_birth, phone, …) or stored credential in a Diesel schema, a SeaORM entity, a Diesel or sqlx row struct, or a SQL CREATE TABLE or ALTER TABLE — and no database or data-store crate (sqlx, Diesel, SeaORM, rusqlite, tokio-postgres, MongoDB, …) in the source either, so this repository keeps no personal data for a data subject to erase, export or consent over.
- D10 Test Quality — ~719 lines of test source are present (.rs) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so skipped/assertion-free tests couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
- D11 Test Reliability — Test reliability not included — the .rs suite was found but not re-run
- D16 Bus Factor — single-contributor repository — bus factor is not applicable
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.rs), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- D34 Knowledge Freshness — too few commits to judge knowledge freshness
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D44 Platform End-of-Life — Platform end-of-life not assessed — this repository declares no platform this pass reads
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- D8 Code Coverage — Coverage not included — suite not readable by the collector
- DM1 Domain Modelling — not scored — this repository shows only 1 of the 3 signals this lens looks for (1 domain event(s); its domain events are published by services or handlers — no domain entity raises one)
- ED2 Event/command shape — not scored — deciding whether a command has more than one competing handler requires resolving the call graph, and a call made through an inferred or generic receiver has no resolvable owner in the source. Reported as guidance rather than measured
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- GD1 Unfinished & placeholder code — no source files were read — this check reads C#, F#, JavaScript/TypeScript, Dart, Ruby and Scala, and none was read for this repository's product. That is a limit of the analyzer, not a finding about your code.
- IC1 Incompleteness & stubs — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
- P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (lcov — `cargo install cargo-llvm-cov`, then `cargo llvm-cov --lcov --output-path lcov.info`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF2 Allocation hygiene — Not applicable: Rust spells out every heap allocation and makes borrowed slices (&[T], &str) its ordinary parameter types, so the allocation-aware style this card rewards elsewhere is the language's baseline rather than a rung to climb.
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X12 Unreachable branch — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X13 Undrained process stream — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X16 Unfloored truncation loop — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X17 Uncapped recursion over a caller-supplied document — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X18 Disposal-pattern correctness — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X19 Unrestored process-global state — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X2 Cancellation propagation — no C# was loaded; this repository's Rust was read, and no request in it can be cancelled by a caller — a Rust request takes no token: a future is cancelled by dropping it, from outside the call (select!, a timeout, an aborted task), and reqwest, hyper and tonic take none
- X20 Mistyped argument guard — This check asks whether an argument guard reports an EMPTY value as a NULL one, which needs a language that throws a null-specific argument exception — .NET's ArgumentNullException, the JVM's NullPointerException, Dart's ArgumentError.notNull. This repository contains none of those languages: the ones it is written in have a single exception for a bad argument, so there is no pair of exceptions to confuse and nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X22 Contradicted release guard — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X23 Unguarded diagnostic materialisation — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X24 Document value interpolated into markup unescaped — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X25 Inert configuration knob — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X26 Unsynchronised callback handoff — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X3 Exception handling — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X5 Nullable reference types — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 14 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
Serious — 59 finding(s)
- Animation without a prefers-reduced-motion guard dashboard/index.html:159
- Animation without a prefers-reduced-motion guard dashboard/index.html:182
- Animation without a prefers-reduced-motion guard dashboard/index.html:217
- Animation without a prefers-reduced-motion guard dashboard/index.html:232
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Off the main sequence: atomic-core
- Off the main sequence: atomic-bus
- Off the main sequence: atomic-orderbook
- atomic_node::main (cyclomatic 125) crates/atomic-node/src/main.rs:95
- atomic_node::run_backtest (cyclomatic 35) crates/atomic-node/src/main.rs:1379
- Hotspot: crates/atomic-node/src/main.rs crates/atomic-node/src/main.rs:95
- Hotspot: crates/atomic-risk/src/limits.rs crates/atomic-risk/src/limits.rs:104
- atomic_node::main (cognitive 332) crates/atomic-node/src/main.rs:95
- atomic_node::run_backtest (cognitive 96) crates/atomic-node/src/main.rs:1379
- FunctionTooLong: atomic_node::main crates/atomic-node/src/main.rs:95
- FunctionTooLong: atomic_node::run_backtest crates/atomic-node/src/main.rs:1379
- Duplicated block (15–16 lines × 2) crates/atomic-feed/src/gateway.rs:228
- Duplicated block (15–16 lines × 2) crates/atomic-feed/src/gateway.rs:245
- Duplicated block (6 lines × 2) crates/atomic-core/src/types.rs:256
- Duplicated block (6 lines × 2) crates/atomic-core/src/types.rs:263
- Page without a main landmark dashboard/index.html:2
- Accessibility enforcement below the top rung
- No authorization crates/atomic-node/src/dashboard.rs:174
- index.html.updateTopbar (cyclomatic 20) dashboard/index.html:633
- SimulatedExchange::submit_order (cyclomatic 16) crates/atomic-execution/src/simulator.rs:182
- BinanceConnector::connect (cognitive 29) crates/atomic-feed/src/binance.rs:28
- ExecutionGateway::start_user_data_stream (cognitive 24) crates/atomic-feed/src/gateway.rs:339
- index.html.onOrder (cognitive 24) dashboard/index.html:790
- RiskEngine::check_order (cognitive 19) crates/atomic-risk/src/limits.rs:104
- MarketMaker::on_event (cognitive 19) crates/atomic-strategy/src/market_maker.rs:166
- index.html.updateTopbar (cognitive 19) dashboard/index.html:633
- SimulatedExchange::submit_order (cognitive 18) crates/atomic-execution/src/simulator.rs:182
- atomic_execution::simulator::match_order (cognitive 17) crates/atomic-execution/src/simulator.rs:95
- SmartOrderRouter::route_best_venue (cognitive 17) crates/atomic-router/src/router.rs:63
- index.html.renderOrders (cognitive 16) dashboard/index.html:947
- Inconsistent iterator/consumer semantics for sequential data. `EventSequencer` uses `drain` (implying removal/consumption) and `peek` (read-only). `ReplayPlayer` uses `next` (consumption) and `peek` (read-only). The naming `drain` vs `next` is confusing when both serve the role of advancing the cursor and returning the current item.
- Ambiguous naming for sequence generation. `EventSequencer.sequence` takes an event and returns a u64 (likely the assigned sequence number), while `SequenceGenerator.next` returns a u64 (the next sequence number). It is unclear if `sequence` is a verb (assigning) or a noun (fetching). Furthermore, `EventSequencer` has `current_seq()` while `SequenceGenerator` has `peek()`. `peek` usually implies looking at the *next* value without consuming, whereas `current_seq` implies the *last* or *current* value. This creates confusion about whether the API exposes the next available ID or the last assigned ID.
- Inconsistent error handling for empty/failed operations. `SpscRing.try_pop` returns `T` directly (implying it never fails or panics on empty, or `T` is an Option/Result wrapper not shown but implied by 'try'). `SpscRing.try_push` returns `Result`. `EventSequencer.drain` and `ReplayPlayer.next` return `Event` directly. If `try_pop` can fail, it should return `Result<T>` or `Option<T>` to match `try_push`. If `drain`/`next` can fail (e.g., empty), they should also return `Result` or `Option`. The mix of direct returns and Result types for similar 'get next item' operations is inconsistent.
- Inconsistent return types for collection queries. `open_orders` returns `LiveOrder` (singular) but implies a collection. `open_order_ids` returns `OrderId` (singular). `stale_order_ids` returns `OrderId` (singular). These methods likely return collections (Vec/HashMap) but are named and typed as if returning a single item. This is a critical API design flaw.
- Inconsistent return types for similar queries. `OrderBook.best_bid()` returns a `Level` (price + qty), while `HotPathEngine.best_bid()` returns a `Price`. While the domains are distinct (OrderBook vs HotPathEngine), the semantic intent is the same (get best bid). Users must know which type to use based on the engine. If `HotPathEngine` is a simplified view, it should be documented, but the inconsistency in 'best' accessors is notable.
- FileTooLong: src/main.rs crates/atomic-node/src/main.rs
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (17 lines × 2) crates/atomic-node/src/main.rs:1483
- Duplicated block (4–15 lines × 3) crates/atomic-node/src/main.rs:814
- Duplicated block (12 lines × 3) crates/atomic-node/src/main.rs:586
- Duplicated block (9 lines × 3) crates/atomic-feed/src/gateway.rs:191
- Duplicated block (9 lines × 2) crates/atomic-node/src/main.rs:840
- Duplicated block (8 lines × 2) crates/atomic-node/src/main.rs:670
- Duplicated block (5 lines × 2) crates/atomic-node/src/dashboard.rs:199
- Duplicated block (4–5 lines × 3) crates/atomic-node/src/main.rs:831
- Outbound HTTP without resilience crates/atomic-feed/src/gateway.rs:113
- Length read from the parsed input is spent without ever being bounded crates/atomic-replay/src/log.rs:80
Minor — 49 finding(s)
- Interpolated log message defeats structured logging crates/atomic-feed/src/gateway.rs:204
- Interpolated log message defeats structured logging crates/atomic-feed/src/gateway.rs:272
- Interpolated log message defeats structured logging crates/atomic-feed/src/gateway.rs:274
- Interpolated log message defeats structured logging crates/atomic-feed/src/gateway.rs:278
- Interpolated log message defeats structured logging crates/atomic-feed/src/gateway.rs:321
- Interpolated log message defeats structured logging crates/atomic-feed/src/gateway.rs:324
- Interpolated log message defeats structured logging crates/atomic-feed/src/gateway.rs:329
- Interpolated log message defeats structured logging crates/atomic-feed/src/gateway.rs:358
- Interpolated log message defeats structured logging crates/atomic-feed/src/gateway.rs:381
- Interpolated log message defeats structured logging crates/atomic-feed/src/gateway.rs:422
- Interpolated log message defeats structured logging crates/atomic-feed/src/gateway.rs:510
- Interpolated log message defeats structured logging crates/atomic-feed/src/gateway.rs:528
- Interpolated log message defeats structured logging crates/atomic-feed/src/gateway.rs:565
- Interpolated log message defeats structured logging crates/atomic-feed/src/gateway.rs:652
- Interpolated log message defeats structured logging crates/atomic-feed/src/gateway.rs:658
- Interpolated log message defeats structured logging crates/atomic-feed/src/gateway.rs:672
- Interpolated log message defeats structured logging crates/atomic-feed/src/binance.rs:52
- Interpolated log message defeats structured logging crates/atomic-feed/src/binance.rs:53
- Interpolated log message defeats structured logging crates/atomic-feed/src/binance.rs:71
- Interpolated log message defeats structured logging crates/atomic-feed/src/binance.rs:78
- Interpolated log message defeats structured logging crates/atomic-feed/src/binance.rs:95
- Interpolated log message defeats structured logging crates/atomic-feed/src/binance.rs:99
- Interpolated log message defeats structured logging crates/atomic-node/src/recovery.rs:59
- Interpolated log message defeats structured logging crates/atomic-node/src/recovery.rs:80
- Interpolated log message defeats structured logging crates/atomic-node/src/recovery.rs:115
- No ADRs found
- REDACTED
- REDACTED
- No ADRs
- CI build step not evidenced
- Large public API surface
- No changelog
- No security response headers detected
- No inbound request validation detected
Minor — 14 finding(s)
- Outdated: async-trait
- Outdated: axum
- Outdated: cc
- Outdated: chrono
- Outdated: clap
- Outdated: futures-util
- Outdated: open
- Outdated: quinn
- Outdated: rustls
- Outdated: serde
- Outdated: serde_json
- Outdated: thiserror
- Outdated: tokio
- Outdated: xxhash-rust
Appendix B — Reproduction & audit trail
| Dimension | Tool | Version | Command | Findings | Raw output |
|---|---|---|---|---|---|
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-cd292e7071e043aeb407f658ba9289b4/history.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-cd292e7071e043aeb407f658ba9289b4/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 11 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | osv-scanner | — | osv-scanner --format json --recursive --experimental-disable-plugins transitivedependency/requirements --experimental-disable-plugins dotnet/csproj --experimental-disable-plugins dotnet/nugetcpm . | 12 | artifacts/raw/osv-scanner.json |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | osv-scanner | — | osv-scanner --format json --recursive --experimental-disable-plugins transitivedependency/requirements --experimental-disable-plugins dotnet/csproj --experimental-disable-plugins dotnet/nugetcpm . | 0 | artifacts/raw/osv-scanner.json |