Public report β€” screenshot-to-code, published 7 Aug 2026. Concrete security findings (CVE IDs, secret matches, dependency versions) are hidden in this version; ask the repo owner for the full report.
Watchdog 07-08-2026 @ 03:38 UTC Public
Code Health Audit

Abi/screenshot-To-Code

41% At Risk

Hobby Β· weakest lens: Readiness (12%)

Grounded in facts. Every number here is computed, not narrated β€” reproducible, tool-backed, and traceable to a line of code. How to trust this β–Έ

41/43dimensions tool-verifieddeterministic Β· confidence 1.0 Β· 2 LLM-assisted, advisory
78findings with an exact file:lineof 83 β€” the remainder are repo-wide signals (a dimension-level measurement, not a single line); open any file:line and verify
43/102dimensions across the health lenses β€” wide & deep

Executive summary

Read through the Production lens β€” the standard calibration. *Green* means good enough to run in production. The score is absolute and comparable across repos.

abi/screenshot-to-code carries serious gaps (41%). Several issues below can materially affect correctness, security, or the cost of changing it β€” and propagate to everything that depends on it.

It is strongest in Architecture (94%) β€” the structure is clean and changes stay contained. Security (78%) is solid too.

Most urgent: a critical security exposure was detected (see the Security & Compliance lens). Treat it as a priority regardless of the overall grade.

The area that most needs attention is Readiness (12%) β€” releases are harder to depend on β€” versioning, release notes and dependency hygiene are thin, so consumers can't easily tell what changed or trust an upgrade. Maturity (55%) is the next concern β€” onboarding is slow β€” key decisions and the architecture aren't written down, so contributors have to reverse-engineer the intent.

Leadership focus, highest impact first: 1 No tests found finding(s) in Test Distribution (Test Distribution); CI workflow that builds and runs the test suite on every push/PR (CI/CD gates); ILogger (or Serilog) and log at meaningful points across… (Observability).

For scale: Hobby (~0 production lines); rebuilding it from scratch would take roughly ~0.1 person-years (~1 engineer). Approximate, ±~30%.

Encouragingly, the gaps are in documentation and release process β€” not in the code's correctness, structure or security, which are strong. They're low-risk to close, and doing so would lift the grade without re-engineering anything that already works.

How the score is built β€” each lens's share of the headline Width is the lens's weight in the worst-heaviest fold (the weakest area pulls hardest); colour is that lens's own band. A lens fixes the score in proportion to its width.
Readiness 12% Β· 47% weightMaturity 55% Β· 26% weightCode Health 76% Β· 14% weightSecurity 78% Β· 8% weightArchitecture 94% Β· 4% weight

Raise Readiness 12 β†’ 70 (the Healthy floor) β‡’ headline 41 β†’ ~65.

Code composition β€” where the lines go
Tests 100%
New since the last scan (69+)

69 finding(s) are new versus the previous scan (2026-07-29) β€” surfaced by this scheduled scan itself, no pull request required.

  • D4 Β· Duplicated block (12 lines × 2) backend/agent/tools/runtime.py
  • D4 Β· Duplicated block (12 lines × 2) backend/tests/test_prompts.py
  • D4 Β· Duplicated block (5 lines × 2) backend/tests/test_prompts.py
  • D8 Β· Coverage not measured β€” test suite did not build
  • D15 Β· Hotspot: frontend/src/components/evals/PromptReportsPage.tsx frontend/src/components/evals/PromptReportsPage.tsx
  • D15 Β· Hotspot: frontend/src/components/unified-input/tabs/UploadTab.tsx frontend/src/components/unified-input/tabs/UploadTab.tsx
  • D15 Β· Hotspot: frontend/src/components/evals/agent-run-tool-preview.tsx frontend/src/components/evals/agent-run-tool-preview.tsx
  • D15 Β· Hotspot: frontend/src/components/evals/AgentRunsPage.tsx frontend/src/components/evals/AgentRunsPage.tsx
  • D18 Β· Dimension evaluation failed
  • D35 Β· Change coupling: App.tsx ↔ IconStrip.tsx frontend/src/App.tsx
  • D35 Β· Change coupling: App.tsx ↔ ImportCodeSection.tsx frontend/src/App.tsx
  • D35 Β· Change coupling: constants.ts ↔ types.ts frontend/src/constants.ts
  • D35 Β· Change coupling: App.tsx ↔ StartPane.tsx frontend/src/App.tsx
  • D35 Β· Change coupling: App.tsx ↔ app-store.ts frontend/src/App.tsx
  • D35 Β· Change coupling: App.tsx ↔ SettingsTab.tsx frontend/src/App.tsx
  • D35 Β· Change coupling: App.tsx ↔ TermsOfServiceDialog.tsx frontend/src/App.tsx
  • D35 Β· Change coupling: App.tsx ↔ generateCode.ts frontend/src/App.tsx
  • D35 Β· Change coupling: App.tsx ↔ utils.ts frontend/src/App.tsx
  • D35 Β· Change coupling: App.tsx ↔ select.tsx frontend/src/App.tsx
  • D38 Β· High CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· High CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· High CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· High CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· High CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· High CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· High CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· High CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· High CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· High CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· High CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· High CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· High CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· High CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· High CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· High CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· High CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· High CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· High CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· High CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· High CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· High CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· High CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· High CVE: [GHSA redacted] frontend/pnpm-lock.yaml
  • D38 Β· High CVE: [GHSA redacted] frontend/pnpm-lock.yaml
  • D38 Β· High CVE: [GHSA redacted] frontend/pnpm-lock.yaml
  • D38 Β· High CVE: [GHSA redacted] frontend/pnpm-lock.yaml
  • D38 Β· High CVE: [GHSA redacted] frontend/pnpm-lock.yaml
  • D38 Β· High CVE: [GHSA redacted] frontend/pnpm-lock.yaml
  • D38 Β· High CVE: [GHSA redacted] frontend/pnpm-lock.yaml
  • D38 Β· Medium CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· Medium CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· Medium CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· Medium CVE: [GHSA redacted] backend/poetry.lock
  • D38 Β· Medium CVE: [GHSA redacted] backend/poetry.lock
  • R10 Β· Duplicated block (26 lines × 2 locations) frontend/src/components/evals/EvalNavigation.tsx
  • R10 Β· Duplicated block (20 lines × 3 locations) frontend/src/components/evals/BestOfNEvalsPage.tsx
  • R10 Β· Duplicated block (19 lines × 2 locations) frontend/src/components/evals/AllEvalsPage.tsx
  • R10 Β· Duplicated block (19 lines × 2 locations) frontend/src/components/evals/BestOfNEvalsPage.tsx
  • R10 Β· Duplicated block (19 lines × 2 locations) frontend/src/components/settings/SettingsTab.tsx
  • R2 Β· Complex function Sidebar (cyclomatic 69, cognitive 68) frontend/src/components/sidebar/Sidebar.tsx
  • R2 Β· Complex function renderToolDetails (cyclomatic 69, cognitive 63) frontend/src/components/agent/AgentActivity.tsx
  • R2 Β· Complex function runEvals (cyclomatic 41, cognitive 64) frontend/src/components/evals/RunEvalsPage.tsx
  • R2 Β· Complex function PreviewPane (cyclomatic 32, cognitive 31) frontend/src/components/preview/PreviewPane.tsx
  • R2 Β· Complex function RunEvalsPage (cyclomatic 32, cognitive 30) frontend/src/components/evals/RunEvalsPage.tsx
  • R2 Β· Complex function App (cyclomatic 29, cognitive 28) frontend/src/App.tsx
  • R2 Β· Complex function ToolPreview (cyclomatic 27, cognitive 33) frontend/src/components/evals/agent-run-tool-preview.tsx
  • R2 Β· Complex function ThinkingIndicator (cyclomatic 26, cognitive 25) frontend/src/components/thinking/ThinkingIndicator.tsx
  • R6 Β· Tooling
  • P2 Β· No structured logging

A full-fidelity diff against the previous run's complete recorded findings β€” line-move tolerant: a finding that only shifted line counts as unchanged, only genuinely new titles/files surface here.

Top priorities

The highest-leverage moves; the full ranked list is in the Roadmap below.

1
Resolve the 1 No tests found finding(s) in Test Distribution.
+27.7 pts Β· Low effort Β· Test Distribution
2
Add a CI workflow that builds and runs the test suite on every push/PR.
+27.7 pts Β· Medium effort Β· CI/CD gates
3
Adopt ILogger (or Serilog) and log at meaningful points across the projects.
+27.7 pts Β· Medium effort Β· Observability

Diagnosis β€” what's actually going on

Highest-leverage move Β· Medium Β· Leverage
Of everything flagged, the best return on effort is: Resolve the 1 No tests found finding(s) in Test Distribution. The rest can wait behind it.
Evidence: priority ranking: top of 5 ranked by impact/effort
β†’ Resolve the 1 No tests found finding(s) in Test Distribution.

At a glance β€” Code Health Β· 76% Β· Strong

At a glance β€” Architecture Β· 94% Β· Exemplary

At a glance β€” Maturity Β· 55% Β· Adequate Β· gated by M2

At a glance β€” Readiness Β· 12% Β· Critical Β· gated by D9, R4, R6, P1, P2, P3, P6

At a glance β€” Security Β· 78% Β· Adequate Β· gated by D38

Security & Compliance β€” OWASP Top-10 mapping

Findings mapped to OWASP categories; the specific CVEs/secrets are in the Security dimension cards below and findings.md (redacted only on the public version of this report).

OWASP categoryFindingsSeverity
A06:2021 β€” Vulnerable & Outdated Components50High / Critical
A05:2021 β€” Security Misconfiguration4High / Critical
A03:2021 β€” Injection1Medium

Roadmap

First, address the single missing test case in the distribution module to ensure comprehensive coverage. Next, establish a continuous integration workflow that automatically builds and runs tests on every push or pull request to catch issues early. Then, implement structured logging using a standard library like Serilog across all services to improve observability and debugging. After that, expand the test suite to cover all currently unreachable production modules. Finally, maintain a current changelog with versioned entries for each release to preserve project history.

Ranked by impact Γ· effort. "Helps" is the estimated gain on the 0–100 health score.

Do thisHelpsEffortDimension
Resolve the 1 No tests found finding(s) in Test Distribution.+27.7 ptsLowTest Distribution
Add a CI workflow that builds and runs the test suite on every push/PR.+27.7 ptsMediumCI/CD gates
Adopt ILogger (or Serilog) and log at meaningful points across the projects.+27.7 ptsMediumObservability
Add tests that import the unreached modules (directly or through their public entry).+27.7 ptsMediumTest Coverage
Keep the changelog current β€” add a versioned entry (Keep-a-Changelog ## [x.y.z]) for each release so the history isn't a stub.+26.5 ptsMediumRelease Hygiene
Add the missing tooling (eslint, tsc) as package.json scripts and run them in CI.+26.1 ptsMediumTooling
Add readiness/liveness probes and a rolling-update (or blue/green) strategy so a bad release is caught and rolled back automatically.+22.2 ptsMediumDeployment & Rollback
Start an ADR log (docs/adr/) recording significant decisions and their rationale.+7.2 ptsMediumArchitecture documentation

File quality

Per-file score 0–10 β€” a quality signature. Of 9 files carrying findings, judged against the Production bar: 11% slop Β· 56% mixed Β· 33% near-clean.

FileScoreBandWorst signal
backend/poetry.lock0.3SlopOSV Dependency Vulnerabilities: Critical CVE: [GHSA redacted]
frontend/pnpm-lock.yaml4.4MixedOSV Dependency Vulnerabilities: Critical CVE: [GHSA redacted]
backend/Dockerfile6.5MixedIaC & Container Security: High IaC: DS-0002
frontend/Dockerfile6.5MixedIaC & Container Security: High IaC: DS-0002
frontend/src/App.tsx7.0MixedChange Coupling: Change coupling: App.tsx ↔ IconStrip.tsx
backend/tests/test_prompts.py7.8MixedCode Duplication: Duplicated block (12 lines × 2)
backend/agent/tools/runtime.py8.5Near-cleanCode Duplication: Duplicated block (12 lines × 2)
frontend/src/constants.ts8.5Near-cleanChange Coupling: Change coupling: constants.ts ↔ types.ts
backend/main.py9.3Near-cleanStatic Analysis (SAST): Low: wildcard-cors

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. 41 of 43 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 2 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.6 β€” 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.

Every figure here is one of three kinds, and we label which: βœ“ Measured β€” a deterministic fact (LoC, complexity, coverage); ~ Modeled β€” an estimate from a stated model (cost, effort, value-at-risk), always a range with its assumptions, never a precise fact; ◐ Advisory β€” an LLM prose judgement. We never present a modelled estimate as if it were measured. Perfect or absent scores carry their provenance too (ADR-0011): βœ“ Tool-verified means the property itself was measured across the surface; β—‹ Nothing flagged means the probes came back clean β€” a claim bounded by what a repository can show; ⊘ Not evidenced means a working control (a tested restore, an automated rollback) showed no positive evidence β€” absence of evidence is not evidence of a control, so it's excluded from the score rather than awarded a spurious 10; ◐ Sampled Β· advisory marks an LLM verdict over a bounded sample β€” advisory, never a deterministic measurement.

What we checked β€” 43 dimensions across the health lenses
D1D2D3D4D5D9D12D13D15D16D19D21D26D27D28D29D31D33D34D35D38AX5M1M2M3M4P1P2P3P4P6R1R10R2R3R4R6R7R8R9X1X3X4

Each chip is a dimension scored from real signals across architecture, testing, dependencies, security & compliance, documentation, git-history and code quality β€” in one coherent pass. A surface report typically covers a handful.

How to trust any code-health report β€” three questions
  1. 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, 78 of 83 do; the remainder are repo-wide signals β€” a dimension-level measurement, not a single line. (Every path in this report is repo-relative by construction: paths are normalized at the producer and the report is rejected if any rooted path leaks through.)
  2. 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.
  3. 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.

This report answers yes to all three. That's the bar to hold any assessment to.

Tools & methods

The actual versions used this run (captured at analysis time) β€” re-run on the same commit for the identical score.

MethodBacksVersionEvaluator
Roslyn static analysisComplexity, cohesion, coupling, dead code, API surface, layering5.3.0βœ“ deterministic
Native secret scannerHardcoded secrets / credentials1.0.0βœ“ deterministic
jscpdCode duplicationβ€”βœ“ deterministic
Coverage (coverlet / dotnet-coverage)Line & branch coverage10.0.301βœ“ deterministic
NuGet / dotnetOutdated, vulnerable & deprecated dependencies10.0.301βœ“ deterministic
git / LibGit2SharpChurn hotspots, knowledge concentration, history2.43.0 Β· 0.31.0βœ“ deterministic
gitleaks · semgrep · trivy · checkovSecrets in history, SAST, CVEs, IaC & container, PII / GDPR1.86.0 Β· 0.69.3βœ“ deterministic
LLM (sampled · advisory)Documentation quality, ADR conformance, naming β€” sampled over a bounded sample; advisory, never a deterministic measurementLocal LLM◐ LLM Β· sampled Β· advisory

Every finding is locatable in findings.md. Run 019fda4c-db85-7472-a6f2-648a7ace7cb8.

The exact command behind every deep-scan dimension β€” tool, version, invocation and retained raw output β€” is in Appendix B β€” Reproduction & audit trail.

Run transparency β€” what happened this run

What ran differently this time β€” a tool absent, degraded, or that fell back to an estimate. Named openly, not folded silently into the scores. A degraded run also records its exact cause in diagnostics.md.

  • D18 Solution Shape β€” evaluation did not complete β€” Dimension evaluation failed β€” excluded from the score.
  • D30 Dependency Vulnerabilities β€” scanner not present in this environment β€” The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
  • D32 Data Compliance (PII/GDPR) β€” scanner not present in this environment β€” The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
  • D36 Supply-chain Provenance & Signing β€” scanner not present in this environment β€” The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
  • D37 Vulnerability-disclosure Policy β€” scanner not present in this environment β€” The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.

Repo exclusion declarations (.gitattributes linguist-generated/vendored, .editorconfig generated_code): none declared β€” every source file was scored.

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

For each dimension that was measured, what a static, repo-only scan structurally cannot see β€” the honest edge of the measurement, not a failure of it.

  • 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 (jscpd) β€” it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (EF migration scaffolds, *.Designer.cs, model snapshots) is EXCLUDED β€” its repetition is the tool's, not the team's β€” so the score reflects hand-written duplication only; the generated footprint is reported separately under Solution Shape.
  • D5 Coupling: Coupling is measured between projects/assemblies β€” runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
  • D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals β€” a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
  • D12 Dependency Hygiene: Dependency health reads manifests and lockfiles β€” a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
  • D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree β€” a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
  • 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.
  • D16 Bus Factor: Bus-factor is a time-decayed model of commit attribution (who has recently, repeatedly worked a file), not comprehension β€” pairing, review and reading-without-committing spread knowledge it can't see; bot commits and shared accounts still distort it.
  • 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.
  • 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.
  • D27 Navigability: Indirection/navigability is structural β€” it measures hops to follow a call, not whether that indirection buys real flexibility or just ceremony.
  • 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").
  • 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.
  • D33 JS/npm Dependency Vulnerabilities: JS/npm CVE matching reads package manifests and lockfiles β€” risk from how a dependency is used, and advisories not yet published, fall outside this scan.
  • 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.
  • 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".
  • 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

LLM-set scores this run (3): D19, D21, M4 (model: Local LLM). For these, a model reads a bounded sample and sets the numeric score (documentation, ADR quality, naming, comment value, onboarding) β€” D25 sets the ADR-conformance fraction over sampled code, D22 judges API accuracy over a sample. These are sampled and advisory by design: they vary at the margins between runs and are never a deterministic measurement. Every other score in this report is tool-computed at confidence 1.0.

Dimensions

D1 Β· Cyclomatic Complexity7.3 / 10Strongβœ“ Tool-verified

What it measures: How tangled the control flow is β€” methods with many branches are hard to test and change.

Method: Cyclomatic complexity per method (1 + decision points), computed exhaustively across production source; test projects separated by convention. Deterministic.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 7.3 / 10 Β· rule-coverage 100% Β· ceiling Prevented

17 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was openai.parse_event at 55.

What to do

  1. Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). β€” Hardens enforcement from Documented toward Prevented β€” provenance only; does not change the score.

Detailed fixes: d1_recommendation.md.

D2 Β· Cognitive Complexity4.0 / 10Weakβœ“ Tool-verified

What it measures: How hard the code is for a person to follow, beyond raw branching.

Method: Cognitive complexity per method (Sonar-style nesting-penalized score), computed exhaustively over production code, excluding test projects. Deterministic.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 4.0 / 10 Β· rule-coverage 100% Β· ceiling Prevented

39 method(s) exceeded the cognitive complexity threshold of 15; the worst was openai.parse_event at 90.

What to do

  1. Enforce Cognitive Complexity in CI to reach Verified (currently Documented). β€” Hardens enforcement from Documented toward Prevented β€” provenance only; does not change the score.

Detailed fixes: d2_recommendation.md.

D3 Β· God Classes10.0 / 10Exemplaryβœ“ Tool-verified

What it measures: Over-large classes that try to do too much ("god classes").

Method: God-class detection by line and method-count thresholds per logical type (partial classes unified), filtered for generated code and registration/contract false positives. Deterministic.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 10.0 / 10 Β· rule-coverage 100% Β· ceiling Prevented

0 god class(es) detected.

βœ“ On the Gold path β€” maintain.

Detailed fixes: d3_recommendation.md.

D4 Β· Code Duplication9.2 / 10Exemplaryβœ“ Tool-verified

What it measures: Copy-pasted code that should be shared instead.

Method: Code duplication via token-stream sliding windows with type-aware normalization (locals masked, type names preserved), density-scored per KLoC of production code. Deterministic.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 9.2 / 10 Β· rule-coverage 100% Β· ceiling Verified

3 duplicated block group(s) detected.

Duplicated block (12 lines × 2) Β· Γ—2backend/agent/tools/runtime.py:56
Duplicated block (5 lines × 2)backend/tests/test_prompts.py:7

βœ“ On the Gold path β€” maintain.

Detailed fixes: d4_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D5 Β· Coupling6.9 / 10Adequateβœ“ Tool-verified

What it measures: Whether volatile projects sit underneath others that depend on them (so their churn ripples upward), and whether project dependencies form cycles. A widely-depended-on but stable shared/kernel project is healthy, not penalised.

Method: Dependency cycles via elementary-DFS over real .csproj references, plus Martin instability (afferent/efferent) per project. Exhaustive over the reference graph, deterministic.

Coverage: Exhaustive · type-level: afferent/efferent coupling + cycles computed over every production type β€” the population is all types, not a name convention.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 6.9 / 10 Β· rule-coverage 100% Β· ceiling Prevented

0 projects, 0 dependency cycle(s), 0 unstable depended-on project(s).

What to do

  1. Enforce Coupling in CI to reach Verified (currently Documented). β€” Hardens enforcement from Documented toward Prevented β€” provenance only; does not change the score.

Detailed fixes: d5_recommendation.md.

D9 Β· Test Distribution0.0 / 10Criticalβœ“ Tool-verified

What it measures: Whether the test suite has a healthy mix of unit / integration / end-to-end tests.

Method: Test projects classified (Unit/Integration/BDD/E2E) from compiled metadata; test methods counted exhaustively across projects with placement-agnostic disk fallback. Deterministic.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 0.0 / 10 Β· rule-coverage 100% Β· ceiling Documented

No test projects found.

No tests found

What to do

  1. Resolve the 1 No tests found finding(s) in Test Distribution. β€” One of this dimension's main actionable groups (1 recommendation-level).

Detailed fixes: d9_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D12 Β· Dependency Hygiene10.0 / 10Exemplaryβœ“ Tool-verified

What it measures: Whether dependencies are current, secure, and not bloated.

Method: Manifest scan via dotnet list package across all projects; worst-signal-per-package deduction (saturating for vulnerabilities, capped-linear for deprecation/outdated) per KLoC. Exhaustive, deterministic.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 10.0 / 10 Β· rule-coverage 100% Β· ceiling Verified

0 outdated, 0 vulnerable, 0 deprecated packages.

βœ“ On the Gold path β€” maintain.

Detailed fixes: d12_recommendation.md.

D13 Β· Secret Scanning10.0 / 10Exemplaryβ—‹ Nothing flagged

What it measures: Whether any secrets (keys, tokens, passwords) have leaked into the code.

Method: In-process native secret scanner (entropy plus signature patterns) across all tracked files; no external tool. A clean result is a measured 10, not no-data zero. Deterministic.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 10.0 / 10 Β· rule-coverage 100% Β· ceiling Prevented

Secret scan ran and found no leaked secrets.

βœ“ On the Gold path β€” maintain.

Detailed fixes: d13_recommendation.md.

D15 Β· Churn × Complexity Hotspots9.4 / 10Exemplaryβœ“ Tool-verified

What it measures: Files that change often and are also complex β€” the riskiest hotspots.

Method: Per production file churn times cyclomatic complexity over a rolling window, computed from git and Roslyn/JS/Razor analysis. Exhaustive, deterministic per commit date.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 9.4 / 10 Β· rule-coverage 100% Β· ceiling Documented

Top hotspots: frontend/src/components/sidebar/Sidebar.tsx (18×69=1242); frontend/src/components/agent/AgentActivity.tsx (13×69=897); frontend/src/App.tsx (18×29=522)

Hotspot: frontend/src/components/sidebar/Sidebar.tsx Β· Γ—10frontend/src/components/sidebar/Sidebar.tsx

βœ“ On the Gold path β€” maintain.

Detailed fixes: d15_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D16 Β· Bus Factor10.0 / 10Exemplaryβœ“ Tool-verified

What it measures: Whether knowledge is concentrated in too few people (the "bus factor").

Method: Living knowledge per author via time-decayed commit attribution (6-month half-life, focus weighting) across largest source files. Deterministic, avoids blame's mechanical-refactor false positives.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 10.0 / 10 Β· rule-coverage 100% Β· ceiling Documented

No source file's living knowledge is concentrated in a single author.

βœ“ On the Gold path β€” maintain.

Detailed fixes: d16_recommendation.md.

D19 Β· Documentation Quality / 10Weak◐ Sampled Β· advisory

What it measures: Whether the project's documentation is clear, complete, and useful.

Method: Judged by language model at low temperature (0.0-0.1) on a deterministic doc sample (READMEs plus first 25 architecture docs), with two-pass stability filtering. Advisory, sampled.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective Weak / 10 Β· rule-coverage 100% Β· ceiling Documented

The README is a single hosted-product link plus an isolated 'Getting Started' section for running the app locally (FastAPI backend + React frontend + API keys), with no architecture or per-stack documentation. A separate backend README covers only type-checking and test-running commands ('poetry run pyright', 'poetry run pytest') without any prompt-summary utility description, and there is no link to the hosted product's own docs.

What to do

  1. Improve Documentation Quality β€” currently 4.0/10. β€” The README is a single hosted-product link plus an isolated 'Getting Started' section for running the app locally (FastAPI backend + React frontend + API keys), with no architecture or per-stack documentation. A separate backend README covers only type-checking and test-running commands ('poetry run pyright', 'poetry run pytest') without any prompt-summary utility description, and there is no link to the hosted product's own docs.

Detailed fixes: d19_recommendation.md.

D21 Β· Naming Consistency / 10Exemplary◐ Sampled Β· advisory

What it measures: Whether names β€” types, methods, variables β€” are clear and consistent.

Method: Judged by language model at low temperature (0.0-0.1) on a deterministic random symbol sample (fixed size, not exhaustive), with disclosed confidence band. Advisory, sampled.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective Exemplary / 10 Β· rule-coverage 100% Β· ceiling Verified

0 naming inconsistencies across 0 sampled symbols.

βœ“ On the Gold path β€” maintain.

Detailed fixes: d21_recommendation.md.

D26 Β· Project Cohesion10.0 / 10Exemplaryβœ“ Tool-verified

What it measures: Whether each project is a focused, coherent unit rather than an oversized grab-bag.

Method: Project size overshoot penalties (LoC / public-type count / namespace count, 2-of-3 flag) weighted by log magnitude. Exhaustive across projects, deterministic, LLM-independent.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 10.0 / 10 Β· rule-coverage 100% Β· ceiling Documented

No projects to assess.

βœ“ On the Gold path β€” maintain.

Detailed fixes: d26_recommendation.md.

D27 Β· Navigability10.0 / 10Exemplaryβœ“ Tool-verified

What it measures: How far you must trace to follow a call β€” low indirection and co-located slices read easier.

Method: Call indirection (interface hops, cross-namespace calls, slice-locality scaled) over a sampled set of method invocations, size-aware baseline. Sampled; confidence discounted by symbol-resolution gaps.

Coverage: Slice locality from the first namespace segments, SAMPLED (≀400 methods) β€” not exhaustive.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 10.0 / 10 Β· rule-coverage 100% Β· ceiling Documented

Too little code to assess navigability.

βœ“ On the Gold path β€” maintain.

Detailed fixes: d27_recommendation.md.

D28 Β· Secrets (history)10.0 / 10Exemplaryβ—‹ Nothing flagged

What it measures: Whether any secrets were ever committed β€” scanned across the full git history, not just now.

Method: Git-history secret scan via gitleaks detect over full history in an isolated checkout; each match flagged High. Exhaustive; degrades cleanly when tool absent.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 10.0 / 10 Β· rule-coverage 100% Β· ceiling Documented

gitleaks scanned the full history AND the current working tree and found no secrets.

βœ“ On the Gold path β€” maintain.

Detailed fixes: d28_recommendation.md.

D29 Β· Static Analysis (SAST)9.9 / 10Exemplaryβœ“ Tool-verified

What it measures: Real static-analysis (SAST) findings β€” likely security bugs in the code, any language.

Method: Polyglot static analysis via semgrep across the repo using the pinned, image-baked p/security-audit + p/owasp-top-ten rulesets (no scan-time registry fetch); severity rules (ERROR/WARNING/INFO) map to a full-band severity-weighted score. Exhaustive, deterministic; degrades on parse failure.

Coverage: semgrep pattern rules over all files β€” exhaustive for the rule set, blind to classes of bug without a rule (clean = no rule matched).

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 9.9 / 10 Β· rule-coverage 100% Β· ceiling Documented

1 finding(s): 0 critical, 0 high, 0 medium, 1 low.

Low: wildcard-corsbackend/main.py:45detected by semgrep finding

βœ“ On the Gold path β€” maintain.

Detailed fixes: d29_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D31 Β· IaC & Container Security9.3 / 10Exemplaryβœ“ Tool-verified

What it measures: Whether Dockerfiles / Terraform / Kubernetes config follow security best practices.

Method: IaC/container misconfiguration scan via trivy config (Dockerfile/Terraform/K8s/Helm/CloudFormation); severity rules to 0-10 moderate normalizer. NotApplicable without manifests. Exhaustive, deterministic.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 9.3 / 10 Β· rule-coverage 100% Β· ceiling Documented

4 finding(s): 0 critical, 2 high, 0 medium, 2 low.

High IaC: DS-0002 Β· Γ—2backend/Dockerfiledetected by trivy finding
Low IaC: DS-0026 Β· Γ—2backend/Dockerfiledetected by trivy finding

βœ“ On the Gold path β€” maintain.

Detailed fixes: d31_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D33 Β· JS/npm Dependency Vulnerabilities10.0 / 10Exemplaryβ—‹ Nothing flagged

What it measures: Whether JavaScript/npm dependencies have known published vulnerabilities (CVEs) β€” the npm ecosystem's biggest risk.

Method: JS/npm CVE scan via trivy fs --scanners vuln over JS manifests (package.json/yarn.lock/pnpm-lock/bun.lockb); 0-10 tight normalizer. NotApplicable without JS manifests. Exhaustive, deterministic.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 10.0 / 10 Β· rule-coverage 100% Β· ceiling Documented

No known-vulnerable JS/npm dependencies.

βœ“ On the Gold path β€” maintain.

Detailed fixes: d33_recommendation.md.

D34 Β· Knowledge Freshness10.0 / 10Exemplaryβœ“ Tool-verified

What it measures: Whether anyone still has living knowledge of each file, or it has been orphaned β€” last understood long ago by someone now gone quiet. The sibling of the bus factor: D16 asks who owns it, D34 asks whether anyone still knows it.

Method: File orphaning as total living-knowledge decay below one focused-commit's worth within a year, computed per-file from the D16 decay model. Exhaustive, deterministic over fixed history.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 10.0 / 10 Β· rule-coverage 100% Β· ceiling Documented

Every significant source file has living knowledge β€” recently and meaningfully worked.

βœ“ On the Gold path β€” maintain.

Detailed fixes: d34_recommendation.md.

D35 Β· Change Coupling7.3 / 10Strongβœ“ Tool-verified

What it measures: Whether files that change together actually belong together β€” pairs that repeatedly co-change in git history despite having no explicit code dependency, surfacing the hidden/logical coupling (and boundaries in the wrong place) a static scan can't see.

Method: Pairwise co-occurrence over the per-commit file sets in git history (production source only β€” tests and generated dropped): Degree-of-Coupling = shared ÷ min individual revisions, reported above noise floors (each file β‰₯10 revisions, β‰₯5 shared commits, β‰₯50% strength); sweeping commits excluded. Deterministic over fixed history.

Coverage: Population: PRODUCTION source files only β€” test and generated files are dropped before pairing, so a class co-changing with its own test (trivially ~100%) can't drown the real production↔production coupling. Pairs ranked by Degree-of-Coupling; coupling through a build step, config, or non-source file isn't seen.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 7.3 / 10 Β· rule-coverage 100% Β· ceiling Documented

Strongest change-coupling: App.tsx↔IconStrip.tsx 92%; App.tsx↔ImportCodeSection.tsx 91%; constants.ts↔types.ts 90%

Change coupling: App.tsx ↔ IconStrip.tsx Β· Γ—10frontend/src/App.tsx

What to do

  1. Resolve the 10 Change coupling finding(s) in Change Coupling β€” start with App.tsx (9), constants.ts. β€” One of this dimension's main actionable groups (10 warning-level).

Detailed fixes: d35_recommendation.md Β· top locations in Appendix A, every location in findings.md.

D38 Β· OSV Dependency Vulnerabilities0.0 / 10Criticalβœ“ Tool-verified

What it measures: Whether dependencies have known published vulnerabilities (CVEs) per the OSV database β€” npm and other lockfile ecosystems, parsed natively. Complements D33 (npm via trivy) and D30 (.NET via dotnet).

Method: npm/multi-ecosystem CVE scan via osv-scanner (queries the osv.dev database + parses lockfiles natively: package-lock/yarn/pnpm/bun); severity tally (Critical/High/Medium/Low) to 0-10 tight normalizer (8.0). NotApplicable without a JS lockfile. Additive to D33 (trivy fs); exhaustive + deterministic, DB kept fresh.

Maturity: Documented β†’ Verified β†’ Prevented Β· effective 0.0 / 10 Β· rule-coverage 100% Β· ceiling Documented

193 finding(s): 2 critical, 43 high, 131 medium, 17 low.

High CVE: [GHSA redacted] Β· Γ—43backend/poetry.lockdetected by osv-scanner finding
Critical CVE: [GHSA redacted] Β· Γ—2backend/poetry.lockdetected by osv-scanner finding
Medium CVE: [GHSA redacted] Β· Γ—5backend/poetry.lockdetected by osv-scanner finding

What to do

  1. Resolve the 43 High CVE finding(s) in OSV Dependency Vulnerabilities β€” start with poetry.lock (31), pnpm-lock.yaml (12). β€” One of this dimension's main actionable groups (43 issue-level).
  2. Resolve the 2 Critical CVE finding(s) in OSV Dependency Vulnerabilities β€” start with pnpm-lock.yaml, poetry.lock. β€” One of this dimension's main actionable groups (2 issue-level).
  3. Resolve the 5 Medium CVE finding(s) in OSV Dependency Vulnerabilities β€” start with poetry.lock (5). β€” One of this dimension's main actionable groups (5 warning-level).

Detailed fixes: d38_recommendation.md Β· top locations in Appendix A, every location in findings.md.

Frontend & cross-cutting dimensions

R = React/JS Β· M = Maturity Β· P = Readiness.

AX5 Β· Architecture & structure10.0 / 10Exemplaryβœ“ Tool-verified

Other Β· Architecture β€” Whether the codebase has a recognisable, scale-appropriate structure (a named architectural style, or modular enough for its size) rather than being an ad-hoc ball of mud.

Method: Roslyn plus csproj analysis: architecture style detection (DDD, clean, vertical-slice, CQRS) and structure fitness for repo size. Deterministic.

M1 Β· Documentation (README)6.7 / 10Adequateβœ“ Tool-verified

Maturity Β· Maturity β€” Whether the repo and its projects have a README, and whether it's substantive and current.

Method: Filesystem scan: README presence, word count, and headings for depth; git history for staleness. Exhaustive across root and project dirs, deterministic.

What to do

  • Add a 'Testing' section to the root README β€” how to run the test suite.
  • Add an 'Architecture' / 'How it works' section to the root README β€” the high-level shape.
M2 Β· Architecture documentation0.0 / 10Criticalβœ“ Tool-verified

Maturity Β· Maturity β€” Whether key decisions (ADRs) and the high-level shape (C4/diagrams) are written down.

Method: Filesystem scan: ADR folder/naming conventions or content, plus Mermaid/PlantUML/C4/architecture.md discovery. Exhaustive, deterministic.

  • No Architecture Decision Records found β€” decisions aren't captured for future maintainers.
  • No C4/PlantUML/Mermaid diagram or architecture.md β€” the high-level shape isn't documented.

What to do

  • Start an ADR log (docs/adr/) recording significant decisions and their rationale.
  • Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
M3 Β· Folder & project structure8.0 / 10Strongβœ“ Tool-verified

Maturity Β· Maturity β€” Whether the repo is organised deliberately β€” src/test separation and consistent project naming.

Method: Filesystem scan: src/test folder separation and namespace-prefix consistency (majority RootNamespace agreement). Exhaustive across projects, deterministic.

  • Test projects aren't grouped under a tests/ folder β€” the test surface isn't separable from production code at a glance.

What to do

  • Group test projects under tests/ (or test/, spec/) so the test surface is discoverable and CI can scope it.
M4 Β· Documentation accuracy10.0 / 10Exemplary◐ Sampled Β· advisory

Maturity Β· Maturity β€” Whether the README actually describes the code that exists (LLM-judged, advisory).

Method: Judged by language model at low temperature: README accuracy versus actual projects, within a disclosed tolerance. Advisory, not a measured number.

P1 Β· CI/CD gates0.0 / 10Criticalβœ“ Tool-verified

Readiness Β· Readiness β€” Whether an automated pipeline builds and tests every change.

Method: Filesystem scan: CI workflow files (.github/workflows, .gitlab-ci.yml, etc.) for build and test stages. Exhaustive, deterministic.

  • No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, …) β€” changes aren't gated by an automated build/test.

What to do

  • Add a CI workflow that builds and runs the test suite on every push/PR.
P2 Β· Observability0.0 / 10Criticalβœ“ Tool-verified

Readiness Β· Readiness β€” Whether the code is diagnosable in production β€” structured logging, tracing/metrics, health checks.

Method: Filesystem/Roslyn scan: structured-logging frameworks (Serilog, NLog), OpenTelemetry, and health-check endpoint patterns. Exhaustive, deterministic.

  • No ILogger/Serilog usage found β€” production issues will be hard to diagnose.

What to do

  • Adopt ILogger (or Serilog) and log at meaningful points across the projects.
  • Consider OpenTelemetry tracing/metrics and a health-check endpoint for operability.
P3 Β· Security & performance tooling0.0 / 10Criticalβœ“ Tool-verified

Readiness Β· Readiness β€” Whether SAST, secret/dependency scanning and performance benchmarking are wired in (presence, not runtime).

Method: Filesystem/Roslyn scan: CodeQL, Dependabot, secret-scanning, and BenchmarkDotNet presence in pipelines and projects. Exhaustive, deterministic.

  • No static application security testing (CodeQL / security analyzers / codehealth) detected.

What to do

  • Add a SAST step (e.g. CodeQL) or a security analyzer package.
  • Enable Dependabot/Renovate or a dependency-review gate.
  • Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 Β· Deployment & Rollback5.0 / 10Adequateβœ“ Tool-verified

Readiness Β· Readiness β€” Whether releases are automated and safely reversible (probes, rolling updates, approval gates) β€” from manifests/pipeline files, not the live environment.

Method: Filesystem scan: deployment manifests/IaC (K8s YAML, Helm, Terraform) for rolling updates, probes, approval gates, migration hooks. Exhaustive, deterministic.

  • Deployment automation exists but no readiness/liveness probes, rolling-update strategy, lifecycle hooks or migration job were evidenced β€” a bad release is harder to detect and reverse.

What to do

  • Add readiness/liveness probes and a rolling-update (or blue/green) strategy so a bad release is caught and rolled back automatically.
  • Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P6 Β· Release Hygiene3.0 / 10Weakβœ“ Tool-verified

Readiness Β· Readiness β€” Whether releases are traceable β€” a maintained changelog and explicit version stamping.

Method: Filesystem scan: changelog file presence and version tags in csproj or git tags. Exhaustive, deterministic.

  • A changelog exists but has few versioned entries β€” keep it current with each release.

What to do

  • Keep the changelog current β€” add a versioned entry (Keep-a-Changelog ## [x.y.z]) for each release so the history isn't a stub.
  • Stamp a version (csproj <Version>, a VERSION file, or GitVersion) or tag releases with semver so builds and releases are traceable.
R1 Β· Type Safety10.0 / 10Exemplaryβœ“ Tool-verified

React / JS Β· Code Health β€” How much of the frontend is typed TypeScript vs untyped JavaScript.

Method: Frontend file inventory: the share of typed TypeScript vs untyped JavaScript across the source tree. Deterministic, exhaustive over frontend files.

R10 Β· Code Duplication7.3 / 10Strongβœ“ Tool-verified

React / JS Β· Code Health β€” Copy-pasted token-identical blocks across the frontend (the D4 clone algorithm over JS/TS tokens, D-386).

Method: Copy-pasted token-identical blocks across the frontend (the D4 clone algorithm run over JS/TS tokens). Deterministic.

  • frontend/src/components/evals/EvalNavigation.tsx:14 · frontend/src/components/evals/EvalNavigation.tsx:39 β€” EvalNavigation.tsx:14
  • frontend/src/components/evals/BestOfNEvalsPage.tsx:541 · frontend/src/components/evals/BestOfNEvalsPage.tsx:563 · frontend/src/components/evals/BestOfNEvalsPage.tsx:612 β€” BestOfNEvalsPage.tsx:541
  • frontend/src/components/evals/AllEvalsPage.tsx:18 · frontend/src/components/evals/AllEvalsPage.tsx:37 β€” AllEvalsPage.tsx:18
  • frontend/src/components/evals/BestOfNEvalsPage.tsx:371 · frontend/src/components/evals/BestOfNEvalsPage.tsx:788 β€” BestOfNEvalsPage.tsx:371
  • frontend/src/components/settings/SettingsTab.tsx:153 · frontend/src/components/settings/SettingsTab.tsx:221 β€” SettingsTab.tsx:153
  • frontend/src/components/unified-input/UnifiedInputPane.tsx:136 · frontend/src/components/unified-input/UnifiedInputPane.tsx:156 · frontend/src/components/unified-input/UnifiedInputPane.tsx:175 · frontend/src/components/unified-input/UnifiedInputPane.tsx:195 β€” UnifiedInputPane.tsx:136
  • frontend/src/components/unified-input/tabs/ImportTab.tsx:115 · frontend/src/components/unified-input/tabs/TextTab.tsx:111 β€” ImportTab.tsx:115
  • frontend/src/components/evals/BestOfNEvalsPage.tsx:563 · frontend/src/components/evals/BestOfNEvalsPage.tsx:612 β€” BestOfNEvalsPage.tsx:563

What to do

  • Extract the duplicated blocks into shared functions/components.
R2 Β· Cyclomatic Complexity8.0 / 10Strongβœ“ Tool-verified

React / JS Β· Code Health β€” Per-function cyclomatic/cognitive complexity from the token-level function scanner (D-386) β€” real branching, not a regex heuristic.

Method: Per-function cyclomatic/cognitive complexity from a token-level function scanner (real branching, not a regex heuristic), computed over every frontend function. Deterministic.

  • Branch-heavy code is where defects cluster β€” extract decisions into smaller functions. (×8) β€” Sidebar.tsx:77, AgentActivity.tsx:291, RunEvalsPage.tsx:191, …

What to do

  • Break down the listed branch-heavy functions; aim P95 cyclomatic ≀ 5.
R3 Β· Large Files5.8 / 10Adequateβœ“ Tool-verified

React / JS Β· Code Health β€” How many components/modules exceed the large-file threshold.

Method: Components/modules exceeding the large-file threshold, counted exhaustively across the frontend source tree. Deterministic.

  • 11 file(s) over 400 lines

What to do

  • Split the oversized components into smaller, focused ones.
R4 Β· Test Coverage1.1 / 10Criticalβœ“ Tool-verified

React / JS Β· Readiness β€” Static test reachability (D-386): the share of production files reachable from any test via the import graph β€” measured without running anything.

Method: Static test reachability: the share of production files reachable from any test via the import graph β€” measured without running anything. Deterministic.

  • No test imports this module directly or transitively β€” its behavior is unverified. (×8) β€” AgentActivity.tsx, App.tsx, BestOfNEvalsPage.tsx, …

What to do

  • Add tests that import the unreached modules (directly or through their public entry).
R6 Β· Tooling3.4 / 10Weakβœ“ Tool-verified

React / JS Β· Readiness β€” Whether the project wires up test, lint and typecheck β€” detected from each package.json script's COMMAND (eslint / tsc / vitest / jest / playwright), not just its name, and corroborated against CI-workflow invocations so a tool run only in CI still counts.

Method: package.json scanned for test/lint/typecheck script wiring. Deterministic presence check.

  • test βœ“ · lint βœ— · typecheck βœ—

What to do

  • Add the missing tooling (eslint, tsc) as package.json scripts and run them in CI.
R7 Β· Dead Code8.2 / 10Strongβœ“ Tool-verified

React / JS Β· Code Health β€” Files unreachable from every application/tooling/test entry point, and exports nothing imports (module-graph reachability, D-386).

Method: Dead code: files unreachable from every application/tooling/test entry point plus exports nothing imports, via module-graph reachability. Deterministic, exhaustive over the import graph.

  • Unreachable from the 2 application, 6 tooling and 10 test entry point(s) detected in this repo. Gate removals on your build/type-check β€” an undetected custom entry would make these reachable.
  • no import path from any entry point (2 application, 6 tooling, 10 test roots considered) (×7) β€” ThinkingIndicator.tsx, ImportCodeSection.tsx, GenerateFromText.tsx, …

What to do

  • Delete the dead files and unused exports β€” every line is maintenance cost and rebuild-estimate inflation with zero runtime value.
R8 Β· Dependency Hygiene9.5 / 10Exemplaryβœ“ Tool-verified

React / JS Β· Readiness β€” npm dependency truthfulness (D-386): unused dependencies, imports not declared anywhere, and type-/test-only packages shipped as production deps.

Method: npm dependency truthfulness: unused dependencies, imports declared nowhere, and type-/test-only packages shipped as production deps β€” from the manifest + import graph. Deterministic.

  • Declared in frontend/package.json but never imported anywhere in that package or its workspace members β€” dead weight and attack surface. Verify against build tooling before removing.

What to do

  • Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 Β· Circular Imports10.0 / 10Exemplaryβœ“ Tool-verified

React / JS Β· Architecture β€” Import cycles in the module graph (D-386) β€” files that can only be understood and changed together.

Method: Import cycles in the module graph, detected exhaustively over JS/TS imports (the same cycle detection as the .NET coupling dimension). Deterministic.

X1 Β· Async correctness10.0 / 10Exemplaryβ—‹ Nothing flagged

Other Β· Code Health β€” Whether the code avoids sync-over-async (deadlock-prone blocking on tasks) and async void.

Method: Roslyn syntax scan: async methods scanned for .Wait()/.GetAwaiter().GetResult() and async-void outside event handlers. Deterministic, hard fact per invocation.

X3 Β· Exception handling10.0 / 10Exemplaryβ—‹ Nothing flagged

Other Β· Code Health β€” Whether exceptions are handled rather than silently swallowed or rethrown with lost stack traces.

Method: Roslyn syntax scan: every catch clause counted; empty catches and bare rethrows flagged. Population is all catch clauses, not estimated. Deterministic, hard fact.

X4 Β· Structured logging10.0 / 10Exemplaryβ—‹ Nothing flagged

Other Β· Code Health β€” Whether log calls use message templates (queryable) rather than interpolated strings.

Method: Roslyn syntax scan: every log call-site counted; interpolated-string first-argument violations flagged. Population is all log calls, not estimated. Deterministic.

Reference β€” by lens

The score is the rank-weighted fold of these lenses (worst-heaviest), each including its meta-dimensions; a lens with a Critical contributor is capped at Fair (its band reads "gated by …") and is never the strongest area however high its average.

LensScoreRatingImpact
Code Health76%StrongSolid.
Architecture94%ExemplaryStrongest area.
Maturity55%Adequate β€” gated by M2Capped at Fair by a Critical contributor β€” resolve it before relying on this lens.
Readiness12%Critical β€” gated by D9, R4, R6, P1, P2, P3, P6Capped at Fair by a Critical contributor β€” resolve it before relying on this lens.
Security78%Adequate β€” gated by D38Capped at Fair by a Critical contributor β€” resolve it before relying on this lens.
Not included β€” 60 check(s) not relevant to this codebase

These checks had nothing to measure here (no tests, no git history, the codebase is small, or the architecture style doesn't apply), so they're omitted above rather than scored low.

  • AC1 Text alternatives β€” No user-facing web UI (the repo is a library/CLI/worker/headless service) β€” accessibility is not applicable.
  • AC2 Forms & labels β€” No user-facing web UI (the repo is a library/CLI/worker/headless service) β€” accessibility is not applicable.
  • AC3 Page structure β€” No user-facing web UI (the repo is a library/CLI/worker/headless service) β€” accessibility is not applicable.
  • AC4 Keyboard semantics β€” No user-facing web UI (the repo is a library/CLI/worker/headless service) β€” accessibility is not applicable.
  • AC5 ARIA correctness β€” No user-facing web UI (the repo is a library/CLI/worker/headless service) β€” accessibility is not applicable.
  • AC6 Visual & motion safety β€” No user-facing web UI (the repo is a library/CLI/worker/headless service) β€” accessibility is not applicable.
  • AC7 A11y enforcement β€” No user-facing web UI (the repo is a library/CLI/worker/headless service) β€” accessibility is not applicable.
  • AX1 Captive dependencies β€” no DI registrations detected
  • AX10 Code composition β€” no source files detected β€” code composition not applicable
  • AX2 Stateful singletons β€” no singleton implementations detected
  • AX3 Project dependency cycles β€” no csproj graph available
  • AX4 Dependency direction β€” no csproj graph available
  • AX6 Interface segregation β€” no public interfaces
  • 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 β€” no data
  • C1 Data Protection β€” No personal data detected in the analyzed source β€” no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
  • C2 Access Controls β€” No access-control surface detected in the analyzed source β€” no web/app surface to authorize (no HTTP API or web-UI project) and no authorization code at all (no [Authorize]/policies, no imperative guard methods). Access control is therefore N/A here β€” this is a library/CLI, which is authorized by its CALLER, 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 the analyzed source β€” no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
  • C4 Data Retention β€” No personal data detected in the analyzed source β€” no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
  • C5 Data-Subject Rights β€” No personal data detected in the analyzed source β€” no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
  • D10 Test Quality β€” ~6307 lines of test code exist on disk but weren't loaded from the analyzed solution (excluded from the .sln, or co-located/using a test attribute not loaded here), so test quality couldn't be assessed. Include the tests in the analyzed solution to enable this check.
  • D11 Test Reliability β€” Test reliability not included
  • D14 License Compliance β€” license scan produced no result β€” the tool ran but its JSON output could not be parsed; the offline NuGet fallback resolved nothing
  • D17 Explicit Debt β€” the C# workspace loaded 0 projects, so explicit-debt density could not be measured
  • D18 Solution Shape β€” Dimension evaluation failed
  • D20 ADR Quality β€” N/A β€” ADRs are expected on deployable products with a user-facing host, not consumed libraries; no ADR log is required here.
  • D22 Internal API Consistency β€” No exposed public API
  • D23 Boundary Type-Coupling β€” Zero projects and zero LoC mean the codebase is trivial and has no structure to justify boundaries.
  • D24 Comment Value β€” No inline comments to assess β€” comment value is not applicable here.
  • D25 ADR Conformance β€” no ADRs to check
  • D30 Dependency Vulnerabilities β€” No .NET solution found; no NuGet dependencies to scan for vulnerabilities.
  • D32 Data Compliance (PII/GDPR) β€” No PII/GDPR ruleset is bundled (the public p/gdpr semgrep pack was retired) β€” data compliance is not assessed in this scan.
  • D36 Supply-chain Provenance & Signing β€” No CI/build pipeline found (.github/workflows, .gitlab-ci.yml, azure-pipelines.yml, Jenkinsfile, .circleci); there is no build to attest provenance for.
  • D37 Vulnerability-disclosure Policy β€” No vulnerability-disclosure policy file found (SECURITY.md, .github/SECURITY.md, docs/SECURITY.md, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
  • D39 IL Efficiency β€” The target did not build, so no IL was available to measure.
  • D6 Cohesion (LCOM4) β€” No production classes were analyzable, so cohesion (LCOM4) was not measured (the solution likely failed to load or has no production code).
  • D7 Architectural Integrity β€” no checkable ADRs and no dependency cycles β€” architectural integrity not assessed
  • D8 Code Coverage β€” Coverage not measured β€” test suite did not build
  • DM1 Domain Modelling β€” not run β€” only 1/3 markers (70 value object(s))
  • ED1 Event-Driven β€” not run β€” 0/3 markers found
  • ED5 Idempotency β€” no mutating command handlers or message consumers detected β€” idempotency check not applicable
  • ES1 Event Sourcing β€” not run β€” 0/3 markers found
  • GD1 Unfinished & placeholder code β€” no source files
  • IC1 Incompleteness & stubs β€” no C# methods found
  • P12 CI test-gate honesty β€” no CI workflow found
  • P5 DR & Backup β€” not evidenced β€” repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
  • P7 Outbound HTTP resilience β€” not applicable β€” this isn't a service/API/worker
  • P8 Schema migrations β€” no EF Core usage detected
  • P9 Domain vs controller coverage β€” no coverage report found on disk β€” run tests with `--collect:"XPlat Code Coverage"` (or in CI) to enable this cross-layer check
  • PF1 Benchmark discipline β€” Performance is assessed only for perf-relevant repos β€” a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
  • PF2 Allocation hygiene β€” Performance is assessed only for perf-relevant repos β€” a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
  • PF3 Async & latency hygiene β€” Performance is assessed only for perf-relevant repos β€” a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
  • R11 Import Boundaries β€” No recognizable feature-sliced/layered src layout β€” boundary rules not applicable.
  • R5 Dependency Freshness β€” uses a pnpm lockfile β€” dependency freshness not measured here; JS/npm CVEs are scored in D33 (JS/npm Dependency Vulnerabilities)
  • S1 Web-Security Posture β€” No web surface detected in the analyzed source β€” no HTTP API or web-UI project (no controllers/minimal-API endpoints, no Razor/Blazor views) and no web middleware (HTTPS redirection, HSTS, security headers, cookies). Transport security, security headers, secure cookies, CSRF/input-validation and middleware-order controls are therefore N/A here β€” this is a library/CLI/worker, not a web app. Crypto hygiene was still checked and found nothing to flag. If this codebase becomes web-facing, the dimension reactivates automatically.
  • SC1 Supply-chain hygiene β€” no data
  • X2 Cancellation propagation β€” no async methods found
  • X5 Nullable reference types β€” no NRT-eligible projects

Appendix A β€” Findings (grouped)

The findings behind the scores, grouped by severity, then by dimension and kind. The high-severity issues are enumerated in full below; items per group are capped at 25 with any overflow stated explicitly per group, never silently truncated. The complete machine-readable list of every finding (all severities) is the companion findings.md in this report's bundle.

Issue β€” 48 finding(s)
D38 Β· OSV Dependency Vulnerabilities Β· High CVE Β· Γ—43
  • High CVE: [GHSA redacted] backend/poetry.lock β€” aiohttp 3.11.11: [GHSA redacted] β€” upgrade to 3.13.3
  • High CVE: [GHSA redacted] backend/poetry.lock β€” aiohttp 3.11.11: [GHSA redacted] β€” upgrade to 3.14.3
  • High CVE: [GHSA redacted] backend/poetry.lock β€” pillow 10.4.0: [GHSA redacted] β€” upgrade to 12.3.0
  • High CVE: [GHSA redacted] backend/poetry.lock β€” pillow 10.4.0: [GHSA redacted] β€” upgrade to 12.3.0
  • High CVE: [GHSA redacted] backend/poetry.lock β€” pillow 10.4.0: [GHSA redacted] β€” upgrade to 12.3.0
  • High CVE: [GHSA redacted] backend/poetry.lock β€” pillow 10.4.0: [GHSA redacted] β€” upgrade to 12.3.0
  • High CVE: [GHSA redacted] backend/poetry.lock β€” pillow 10.4.0: [GHSA redacted] β€” upgrade to 12.3.0
  • High CVE: [GHSA redacted] backend/poetry.lock β€” pillow 10.4.0: [GHSA redacted] β€” upgrade to 12.3.0
  • High CVE: [GHSA redacted] backend/poetry.lock β€” pillow 10.4.0: [GHSA redacted] β€” upgrade to 12.1.1
  • High CVE: [GHSA redacted] backend/poetry.lock β€” pillow 10.4.0: [GHSA redacted] β€” upgrade to 12.3.0
  • High CVE: [GHSA redacted] backend/poetry.lock β€” pillow 10.4.0: [GHSA redacted] β€” upgrade to 12.3.0
  • High CVE: [GHSA redacted] backend/poetry.lock β€” pillow 10.4.0: [GHSA redacted] β€” upgrade to 12.2.0
  • High CVE: [GHSA redacted] backend/poetry.lock β€” pillow 10.4.0: [GHSA redacted] β€” upgrade to 12.3.0
  • High CVE: [GHSA redacted] backend/poetry.lock β€” pillow 10.4.0: [GHSA redacted] β€” upgrade to 12.2.0
  • High CVE: [GHSA redacted] backend/poetry.lock β€” pillow 10.4.0: [GHSA redacted] β€” upgrade to 12.3.0
  • High CVE: [GHSA redacted] backend/poetry.lock β€” protobuf 5.29.5: [GHSA redacted] β€” upgrade to 5.29.6
  • High CVE: [GHSA redacted] backend/poetry.lock β€” pyasn1 0.6.1: [GHSA redacted] β€” upgrade to 0.6.2
  • High CVE: [GHSA redacted] backend/poetry.lock β€” pyasn1 0.6.1: [GHSA redacted] β€” upgrade to 0.6.4
  • High CVE: [GHSA redacted] backend/poetry.lock β€” pyasn1 0.6.1: [GHSA redacted] β€” upgrade to 0.6.4
  • High CVE: [GHSA redacted] backend/poetry.lock β€” pyasn1 0.6.1: [GHSA redacted] β€” upgrade to 0.6.3
  • High CVE: [GHSA redacted] backend/poetry.lock β€” pyasn1 0.6.1: [GHSA redacted] β€” upgrade to 0.6.4
  • High CVE: [GHSA redacted] backend/poetry.lock β€” setuptools 75.6.0: [GHSA redacted] β€” upgrade to 78.1.1
  • High CVE: [GHSA redacted] backend/poetry.lock β€” soupsieve 2.6: [GHSA redacted] β€” upgrade to 2.8.4
  • High CVE: [GHSA redacted] backend/poetry.lock β€” soupsieve 2.6: [GHSA redacted] β€” upgrade to 2.8.4
  • High CVE: [GHSA redacted] backend/poetry.lock β€” starlette 0.41.3: [GHSA redacted] β€” upgrade to 0.49.1
  • + 18 more in this group β€” see findings.md.
D31 Β· IaC & Container Security Β· High IaC Β· Γ—2
  • High IaC: DS-0002 backend/Dockerfile β€” Image user should not be 'root'
  • High IaC: DS-0002 frontend/Dockerfile β€” Image user should not be 'root'
D38 Β· OSV Dependency Vulnerabilities Β· Critical CVE Β· Γ—2
  • Critical CVE: [GHSA redacted] backend/poetry.lock β€” h11 0.14.0: [GHSA redacted] β€” upgrade to 0.16.0
  • Critical CVE: [GHSA redacted] frontend/pnpm-lock.yaml β€” vitest 1.6.1: [GHSA redacted] β€” upgrade to 3.2.6
D18 Β· Solution Shape Β· Dimension evaluation failed Β· Γ—1
  • Dimension evaluation failed β€” no .NET solution found at target path
Warning β€” 29 finding(s)
D15 Β· Churn × Complexity Hotspots Β· Hotspot Β· Γ—10
  • Hotspot: frontend/src/components/sidebar/Sidebar.tsx frontend/src/components/sidebar/Sidebar.tsx β€” frontend/src/components/sidebar/Sidebar.tsx changed 18 times in last 90 days, max complexity 69.
  • Hotspot: frontend/src/components/agent/AgentActivity.tsx frontend/src/components/agent/AgentActivity.tsx β€” frontend/src/components/agent/AgentActivity.tsx changed 13 times in last 90 days, max complexity 69.
  • Hotspot: frontend/src/App.tsx frontend/src/App.tsx β€” frontend/src/App.tsx changed 18 times in last 90 days, max complexity 29. 1 of those changes were fix/bug commits β€” a defect-dense hotspot worth prioritising.
  • Hotspot: frontend/src/components/evals/RunEvalsPage.tsx frontend/src/components/evals/RunEvalsPage.tsx β€” frontend/src/components/evals/RunEvalsPage.tsx changed 4 times in last 90 days, max complexity 41.
  • Hotspot: frontend/src/components/evals/PromptReportsPage.tsx frontend/src/components/evals/PromptReportsPage.tsx β€” frontend/src/components/evals/PromptReportsPage.tsx changed 6 times in last 90 days, max complexity 17.
  • Hotspot: frontend/src/components/unified-input/tabs/UploadTab.tsx frontend/src/components/unified-input/tabs/UploadTab.tsx β€” frontend/src/components/unified-input/tabs/UploadTab.tsx changed 6 times in last 90 days, max complexity 17. 1 of those changes were fix/bug commits β€” a defect-dense hotspot worth prioritising.
  • Hotspot: frontend/src/components/evals/EvalSessionsPage.tsx frontend/src/components/evals/EvalSessionsPage.tsx β€” frontend/src/components/evals/EvalSessionsPage.tsx changed 5 times in last 90 days, max complexity 20.
  • Hotspot: frontend/src/components/preview/PreviewPane.tsx frontend/src/components/preview/PreviewPane.tsx β€” frontend/src/components/preview/PreviewPane.tsx changed 3 times in last 90 days, max complexity 32. 1 of those changes were fix/bug commits β€” a defect-dense hotspot worth prioritising.
  • Hotspot: frontend/src/components/evals/agent-run-tool-preview.tsx frontend/src/components/evals/agent-run-tool-preview.tsx β€” frontend/src/components/evals/agent-run-tool-preview.tsx changed 3 times in last 90 days, max complexity 27.
  • Hotspot: frontend/src/components/evals/AgentRunsPage.tsx frontend/src/components/evals/AgentRunsPage.tsx β€” frontend/src/components/evals/AgentRunsPage.tsx changed 3 times in last 90 days, max complexity 23.
D35 Β· Change Coupling Β· Change coupling Β· Γ—10
  • Change coupling: App.tsx ↔ IconStrip.tsx frontend/src/App.tsx β€” `frontend/src/App.tsx` and `frontend/src/components/sidebar/IconStrip.tsx` change together 92% of the time (11 shared commits) with no explicit dependency β€” a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
  • Change coupling: App.tsx ↔ ImportCodeSection.tsx frontend/src/App.tsx β€” `frontend/src/App.tsx` and `frontend/src/components/ImportCodeSection.tsx` change together 91% of the time (10 shared commits) with no explicit dependency β€” a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
  • Change coupling: constants.ts ↔ types.ts frontend/src/constants.ts β€” `frontend/src/constants.ts` and `frontend/src/types.ts` change together 90% of the time (9 shared commits) with no explicit dependency β€” a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
  • Change coupling: App.tsx ↔ StartPane.tsx frontend/src/App.tsx β€” `frontend/src/App.tsx` and `frontend/src/components/start-pane/StartPane.tsx` change together 90% of the time (9 shared commits) with no explicit dependency β€” a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
  • Change coupling: App.tsx ↔ app-store.ts frontend/src/App.tsx β€” `frontend/src/App.tsx` and `frontend/src/store/app-store.ts` change together 82% of the time (18 shared commits) with no explicit dependency β€” a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
  • Change coupling: App.tsx ↔ SettingsTab.tsx frontend/src/App.tsx β€” `frontend/src/App.tsx` and `frontend/src/components/settings/SettingsTab.tsx` change together 77% of the time (10 shared commits) with no explicit dependency β€” a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
  • Change coupling: App.tsx ↔ TermsOfServiceDialog.tsx frontend/src/App.tsx β€” `frontend/src/App.tsx` and `frontend/src/components/TermsOfServiceDialog.tsx` change together 73% of the time (8 shared commits) with no explicit dependency β€” a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
  • Change coupling: App.tsx ↔ generateCode.ts frontend/src/App.tsx β€” `frontend/src/App.tsx` and `frontend/src/generateCode.ts` change together 70% of the time (39 shared commits) with no explicit dependency β€” a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
  • Change coupling: App.tsx ↔ utils.ts frontend/src/App.tsx β€” `frontend/src/App.tsx` and `frontend/src/components/history/utils.ts` change together 68% of the time (17 shared commits) with no explicit dependency β€” a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
  • Change coupling: App.tsx ↔ select.tsx frontend/src/App.tsx β€” `frontend/src/App.tsx` and `frontend/src/components/ui/select.tsx` change together 67% of the time (10 shared commits) with no explicit dependency β€” a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
D38 Β· OSV Dependency Vulnerabilities Β· Medium CVE Β· Γ—5
  • Medium CVE: [GHSA redacted] backend/poetry.lock β€” aiohttp 3.11.11: [GHSA redacted] β€” upgrade to 3.14.1
  • Medium CVE: [GHSA redacted] backend/poetry.lock β€” aiohttp 3.11.11: [GHSA redacted] β€” upgrade to 3.14.1
  • Medium CVE: [GHSA redacted] backend/poetry.lock β€” aiohttp 3.11.11: [GHSA redacted] β€” upgrade to 3.13.3
  • Medium CVE: [GHSA redacted] backend/poetry.lock β€” aiohttp 3.11.11: [GHSA redacted] β€” upgrade to 3.13.4
  • Medium CVE: [GHSA redacted] backend/poetry.lock β€” aiohttp 3.11.11: [GHSA redacted] β€” upgrade to 3.14.1
D4 Β· Code Duplication Β· Duplicated block (12 lines × 2) Β· Γ—2
  • Duplicated block (12 lines × 2) backend/agent/tools/runtime.py:56 β€” backend/agent/tools/runtime.py:56-67 | backend/agent/tools/runtime.py:102-113
  • Duplicated block (12 lines × 2) backend/tests/test_prompts.py:20 β€” backend/tests/test_prompts.py:20-31 | backend/tests/test_prompts.py:53-60
D4 Β· Code Duplication Β· Duplicated block (5 lines × 2) Β· Γ—1
  • Duplicated block (5 lines × 2) backend/tests/test_prompts.py:7 β€” backend/tests/test_prompts.py:7-11 | backend/tests/test_prompts.py:12-16
D8 Β· Code Coverage Β· Coverage not measured Β· Γ—1
  • Coverage not measured β€” test suite did not build β€” Coverage NOT MEASURED: the repo's own test suite did not build (a C#/MSBuild compiler error in the test code), so no coverage could be collected. It is excluded from the score rather than counted as a near-zero defect. Fix the test build, or commit the Cobertura/OpenCover/lcov report your CI already produces, and real coverage will be measured.
Recommendation β€” 5 finding(s)
D31 Β· IaC & Container Security Β· Low IaC Β· Γ—2
  • Low IaC: DS-0026 backend/Dockerfile β€” No HEALTHCHECK defined
  • Low IaC: DS-0026 frontend/Dockerfile β€” No HEALTHCHECK defined
D11 Β· Test Reliability Β· Test reliability not included Β· Γ—1
  • Test reliability not included β€” No test projects found, so reliability couldn't be assessed.
D29 Β· Static Analysis (SAST) Β· Low Β· Γ—1
  • Low: wildcard-cors backend/main.py:45 β€” CORS policy allows any origin (using wildcard '*'). This is insecure and should be avoided.
D9 Β· Test Distribution Β· No tests found Β· Γ—1
  • No tests found β€” No test projects found in the repository.
Info β€” 1 finding(s)
D22 Β· Internal API Consistency Β· No exposed public API Β· Γ—1
  • No exposed public API β€” No intentionally-exposed types (IsPackable or .Contracts) to evaluate.

Appendix B β€” Reproduction & audit trail

Every external tool invocation behind a deep-scan dimension β€” the tool, its captured version, the exact command, how many findings it yielded, and a link to the retained raw output. To reproduce any finding: check out the same commit and run the command shown (repo-relative β€” never an absolute scratch path). The complete raw scanner output is retained verbatim under artifacts/raw/ (indexed in artifacts/raw/index.json); per-invocation exit codes and wall-clock durations are in sidecar.json β€” kept out of this table so the rendered report stays byte-identical across runs of the same commit.

DimensionToolVersionCommandFindingsRaw output
D28 Β· Secrets (history)gitleaksβ€”gitleaks detect --no-banner --report-format json --report-path /dev/stdout --exit-code 0 --source .0artifacts/raw/gitleaks-history.json
D29 Β· Static Analysis (SAST)semgrepβ€”semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --json --quiet --timeout 0 --metrics off .1artifacts/raw/semgrep.json
D30 Β· Dependency Vulnerabilitiesdotnet (no .NET solution)β€”dotnet (no .NET solution): not present in this environment0β€”
D31 Β· IaC & Container Securitytrivyβ€”trivy config --format json --quiet .4artifacts/raw/trivy-config.json
D32 Β· Data Compliance (PII/GDPR)semgrepβ€”semgrep: not applicable β€” No PII/GDPR ruleset is bundled (the public p/gdpr semgrep pack was retired) β€” data compliance is not assessed in this scan.0β€”
D33 Β· JS/npm Dependency Vulnerabilitiestrivyβ€”trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update0β€”
D36 Β· Supply-chain Provenance & Signingprovenanceβ€”provenance: not applicable β€” No CI/build pipeline found (.github/workflows, .gitlab-ci.yml, azure-pipelines.yml, Jenkinsfile, .circleci); there is no build to attest provenance for.0β€”
D37 Β· Vulnerability-disclosure Policydisclosureβ€”disclosure: not applicable β€” No vulnerability-disclosure policy file found (SECURITY.md, .github/SECURITY.md, docs/SECURITY.md, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.0β€”
D38 Β· OSV Dependency Vulnerabilitiesosv-scannerβ€”osv-scanner --format json --recursive .193artifacts/raw/osv-scanner.json

Run 019fda4c-db85-7472-a6f2-648a7ace7cb8 Β· every finding is also locatable in findings.md, and the complete scoring record (with exit codes + durations) in sidecar.json.

Downloadable artifacts

Machine-readable and reproducible from this commit + frozen rubric β€” drop them straight into a contract appendix, a CRA dossier, or a downstream SCA / VEX tool.

⬇ Findings, MITRE CWE-tagged .sarif⬇ Health changelog .md