bunderlog

The story

A Law for the Monkey-People

In Kipling’s Jungle Book every animal lives by the Law of the Jungle, except the Bandar-log. The monkeys chatter, borrow words, promise great things and forget them by evening. Anyone who has worked with an AI assistant for a week has met them.

The Bandar-log

Here we sit in a branchy row,
Thinking of beautiful things we know;
Dreaming of deeds that we mean to do,
All complete, in a minute or two—
Something noble and wise and good,
Done by merely wishing we could.
We’ve forgotten, but—never mind,
Brother, thy tail hangs down behind!

Rudyard Kipling, Road-Song of the Bandar-Log, The Jungle Book, 1894

The monkeys carry Mowgli off to the Cold Lairs, a city of ruined palaces lost in the jungle. They shout that they are great, free and wonderful, the most wonderful people in all the jungle: “We all say so, and so it must be true.” They want Mowgli to teach them to weave sticks into a shelter. He starts, they copy him for a few minutes, and then they lose interest and pull each other’s tails.

A coding session without a memory goes the same way. The assistant repeats what it overheard, agrees with whatever was said last, promises the whole feature in a minute or two, and the next session starts from nothing. The decisions you reached together live in a chat log no one will read again.

The name bunderlog is on us, not on the AI. Every team that works this way is a troop of Bandar-log. The tools give the troop what Kipling says it lacked: a Law, a memory, and someone who keeps both.

Baloo, who teaches the Law

It was Baloo who told him, when the boy grew impatient at the constant orders, that the Law was like the Giant Creeper, because it dropped across every one’s back and no one could escape.

Rudyard Kipling, How Fear Came, The Second Jungle Book, 1895

Baloo is the sleepy brown bear who teaches the wolf cubs the Law, and the only outsider allowed at the Pack Council. He is strict because he cares: “Better he should be bruised from head to foot by me who love him than that he should come to harm through ignorance.” He also knows his limits. The Snake Word he could not pronounce, so he begged it from Hathi.

Kipling’s Law “never orders anything without a reason”. The Baloo plugin keeps a project’s Law the same way: every decision is an ADR that says why, every term is in the glossary with the words to avoid, every requirement has criteria a test can check, and whatever is still open waits in the inbox instead of in someone’s memory. When a session opens, the whole index is there before the first prompt.

Bagheera, whom nobody crosses

Everybody knew Bagheera, and nobody cared to cross his path; for he was as cunning as Tabaqui, as bold as the wild buffalo, and as reckless as the wounded elephant. But he had a voice as soft as wild honey dripping from a tree, and a skin softer than down.

Rudyard Kipling, Mowgli’s Brothers, The Jungle Book, 1894

When the Pack argues over the man-cub, Bagheera pays for his life with a freshly killed bull. From then on he watches over Mowgli, and when the monkeys carry the boy off, Bagheera is the first up the slope of the Cold Lairs to fight for him.

The Bagheera plugin watches over each person’s sessions, in every project and in the home folder too. It refuses to let Claude read an .env file or print a token, and it refuses git commit --no-verify. It refuses softly: every refusal says what it stopped and how you can do it yourself if you really mean to. It also shows what a session costs and, when the session ends, proposes what you settled but did not write down.

Hathi, Warden of the Water Truce

By the Law of the Jungle it is death to kill at the drinking-places when once the Water Truce has been declared. The reason of this is that drinking comes before eating.

Rudyard Kipling, How Fear Came, The Second Jungle Book, 1895

In a drought the river shrinks to one pool. Hathi, the wild elephant “who lives for a hundred years and more”, sees the Peace Rock rise out of the water and proclaims the Truce. Tiger and deer drink side by side, and Hathi stands upstream to see that everyone keeps it. He is also the one who knows the Master Words.

A repository’s watering hole is the commit. Every change has to pass through it, whoever made it: a person in a terminal, Claude in a session, someone in GitHub’s web editor. Hathi stands there and applies the same law to all of them, in the Git hook and again in CI. It needs no Claude and no plugin to do it.

Louie, the king Kipling never wrote

This time, they said, they were really going to have a leader and become the wisest people in the jungle.

Rudyard Kipling, Kaa’s Hunting, The Jungle Book, 1894

Kipling is clear that the Bandar-log “are without leaders”. In the Cold Lairs they sit in the king’s council chamber and pretend to be men, but “they never knew what the buildings were made for nor how to use them.” There is no king of the monkeys anywhere in the book. King Louie, the orangutan who sings that he wants to be like you, was invented for Disney’s film in 1967.

We kept the name anyway, because it fits the one gap Kipling left. Our Louie is the leader the monkeys kept promising themselves: one who actually builds. He reads the agreed task, makes a plan and asks the questions only you can answer. Then he builds in his own worktree, checks the work against the project’s Law before anyone sees it, and opens a pull request for review.

Why “bunderlog”

बंदर लोग, bandar log, is Hindi for “monkey people”: बंदर is a monkey and लोग are people. Kipling spelled it Bandar-log. We spell it the way an English speaker says it, and keep the ending, because a log is also what Git keeps of every change.

The Law Kipling wrote down in verse ends every argument about whether rules are worth the trouble:

Now this is the Law of the Jungle—as old and as true as the sky;
And the Wolf that shall keep it may prosper, but the Wolf that shall break it must die.

Rudyard Kipling, The Law of the Jungle, The Second Jungle Book, 1895

Give your project a Law Read the documentation