Skip to content
CAI
Software that uses CAICheck a score

webjars/webjars

46.4

Weak · 6 November 2026

5.6k

lines of production code

Scala

with JavaScript

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Introduce sbta launcher and MCP server for AI-assisted development

The project now ships with the \sbta\ launcher (version 0.0.4) and a corresponding Windows batch script (\sbta.bat\) to manage the build environment, replacing the previous \sbt\ launcher. A new \.mcp.json\ configuration file registers an \sbta\ Model Context Protocol (MCP) server, enabling AI coding assistants to interact directly with the build system via the \sbt-task\ tool. This setup is supported by new documentation in \AGENTS.md\ and \DEV.md\, which guide users on using the MCP server for tasks like compilation, testing, and symbol inspection, and by a new \.sbtopts\ file configuring necessary JVM flags for native access.

(repo-wide) · high confidence

WebJars UI overhaul with dark mode, crawler protection, and new admin tools

The WebJars web interface has been redesigned with a Bootstrap-based theme that supports light and dark modes, persisting the user's preference via local storage. To protect backend resources, a crawler limiter middleware now restricts concurrent requests to expensive endpoints like /listfiles, returning 429 Too Many Requests to bots while allowing legitimate users to proceed. The site also includes a robots.txt file to guide search engine indexing. For administrators, a new deployment tool allows redeploying specific artifacts with automatic version bumping (e.g., 1.0.0 → 1.0.0+1) if the version already exists on Maven Central, and a one-time cleanup utility removes stale cache entries such as empty artifact IDs and parent POMs.

src/main · high confidence

Removals

Removal of legacy Application and WebJarAssets controllers

The legacy \Application\ controller (handling index, documentation, and examples pages) and the \WebJarAssets\ controller (serving WebJar assets) have been removed from the application. This eliminates the previous routing and serving logic for these specific endpoints, indicating a shift in how these resources are delivered or managed within the application architecture.

app/controllers · high confidence

Removal of legacy static documentation and example pages

The application has removed the legacy view templates for the Documentation, Examples, and Index pages, along with the main layout template. This eliminates the static content that previously displayed general instructions for frameworks like Play 2, Servlet 3, Grails, and Spring MVC, as well as a hardcoded list of example WebJar applications and a basic library version table.

app/views · high confidence

Behavioural changes

1 commit (0 fixes) modifying resources

A change to existing behaviour in resources — 1 commit, 1 file: “add logo”.

resources · low confidence · unverified

Removal of legacy application configuration and routing definitions

The default application configuration file (application.conf) and the routes file (routes) have been removed from the conf directory. This eliminates the hardcoded secret key, default logger settings, and the previous route mappings for the index, documentation, examples, and WebJar assets pages, indicating a shift in how the application's core configuration and request routing are managed.

conf · high confidence

Fixes

Fix /search 500 errors from version-less WebJars

The application now prevents 500 Internal Server Errors on the /search endpoint caused by WebJar entries lacking version information. A new WebJar model enforces that the versions list is non-empty, and the fromCache factory method rejects any cache entries that do not contain at least one version, ensuring that only valid, versioned WebJars are processed and displayed.

repository · high confidence

Test coverage

Added comprehensive test coverage for WebJars deployment and infrastructure components; Added tests for webjars route handling and input validation.

Dependencies

Initial build configuration for WebJars service on Scala 3 and JDK 25

This change introduces the \build.sbt\ manifest for the WebJars application, establishing a Scala 3.9.0 build environment targeting JDK 25. It defines core dependencies including ZIO ecosystem libraries (ZIO Config, Redis, Cache, HTTP Guard, and Streams Compress), WebJars assets (Bootstrap 5.3.8, Highlight.js 11.11.1), and external tools (Skills, Testcontainers). The configuration explicitly enables JDK 25 compatibility flags (\--enable-native-access\, \--sun-misc-unsafe-memory-access\) to support Netty and zio-http, sets up local source dependency overrides for co-development with \zio-git\ and \zio-mavencentral\, and configures the primary launcher to \webjars.Main\ while enabling MCP support on port 5055.

(dependencies) · high confidence

Migrated build system from Play 2.0 to sbt 2.0 with updated plugin ecosystem

The project's build configuration has been significantly updated: the sbt version was upgraded from 0.11.3 to 2.0.9, and the legacy Play 2.0.3 plugin was replaced with a modern set of plugins including sbt-native-packager (1.12.0), sbt-webjars (0.0.8), sbt-sass (0.0.1), sbt-reload (0.0.8), skillsjars-sbt-plugin (0.0.9), sbt-mcp (0.1.5), and sbt-tdepver (0.0.1). The old Build.scala file defining the Play project structure was removed, indicating a shift in how the application is constructed and packaged.

project · 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 48 → 46 (-1.1)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 63 → 63 (+0.0)
  • Architecture 84 → 82 (-2.0)
  • Maturity 37 → 38 (+0.6)
  • Readiness 44 → 41 (-3.0)
  • Security 60 → 56 (-4.0)
  • Performance 100 → 100 (+0.0)

Resolved (4)

  • Documentation: no installation or build instructions (README.md)
  • Documentation: no usage examples (README.md)
  • Off-boarding risk: anonymized user #1
  • Outdated: com.jamesward:skills

New (2)

  • Dependency hygiene PARTLY measured — sbt declarations read, dependency currency not (Maven Central unreachable)
  • Off-boarding risk: anonymized user #1

Changes since last survey

  • 4 commits — 4 feature/other, 0 fixes

By area

  • (root) — 3 commits
  • .factory/MAINTENANCE.md — 1 commit

Notable commits

  • change: Factory sync: .factory/MAINTENANCE.md (#2278)
  • change: Factory sync: sbta; sbta.bat (#2277)
  • change: Maintenance: bump skills 0.0.17, sbt 2.0.11, sbt-native-packager 1.13.0 (#2276)
  • change: Maintenance: bump skills 0.0.18, zio-mavencentral 0.15.0, zio-streams-compress 2.1.7, sbt-sass 0.0.2 (#2279)

Architecture

  • Unchanged — 0 containers · 1 contexts · 0 edges

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

Survey your own repository

webjars/webjars 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 6 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 7bee4a1a29a4ee49a1544aa8255ec7ddfb2d4789 — the exact code this score is about.
  • Scored under rubric-2026.11.2 — 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.3+preprod-60d1b390edf0.