proomt

Search

Search posts, papers, and topics

All posts

Federico Tomassetti9 min readintermediate

Codebase Blueprint: it all started with Legacy Codebases

Summary

This article introduces Codebase Blueprint, a static analysis tool designed to quickly understand complex legacy codebases for migration planning. It provides insights into code structure, dependencies, and usage patterns across various languages like RPG, COBOL, and SQL, demonstrating its utility through a practical change request scenario.

  • Codebase Blueprint uses static analysis to map dependencies and identify constructs across diverse legacy languages (e.g., RPG, COBOL, SQL).
  • It helps identify 'migration indicators' and frequently used language features, aiding in prioritizing migration efforts.
  • The tool can group files into logical modules based on relationships, enabling phased migration and testing.
  • It supports tracing data flow (e.g., field usage) and visualizing program execution (sequence diagrams) to assess change impact.

This tool is highly relevant for engineers and consultants who need to rapidly comprehend, assess, and plan migrations for large, complex legacy systems written in multiple, often obscure, programming languages.

7/10

Related reading

  1. Using coding agents on a migration: Three practices that mattered

    Coding agents proved most effective for cleaning up temporary code and legacy configurations during a migration, rather than for initial code construction. This effectiveness stemmed from three specific practices: documenting cleanup needs upfront, co-locating rules with code and their enforcement, and actively managing instruction staleness.

    Temporaltemporal.io7 min
  2. Constraint Decay: The Fragility of LLM Agents in Backend Code Generation

    A systematic evaluation of LLM agents generating multi‑file backend code shows a sharp drop in correctness when structural constraints (framework conventions, ORM usage, API contracts) are added. Across 100 tasks in 8 Python web frameworks, assertion pass rates fall ~27 points, with data‑layer bugs (bad queries, ORM violations) driving most failures. Mid‑size models cope with minimal frameworks (…

    arXiv cs.SE (Software Engineering)arxiv.org1 minpaperHN287197
  3. Build anything: Supabase from code, and an MCP server for your app

    Supabase announced new tools for agent-driven development, including native local Supabase instances, declarative schemas, and config-as-code. They also introduced Supabase Compute for long-running services and app-specific MCP servers for user agents to interact with applications.

    Supabasesupabase.com4 min
  4. Article: Your Next DSL Author Is a Language Model

    Typed Domain Grounding (TDG) embeds a DSL inside a mainstream language the LLM already knows (e.g., Kotlin) and uses the host compiler as an oracle. The author describes five building blocks—embedding, choosing a host language with high training‑data frequency, compiler‑driven type safety, a generate‑compile‑repair loop, and an on‑demand teaching tool—and shows measured results from kUML, a Kotli…

    InfoQinfoq.com18 min
  5. Database Branching: A Developer's Guide to Git-Style Workflows

    Database branching uses copy‑on‑write to give developers, CI jobs, and AI agents isolated database snapshots without full copies. Branches share unchanged data, store only deltas, and are disposable, enabling production‑like testing, per‑PR isolation, safe experimentation, and rapid cleanup. Safe operation requires protecting parent branches, using mock data, TTLs, and treating migrations as the…

    Databricksdatabricks.com9 min
  6. Towards Self-Driving Codebases

    The post argues that AI agents could eventually handle low‑level engineering tasks—bug fixing, debugging, UI consistency, growth experiments—if the dev toolchain is made “agent‑legible”. It outlines missing primitives (global memory, code‑base rot prevention, better dev environments) and proposes a bootstrapping process to measure and improve a repo’s “agent readiness”. The piece is largely specu…

    Hacker News front pagedetail.dev9 minHN12099