Executive summary
wavezync/durable scores 52 out of 100 and is rated Adequate, while six of its seven lenses score higher still: Performance at 100, rated Exemplary, Architecture at 91, Security and Compliance at 81, Accessibility at 61 and Maturity at 54, all rated Adequate, and Code Health at 72, rated Strong.
The score is lower than those six because the weakest lens counts most, and here that is Production Readiness, which scores 39 and is rated Weak. Its Secret Scanning dimension scores 0 out of 10, and until that reaches 4, Production Readiness can't be rated higher than Adequate. The first actions are to resolve the 4 Leaked secret finding(s) in Secret Scanning and to resolve the 1 Unbounded dependency requirement finding(s) in Dependency Hygiene, and if Production Readiness rose to 70, the score would rise from 52 to about 62.
28 findings are critical: 12 in Dependency Vulnerabilities, 12 in Static Analysis (SAST) and four in Secret Scanning.
Watchdog couldn't measure 11 dimensions in this code, among them Code Coverage, Test Reliability and Internal API Consistency, so they are left out of the score. The product code is 32,727 lines, which would take an estimated 0.3 person-years, around €45,000, to rebuild.
If Production Readiness rose from 39 to 70, the lowest score rated Strong, the score would rise from 52 to about 62.
New since the last survey: 29 findings
- Cognitive Complexity · query_suggest.onKey (cognitive 16) durable_dashboard/assets/src/hooks/query_suggest.ts
- God Classes · FileTooLong: live/workflow_live.ex durable_dashboard/lib/durable_dashboard/live/workflow_live.ex
- God Classes · FileTooLong: live/executions_live.ex durable_dashboard/lib/durable_dashboard/live/executions_live.ex
- God Classes · FileTooLong: live/inputs_live.ex durable_dashboard/lib/durable_dashboard/live/inputs_live.ex
- God Classes · TooManyFunctions: Charts durable_dashboard/lib/durable_dashboard/components/charts.ex
- God Classes · FileTooLong: data/execution_filters.ex durable_dashboard/lib/durable_dashboard/components/data/execution_filters.ex
- Code Duplication · Members sharing a duplicated core (4 members, 50+ identical tokens) durable_dashboard/lib/durable_dashboard/live/inputs_live.ex
- Code Duplication · Duplicated block (13–14 lines × 4) durable_dashboard/lib/durable_dashboard/live/inputs_live.ex
- Code Duplication · Duplicated block (10–13 lines × 2) durable_dashboard/lib/durable_dashboard/graph_builder.ex
- Code Duplication · Duplicated block (6 lines × 2) durable/lib/durable/queue/sampler.ex
- Code Duplication · Duplicated block (6 lines × 3) durable_dashboard/lib/durable_dashboard/live/schedules_live.ex
- Coupling · Off the main sequence: durable
- Static Analysis (SAST) · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Code Duplication · Duplicated block (17 lines × 2 locations) durable_dashboard/assets/src/react/nodes/gateway_node.tsx
- Code Duplication · Duplicated block (8 lines × 2 locations) durable_dashboard/assets/src/react/nodes/block_nodes.tsx
- Cyclomatic Complexity · Complex function onKey (cyclomatic 15, cognitive 16) durable_dashboard/assets/src/hooks/query_suggest.ts
- Cyclomatic Complexity · Complex function stepTip (cyclomatic 13, cognitive 10) durable_dashboard/assets/src/react/nodes/shared.ts
- Web-Security Posture · Weak hash algorithm durable_dashboard/lib/durable_dashboard/layouts.ex
- Exception handling · Swallowed exception (empty catch) durable_dashboard/assets/src/hooks/copy.ts
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement durable_dashboard/priv/static/durable_dashboard/app.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement durable_dashboard/priv/static/durable_dashboard/app.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement durable_dashboard/priv/static/durable_dashboard/app.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement durable_dashboard/priv/static/durable_dashboard/app.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement durable_dashboard/priv/static/durable_dashboard/app.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement durable_dashboard/priv/static/durable_dashboard/app.css
Fixed since the last survey: 13 findings
- God Classes · FileTooLong: workflow/flow_graph.ex durable_dashboard/lib/durable_dashboard/components/workflow/flow_graph.ex
- God Classes · TooManyFunctions: ExecutionsLive durable_dashboard/lib/durable_dashboard/live/executions_live.ex
- Code Duplication · Duplicated block (16–18 lines × 3) durable_dashboard/lib/durable_dashboard/live/executions_live.ex
- Code Duplication · Duplicated block (9 lines × 2) durable_dashboard/lib/durable_dashboard/components/workflow/children_tab.ex
- Code Duplication · Duplicated block (8 lines × 2) durable/lib/durable/executor.ex
- Code Duplication · Duplicated block (6 lines × 2) durable_dashboard/lib/durable_dashboard/live/inputs_live.ex
- Code Duplication · Duplicated block (11 lines × 2) durable_dashboard/lib/durable_dashboard/live/inputs_live.ex
- Code Duplication · Duplicated block (5 lines × 2) durable_dashboard/lib/durable_dashboard/live/overview_live.ex
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Supply-chain Provenance & Signing REDACTED
- Code Duplication · Wholesale file copy (109 identical lines × 2 files) durable_dashboard/assets/src/react/nodes/child_workflow_node.tsx
- Code Duplication · Duplicated block (13 lines × 3 locations) durable_dashboard/assets/src/react/nodes/child_workflow_node.tsx
Rebuild cost: about €45,000 · Estimate
| Cost to rebuild | €15,000 to €74,000, for 247 to 783 hours of work, about 0.3 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 52. 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 | Medium: 32,727 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 (global) | 2 Durable | 3 Durable.DSL | 4 Durable.Definition | 5 Durable.Executor | 6 Durable.LogCapture | 7 Durable.Migration | 8 Durable.Mix | 9 Durable.Queue | 10 Durable.Scheduler | 11 Durable.Storage.Schemas | 12 Durable.Wait | 13 DurableDashboard | 14 DurableDashboard.Components | 15 DurableDashboard.Components.Command | 16 DurableDashboard.Components.Data | 17 DurableDashboard.Components.Layout | 18 DurableDashboard.Components.Workflow | 19 DurableDashboard.Live | 20 Mix.Tasks | 21 Mix.Tasks.Durable | 22 Mix.Tasks.Durable.Gen | 23 durable_dashboard.assets.src.hooks.command_palette | 24 durable_dashboard.assets.src.hooks.local_time | 25 durable_dashboard.assets.src.hooks.query_suggest | 26 durable_dashboard.assets.src.lib.graph-layout | 27 durable_dashboard.assets.src.lib.types | 28 durable_dashboard.assets.src.react.nodes.shared | 29 durable_dashboard.assets.src.tooltip | 30 Durable.Migration.Migrations | 31 Durable.Queue.Adapters | 32 PhoenixDemo.Workflows | 33 PhoenixDemoWeb | 34 durable_dashboard.assets.src | 35 durable_dashboard.assets.src.hooks | 36 durable_dashboard.assets.src.lib | 37 durable_dashboard.assets.src.react.flow_graph | 38 durable_dashboard.assets.src.react.nodes | 39 durable_dashboard.assets.src.hooks.flow_graph | 40 durable_dashboard.assets.src.react |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 (global) | ||||||||||||||||||||||||||||||||||||||||
| 2 Durable | ||||||||||||||||||||||||||||||||||||||||
| 3 Durable.DSL | ||||||||||||||||||||||||||||||||||||||||
| 4 Durable.Definition | ||||||||||||||||||||||||||||||||||||||||
| 5 Durable.Executor | ||||||||||||||||||||||||||||||||||||||||
| 6 Durable.LogCapture | ||||||||||||||||||||||||||||||||||||||||
| 7 Durable.Migration | ||||||||||||||||||||||||||||||||||||||||
| 8 Durable.Mix | ||||||||||||||||||||||||||||||||||||||||
| 9 Durable.Queue | ||||||||||||||||||||||||||||||||||||||||
| 10 Durable.Scheduler | ||||||||||||||||||||||||||||||||||||||||
| 11 Durable.Storage.Schemas | ||||||||||||||||||||||||||||||||||||||||
| 12 Durable.Wait | ||||||||||||||||||||||||||||||||||||||||
| 13 DurableDashboard | ||||||||||||||||||||||||||||||||||||||||
| 14 DurableDashboard.Components | ||||||||||||||||||||||||||||||||||||||||
| 15 DurableDashboard.Components.Command | ||||||||||||||||||||||||||||||||||||||||
| 16 DurableDashboard.Components.Data | ||||||||||||||||||||||||||||||||||||||||
| 17 DurableDashboard.Components.Layout | ||||||||||||||||||||||||||||||||||||||||
| 18 DurableDashboard.Components.Workflow | ||||||||||||||||||||||||||||||||||||||||
| 19 DurableDashboard.Live | ||||||||||||||||||||||||||||||||||||||||
| 20 Mix.Tasks | ||||||||||||||||||||||||||||||||||||||||
| 21 Mix.Tasks.Durable | ||||||||||||||||||||||||||||||||||||||||
| 22 Mix.Tasks.Durable.Gen | ||||||||||||||||||||||||||||||||||||||||
| 23 durable_dashboard.assets.src.hooks.command_palette | ||||||||||||||||||||||||||||||||||||||||
| 24 durable_dashboard.assets.src.hooks.local_time | ||||||||||||||||||||||||||||||||||||||||
| 25 durable_dashboard.assets.src.hooks.query_suggest | ||||||||||||||||||||||||||||||||||||||||
| 26 durable_dashboard.assets.src.lib.graph-layout | ||||||||||||||||||||||||||||||||||||||||
| 27 durable_dashboard.assets.src.lib.types | ||||||||||||||||||||||||||||||||||||||||
| 28 durable_dashboard.assets.src.react.nodes.shared | ||||||||||||||||||||||||||||||||||||||||
| 29 durable_dashboard.assets.src.tooltip | ||||||||||||||||||||||||||||||||||||||||
| 30 Durable.Migration.Migrations | 7 | |||||||||||||||||||||||||||||||||||||||
| 31 Durable.Queue.Adapters | 1 | |||||||||||||||||||||||||||||||||||||||
| 32 PhoenixDemo.Workflows | 7 | 19 | 1 | |||||||||||||||||||||||||||||||||||||
| 33 PhoenixDemoWeb | 9 | 2 | ||||||||||||||||||||||||||||||||||||||
| 34 durable_dashboard.assets.src | 2 | |||||||||||||||||||||||||||||||||||||||
| 35 durable_dashboard.assets.src.hooks | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||||||
| 36 durable_dashboard.assets.src.lib | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 37 durable_dashboard.assets.src.react.flow_graph | 2 | |||||||||||||||||||||||||||||||||||||||
| 38 durable_dashboard.assets.src.react.nodes | 1 | |||||||||||||||||||||||||||||||||||||||
| 39 durable_dashboard.assets.src.hooks.flow_graph | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 40 durable_dashboard.assets.src.react | 1 | 2 |
30→7 Durable.Migration.Migrations uses Durable.Migration✕
- Connections
- 7 pairs of types, where a type in Durable.Migration.Migrations uses a type in Durable.Migration.
- The types involved
Durable.Migration.Migrations.V20260103000000InitialSchema→Durable.Migration.BaseDurable.Migration.Migrations.V20260104000000AddWaitPrimitives→Durable.Migration.BaseDurable.Migration.Migrations.V20260413000000AddSchedulerResilience→Durable.Migration.BaseDurable.Migration.Migrations.V20260623000000AddLockFencing→Durable.Migration.BaseDurable.Migration.Migrations.V20260623000001AddChildWorkflowLink→Durable.Migration.BaseDurable.Migration.Migrations.V20261016000000AddOperatorControls→Durable.Migration.BaseDurable.Migration.Migrations.V20261016000001AddDeadlinesAndHistory→Durable.Migration.Base
- Direction
- Durable.Migration.Migrations uses Durable.Migration, so a change to Durable.Migration can break Durable.Migration.Migrations, while a change to Durable.Migration.Migrations can't break Durable.Migration.
- Position
- Below the diagonal: Durable.Migration.Migrations uses a module listed above it, which is the healthy direction.
31→9 Durable.Queue.Adapters uses Durable.Queue✕
- Connections
- 1 pair of types, where a type in Durable.Queue.Adapters uses a type in Durable.Queue.
- The types involved
Durable.Queue.Adapters.Postgres→Durable.Queue.Adapter
- Direction
- Durable.Queue.Adapters uses Durable.Queue, so a change to Durable.Queue can break Durable.Queue.Adapters, while a change to Durable.Queue.Adapters can't break Durable.Queue.
- Position
- Below the diagonal: Durable.Queue.Adapters uses a module listed above it, which is the healthy direction.
32→1 PhoenixDemo.Workflows uses (global)✕
- Connections
- 7 pairs of types, where a type in PhoenixDemo.Workflows uses a type in (global).
- The types involved
PhoenixDemo.Workflows.ContentModerationWorkflow→DurablePhoenixDemo.Workflows.DripEmailCampaignWorkflow→DurablePhoenixDemo.Workflows.ExpenseApprovalWorkflow→DurablePhoenixDemo.Workflows.HourlyMetricsCronWorkflow→DurablePhoenixDemo.Workflows.OrderFulfillmentWorkflow→DurablePhoenixDemo.Workflows.PaymentReconciliationWorkflow→DurablePhoenixDemo.Workflows.PaymentWorkflow→Durable
- Direction
- PhoenixDemo.Workflows uses (global), so a change to (global) can break PhoenixDemo.Workflows, while a change to PhoenixDemo.Workflows can't break (global).
- Position
- Below the diagonal: PhoenixDemo.Workflows uses a module listed above it, which is the healthy direction.
32→2 PhoenixDemo.Workflows uses Durable✕
- Connections
- 19 pairs of types, where a type in PhoenixDemo.Workflows uses a type in Durable.
- The types involved
PhoenixDemo.Workflows.ContentModerationWorkflow→Durable.ContextPhoenixDemo.Workflows.ContentModerationWorkflow→Durable.HelpersPhoenixDemo.Workflows.ContentModerationWorkflow→Durable.WaitPhoenixDemo.Workflows.DripEmailCampaignWorkflow→Durable.ContextPhoenixDemo.Workflows.DripEmailCampaignWorkflow→Durable.HelpersPhoenixDemo.Workflows.DripEmailCampaignWorkflow→Durable.WaitPhoenixDemo.Workflows.ExpenseApprovalWorkflow→Durable.ContextPhoenixDemo.Workflows.ExpenseApprovalWorkflow→Durable.HelpersPhoenixDemo.Workflows.ExpenseApprovalWorkflow→Durable.WaitPhoenixDemo.Workflows.HourlyMetricsCronWorkflow→Durable.ContextPhoenixDemo.Workflows.HourlyMetricsCronWorkflow→Durable.HelpersPhoenixDemo.Workflows.OrderFulfillmentWorkflow→Durable.ContextPhoenixDemo.Workflows.OrderFulfillmentWorkflow→Durable.HelpersPhoenixDemo.Workflows.OrderFulfillmentWorkflow→Durable.OrchestrationPhoenixDemo.Workflows.PaymentReconciliationWorkflow→Durable.ContextPhoenixDemo.Workflows.PaymentReconciliationWorkflow→Durable.HelpersPhoenixDemo.Workflows.PaymentReconciliationWorkflow→Durable.WaitPhoenixDemo.Workflows.PaymentWorkflow→Durable.ContextPhoenixDemo.Workflows.PaymentWorkflow→Durable.Helpers
- Direction
- PhoenixDemo.Workflows uses Durable, so a change to Durable can break PhoenixDemo.Workflows, while a change to PhoenixDemo.Workflows can't break Durable.
- Position
- Below the diagonal: PhoenixDemo.Workflows uses a module listed above it, which is the healthy direction.
32→10 PhoenixDemo.Workflows uses Durable.Scheduler✕
- Connections
- 1 pair of types, where a type in PhoenixDemo.Workflows uses a type in Durable.Scheduler.
- The types involved
PhoenixDemo.Workflows.HourlyMetricsCronWorkflow→Durable.Scheduler.DSL
- Direction
- PhoenixDemo.Workflows uses Durable.Scheduler, so a change to Durable.Scheduler can break PhoenixDemo.Workflows, while a change to PhoenixDemo.Workflows can't break Durable.Scheduler.
- Position
- Below the diagonal: PhoenixDemo.Workflows uses a module listed above it, which is the healthy direction.
33→1 PhoenixDemoWeb uses (global)✕
- Connections
- 9 pairs of types, where a type in PhoenixDemoWeb uses a type in (global).
- The types involved
PhoenixDemoWeb.ErrorHTML→PhoenixDemoWebPhoenixDemoWeb.ExecutionsLive→PhoenixDemoWebPhoenixDemoWeb.HomeLive→PhoenixDemoWebPhoenixDemoWeb.Layouts→PhoenixDemoWebPhoenixDemoWeb.PendingEventsLive→PhoenixDemoWebPhoenixDemoWeb.PendingInputsLive→PhoenixDemoWebPhoenixDemoWeb.Router→PhoenixDemoWebPhoenixDemoWeb.SchedulesLive→PhoenixDemoWebPhoenixDemoWeb.WorkflowDetailLive→PhoenixDemoWeb
- Direction
- PhoenixDemoWeb uses (global), so a change to (global) can break PhoenixDemoWeb, while a change to PhoenixDemoWeb can't break (global).
- Position
- Below the diagonal: PhoenixDemoWeb uses a module listed above it, which is the healthy direction.
33→13 PhoenixDemoWeb uses DurableDashboard✕
- Connections
- 2 pairs of types, where a type in PhoenixDemoWeb uses a type in DurableDashboard.
- The types involved
PhoenixDemoWeb.DurableResolver→DurableDashboard.AccessPhoenixDemoWeb.Router→DurableDashboard.Router
- Direction
- PhoenixDemoWeb uses DurableDashboard, so a change to DurableDashboard can break PhoenixDemoWeb, while a change to PhoenixDemoWeb can't break DurableDashboard.
- Position
- Below the diagonal: PhoenixDemoWeb uses a module listed above it, which is the healthy direction.
34→29 durable_dashboard.assets.src uses durable_dashboard.assets.src.tooltip✕
- Connections
- 2 pairs of types, where a type in durable_dashboard.assets.src uses a type in durable_dashboard.assets.src.tooltip.
- The types involved
durable_dashboard.assets.src.tooltip→durable_dashboard.assets.src.tooltip.Partsdurable_dashboard.assets.src.tooltip→durable_dashboard.assets.src.tooltip.Trigger
- Direction
- durable_dashboard.assets.src uses durable_dashboard.assets.src.tooltip, so a change to durable_dashboard.assets.src.tooltip can break durable_dashboard.assets.src, while a change to durable_dashboard.assets.src can't break durable_dashboard.assets.src.tooltip.
- Position
- Below the diagonal: durable_dashboard.assets.src uses a module listed above it, which is the healthy direction.
35→23 durable_dashboard.assets.src.hooks uses durable_dashboard.assets.src.hooks.command_palette✕
- Connections
- 1 pair of types, where a type in durable_dashboard.assets.src.hooks uses a type in durable_dashboard.assets.src.hooks.command_palette.
- The types involved
durable_dashboard.assets.src.hooks.query_suggest→durable_dashboard.assets.src.hooks.command_palette.HookThis
- Direction
- durable_dashboard.assets.src.hooks uses durable_dashboard.assets.src.hooks.command_palette, so a change to durable_dashboard.assets.src.hooks.command_palette can break durable_dashboard.assets.src.hooks, while a change to durable_dashboard.assets.src.hooks can't break durable_dashboard.assets.src.hooks.command_palette.
- Position
- Below the diagonal: durable_dashboard.assets.src.hooks uses a module listed above it, which is the healthy direction.
35→24 durable_dashboard.assets.src.hooks uses durable_dashboard.assets.src.hooks.local_time✕
- Connections
- 1 pair of types, where a type in durable_dashboard.assets.src.hooks uses a type in durable_dashboard.assets.src.hooks.local_time.
- The types involved
durable_dashboard.assets.src.hooks.local_time→durable_dashboard.assets.src.hooks.local_time.Fmt
- Direction
- durable_dashboard.assets.src.hooks uses durable_dashboard.assets.src.hooks.local_time, so a change to durable_dashboard.assets.src.hooks.local_time can break durable_dashboard.assets.src.hooks, while a change to durable_dashboard.assets.src.hooks can't break durable_dashboard.assets.src.hooks.local_time.
- Position
- Below the diagonal: durable_dashboard.assets.src.hooks uses a module listed above it, which is the healthy direction.
35→25 durable_dashboard.assets.src.hooks uses durable_dashboard.assets.src.hooks.query_suggest✕
- Connections
- 2 pairs of types, where a type in durable_dashboard.assets.src.hooks uses a type in durable_dashboard.assets.src.hooks.query_suggest.
- The types involved
durable_dashboard.assets.src.hooks.query_suggest→durable_dashboard.assets.src.hooks.query_suggest.Datadurable_dashboard.assets.src.hooks.query_suggest→durable_dashboard.assets.src.hooks.query_suggest.Value
- Direction
- durable_dashboard.assets.src.hooks uses durable_dashboard.assets.src.hooks.query_suggest, so a change to durable_dashboard.assets.src.hooks.query_suggest can break durable_dashboard.assets.src.hooks, while a change to durable_dashboard.assets.src.hooks can't break durable_dashboard.assets.src.hooks.query_suggest.
- Position
- Below the diagonal: durable_dashboard.assets.src.hooks uses a module listed above it, which is the healthy direction.
36→26 durable_dashboard.assets.src.lib uses durable_dashboard.assets.src.lib.graph-layout✕
- Connections
- 1 pair of types, where a type in durable_dashboard.assets.src.lib uses a type in durable_dashboard.assets.src.lib.graph-layout.
- The types involved
durable_dashboard.assets.src.lib.graph-layout→durable_dashboard.assets.src.lib.graph-layout.Dim
- Direction
- durable_dashboard.assets.src.lib uses durable_dashboard.assets.src.lib.graph-layout, so a change to durable_dashboard.assets.src.lib.graph-layout can break durable_dashboard.assets.src.lib, while a change to durable_dashboard.assets.src.lib can't break durable_dashboard.assets.src.lib.graph-layout.
- Position
- Below the diagonal: durable_dashboard.assets.src.lib uses a module listed above it, which is the healthy direction.
36→27 durable_dashboard.assets.src.lib uses durable_dashboard.assets.src.lib.types✕
- Connections
- 2 pairs of types, where a type in durable_dashboard.assets.src.lib uses a type in durable_dashboard.assets.src.lib.types.
- The types involved
durable_dashboard.assets.src.lib.graph-layout→durable_dashboard.assets.src.lib.types.GraphDatadurable_dashboard.assets.src.lib.graph-layout→durable_dashboard.assets.src.lib.types.GraphEdge
- Direction
- durable_dashboard.assets.src.lib uses durable_dashboard.assets.src.lib.types, so a change to durable_dashboard.assets.src.lib.types can break durable_dashboard.assets.src.lib, while a change to durable_dashboard.assets.src.lib can't break durable_dashboard.assets.src.lib.types.
- Position
- Below the diagonal: durable_dashboard.assets.src.lib uses a module listed above it, which is the healthy direction.
37→27 durable_dashboard.assets.src.react.flow_graph uses durable_dashboard.assets.src.lib.types✕
- Connections
- 2 pairs of types, where a type in durable_dashboard.assets.src.react.flow_graph uses a type in durable_dashboard.assets.src.lib.types.
- The types involved
durable_dashboard.assets.src.react.flow_graph.FlowIsland→durable_dashboard.assets.src.lib.types.GraphDatadurable_dashboard.assets.src.react.flow_graph.FlowIslandRootProps→durable_dashboard.assets.src.lib.types.GraphData
- Direction
- durable_dashboard.assets.src.react.flow_graph uses durable_dashboard.assets.src.lib.types, so a change to durable_dashboard.assets.src.lib.types can break durable_dashboard.assets.src.react.flow_graph, while a change to durable_dashboard.assets.src.react.flow_graph can't break durable_dashboard.assets.src.lib.types.
- Position
- Below the diagonal: durable_dashboard.assets.src.react.flow_graph uses a module listed above it, which is the healthy direction.
38→28 durable_dashboard.assets.src.react.nodes uses durable_dashboard.assets.src.react.nodes.shared✕
- Connections
- 1 pair of types, where a type in durable_dashboard.assets.src.react.nodes uses a type in durable_dashboard.assets.src.react.nodes.shared.
- The types involved
durable_dashboard.assets.src.react.nodes.shared→durable_dashboard.assets.src.react.nodes.shared.Tone
- Direction
- durable_dashboard.assets.src.react.nodes uses durable_dashboard.assets.src.react.nodes.shared, so a change to durable_dashboard.assets.src.react.nodes.shared can break durable_dashboard.assets.src.react.nodes, while a change to durable_dashboard.assets.src.react.nodes can't break durable_dashboard.assets.src.react.nodes.shared.
- Position
- Below the diagonal: durable_dashboard.assets.src.react.nodes uses a module listed above it, which is the healthy direction.
39→27 durable_dashboard.assets.src.hooks.flow_graph uses durable_dashboard.assets.src.lib.types✕
- Connections
- 1 pair of types, where a type in durable_dashboard.assets.src.hooks.flow_graph uses a type in durable_dashboard.assets.src.lib.types.
- The types involved
durable_dashboard.assets.src.hooks.flow_graph.FlowIsland→durable_dashboard.assets.src.lib.types.GraphData
- Direction
- durable_dashboard.assets.src.hooks.flow_graph uses durable_dashboard.assets.src.lib.types, so a change to durable_dashboard.assets.src.lib.types can break durable_dashboard.assets.src.hooks.flow_graph, while a change to durable_dashboard.assets.src.hooks.flow_graph can't break durable_dashboard.assets.src.lib.types.
- Position
- Below the diagonal: durable_dashboard.assets.src.hooks.flow_graph uses a module listed above it, which is the healthy direction.
39→37 durable_dashboard.assets.src.hooks.flow_graph uses durable_dashboard.assets.src.react.flow_graph✕
- Connections
- 1 pair of types, where a type in durable_dashboard.assets.src.hooks.flow_graph uses a type in durable_dashboard.assets.src.react.flow_graph.
- The types involved
durable_dashboard.assets.src.hooks.flow_graph.HookThis→durable_dashboard.assets.src.react.flow_graph.FlowIsland
- Direction
- durable_dashboard.assets.src.hooks.flow_graph uses durable_dashboard.assets.src.react.flow_graph, so a change to durable_dashboard.assets.src.react.flow_graph can break durable_dashboard.assets.src.hooks.flow_graph, while a change to durable_dashboard.assets.src.hooks.flow_graph can't break durable_dashboard.assets.src.react.flow_graph.
- Position
- Below the diagonal: durable_dashboard.assets.src.hooks.flow_graph uses a module listed above it, which is the healthy direction.
40→27 durable_dashboard.assets.src.react uses durable_dashboard.assets.src.lib.types✕
- Connections
- 1 pair of types, where a type in durable_dashboard.assets.src.react uses a type in durable_dashboard.assets.src.lib.types.
- The types involved
durable_dashboard.assets.src.react.flow_graph→durable_dashboard.assets.src.lib.types.GraphData
- Direction
- durable_dashboard.assets.src.react uses durable_dashboard.assets.src.lib.types, so a change to durable_dashboard.assets.src.lib.types can break durable_dashboard.assets.src.react, while a change to durable_dashboard.assets.src.react can't break durable_dashboard.assets.src.lib.types.
- Position
- Below the diagonal: durable_dashboard.assets.src.react uses a module listed above it, which is the healthy direction.
40→37 durable_dashboard.assets.src.react uses durable_dashboard.assets.src.react.flow_graph✕
- Connections
- 2 pairs of types, where a type in durable_dashboard.assets.src.react uses a type in durable_dashboard.assets.src.react.flow_graph.
- The types involved
durable_dashboard.assets.src.react.flow_graph→durable_dashboard.assets.src.react.flow_graph.FlowIslanddurable_dashboard.assets.src.react.flow_graph→durable_dashboard.assets.src.react.flow_graph.FlowIslandRootProps
- Direction
- durable_dashboard.assets.src.react uses durable_dashboard.assets.src.react.flow_graph, so a change to durable_dashboard.assets.src.react.flow_graph can break durable_dashboard.assets.src.react, while a change to durable_dashboard.assets.src.react can't break durable_dashboard.assets.src.react.flow_graph.
- Position
- Below the diagonal: durable_dashboard.assets.src.react 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 — Accessibility
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A03:2025 — Software Supply Chain Failures | 21 | High / Critical |
| A05:2025 — Injection | 15 | High / Critical |
| A07:2025 — Authentication Failures | 4 | High / Critical |
| A02:2025 — Security Misconfiguration | 1 | Medium |
Roadmap
Immediately resolve the four leaked secrets in test and development configuration files, and address the unbounded dependency requirement to secure the codebase foundation. Integrate automated security scanning into the CI pipeline to prevent regressions, while codifying backup and disaster recovery procedures with clear recovery objectives. Finally, update the documentation to accurately reflect the current project structure and remove references to non-existent files.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 4 Leaked secret finding(s) in Secret Scanning — start with REDACTED (2), REDACTED (2). | +11.2 pts | Low | Secret Scanning |
| Resolve the 1 Unbounded dependency requirement finding(s) in Dependency Hygiene. | +5.7 pts | Low | Dependency Hygiene |
| Add a SAST step to CI running what this repository's stack ships: sobelow (Elixir/Phoenix) — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing. | +6.5 pts | Medium | Security & performance tooling |
| Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery. | +6.5 pts | Medium | DR & Backup |
| Reconcile the README with reality: unpublished Phoenix integration sample in examples/phoenix_demo; durable/README.md links to `durable_dashboard/`, but `durable/durable_dashboard` does not exist; docs/bug-reports/2026-04-12-parallel-context-and-serialization.md names `test/durable/executor_test.exs`, but no file or folder `test/durable/executor_test.exs` exists; docs/bug-reports/2026-04-13-fix-plan.md names `test/durable/wait/timeout_worker_test.exs`, but no file or folder `test/durable/wait/timeout_worker_test.exs` exists; docs/bug-reports/2026-04-13-fix-plan.md names `test/durable/executor/orchestration_test.exs`, but no file or folder `test/durable/executor/orchestration_test.exs` exists. | +4.0 pts | Medium | Documentation accuracy |
| 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. | +2.5 pts | Medium | Visual & motion safety |
| Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release. | +2.1 pts | Medium | Release Hygiene |
| Improve ADR Quality — currently 8.0/10. | +1.7 pts | Medium | ADR Quality |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.5 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 0.6 | Slop | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 2.0 | Slop | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 2.7 | Slop | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 4.1 | Mixed | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 5.8 | Mixed | Secret Scanning: Leaked secret: REDACTED |
| REDACTED | 5.8 | Mixed | Secret Scanning: Leaked secret: REDACTED |
| durable/lib/durable/executor.ex | 7.2 | Mixed | God Classes: FileTooLong: durable/executor.ex |
| durable_dashboard/lib/durable_dashboard/live/inputs_live.ex | 7.4 | Mixed | God Classes: FileTooLong: live/inputs_live.ex |
| durable/lib/mix/tasks/durable.provide_input.ex | 7.4 | Mixed | Code Duplication: Duplicated block (26–27 lines × 2) |
| durable/lib/durable/executor/compensation_runner.ex | 7.8 | Mixed | Code Duplication: Duplicated block (5 lines × 2) |
| REDACTED | 7.9 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| durable_dashboard/assets/src/hooks/query_suggest.ts | 8.5 | Near-clean | Cognitive Complexity: query_suggest.onKey (cognitive 16) |
| durable_dashboard/lib/durable_dashboard/live/workflow_live.ex | 8.5 | Near-clean | God Classes: FileTooLong: live/workflow_live.ex |
| durable_dashboard/lib/durable_dashboard/components/core.ex | 8.5 | Near-clean | God Classes: FileTooLong: components/core.ex |
| durable_dashboard/lib/durable_dashboard/live/executions_live.ex | 8.5 | Near-clean | God Classes: FileTooLong: live/executions_live.ex |
| durable_dashboard/lib/durable_dashboard/components/charts.ex | 8.5 | Near-clean | God Classes: TooManyFunctions: Charts |
| durable/lib/durable/wait.ex | 8.5 | Near-clean | God Classes: TooManyFunctions: Wait |
| durable_dashboard/lib/durable_dashboard/components/data/execution_filters.ex | 8.5 | Near-clean | God Classes: FileTooLong: data/execution_filters.ex |
| durable/lib/durable/wait/timeout_worker.ex | 8.5 | Near-clean | Code Duplication: Duplicated block (21–25 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. 68 of 72 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.9 — 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 — 72 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, 98 of 130 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 · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 · 3.2.533 | ✓ 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 (.exs, .ex) 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 — `mix test --cover` with `excoveralls` (`mix coveralls.lcov`)) 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 — `mix test --cover` with `excoveralls` (`mix coveralls.lcov`)) 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 (.exs, .ex) but the built-in reliability runner does not support this repository's ecosystem, so flakiness couldn't be assessed. Not scored — this is a gap in the analyzer's language coverage, not a finding about this repository.
- 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-maintainer repository — bus factor is not applicable (2 contributor(s) across 107 commit(s) sampled, automation and bot accounts excluded). One of them holds 99% of the history; the other 1 hold 1% each on average, below the 5% at which there is somebody to hand the work to. That is a single maintainer with drive-by contributors, not a team whose knowledge has concentrated — so the bus factor is not applicable and there is nothing here for the owner to act on.
- D22 Internal API Consistency — 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. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is a COLLECTOR gap, not an environment fault: it declares a published package (durable/mix.exs), but no published-package marker D22 reads admitted any project here, so this ecosystem's public API has no collector, and the remedy is to write one — no change to the scan image can close it.
- 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.
- D32 Data Compliance (PII/GDPR) — 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. `durable_dashboard/priv/static/durable_dashboard/vendor-xyflow-CVba14K1.js` produced a parse error, so every rule in this engine's `gdpr.yml` was absent there. That absence is NOT a clean result: these rules detect personal data crossing a boundary into a log sink, a URL or browser storage, and a file that was never parsed cannot report any of the three. The rest of the tree analysed normally and its rows above stand; only these files are unaccounted for. You can widen what we reach: fix the syntax error (or exclude the file deliberately) and re-scan to cover it.
- 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 DockerCompose (REDACTED). compose up failed (exit 18 — an image could not be pulled) — postgres Pulling postgres Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: postgres Pulling postgres Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped.
- 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 this repository's Elixir is most of its product and 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 this repository's Elixir is most of its product and 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.
- X2 Cancellation propagation — 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, Go, PHP, Dart, Kotlin, Ruby, Scala, Java, Python and Rust source only, and no C# was loaded, and no named async function in this repository's JavaScript/TypeScript, nor any Go, PHP or Dart function or Kotlin suspend function, makes a request that can be cancelled (fetch, axios, ky, ofetch; net/http, net.Dial; amphp; Dio; Ktor, OkHttp), so there is nothing to judge, 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.
- X27 Collection changed while being enumerated — 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, Rust, Erlang, F#, Python, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded, no Java, Rust, Erlang, F#, Python, Dart, Ruby, Scala or Kotlin was found, and this repository's Elixir 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.
- X4 Structured logging — 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, PHP, Dart, Ruby, Scala and Rust source only, and no C# was loaded, and this repository's JavaScript/TypeScript, Python and PHP make no call through a named logger, 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.
- X7 Silent fallback defaults — 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. X7 measured the part of this repository it reads (C#, Python, TypeScript/JavaScript, Rust, Go, Java, Kotlin, Scala, PHP, Ruby, Swift and Dart), and its Elixir source is outside the check's reach, so the card covers only part of the product. That is a gap in this analyzer's language reach — not a finding that the unread source is free of silent defaults.
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.
- D7 Architectural Integrity: Layering is checked against detected/declared rules — an architecture whose boundaries live in convention or in code review, not in a rule a scanner can read, is not enforced here.
- 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.
- 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.
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- 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.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- 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.
- AC4 Keyboard semantics: Keyboard semantics are inferred from markup attributes — interactivity wired purely in script, focus managed at runtime, and component-level handlers are invisible. A clean result means "no static keyboard-trap shape", not a keyboard-operability proof.
- AC5 ARIA correctness: ARIA correctness is checked against the static role/attribute shape — roles/attributes set dynamically aren't seen, a valid role says nothing about whether it matches the element's real behaviour, and required-state checks are suppressed when a JSX spread could supply them. The two-branch toggle check (a control whose state is conveyed only by which of two mutually exclusive branches renders) reads CONDITIONALS THAT ARE ATTRIBUTES — Vue v-if/v-else/v-show and Alpine x-if/x-show — so the same toggle written as a Svelte {#if} block or a JSX ternary is control flow the markup model never projects as a branch and is not seen at all.
- 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.
- 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.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- P5 DR & Backup: Backup/restore and disaster-recovery readiness is judged from in-repo evidence — a config that exists is not a tested restore, so the absence of positive evidence is reported as "not evidenced", never scored as present.
- 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
0 method(s) exceeded the cyclomatic complexity threshold of 15. A further 1 method(s) were over the threshold but excluded as flat dispatchers (a long switch/match over independent cases: many branches, almost no nesting), the largest being Core.status_meta at 16 — they are counted neither in the figure above nor in this dimension's score. 1 file carries no cyclomatic complexity row at all for this reason — every one of its over-threshold functions was excluded, so the exclusion is disclosed nowhere in the file itself: durable_dashboard/lib/durable_dashboard/components/core.ex (Core.status_meta at 16). They are named here because the per-file figures other dimensions report are taken BEFORE this exclusion, so such a file can show a high maximum complexity elsewhere in this report and nothing here, with nothing to reconcile the two.
D2 · Cognitive Complexity
1 method(s) exceeded the cognitive complexity threshold of 15; the worst was query_suggest.onKey at 16.
What to do
- Bring the 1 body over 15 down to 15 or less in Cognitive Complexity — start with query_suggest.onKey (cognitive 16). — Refactoring it lifts Cognitive Complexity from 9.9 to about 10.0/10.
D3 · God Classes
8 over-large unit(s) detected — types, modules or files that carry too much.
What to do
- Resolve the 6 FileTooLong finding(s) in God Classes — start with executor.ex, workflow_live.ex, core.ex. — One of this dimension's main actionable groups (6 warning-level).
- Resolve the 2 TooManyFunctions finding(s) in God Classes — start with charts.ex, wait.ex. — One of this dimension's main actionable groups (2 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
18 duplicated block group(s) detected. One further row reports members as variants of one another; it aggregates block groups already counted above and is not itself counted. 3 of the 19 are in trees this repository does not ship — vendored, example/demo, fixture and benchmark code — and are ranked below the shipped groups rather than excluded from them: the duplication there is real and is still counted in this dimension's score. The dimensions that publish a production-file census leave those trees out of theirs, so this count is deliberately drawn over the wider population.
What to do
- Resolve the 3 Duplicated block (5 lines × 2) finding(s) in Code Duplication — start with compensation_runner.ex (2), children_tab.ex. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 2 Duplicated block (6 lines × 2) finding(s) in Code Duplication — start with sampler.ex, pending_events_live.ex. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 2 Duplicated block (10 lines × 2) finding(s) in Code Duplication — start with durable.provide_input.ex, home_live.ex. — One of this dimension's main actionable groups (2 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
3 production modules (npm+OTP), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; 1 module(s) off the main sequence.
What to do
- Resolve the 1 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (1 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 8 classes have LCOM4 above 3.
D7 · Architectural Integrity
All 1 mechanizable ADR(s) are enforced: 1 by analyzers, 0 by tests. Dependency cycles not checked (no project-reference graph; where this repository's language has an import-cycle lens, cycles are reported there).
D12 · Dependency Hygiene
20 outdated, 0 retired direct Hex dependencies, 1 pinning defect(s). Whether any of these packages is UNMAINTAINED is not graded — hex.pm publishes no maintenance status, and release age does not stand in for one. Whether any is UNUSED is not graded either: a Hex app name does not determine the modules it provides (`ecto_sql` provides Ecto.Adapters.SQL), and a large idiomatic class of BEAM dependencies — runtime adapters, codec plugins, protocol implementations and OTP applications the release starts — is correctly declared and never referenced in source, so absence of a reference is not evidence of an unused dependency. Known CVEs in this dependency graph are D30's question, read from REDACTED there.
What to do
- Resolve the 1 Unbounded dependency requirement finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Dependency Hygiene in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D13 · Secret Scanning
4 secret(s) detected.
What to do
- Resolve the 4 Leaked secret finding(s) in Secret Scanning — start with REDACTED (2), REDACTED (2). — One of this dimension's main actionable groups (4 issue-level).
- Enforce Secret Scanning in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D14 · License Compliance
0 of 40 shipped Hex package(s) use a banned license. Licences were resolved from hex.pm over the packages a consumer installs — this repository's REDACTED closed over the declarations its mix.exs files do not gate behind `only:`. Packages it asks for ONLY under `only: [:dev, :test]` (or any other non-prod environment, such as `:docs`) are excluded: they are not installed by anything that depends on this repository. Each licence is the one hex.pm publishes for the package's current release. A further 1 package(s) the closure reaches resolve from git, a path or a local override and publish no licence this pass can read; they are outside this verdict.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
0 deducted task-comment markers across 32727 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 root README gives a clear overview of the path-dep monorepo (durable/ directory plus durable_dashboard/, examples/phoenix_demo/) and its packages, workspace commands, and database. The durable/README.md is an internal project doc that documents only the durable/ directory (core engine + dashboard) with features, installation, quick start, and a detailed usage example; it does not document the repository's root or any other directories, so the overview/installation sections are judged against the root README. Each of the six subdirectories has its own README documenting itself, and the architecture/design docs (parallel-durability-implementation/, wait-primitives-complete/) are present but not shown in this summary. The internal-focused jargon ('context', 'step') is consistent across all documents. This is a deeply focused audit-fix documentation set: the two READMEs are bug-reports files (2026-04-13-fix-plan.md and 2026-04-13-follow-up-audit.md) with no root-level overview, installation, or contribution guidance. The fix plan is a single document that is itself clipped by the scanner; its outline lists every section it names (Fix & Test Plan — 2026-04-13 Audit Follow-up; Part 1 — Fixes, grouped into 8 atomic PRs; CRITICAL fixes C-1 through H-7 plus M-1 to M-6 and L-1 to L-5) but no actual content appears past the 'TL;DR' section. The audit document is a well-structured, detailed problem list with fixes ordered by severity and cross-referenced to files and test cases.
What to do
- Improve Documentation Quality — currently 8.8/10. — The repository's root README gives a clear overview of the path-dep monorepo (durable/ directory plus durable_dashboard/, examples/phoenix_demo/) and its packages, workspace commands, and database. The durable/README.md is an internal project doc that documents only the durable/ directory (core engine + dashboard) with features, installation, quick start, and a detailed usage example; it does not document the repository's root or any other directories, so the overview/installation sections are judged against the root README. Each of the six subdirectories has its own README documenting itself, and the architecture/design docs (parallel-durability-implementation/, wait-primitives-complete/) are present but not shown in this summary. The internal-focused jargon ('context', 'step') is consistent across all documents. This is a deeply focused audit-fix documentation set: the two READMEs are bug-reports files (2026-04-13-fix-plan.md and 2026-04-13-follow-up-audit.md) with no root-level overview, installation, or contribution guidance. The fix plan is a single document that is itself clipped by the scanner; its outline lists every section it names (Fix & Test Plan — 2026-04-13 Audit Follow-up; Part 1 — Fixes, grouped into 8 atomic PRs; CRITICAL fixes C-1 through H-7 plus M-1 to M-6 and L-1 to L-5) but no actual content appears past the 'TL;DR' section. The audit document is a well-structured, detailed problem list with fixes ordered by severity and cross-referenced to files and test cases.
D20 · ADR Quality
Evaluated 1 ADR(s) individually; mean quality 8.0/10 (consistently complete and clear). 0 flagged with a specific gap.
What to do
- Improve ADR Quality — currently 8.0/10. — Evaluated 1 ADR(s) individually; mean quality 8.0/10 (consistently complete and clear). 0 flagged with a specific gap.
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D26 · Project Cohesion
1 of 3 build units (Mix, npm) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
15 finding(s): 0 critical, 12 high, 3 medium, 0 low. 12 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. semgrep hit a parse error in 2 file(s) — `durable_dashboard/priv/static/durable_dashboard/flow_graph-D7Rk7rHk.js`, `durable_dashboard/priv/static/durable_dashboard/vendor-xyflow-CVba14K1.js` — so no absence of findings in them is evidence of anything, and nothing in them was analysed. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them. Separately, one or more rules could not re-parse an embedded snippet in 1 file(s) (e.g. a workflow `run:` block read as shell). Those files WERE scanned and their other rows are unaffected; only those rules' view of those snippets is missing.
What to do
- Resolve the 2 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2). — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
- No action in Static Analysis (SAST) — all 12 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 (12 issue-level, 0 of them charged here).
D30 · Dependency Vulnerabilities
21 finding(s): 0 critical, 12 high, 8 medium, 1 low.
What to do
- Resolve the 12 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (6), REDACTED (6). — One of this dimension's main actionable groups (12 issue-level).
- Resolve the 8 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (6), REDACTED (2). — One of this dimension's main actionable groups (8 warning-level).
- Resolve the 1 Low CVE finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 recommendation-level).
D31 · IaC & Container Security
1 finding(s): 0 critical, 0 high, 1 medium, 0 low.
What to do
- Resolve the 1 Medium IaC finding(s) in IaC & Container Security — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
D34 · Knowledge Freshness
2 of 110 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is durable/lib/durable/repo.ex. Counted over 110 of the 152 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
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.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 3 platform declaration(s) and 0 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Frontend & cross-cutting dimensions
AC2 · Forms & labels
AC4 · Keyboard semantics
AC5 · ARIA correctness
AC6 · Visual & motion safety
- `.outline-none` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — durable_dashboard/priv/static/durable_dashboard/app.css:1
- `.focus\:outline-none:focus` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — durable_dashboard/priv/static/durable_dashboard/app.css:1
- `.focus-visible\:outline-none:focus-visible` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — durable_dashboard/priv/static/durable_dashboard/app.css:1
- `.react-flow__nodesselection-rect:focus` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — durable_dashboard/priv/static/durable_dashboard/app.css:1
- `.react-flow__edge.selected` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — durable_dashboard/priv/static/durable_dashboard/app.css:1
- `.react-flow__node.selectable:focus` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — durable_dashboard/priv/static/durable_dashboard/app.css:1
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
- An a11y linter is configured (Documented) but there's no automated a11y test or CI gate. Add your test runner's axe binding (jest-axe, vitest-axe, cypress-axe or @axe-core/playwright) to verify at runtime, then gate it in CI. What was searched, so you can tell an absence from a miss: the 9 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
- Accessibility linting is already configured — assert with your test runner's axe binding (jest-axe, vitest-axe, cypress-axe or @axe-core/playwright) in tests, then gate axe/pa11y/Lighthouse in CI.
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
M1 · Documentation (README)
What to do
- Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
- Add a README to the 1 of 4 project(s) that lack one — worth up to 0.5 pts.
M2 · Architecture documentation
- 1 ADR-shaped document(s) detected by content — `agents/arch.md`. They are not under a conventional ADR folder (docs/adr/) and are not named NNNN-title.md, and this check found them by their decision signature rather than by where they live — so a reader who does not already know these paths has no route to them. Detected by content signature only: records kept outside the repository, or written without a Status/Decision/Consequences shape, are not visible to this check and are not counted here.
What to do
- Move ADRs under docs/adr/ (or docs/adrs/) and name them NNNN-title.md so they're easy to find.
M3 · Folder & project structure
- Production code isn't grouped under a src/ folder — it's spread across several top-level directories, so there's no one place that says 'this is the product'.
What to do
- Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root.
M4 · Documentation accuracy
- unpublished Phoenix integration sample in examples/phoenix_demo — searched for: `published package`. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, Dockerfile); the README's own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read — a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong. — README.md:1
- durable/README.md links to `durable_dashboard/`, but `durable/durable_dashboard` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — durable/README.md:602
- docs/bug-reports/2026-04-12-parallel-context-and-serialization.md names `test/durable/executor_test.exs`, but no file or folder `test/durable/executor_test.exs` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/bug-reports/2026-04-12-parallel-context-and-serialization.md:364
- docs/bug-reports/2026-04-13-fix-plan.md names `test/durable/wait/timeout_worker_test.exs`, but no file or folder `test/durable/wait/timeout_worker_test.exs` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/bug-reports/2026-04-13-fix-plan.md:230
- docs/bug-reports/2026-04-13-fix-plan.md names `test/durable/executor/orchestration_test.exs`, but no file or folder `test/durable/executor/orchestration_test.exs` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/bug-reports/2026-04-13-fix-plan.md:231
- docs/bug-reports/2026-04-13-fix-plan.md names `test/support/generators.ex`, but no file or folder `test/support/generators.ex` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/bug-reports/2026-04-13-fix-plan.md:394
- docs/bug-reports/2026-04-13-fix-plan.md names `test/durable/sanitization_property_test.exs`, but no file or folder `test/durable/sanitization_property_test.exs` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/bug-reports/2026-04-13-fix-plan.md:427
- docs/bug-reports/2026-04-13-fix-plan.md names `test/support/state_machine.ex`, but no file or folder `test/support/state_machine.ex` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/bug-reports/2026-04-13-fix-plan.md:469
- docs/bug-reports/2026-04-13-fix-plan.md names `test/durable/chaos_test.exs`, but no file or folder `test/durable/chaos_test.exs` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/bug-reports/2026-04-13-fix-plan.md:574
- docs/bug-reports/2026-04-13-fix-plan.md names `test/durable/soak_test.exs`, but no file or folder `test/durable/soak_test.exs` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/bug-reports/2026-04-13-fix-plan.md:630
- docs/bug-reports/2026-04-13-follow-up-audit.md names `test/durable/step_runner_test.exs`, but no file or folder `test/durable/step_runner_test.exs` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/bug-reports/2026-04-13-follow-up-audit.md:201
What to do
- Reconcile the README with reality: unpublished Phoenix integration sample in examples/phoenix_demo; durable/README.md links to `durable_dashboard/`, but `durable/durable_dashboard` does not exist; docs/bug-reports/2026-04-12-parallel-context-and-serialization.md names `test/durable/executor_test.exs`, but no file or folder `test/durable/executor_test.exs` exists; docs/bug-reports/2026-04-13-fix-plan.md names `test/durable/wait/timeout_worker_test.exs`, but no file or folder `test/durable/wait/timeout_worker_test.exs` exists; docs/bug-reports/2026-04-13-fix-plan.md names `test/durable/executor/orchestration_test.exs`, but no file or folder `test/durable/executor/orchestration_test.exs` exists.
P1 · CI/CD gates
P10 · Library API & versioning
P2 · Observability
What to do
- Add a health-check endpoint (a /health route in your Phoenix router or Plug) so orchestrators and load balancers can probe liveness/readiness.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add sobelow (Elixir/Phoenix) (or `semgrep --config=auto`, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 5430 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
- Add a SAST step to CI running what this repository's stack ships: sobelow (Elixir/Phoenix) — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
What to do
- Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P5 · DR & Backup
- A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced — a volume that survives a container recreate is not a tested restore from catastrophic loss.
What to do
- Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery.
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.
PF3 · Async & latency hygiene
R1 · Type Safety
R10 · Code Duplication
- durable_dashboard/assets/src/react/nodes/gateway_node.tsx:30 · durable_dashboard/assets/src/react/nodes/step_node.tsx:71 — the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. — durable_dashboard/assets/src/react/nodes/gateway_node.tsx:30
- durable_dashboard/assets/src/react/nodes/block_nodes.tsx:43 · durable_dashboard/assets/src/react/nodes/block_nodes.tsx:69 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — durable_dashboard/assets/src/react/nodes/block_nodes.tsx:43
What to do
- Act on each finding's own remediation rather than one rule: the move depends on what recurs. Where the copies are executable blocks, give the shared part one home and call it from each site; where they are declarations, a listing, a specialisation already delegating to its base, or one shape repeated per entity, there is no call site and the move is a shared type, a generated set or a factory — sometimes there is nothing to extract.
R2 · Cyclomatic Complexity
- onKey has cyclomatic complexity 15 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — durable_dashboard/assets/src/hooks/query_suggest.ts:298
- stepTip has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — durable_dashboard/assets/src/react/nodes/shared.ts:98
What to do
- Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
R3 · Large Files
R6 · Tooling
R7 · Dead Code
R8 · Dependency Hygiene
R9 · Circular Imports
S1 · Web-Security Posture
- MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything — a signature, an integrity or tamper check, a credential, or any value an attacker can influence — that is a real weakness: use SHA-256+ (`:crypto.hash(:sha256, data)`) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead — a non-cryptographic hash such as xxhash or murmurhash says it in code — since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call. — durable_dashboard/lib/durable_dashboard/layouts.ex:156
What to do
- Review each MD5/SHA1 use by what it protects: replace it with SHA-256+ (or a KDF for passwords) where the digest is security-relevant, and switch it to a non-cryptographic hash (xxhash, murmurhash) where it only derives an identifier such as a cache key.
X1 · Async correctness
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
- An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it. — durable_dashboard/assets/src/hooks/copy.ts:28
What to do
- Swallowed exception (empty catch)
X30 · Support guard that admits what it rejects
X5 · Nullable reference types
- 1/2 of this repository's type-checking configuration(s) turn on strict null checking (`"strict": true`, or `"strictNullChecks": true`). A configuration that states neither is counted as OFF, because off is tsc's own default; a solution-style one whose `"files"` is empty and whose `"references"` point at other projects is in neither number, because it checks no source itself. Where it is off, `string` admits `null` and `undefined`: passing a value that is null compiles silently and throws on the first property access.
What to do
- The findings name the configuration each number was taken from and, for the assertions, the files that hold them. Turn null checking on where it is off — `"strict": true` in the base tsconfig that the others extend switches `strictNullChecks` on with the rest of the family — and then resolve the assertions rather than adding to them. A `!` on a value the checker could show to be null is a promise the author cannot check from where they are standing, and each one is a `TypeError: Cannot read properties of null` waiting for the path that makes it true; where the value genuinely cannot be null, say something the checker can see instead (narrow it with a test, make the property required, drop the `?`).
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 |
| AC4 · Keyboard semantics | 2.1.1, 2.4.3 | Partial signal |
| AC5 · ARIA correctness | 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 | 72% | Strong | Solid. |
| Architecture | 91% | Adequate — gated by D26 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 54% | Adequate — gated by M4 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 39% | Weak — gated by D13, P3, P5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 81% | Adequate — gated by D30 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Accessibility | 61% | Adequate — gated by AC6 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 100% | Exemplary | Strongest area. |
Unscored — 2 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.
- X10 Duplicated predicate — 3 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not included — 58 check(s) not relevant to this codebase
- AC1 Text alternatives — No image/media element found in the parsed markup — AC1 not applicable here.
- AC3 Page structure — No structural check found in the parsed markup — AC3 not applicable here.
- AX1 Captive dependencies — Not applicable: the BEAM has no dependency-injection container — state lives in processes, and no process is handed an instance whose lifetime another one scopes; this repository's TypeScript imports no dependency-injection container and defines no container of its own — nothing that both registers and resolves bindings, and nothing that names two lifetimes — so nothing holds one lifetime's instance while handing out another's.
- AX2 Stateful singletons — Not applicable: Elixir processes share no mutable memory — state lives in a process's own mailbox — so there is no shared object to race on. TypeScript/JavaScript runs each process's requests on one event loop, so no two requests write a shared object at the same instant (interleaving across an await is a different defect).
- 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 — no exported interface declares behaviour
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — compose up failed (exit 18 — an image could not be pulled) — postgres Pulling postgres Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: postgres Pulling postgres Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped 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 an Ecto schema, an Ecto migration or an Ash resource — and no database or data-store client (an Ecto repo, Postgrex, MyXQL, Exqlite, Mongo, Mnesia, …) in the source either, so this repository keeps no data at rest for these controls to protect.
- C2 Access Controls — No access-control surface detected in the analyzed source — this repository starts no server another machine can reach (no Phoenix.Endpoint, Plug.Cowboy or Bandit child). Access control is therefore N/A here — a library or OTP application is authorized by the application that serves it, not by itself. If this codebase grows request handlers, the dimension reactivates and a default-deny posture is expected then.
- 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 an Ecto schema, an Ecto migration or an Ash resource — and no database or data-store client (Ecto, Postgrex, MyXQL, Mongo, EventStore, …) 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 an Ecto schema, an Ecto migration or an Ash resource — and no database or data-store client (an Ecto repo, Postgrex, MyXQL, Exqlite, Mongo, Mnesia, …) 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 an Ecto schema, an Ecto migration or an Ash resource — and no database or data-store client (an Ecto repo, Postgrex, MyXQL, Exqlite, Mongo, Mnesia, …) in the source either, so this repository keeps no personal data for a data subject to erase, export or consent over.
- D10 Test Quality — ~13955 lines of test source are present (.exs, .ex) 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 — no .exs test runner
- D16 Bus Factor — single-maintainer 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.
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- 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. 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 — none of 1 ADRs are conformance-checkable — unverifiable.
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.ex), 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.
- D32 Data Compliance (PII/GDPR) — 1 file(s) were not parsed by semgrep — the PII/GDPR ruleset never ran over them
- 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.
- D8 Code Coverage — Coverage not included — suite not readable by the collector
- D9 Test Distribution — Test source is present (.exs, .ex) 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 its unit/integration/BDD/E2E split couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
- DM1 Domain Modelling — not scored — this repository shows none of the 3 signals this lens looks for
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows only 1 of the 3 signals this lens looks for (2 Elixir aggregate(s) emitting domain events (%Event{} from execute/2))
- 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'.
- P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the Elixir, JavaScript/TypeScript source, so there is no service whose uptime a failing dependency could take down
- 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 — `mix test --cover` with `excoveralls` (`mix coveralls.lcov`)) 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
- PF1 Benchmark discipline — Not applicable: no benchmark suite was found. This check searched for Benchee jobs (the entries of a `Benchee.run` job map) or Benchfella `bench "…"` blocks under `use Benchfella` in any `.ex`/`.exs` file, or benchee or benchfella in a mix.exs, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
- PF2 Allocation hygiene — Not applicable: Elixir and TypeScript/JavaScript runs on a garbage-collected runtime that gives a program no allocation-control idiom to choose on a hot path — no pools, stack allocation or value types — so allocation awareness is not something this code can be rated on.
- R11 Import Boundaries — No recognizable feature-sliced/layered src layout — boundary rules not applicable.
- R4 Test Coverage — the JS/TS workspace (18 production file(s)) has no JavaScript/TypeScript test, but it is 6.36% of this repository's production source and the other 93.64% carries 13,955 line(s) of test code this pass cannot read — an incidental frontend's reachability is not the repository's test posture, so it is not scored as one
- R5 Dependency Freshness — uses a pnpm lockfile — dependency freshness not measured here; JS/npm CVEs are scored in D30 (Dependency Vulnerabilities), which answers every ecosystem
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X2 Cancellation propagation — 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
- 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.
- X26 Unsynchronised callback handoff — Not applicable: this check looks for a collection written by a callback on one thread while the body waiting on it touches it on another, and in this repository's languages no collection is reachable from two threads at once. Elixir processes share no heap: a value sent to another process arrives as a copy, so no collection is reachable from two processes at once. TypeScript/JavaScript runs every callback on the one thread that owns its objects: a callback runs only when the body waiting on it has yielded, never alongside it, and a worker thread receives a COPY of what it is sent. A SharedArrayBuffer carries raw bytes, never an Array, Map or Set, so no collection is reachable from two threads at once. Not a gap in the analyzer and not a finding about your code.
- X27 Collection changed while being enumerated — 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.
- X4 Structured logging — 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 — 28 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
Serious — 56 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Focus outline removed in CSS without a :focus replacement durable_dashboard/priv/static/durable_dashboard/app.css:1
- Focus outline removed in CSS without a :focus replacement durable_dashboard/priv/static/durable_dashboard/app.css:1
- Focus outline removed in CSS without a :focus replacement durable_dashboard/priv/static/durable_dashboard/app.css:1
- Focus outline removed in CSS without a :focus replacement durable_dashboard/priv/static/durable_dashboard/app.css:1
- Focus outline removed in CSS without a :focus replacement durable_dashboard/priv/static/durable_dashboard/app.css:1
- Focus outline removed in CSS without a :focus replacement durable_dashboard/priv/static/durable_dashboard/app.css:1
- FileTooLong: durable/executor.ex durable/lib/durable/executor.ex
- FileTooLong: live/workflow_live.ex durable_dashboard/lib/durable_dashboard/live/workflow_live.ex
- FileTooLong: components/core.ex durable_dashboard/lib/durable_dashboard/components/core.ex
- FileTooLong: live/executions_live.ex durable_dashboard/lib/durable_dashboard/live/executions_live.ex
- FileTooLong: live/inputs_live.ex durable_dashboard/lib/durable_dashboard/live/inputs_live.ex
- FileTooLong: data/execution_filters.ex durable_dashboard/lib/durable_dashboard/components/data/execution_filters.ex
- Duplicated block (5 lines × 2) durable/lib/durable/executor/compensation_runner.ex:125
- Duplicated block (5 lines × 2) durable/lib/durable/executor/compensation_runner.ex:133
- Duplicated block (5 lines × 2) durable_dashboard/lib/durable_dashboard/components/workflow/children_tab.ex:240
- REDACTED
- REDACTED
- TooManyFunctions: Charts durable_dashboard/lib/durable_dashboard/components/charts.ex:1
- TooManyFunctions: Wait durable/lib/durable/wait.ex:1
- Duplicated block (6 lines × 2) durable/lib/durable/queue/sampler.ex:57
- Duplicated block (6 lines × 2) examples/phoenix_demo/lib/phoenix_demo_web/live/pending_events_live.ex:58
- Duplicated block (10 lines × 2) durable/lib/mix/tasks/durable.provide_input.ex:117
- Duplicated block (10 lines × 2) examples/phoenix_demo/lib/phoenix_demo_web/live/home_live.ex:150
- Unbounded dependency requirement: postgrex
- query_suggest.onKey (cognitive 16) durable_dashboard/assets/src/hooks/query_suggest.ts:298
- REDACTED
- REDACTED
- REDACTED
- Members sharing a duplicated core (4 members, 50+ identical tokens) durable_dashboard/lib/durable_dashboard/live/inputs_live.ex:34
- Duplicated block (26–27 lines × 2) durable/lib/mix/tasks/durable.provide_input.ex:43
- Duplicated block (21–25 lines × 2) durable/lib/durable/wait/timeout_worker.ex:295
- Duplicated block (18–19 lines × 2) durable/lib/durable/executor.ex:1703
- Duplicated block (13–14 lines × 4) durable_dashboard/lib/durable_dashboard/live/inputs_live.ex:34
- Duplicated block (13 lines × 2) durable/lib/mix/tasks/durable.provide_input.ex:88
- Duplicated block (10–13 lines × 2) durable_dashboard/lib/durable_dashboard/graph_builder.ex:151
- Duplicated block (8–11 lines × 2) durable/lib/durable/executor.ex:632
- Duplicated block (11 lines × 2) durable/lib/durable/executor.ex:1699
- Duplicated block (8 lines × 2) durable/lib/mix/tasks/durable.pending.ex:71
- Duplicated block (6 lines × 3) durable_dashboard/lib/durable_dashboard/live/schedules_live.ex:65
- Duplicated block (16 lines × 2) examples/phoenix_demo/lib/phoenix_demo_web/live/pending_inputs_live.ex:85
- Off the main sequence: durable
- No DR/backup evidence
- Duplicated block (17 lines × 2 locations) durable_dashboard/assets/src/react/nodes/gateway_node.tsx:30
- Duplicated block (8 lines × 2 locations) durable_dashboard/assets/src/react/nodes/block_nodes.tsx:43
- Complex function onKey (cyclomatic 15, cognitive 16) durable_dashboard/assets/src/hooks/query_suggest.ts:298
- Complex function stepTip (cyclomatic 13, cognitive 10) durable_dashboard/assets/src/react/nodes/shared.ts:98
- Weak hash algorithm durable_dashboard/lib/durable_dashboard/layouts.ex:156
- Swallowed exception (empty catch) durable_dashboard/assets/src/hooks/copy.ts:28
Minor — 26 finding(s)
- README/code drift README.md:1
- README/code drift durable/README.md:602
- README/code drift docs/bug-reports/2026-04-12-parallel-context-and-serialization.md:364
- README/code drift docs/bug-reports/2026-04-13-fix-plan.md:230
- README/code drift docs/bug-reports/2026-04-13-fix-plan.md:231
- README/code drift docs/bug-reports/2026-04-13-fix-plan.md:394
- README/code drift docs/bug-reports/2026-04-13-fix-plan.md:427
- README/code drift docs/bug-reports/2026-04-13-fix-plan.md:469
- README/code drift docs/bug-reports/2026-04-13-fix-plan.md:574
- README/code drift docs/bug-reports/2026-04-13-fix-plan.md:630
- README/code drift docs/bug-reports/2026-04-13-follow-up-audit.md:201
- Duplicated predicate durable_dashboard/lib/durable_dashboard/components/workflow/flow_graph.ex:230
- Duplicated predicate durable/mix.exs:12
- Duplicated predicate durable/lib/durable/stats.ex:675
- Orphaned file durable/lib/durable/repo.ex:1
- Orphaned file durable/lib/mix/tasks/durable.install.ex:1
- Accessibility enforcement below the top rung
- Projects may be oversized for their cohesion
- REDACTED
- Orphaned files with no living knowledge
- REDACTED
- ADRs not easily discoverable
- No src/ separation
- No SAST
- No changelog
- Strict null checking is not enabled everywhere the repository type-checks
Minor — 20 finding(s)
- Outdated: crontab
- Outdated: dialyxir
- Outdated: ecto_sql
- Outdated: ecto_sql
- Outdated: esbuild
- Outdated: ex_doc
- Outdated: ex_doc
- Outdated: igniter
- Outdated: lazy_html
- Outdated: phoenix
- Outdated: phoenix
- Outdated: phoenix_live_reload
- Outdated: phoenix_live_view
- Outdated: phoenix_live_view
- Outdated: phoenix_pubsub
- Outdated: postgrex
- Outdated: postgrex
- Outdated: tailwind
- Outdated: telemetry
- Outdated: telemetry_metrics
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-902c9208420143cd82bc0729a3a0c9b9/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-902c9208420143cd82bc0729a3a0c9b9/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 . | 15 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 21 | artifacts/raw/trivy-fs.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 1 | artifacts/raw/trivy-config.json |
| 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. semgrep could not parse 1 file(s) — `durable_dashboard/priv/static/durable_dashboard/vendor-xyflow-CVba14K1.js` — so the PII/GDPR sweep did not cover the unparsed regions of them; rows reported elsewhere in those files are real. | 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 | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 0 | artifacts/raw/trivy-fs.json |