Shaaf's blog

A technical blog about Java, Kubernetes and things that matter

Enforcing Architecture with rgctl Policy Checks

Automated guardrails that fail your build before bad coupling ships

rgctl policy checks let you define architectural constraints as JSON and enforce them in CI. This post walks through the CoolStore WebLogic monolith as a worked example -- policy file format, violation types, blast-radius gates, and a working GitHub Actions workflow.

Introducing rgctl: A Code Knowledge Graph for Engineering Teams and Agents

Index once, query many times — structural facts instead of confident guesses

rgctl turns any repository into a queryable knowledge graph with pre-computed reachability, blast radius, program slicing, taint analysis, and community detection. Built in Rust for speed, designed for LLM agents and humans alike.

Decomposing a Monolith into Microservices with Call Graph Analysis

Finding service boundaries with community detection and blast radius

A concrete decomposition of a Java EE monolith into microservices using rgctl's community detection, blast radius analysis, and CPG field mutation tracking to identify natural service boundaries and quantify coupling at each cut.