Skip to content
CAI
Software that uses CAICheck a score

morganstanley/optimus-cirrus

46.6

Weak · 6 October 2026

533.1k

lines of production code

Scala

with Java

1

measurement over time

CAI band scale
CAI lens gauges

What this system is

This system is a comprehensive internal software platform and build infrastructure centered around the OptimusBuildTool (OBT). It provides a unified build orchestration engine that manages dependencies, generates API documentation, and produces test reports for a large Scala-based codebase. The platform also includes a distributed hash table (DHT) client for data storage, a distributed tracing library for observability, and a suite of compiler plugins and utilities for code analysis, static checking, and modernization.

How it got here

2021–2022 — Scala 2.13 migration and platform expansion

18 changes.

This period focused on migrating the Optimus platform to support Scala 2.12 and 2.13 through comprehensive compatibility shims, collection re-implementations, and compiler plugin refactoring. It also introduced new core modules for distributed tracing, runtime instrumentation, and open-source annotation exports, while enhancing the staging plugin with advanced code rewrite capabilities and metadata tracking.

2023–2025 — OBT migration and platform infrastructure expansion

26 changes.

This period focused on migrating the Optimus platform build system to the new OBT tool and establishing its core configuration models. Concurrently, significant infrastructure work was undertaken, including the introduction of the PriQL relational query framework, a new DHT client API, and comprehensive instrumentation and profiling utilities.

Features

Add Blake2b digest library and TLS platform integration

The digest module now includes a new Blake2b cryptographic digest implementation (Blake2b, Blake2bSafe, and Blake2bUnsafe) sourced from the alphazero/Blake2b project, providing 256-bit and 512-bit hashing capabilities. In the TLS platform, a new key store management system has been introduced, featuring a pluggable provider architecture that supports reading from local PKCS12 files and platform-specific certificate stores (such as Windows Root or custom CA bundles), wired together via a DefaultSslConfigurationManager and OpenSslEngineFactory to handle SSL/TLS context creation.

optimus/dht/projects/digest, optimus/platform/projects/tls · high confidence

Add Git diff model classes for parsing file changes

Introduces a new data model in the \diffparser\ module to represent Git diff structures, including case classes for \Diff\, \Hunk\, \Line\, and \Range\. This model supports parsing standard diff headers to identify file operations such as new files, deletions, renames, and mode changes, providing the foundational data structures for the diff parser.

optimus/platform/projects/git-utils/src/main/scala/optimus/git/diffparser/model · high confidence

Add JUnit HTML test report rendering components

The htmlreport module now includes the Java classes required to generate HTML test reports for JUnit results. This change adds the core data models (such as TestResult, CoverageResult, and TestClassResult), configuration options (JUnitXmlResultOptions), and page renderers (OverviewPageRenderer, ClassPageRenderer, PackagePageRenderer) that structure the report into tabs for failures, ignored tests, packages, and classes. It also includes supporting utilities like LocaleSafeDecimalFormat and internal Gradle API stubs (Action, GradleException) to support the report layout.

optimus/buildtool/projects/htmlreport · high confidence

Add legacy serialization and DHT configuration classes to Silverking

This change introduces legacy serialization support for trace IDs and chained IDs, alongside a comprehensive set of configuration and policy classes for the Silverking DHT. Specifically, it adds \LegacyChainedIdSerializer\ and \LegacySkTraceIdSerializer\ to handle backward-compatible serialization of trace identifiers, while also introducing core DHT configuration enums and classes such as \ConsistencyProtocol\, \ForwardingMode\, \OwnerQueryMode\, \AllReplicasExcludedResponse\, and various retention policies (\CapacityBasedRetentionPolicy\, \LRURetentionPolicy\, \LRWRetentionPolicy\, \NanosVersionRetentionPolicy\) and their associated states. Additionally, it includes operation option classes like \GetOptions\, \InvalidationOptions\, and \DeletionOptions\, as well as utility classes for alerts (\Alert\, \AlertReceiver\) and namespace configuration (\NamespaceServerSideCode\, \NamespaceVersionMode\).

optimus/silverking/projects/silverking · high confidence

Added Java-based Git diff parser implementation

The \optimus.git.diffparser\ module now includes a new Java implementation for parsing Git diff formats, consisting of the \DiffParser\ state-machine engine and the \ParseWindow\ utility for streaming input. This addition provides the underlying logic for interpreting diff headers, hunks, and line changes, replacing or supplementing previous parsing mechanisms within this specific utility package.

optimus/platform/projects/git-utils/src/main/scala/optimus/git/diffparser · high confidence

Added Scala 2.12 and 2.13 compatible collection implementations

The collections module now includes source files for both Scala 2.12 and 2.13, introducing several new collection types and adapters. New additions include \ConsistentDefaultMap\ (ensuring \get\ always returns \Some\ for default values), \TrieSet\ (a concurrent set backed by \TrieMap\), \ZipIterator\ and \Zip3Iterator\ (efficiently zipping iterators without tuple allocation), \CovariantSet\ (a covariant set implementation with contravariant \contains\ support), and \ImmutableArray\ (an immutable wrapper around primitive arrays with optimized equality and hashing). The 2.13 source tree also removes the \CollectionsHook\ file, which previously tracked \CanBuildFrom\ instances for compatibility checks. Existing 2.12 files like \OSeq\ and \OptimusCanBuildFrom\ have been updated to align with these changes, including method signature adjustments and the addition of \breakOut\ support.

optimus/platform/projects/collections · high confidence

Added distribution-specific breadcrumb properties

A new DistProperties object has been introduced in the breadcrumbs module to define distribution-specific metadata fields. This addition exposes job\_id, task\_id, and root\_chain\_id as string properties, extending the existing KnownProperties interface to support these identifiers in the breadcrumb data structure.

_optimus/gsf/projects/gsf\breadcrumbs · high confidence

Added support for serializing Scala and Java enumerations to JSON

The spray\_json utility module now includes built-in formats for handling both Scala and Java enumerations. Users can seamlessly serialize enum values to JSON strings and deserialize them back, with the new \EnhancedDefaultJsonProtocol\ trait providing a convenient way to import these capabilities alongside standard JSON protocols.

_optimus/platform/projects/spray\json/src/main/scala/optimus/config/spray/json/utils · high confidence

Build-time OpenAPI spec generation for REST apps

Added \OpenApiSpecBuilder\ and its command-line interface to the REST build tool, enabling the automatic generation of OpenAPI specification files during the build process. This new capability starts the REST application in a lightweight mode, fetches the API documentation from the configured endpoint (defaulting to \/v3/api-docs\), and writes the resulting spec to a specified output file, ensuring that accurate API definitions are available at build time without requiring manual intervention.

optimus/buildtool/projects/rest · high confidence

Debugger introduces serialization models with backward-compatible type handling

The debugger project now includes data models for serializing debugging context: \OptimusCutPoint\ captures method details for restarting nodes, and \StackElemData\ represents stack frame information. To ensure compatibility between older IDE plugins and newer debugged code, \StackElemData\ includes a custom deserializer that maps unrecognized stack element types to an 'unknown' value rather than failing, allowing the debugger to gracefully handle future extensions to the stack element type enumeration.

optimus/platform/projects/debugger · high confidence

Export of msjava base utility libraries and interfaces

This change exports the msjava base library components, including utility classes for reading library versions from JAR manifests, handling I/O operations, and capturing stack traces. It also introduces a comprehensive set of interfaces and implementations for the MSAdmin command system, covering command registration, aliasing, and listener notifications. Additionally, the export includes foundational interfaces for an event publication system (supporting event tracking, rejection handling, and publisher building), a DNS name service interface, JMX MBean server awareness interfaces, and a metrics framework defining counters, gauges, meters, and throughput monitors.

optimus/platform/projects/oss-utils/shadow/msjava · high confidence

Initial OSS export of Optimus platform annotations

This change introduces the \optimus/platform/projects/annotations\ module to the open-source repository, exporting the core annotation definitions used by the Optimus platform. The diff adds Java annotation interfaces for entity modeling and graph execution, including \@entity\, \@stored\, \@node\, \@loom\, \@event\, \@indexed\, \@embeddable\, and \@scenarioIndependent\. It also includes annotations for distributed test caching (\@DTCNoCaching\, \@DTCNoDynamicInstrumentation\, \@SubOptimalTesting\) and internal platform markers (\@\_intern\, \@compiler\). Additionally, the existing Scala annotation definitions in \UserAnnotations.scala\ and \StagingAnnotation.scala\ are updated to align with these exports, such as adding \@compileTimeOnly\ guards to the \staged\ object and updating documentation links.

optimus/platform/projects/annotations · high confidence

Initial import of OptimusBuildTool core components and configuration

This change introduces the foundational source files for the OptimusBuildTool (OBT) application, including the main entry point, command-line argument parsing, and build orchestration logic. It adds the \OptimusBuildTool\ object and \OptimusBuildToolImpl\ class to handle the build lifecycle, logging, and error reporting, alongside \OptimusBuildToolCmdLine\ for defining build options like workspace and output directories. The import also includes the \ScopeSelector\ for determining which compilation scopes to build, \IncrementalMode\ configuration for Zinc compiler behavior, and the \Mischief\ module which allows for non-runtime compilation modifications via a \mischief.obt\ configuration file. Additionally, it brings in the \BuildInstrumentation\ trait and its \NoBuildInstrumentation\ implementation, the \ScopedCompilationFactory\ interfaces, and the \ArtifactId\ and \ArtifactTypes\ definitions that establish the logical identity and types of build artifacts.

optimus/buildtool/projects · high confidence

Initial release of the Breadcrumbs distributed tracing library

The Breadcrumbs module has been introduced to provide distributed tracing capabilities across the Optimus platform. This release adds the core infrastructure for capturing and transmitting 'crumbs' (trace events), including the \Breadcrumbs\ singleton for managing the event queue and publishing logic, \ChainedID\ for tracking nested and scoped execution contexts, and a rich \Crumb\ data model with support for string and JSON properties. It also includes Kafka integration via \EncryptionStringSerializer\ for secure data transmission, configurable breadcrumb levels (Trace through Error), and routing hints for long-term retention, alerts, and diagnostics. Additionally, the module provides test utilities like \CrumbCounter\ and \ObservableBreadcrumb\ to facilitate unit testing of tracing behavior.

optimus/platform/projects/breadcrumbs · high confidence

Introduce DAL environment infrastructure and service discovery components

This change adds the foundational infrastructure for the DAL (Data Access Layer) environment, including new Scala source files that define core configuration types (DalEnv, DalZoneId, HostPort), URI scheme handling (DSIURIScheme), and runtime property constants. It introduces a ZooKeeper-based service discovery mechanism with AutomaticBrokerResolution to dynamically resolve DAL instances based on client location and zone, alongside a new PartitionMap system for managing event type-to-partition mappings and event reuse configurations. Additionally, it provides a WatchTower event publishing framework for monitoring and alerting, a ZooKeeper operations abstraction (ZkCuratorOperations) for low-level ZK interactions, and session-related utilities for handling jar paths and security contexts.

_optimus/platform/projects/dal\environment · high confidence

Introduce PriQL-based relational DAL implementation

This change adds a new relational Data Access Layer implementation built on the PriQL query language. It introduces core components including \DALProvider\ for query execution, \BitemporalSpaceResolverImpl\ for handling bitemporal entity data, and \DALQueryExtensions\ which expose new query capabilities such as sampling, full-text search, projected view-only execution, and transaction-time sorting. The update also includes persistence serializers for entities and events, and macros to facilitate type-safe entity conversions within the new query framework.

_optimus/platform/projects/priql\dal · high confidence

Introduce Stratosphere bootstrap utilities and launcher

The bootstrap module now includes core infrastructure classes to support the Stratosphere application. This adds a main launcher (Stratosphere.java) that handles environment detection, Java process execution, and error reporting. It introduces platform-specific utilities (OsSpecific.java) for handling OS differences, a Git process wrapper (GitProcess.java) for cross-platform command execution, and configuration helpers (FsCampus.java, IniFile.java, Messages.java) for managing workspace settings and user-facing messages. Additionally, it adds exception types (StratosphereException, RecoverableStratosphereException, StratosphereAbortException) and validation logic (SparseUtils.java) for sparse checkouts.

optimus/stratosphere/bootstrap/src/main/java/optimus/stratosphere/bootstrap · high confidence

Introduces new configuration and artifact data models for the build tool

This change adds a comprehensive set of new Scala case classes and traits to the \optimus/buildtool\ project, establishing the data structures for build configurations and analysis results. Key additions include \CppConfiguration\ and \CppToolchain\ for C++ build settings, \ElectronConfiguration\ and \NpmConfiguration\ for Node.js-based builds, and \DependencyDefinition\ for managing library dependencies. It also introduces \ConfigurableWarnings\ to handle compiler warning severity rules, \CodeReviewAnalysis\ for storing code review data, and various configuration models like \ArchiveConfiguration\, \CopyFilesConfiguration\, and \ForbiddenDependencyConfiguration\. These types serve as the foundational schema for the build tool's configuration system and artifact metadata.

optimus/buildtool/projects/format · high confidence

Introduction of PRIQL relational query framework

This change introduces the core components of the PRIQL relational query system, including the \Query\ and \QueryProvider\ traits that define standard operators (such as filter, map, join, and groupBy) and their execution logic. It adds \CompiledKey\, \MultiKey\, and \RelationKey\ implementations to handle entity identification and comparison, alongside \QueryConverter\ to support data sources like Iterables, CSV, Excel, and Namespaces. The update also includes Protocol Buffer definitions (\RelExpr.proto\, \ProviderSource.proto\) for serializing query expressions and type information, as well as supporting utilities like \DynamicObject\ and \StringValueFormatter\ to enable dynamic data handling and formatting within the query pipeline.

optimus/platform/projects/priql · high confidence

Introduction of centralized version management and script template configuration support

The build system now includes a new \Versions\ object that reads \jemalloc\ and \googlePerfTools\ version strings from \versions.properties\ at compile time, centralizing dependency version management. Additionally, a new \ScriptTemplatesSupport\ plugin has been added to the run configuration system, enabling users to define and manage custom script templates, custom variables, and base directories through structured configuration properties.

optimus/buildtool/projects/core/src/main/scala/optimus/buildtool, optimus/buildtool/projects/runconf/src/main/scala/optimus/buildtool/runconf/compile/plugins/scriptTemplates · high confidence

New Bitbucket integration utilities for pull request and repository management

This change introduces a new set of Scala utilities in the \bitbucket-utils\ project to interact with Bitbucket Server (Stash). It includes a \BitBucket\ client class for performing REST API operations such as retrieving pull request data, updating descriptions, managing comments and tasks, and querying commits and file changes. The package also provides URL builders for both API endpoints (\BitBucketApiUrls\) and web UI pages (\BitbucketUrls\), data models for pull requests and activities (\Model.scala\), a recursive paged query helper (\RecursiveQuerier\), build state enumerations (\BitBucketBuildStates\), and utility functions for URL encoding and merge commit parsing.

optimus/platform/projects/bitbucket-utils · high confidence

New DHT client API interfaces and builder introduced

This change introduces the core API surface for the new DHT client (client3) in the \optimus/dht/projects/client3\ module. It adds the \DHTClient\ interface for core operations, the \DHTClientBuilder\ for configuration (including ZooKeeper, SSL, and timeout settings), and the \KVClient\ interface for key-value operations (get, put, batch, streaming). Additionally, it defines supporting types such as \Key\, \KVEntry\, \KVValue\, \CallbackRegistry\, and a comprehensive set of exception classes (e.g., \DHTConnectionFailedException\, \DHTOperationTimeoutException\) to handle various failure modes.

optimus/dht/projects/client3, optimus/dht/projects/common3 · high confidence

New DHT client3 API and HTML test report generation

This release introduces the initial API layer for the DHT client3 module, including core classes for server connections, SSL settings, replication strategies, and a static registry observer for server discovery. Additionally, it adds a new HTML test report generation system within the build tool, featuring model classes for test results and a renderer that produces structured HTML and JUnit XML reports.

repository · high confidence

New Git diffstat analysis capability

Added a new \GitDiffStat\ component in the \git-utils\ module that parses git diffs to calculate aggregate statistics on lines and files added, removed, or modified. It also groups these changes by bundle (using path patterns like \auto-build-rules\ or \global\) to provide per-bundle impact metrics, enabling users to understand code change distribution across different project areas.

optimus/platform/projects/git-utils/src/main/scala/optimus/git/diffstat · high confidence

New MigrationManager for config-driven migration checks

A new MigrationManager class has been added to the bootstrap configuration module. It provides a static method, requiresForkMigration, which determines if a fork migration is needed based on the presence of a specific configuration path (internal.history-truncation.codetree-archive-url) and the execution of catchup or forkSync commands.

optimus/stratosphere/bootstrap/src/main/java/optimus/stratosphere/bootstrap/config/migration · high confidence

New Scala macro utilities for logging, timing, and code generation

The core\_macro module introduces several new Scala macro-based utilities. A new Logger class provides an SLF4J-compatible logging interface that uses macros to evaluate message arguments only when the corresponding log level is enabled, significantly reducing runtime overhead for disabled logs. AdvancedUtilsMacros adds macro-based timing capabilities, allowing developers to measure execution latency with configurable info and warn thresholds. Additionally, CaseObjectExtractor provides a macro to automatically map case objects to a map based on a field extractor, and MacroUtils expands the toolkit with helpers for source location capture, tree duplication, and safe code splicing.

_optimus/platform/projects/core\macro · high confidence

New Stratosphere common library and tooling infrastructure

This change introduces the \optimus.stratosphere.common\ module, providing foundational utilities for the Stratosphere platform. It includes a \Namer\ macro for automatic string naming, a \CatchUp\ system for synchronizing local Git repositories with remote branches, and a \BitbucketApiRestClient\ for interacting with Bitbucket repositories. Additionally, it adds an \ArtifactoryToolInstaller\ for managing tool installations and credentials, alongside directory structure definitions for workspace and IntelliJ client management.

optimus/stratosphere/common · high confidence

New Stratosphere configuration and channel selection logic

The bootstrap module now includes new configuration classes to manage Stratosphere settings and channel selection. A new \SingleResourceClassLoader\ restricts resource loading to a single URL per name, ensuring deterministic resource resolution. \StratosphereChannelsConfig\ introduces logic to select active channels based on user-specific lists, auto-inclusion rules, and collision detection, while \StratosphereConfig\ handles the hierarchical loading of workspace, repository, and user configuration files, supporting environment variable overrides for infrastructure and build tool paths.

optimus/stratosphere/bootstrap/src/main/java/optimus/stratosphere/bootstrap/config · high confidence

New instrumentation agent for runtime class monitoring and dependency discovery

The entityagent module now includes a comprehensive Java agent (EntityAgent) that uses bytecode instrumentation to monitor class usage, track dependencies, and enable features like test caching. Key components include ClassMonitorInjector for tracking class and resource dependencies, CollectionInjector for tracing Scala collection usage, and JndiDefanger to neutralize JNDI lookup methods for security. The agent also provides diagnostic tools like BiopsyLab for capturing and inspecting transformed bytecode, and supports various transformation modes such as hot code replacement, chaos engineering, and node task tracing.

optimus/platform/projects/entityagent · high confidence

New instrumentation diagnostics, sampling, and logging infrastructure

The instrumentation module now includes a comprehensive set of new components for system diagnostics and performance profiling. This adds a configurable logging framework with three distinct modes (logtofile, polite, taciturn) to control output destinations and verbosity. It introduces a sampling provider mechanism to register graph diagnostics samplers and a robust HTTP client utility (HttpClientOIDC) that handles Kerberos authentication and connection pooling. The update also brings in ZooKeeper client utilities for parsing node data, a testable clock system for synchronized time tracking, and a defensive wrapper around the OperatingSystemMXBean to prevent initialization crashes in containerized environments. Furthermore, it establishes the core interfaces and integration layers for async-profiler, including stack management, event observation registries, and columnar sample builders, enabling detailed CPU and wait-state profiling.

optimus/platform/projects/instrumentation · high confidence

New platform annotations, Excel interop support, and grid profiler UI

This update introduces several new capabilities and internal structures to the core platform. It adds a suite of Java annotations to control entity export behavior, including \@xFunc\ and \@xArg\ for configuring Excel and JavaScript function generation (with options for auto-fill, async execution, and argument validation), \@defaultsProvider\ for handling invalid handles, and \@exported\ for restricting invocation sources. It also introduces the \AutoFillStart\ enum and \xlfAutoFill\ annotation to define auto-fill direction for Excel functions. Additionally, it adds a new Grid Profiler UI, comprising HTML, CSS, and JavaScript resources, to visualize performance metrics, hotspots, and runtime violations, alongside supporting metadata files (\entity.json\, \stored.json\, \embeddable.json\) and service provider configurations for diagnostics.

optimus/platform/projects/core · high confidence

New profiler diagnostics, analysis tools, and debugger UI components

This update introduces several new capabilities within the platform profiler. It adds a debugger UI layer with a \DebuggerViewModel\ and \GraphBrowserAPI\ to visualize node reviews, tweak diffs (extra, missing, mismatched), and temporal entity information. It also includes new command-line analysis tools: \CacheAnalysisTool\ for comparing regression runs to generate CSV/HTML reports on cache and performance metrics, \ConfigMetricsDiff\ for analyzing the impact of configuration changes on metrics like wall time and cache hits, and \CycleAnalysisApp\ for evaluating PGO decisions based on cycle data. Additionally, example entities (\AnalyzeEntity\, \XSFTDistEntity\) and configuration support (\StaticConfig\) are added to facilitate testing and integration.

_optimus/platform/projects/platform\profiler · high confidence

New utility classes and Scala libraries added to the utils project

This change introduces a broad set of new utility classes and libraries to the \optimus/platform/projects/utils\ module. Key additions include Java utilities for process exit codes, system finalization, and timezone parsing (including JSR310 short ID compatibility), as well as a custom Netty-based ZooKeeper client socket. It also adds Scala libraries for SLF4J logging, command-line argument parsing via \BasicApp\, cloud environment detection, and a comprehensive encryption framework supporting AES, RSA, and X25519-AES schemes. Additionally, new classes for color definitions, legacy number comparison, and millisecond/microsecond precision time handling are included.

optimus/platform/projects/utils · high confidence

New utility classes for collections, I/O, and networking in silverking\_utils

This change introduces a suite of new utility classes to the silverking\_utils library, expanding the available tooling for developers. It adds collection helpers including tuple types (Pair, Triple, Quadruple) with parsing and sorting support, a HashedSetMap for key-to-set mappings, and general collection utilities for string conversion and set operations. It also provides new I/O utilities for file and stream handling, including line parsing, map/set parsing from streams, and efficient byte reading, alongside networking helpers for IP address manipulation and a time utility for system and timer-driven time sources.

_optimus/silverking/projects/silverking\utils · high confidence

Platform adds new internal components and factory implementations

This change introduces several new components to the platform: an async logging dispatcher implementation (AsyncDispatcherQueueImplPatch) with diagnostic and metrics support; KTCP and SKTCP DSI factory implementations for data access layer connectivity, including secure transport handling for SKTCP; a data access retention rule model and trait for entity lifecycle management; helper utilities for auxiliary scheduler execution and job tweak extraction; and diagnostic tools including a sampling profiler switch and dependency tracker temporal context. These additions extend the platform's capabilities for asynchronous logging, data access abstraction, retention management, and runtime diagnostics.

optimus/platform/projects/platform · high confidence

Behavioural changes

Added Scala 2.12 and 2.13 compatibility shims for collections and REPL

The \scala\_compat\ module now includes version-specific source directories for Scala 2.12 and 2.13, providing compatibility shims that allow the platform to support both versions. These changes introduce abstract base classes for collections (such as \AbstractBuildFrom\, \AbstractBuilder\, and various Map implementations), Java-based workarounds for collection builder access (\BuilderProvider\), and a unified Scala REPL implementation (\ScalaInterpreter\) with test utilities. This enables the codebase to use a consistent API for collection operations and interpreter interactions regardless of the underlying Scala version.

_optimus/platform/projects/scala\compat · high confidence

Compiler plugin refactoring and new diagnostic capabilities

The compiler plugin in the alarms project has been significantly refactored to support Scala 2.13 compatibility and introduce new static analysis features. A new lightweight profiler has been added to report compilation times exceeding a configurable threshold, helping users identify slow type-checking operations. The alarm system has been restructured to remove mandatory alarm suppression and simplify registration, while new annotations (\@deprecating\, \@deprecatingNew\, \@discouraged\) provide standardized ways to mark deprecated or discouraged code. Several compiler phases have been renamed or reorganized (e.g., \optimus\_dal\_refchecks\, \optimus\_location\_tag\), and new rewrite options have been enabled for modernizing Scala code (such as \rewriteNilaryInfix\, \rewritePostfix\, and \procedureSyntax\). Additionally, handler alarms have been tightened, with some warnings promoted to errors, and support for \@nowarn\ suppression has been improved.

optimus/platform/projects/alarms · high confidence

Expanded compiler plugin rewrite options and new coding standards checks

The Optimus staging compiler plugin now supports a significantly larger set of automatic code rewrites and stricter coding standards. New rewrite capabilities include handling \breakOut\ operations (including async variants), converting \to\ calls, widening \Map\ concatenations, rewriting nilary infix methods, handling \Unit\ companions, deprecating \anyFormatted\ and \any2StringAdd\, enforcing final case classes, and managing \unsorted\ collections. Additionally, the plugin introduces new checks for discouraged constructs (such as lazy collections and specific deprecated API usages), flags non-final inner case classes, warns against using \scala.App\, and prohibits wildcard imports from \scala.collection\. The previous \ForwardingComponent\ has been removed and replaced by \PostTyperCodingStandardsComponent\ and \GeneralAPICheckComponent\ to handle these expanded responsibilities.

optimus/platform/projects/stagingplugin/src/main/scala/optimus/tools/scalacplugins/entity · high confidence

JSON parser now merges duplicate object keys and exposes extensibility hooks

The JSON parser in the Optimus platform has been modified to handle duplicate keys in JSON objects by merging their fields instead of silently dropping later values, ensuring that no data is lost during parsing. Additionally, the parser class now exposes protected methods (such as \enteringField\, \exitingField\, and \valueExtension\) and makes several internal helper methods protected, allowing subclasses to intercept parsing events and extend value handling logic. The error message URL for parsing exceptions has also been updated to point to the new documentation site.

_optimus/platform/projects/spray\json/src/main/scala/optimus/config/spray/json · high confidence

New OBT project definitions and build configurations

This change introduces new build definitions for several internal modules, establishing their dependencies and build scopes. The buildtool core, format, htmlreport, rest, and runconf modules are defined with their respective compile libraries and module dependencies. Additionally, new project definitions are added for the DHT client3, common3, and digest modules, as well as the GSF breadcrumbs module, specifying their Java release versions, compile/runtime modules, and test dependencies.

optimus/buildtool · high confidence

Platform build configuration migrated to OBT

The Optimus platform build system has been migrated to the OBT build tool. This change introduces a set of new \.obt\ configuration files for core platform modules (including alarms, annotations, breadcrumbs, collections, core, core\_config, core\_macro, dal\_client, dal\_core, dal\_environment, debugger, entityplugin, git-utils, inputs, instrumentation, msnet-ssl, oss-utils, platform, and platform\_profiler). These files define the build settings, module dependencies, and library requirements for each project, establishing the new build structure for the platform.

optimus/platform · high confidence

Refactored Scala compiler plugin rewrite infrastructure and expanded transformation rules

The staging plugin's code rewrite engine has been refactored to improve reliability and support additional migration rules. The \Patches\ class now explicitly requires a physical file path for output, replacing the previous implicit resolution logic that attempted to extract paths from virtual source files; this change also adds validation to ensure generated source files do not attempt to write to non-existent disk locations. Internally, the rewrite system now uses a shared \RewriteState\ object to manage patches, eliminated \breakOut\ usages, and new imports across all transformations, rather than passing mutable patch collections individually to each rewriter. Additionally, several new code transformations have been enabled by default, including rewriting \breakOut\ operations to iterator-based alternatives, handling async breakouts, converting nilary infix methods to dot-notation, enforcing auto-application for zero-argument methods, and migrating \AnyFormatted\ and \Any2StringAdd\ patterns. The overlap detection for patches has also been strengthened to provide more detailed error messages indicating the specific code locations involved.

optimus/platform/projects/stagingplugin/src/main/scala/optimus/tools/scalacplugins/entity/rewrite · high confidence

Staging plugin annotation adds full-text search and mono-temporal support

The EntityMetaDataAnnotation in the staging plugin now includes default values for all existing boolean and integer fields and introduces two new boolean attributes: fullTextSearch and monoTemporal. This change allows entities to be explicitly marked as supporting full-text search and mono-temporal behavior, with the corresponding metadata name constants also added to the annotation definition.

optimus/platform/projects/stagingplugin/src/main/scala/optimus/platform/annotations · high confidence

Support for metadata classification and PII element tracking

The staging plugin now recognizes a new 'meta' class type (flagIsMeta) alongside entities, embeddables, and events, allowing metadata models to be stored in a dedicated meta.json file. ClassMetaData instances now expose cataloging information (owner, catalog class, controls, description, upstream dataset) for meta classes and track PII elements for entities and embeddables, enabling downstream systems to identify data subjects and governance attributes directly from the metadata.

optimus/platform/projects/stagingplugin/src/main/scala/optimus/platform/metadatas · high confidence

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

How this codebase got here

Score

  • CAI 42 → 47 (+4.3)
  • Rubric changed (rubric-2026.09.15 → rubric-2026.10.1) — scores are not directly comparable.

Lenses

  • Code Health 98 → 51 (-47.1)
  • Architecture 97 → 88 (-9.0)
  • Maturity 43 → 49 (+5.8)
  • Readiness 24 → 36 (+11.7)
  • Security 60 → 60 (+0.0)
  • Domain Modelling 100 (new)
  • Accessibility 68 → 68 (+0.0)
  • Performance 82 (new)

Resolved (1)

  • Duplicated block (20 lines × 5) (optimus/silverking/projects/silverking/src/main/java/com/ms/silverking/cloud/dht/client/NamespaceCreationException.java)

New (1342)

  • AI.to$newNode (cognitive 23) (optimus/platform/projects/core/src/main/scala/optimus/graph/AsyncIterator.scala)
  • AI.to$newNode (cyclomatic 24) (optimus/platform/projects/core/src/main/scala/optimus/graph/AsyncIterator.scala)
  • ASMGeneratorUtils.convert (cognitive 20) (optimus/platform/projects/priql/src/main/scala/optimus/platform/relational/asm/ASMGeneratorUtils.scala)
  • ASMProxyGenerator.defineGetters (cognitive 19) (optimus/platform/projects/priql/src/main/scala/optimus/platform/relational/asm/ASMProxyGenerator.scala)
  • AbstractAPICheck.visit (cyclomatic 17) (optimus/platform/projects/stagingplugin/src/main/scala/optimus/tools/scalacplugins/entity/GeneralAPICheckComponent.scala)
  • AbstractBitemporalSpace.unsafeMultipleUpdate (cognitive 64) (optimus/platform/projects/dal_core/src/main/scala/optimus/platform/bitemporal/BitemporalSpaceImpl.scala)
  • AbstractBitemporalSpace.unsafeMultipleUpdate (cyclomatic 55) (optimus/platform/projects/dal_core/src/main/scala/optimus/platform/bitemporal/BitemporalSpaceImpl.scala)
  • AbstractImageBuilder.analyzeDependencies (cognitive 16) (optimus/buildtool/projects/app/src/main/scala/optimus/buildtool/oci/ImageBuilder.scala)
  • AbstractImageBuilder.processPath (cognitive 19) (optimus/buildtool/projects/app/src/main/scala/optimus/buildtool/oci/ImageBuilder.scala)
  • AbstractImageBuilder.processPath (cyclomatic 16) (optimus/buildtool/projects/app/src/main/scala/optimus/buildtool/oci/ImageBuilder.scala)
  • AbstractPersistBlock.closeAndCreateAsserts (cognitive 21) (optimus/platform/projects/dal_client/src/main/scala/optimus/platform/dal/PersistBlock.scala)
  • AbstractPersistBlock.closeAndCreateAsserts (cyclomatic 33) (optimus/platform/projects/dal_client/src/main/scala/optimus/platform/dal/PersistBlock.scala)
  • AbstractSegment.getResolvedOffset (cognitive 28) (optimus/silverking/projects/silverking/src/main/java/com/ms/silverking/cloud/dht/daemon/storage/AbstractSegment.java)
  • AbstractSegment.retrieve (cognitive 74) (optimus/silverking/projects/silverking/src/main/java/com/ms/silverking/cloud/dht/daemon/storage/AbstractSegment.java)
  • AbstractSegment.retrieve (cyclomatic 34) (optimus/silverking/projects/silverking/src/main/java/com/ms/silverking/cloud/dht/daemon/storage/AbstractSegment.java)
  • ActiveClientOperationTable.checkOpForTimeouts (cognitive 34) (optimus/silverking/projects/silverking/src/main/java/com/ms/silverking/cloud/dht/client/impl/ActiveClientOperationTable.java)
  • ActivePutListeners.currentPutSet (cognitive 16) (optimus/silverking/projects/silverking/src/main/java/com/ms/silverking/cloud/dht/client/impl/ActivePutListeners.java)
  • ActivePutListeners.receivedPutResponse (cognitive 35) (optimus/silverking/projects/silverking/src/main/java/com/ms/silverking/cloud/dht/client/impl/ActivePutListeners.java)
  • ActiveRetrievalListeners.currentRetrievalSet (cognitive 28) (optimus/silverking/projects/silverking/src/main/java/com/ms/silverking/cloud/dht/client/impl/ActiveRetrievalListeners.java)
  • ActiveRetrievalListeners.receivedRetrievalResponse (cognitive 62) (optimus/silverking/projects/silverking/src/main/java/com/ms/silverking/cloud/dht/client/impl/ActiveRetrievalListeners.java)
  • …and 1322 more

Architecture

  • Unchanged — 0 containers · 1 contexts · 0 edges

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

Survey your own repository

morganstanley/optimus-cirrus 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 October 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit ed0aab2e33e9d6a4a1504d2cdfbb3cc0ac8530d8 — the exact code this score is about.
  • Scored under rubric-2026.10.1 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-1f9c535fa862.