Articles in the Programming category

  1. Migrating from WORKSPACE to Bzlmod Without Making Your Build Weird

    Posted on in Programming

    Bazel's old WORKSPACE model had a long run. It was powerful, familiar, and occasionally the place where every build-system shortcut in the company went to hide. But the center of gravity has moved. Bazel 8 disabled WORKSPACE by default, Bazel 9 removed support, and the modern dependency story is MODULE …

  2. Bazel 9.1.0: What Changed and How to Think About the Upgrade

    Posted on in Programming

    Bazel 9.1.0 is not the kind of release that should make an engineering team drop everything and schedule a build-system migration party. It is a minor LTS release in the Bazel 9 line, published on April 20, 2026, and most of the changes are incremental. That is good …

  3. Bazel 8.0.0: What Changed and How to Upgrade Without Surprises

    Posted on in Programming

    Bazel 8.0.0 was not just another build-tool release. It was the release where Bazel stopped politely suggesting that teams should modernize their dependency management and started making the new world harder to ignore.

    The headline changes were Bzlmod becoming the default, WORKSPACE being disabled by default, and more …

  4. Building a Full-Stack LangChain Prototype for Natural Language Developer Queries

    Posted on in Programming

    Natural language developer queries sound like a toy until you watch someone spend ten minutes answering a question the platform already knows:

    • "Who owns the checkout service?"
    • "Where is the Terraform for staging Redis?"
    • "What changed before the payments incident?"
    • "Which services still point at the old Kafka cluster?"
    • "Where …
  5. Explaining Bazel Build Failures with OpenAI: Automating Log Summarization

    Posted on in programming

    Bazel is fast, reproducible, and battle-tested at scale — but when something breaks, good luck deciphering its logs. Between action cache messages, output groups, and 500-line stack traces, figuring out why a build failed often feels like solving a riddle wrapped in a C++ binary.

    In this article, we’ll build …

  6. Building an AI-Powered Pre-Push Policy Validator with OpenAI

    Posted on in programming

    Pre-push hooks are your last line of defense before questionable code hits the remote repo. Traditionally, they’re used to enforce tests or linting, but they can be brittle and overly rigid. What if, instead, your push triggered a context-aware AI that reviewed your code against team policies, security best …

  7. Post-Merge Git Hook: Summarizing Changes with OpenAI

    Posted on in programming

    Merges often bring in massive changes — sometimes dozens of commits and hundreds of lines of code — and the first thing developers ask is: “What just happened?”

    Wouldn’t it be great if Git could summarize what a merge brought in, in plain English, right after you run git pull or …

  8. Auto-Generating Changelogs with Git Hooks and OpenAI

    Posted on in programming

    Keeping changelogs up to date is one of those development chores that everyone agrees is important… and everyone forgets to do. Manual changelog curation often falls behind or gets skipped entirely. But what if your Git workflow could automatically generate changelog entries, summarize diffs intelligently, and update your CHANGELOG.md …

  9. Creating a Downloadable Git Hook Template Repo for Your AI-Powered CLI

    Posted on in programming

    Now that you’ve got a fully functional, Python-powered Git hook CLI backed by OpenAI, the next step is sharing it — the right way. A downloadable GitHub repo template helps your teammates (or the open-source world) clone, customize, and integrate the tooling into their own workflows with minimal friction.

    In …

  10. Packaging Your AI-Powered Git Hook as a Python CLI Tool

    Posted on in programming

    Building a local Git hook with Python is great, but if you want others on your team (or across multiple repos) to use it, you’ll want to package it as a reusable command-line tool. In this article, we’ll turn our AI-powered Git hook into a proper Python CLI …

  11. Beyond Bash: Writing Intelligent Git Hooks with Python and LLMs

    Posted on in programming

    Git hooks are one of the most powerful — and most underutilized — features in the Git ecosystem. They allow you to automate actions at key points in your Git workflow: before committing, before pushing, after merging, and more. Traditionally, these hooks are implemented using shell scripts, but that’s limiting in …

  12. Building Your Own Git Assistant with OpenAI and Python

    Posted on in programming

    GitHub Copilot is impressive, but what if you could build your own AI-powered Git assistant tailored to your workflow? In this article, we’ll walk step-by-step through building a command-line Git assistant using Python and OpenAI’s API. It will explain diffs, write commit messages, generate .gitignore files, and even …

  13. Git Rebase vs. Merge: A Deep Dive into Git Internals

    Posted on in programming

    If you’ve ever participated in a heated pull request debate, you’ve probably encountered the age-old dilemma: Should we rebase or merge? While this question often sparks opinions based on team culture or aesthetics, there’s a more technical layer that rarely gets discussed — what’s really happening inside …

  14. The Evolution of Source Code Management: From SVN to AI-Powered Git

    Posted on in programming

    Source Code Management (SCM) has evolved dramatically over the past few decades. What started as simple file versioning systems has transformed into sophisticated platforms integrating AI-driven automation, security, and collaboration features. From the days of CVS and SVN to the dominance of Git and the rise of AI-powered development, this …

Slaptijack's Koding Kraken