Skip to content
CAI
Software that uses CAICheck a score

pgourlain/vscode_erlang

36.0

Weak · 15 November 2026

21.6k

lines of production code

Erlang

with TypeScript

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Automated screenshot generation for documentation

Added a new Playwright-based script (\scripts/screenshots/take-screenshots.mjs\) and a dedicated demo workspace to automatically capture consistent images of the VS Code extension's features (such as semantic tokens, code actions, and test explorer) for the README. The script launches a real VS Code instance with the extension loaded, executes specific user actions, and saves the resulting screenshots to the \images\ directory, ensuring the documentation visuals stay in sync with the extension's current behavior.

scripts, scripts/screenshots/workspace · high confidence

Embedded MCP inspector for runtime inspection

Added a new embedded Model Context Protocol (MCP) inspector that exposes read-only runtime data (such as application overview, supervision trees, process info, and ETS tables) via a secure, loopback-only HTTP endpoint. The implementation includes a policy engine for configuring allowed tools and resource limits, a bounded encoder that redacts sensitive data and prevents exposure of executable handles, and a session-based store for managing inspection collections and cursors.

apps/erlangbridge/src · high confidence

Erlang Language Server ported to Erlang with new VS Code integration features

The Erlang Language Server implementation has been ported from TypeScript to Erlang, introducing a new shell launcher (ErlangShellLSP) that binds distribution and epmd to the loopback interface for security and supports cache management modes. The extension now provides inline values during debugging, a dedicated status bar item to monitor the language server's lifecycle, and a new test controller for discovering and running EUnit and Common Test suites with coverage support.

lib/lsp · high confidence

Introduce opt-in MCP topology inspector for debug sessions

Users can now enable a read-only Model Context Protocol (MCP) server inside the debugged Erlang node to let AI agents map the OTP topology (applications, supervision trees, processes, and approved ETS metadata). This feature is controlled by the new \erlang.mcp.enabled\ setting (defaulting to false) and is restricted to debug sessions only, binding to loopback with per-session authentication. It includes a project-level policy in \rebar.config\ to restrict tools and data exposure, with a developer tier for bounded sampling of process state and mailboxes.

(repo-wide) · high confidence

Behavioural changes

1 commit (0 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 1 commit, 6 files: “Users/pgo/issues (\#376)” (refs \#376).

rebar3-erl28 · low confidence · unverified

1 commit (0 fixes) modifying rebar3-erl22, rebar3-latest

A change to existing behaviour in rebar3-erl22, rebar3-latest — 1 commit, 2 files: “add compatibility fro Erlang 22 (\#278)” (refs \#278).

rebar3-erl22 · low confidence · unverified

1 commit (0 fixes) modifying rebar3-erl22, rebar3-latest

A change to existing behaviour in rebar3-erl22, rebar3-latest — 1 commit, 2 files: “add compatibility fro Erlang 22 (\#278)” (refs \#278).

rebar3-latest · low confidence · unverified

Redesigned Erlang debugger with shell-escape safety and MCP support

The debugger now uses a dedicated \ErlangConfigurationProvider\ to resolve settings, introducing a new \erlang.useShell\ option (defaulting to 'auto') that controls whether commands are run through a shell. This change adds robust shell-argument escaping via \GenericShell\ to prevent failures in sandboxed environments or with complex arguments, and integrates the MCP inspector for debug sessions. Additionally, the \ErlangAdapterDescriptorFactory\ now supports binding the debug server to 127.0.0.1, and the \RebarRunner\ and \DialyzerStatus\ components provide improved build diagnostics and PLT status tracking.

lib · high confidence

Test coverage

Added Erlang syntax highlighting test suite; Added test fixtures and suites for MCP inspector and policy validation; Added test fixtures for navigation and basic module testing; Added test suite for Erlang extension core components; Added tests for MCP debugger configuration and end-to-end integration.

Dependencies

Erlang extension updated to version 1.2.6 with dependency upgrades

The Erlang language extension for Visual Studio Code has been updated to version 1.2.6. This release includes several dependency upgrades visible in the package-lock.json, such as bumping qs from 6.12.1 to 6.16.0, tar-fs from 2.1.1 to 2.1.5, lodash from 4.17.15 to 4.17.21, and webpack from 5.76.0 to 5.110.3, among others. The extension now requires Visual Studio Code version 1.136.0 or higher.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 35 → 36 (+0.6)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 59 → 60 (+1.1)
  • Architecture 94 → 94 (-0.4)
  • Maturity 75 → 75 (+0.0)
  • Readiness 46 → 47 (+1.3)
  • Security 79 → 84 (+4.6)
  • Event-Driven 10 → 10 (+0.0)
  • Event Sourcing 100 → 100 (+0.0)
  • Performance 60 → 60 (+0.0)

Resolved (10)

  • High CVE: [GHSA redacted] (package-lock.json)
  • High CVE: [GHSA redacted] (package-lock.json)
  • High CVE: [GHSA redacted] (package-lock.json)
  • High CVE: [GHSA redacted] (package-lock.json)
  • High CVE: [GHSA redacted] (package-lock.json)
  • Leaked secret: hardcoded-credential (package-lock.json)
  • Leaked secret: hardcoded-credential (package-lock.json)
  • Medium CVE: [GHSA redacted] (package-lock.json)
  • Medium CVE: [GHSA redacted] (package-lock.json)
  • Off-boarding risk: anonymized user #1

New (45)

  • Edited copies of one member (3 members, 19+ corresponding lines) (apps/erlangbridge/src/vscode_erlfmt.erl)
  • Edited copies of one member (3 members, 5+ corresponding lines) (apps/erlangbridge/src/vscode_lsp_codeaction.erl)
  • Edited copies of one member (3 members, 8+ corresponding lines) (apps/erlangbridge/src/vscode_gen_lsp_config_sup.erl)
  • Edited copies of one member (5 members, 6+ corresponding lines) (apps/erlangbridge/src/vscode_lsp_handlers.erl)
  • Edited copy of a member (10 corresponding lines) (apps/erlangbridge/src/vscode_lsp_codeaction.erl)
  • Edited copy of a member (11 corresponding lines) (apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl)
  • Edited copy of a member (11 corresponding lines) (apps/erlangbridge/src/vscode_hover_doc_layout.erl)
  • Edited copy of a member (11 corresponding lines) (apps/erlangbridge/src/vscode_lsp_folding.erl)
  • Edited copy of a member (11 corresponding lines) (apps/erlangbridge/src/vscode_lsp_parse.erl)
  • Edited copy of a member (12 corresponding lines) (apps/erlangbridge/src/vscode_erlfmt.erl)
  • Edited copy of a member (13 corresponding lines) (apps/erlangbridge/src/vscode_erlfmt.erl)
  • Edited copy of a member (13 corresponding lines) (apps/erlangbridge/src/vscode_lsp_hierarchy.erl)
  • Edited copy of a member (13 corresponding lines) (apps/erlangbridge/src/vscode_lsp_navigation.erl)
  • Edited copy of a member (2 corresponding lines) (apps/erlangbridge/src/mcp/vscode_mcp_server.erl)
  • Edited copy of a member (2 corresponding lines) (apps/erlangbridge/src/mcp/vscode_mcp_store.erl)
  • Edited copy of a member (2 corresponding lines) (apps/erlangbridge/src/vscode_jsone_decode.erl)
  • Edited copy of a member (2 corresponding lines) (apps/erlangbridge/src/vscode_lsp_folding.erl)
  • Edited copy of a member (2 corresponding lines) (apps/erlangbridge/src/vscode_lsp_formatting.erl)
  • Edited copy of a member (3 corresponding lines) (apps/erlangbridge/src/vscode_hover_doc_layout.erl)
  • Edited copy of a member (3 corresponding lines) (apps/erlangbridge/src/vscode_jsone_decode.erl)
  • …and 25 more

Changes since last survey

  • 8 commits — 8 feature/other, 0 fixes

By area

  • (root) — 8 commits

Notable commits

  • change: Bump @azure/msal-node and @azure/identity (#372)
  • change: Bump brace-expansion (#361)
  • change: Bump fast-uri from 3.1.7 to 3.1.9 (#373)
  • change: Bump markdown-it from 14.3.1 to 14.3.3 (#369)
  • change: Bump qs from 6.16.0 to 6.17.1 (#377)
  • change: Stop deriving the distributed node cookie from the port (#367)
  • change: Users/pgo/issues (#376)
  • change: Version

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

pgourlain/vscode_erlang was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 2ac3affa6a89241213f16a3c3998046d9a2d8d60 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.