Skip to content

akizner/software-entropy-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Entropy Framework

Measuring engineering organizations the way biologists measure cells — not output, but the rate at which order degrades.


TL;DR for Leadership
This framework measures the rate at which your engineering organization accumulates hidden disorder — not output volume.
It converts Git + JIRA exhaust into two practical signals:
Work provenance — How much work is sanctioned vs. self-generated (SWR / SWR+I)
Behavioral signature — Who is producing, catalyzing, or governing (PS / CS / CD)
Result: Early detection of the “metabolic plateau” before velocity collapses and repair capacity is overwhelmed.

What it measures:

The framework combines two lenses:

  • SWR / SWR+I asks: is this person's work externally directed or self-generated?
  • PS / CS / CD asks: how do they behave inside the system once work arrives?
========================================================================================
ENTROPY FRAMEWORK — ORG HEALTH SNAPSHOT
========================================================================================

Engineer                  SWR+I   Work Mode       PS     CS    CD   Reads As
----------------------------------------------------------------------------------------
Developer A                92%    DIRECTED      5,220  8,330  1.14  System Governor
Developer B                88%    DIRECTED        420  4,680  0.52  Selective Catalyst
Developer C                41%    SELF-DIRECTED 3,780    144  0.33  Production Engine
Developer D                27%    SELF-DIRECTED 2,940  1,560  0.28  High-Entropy Agent
Developer E                76%    MIXED            24  1,040  0.89  Depleting Catalyst

PS    = Production Signal  = commits x repos committed
CS    = Catalyst Signal    = reviews x repos reviewed
CD    = Catalyst Density   = inline comments / reviews
SWR+I = (Sanctioned + Inherited) / Total PRs
Mode  = SWR+I bands: DIRECTED >= 80%; MIXED = 50-79%; SELF-DIRECTED < 50%

Note: the CS line above reflects the bundled reference-tool output. The full framework formula adds cross-boundary weighting when repo ownership mapping exists.

This snapshot answers the first question immediately: who is shipping, who is governing quality, who is self-directing work, and where entropy is likely accumulating.

Why these labels appear

Archetype Decoder (from tool output)
The combination of PS, CS, and CD produces recognizable organizational roles:

Archetype Signature Typical Risk / Value
System Governor High PS + High CS + High CD Rare; protects long-term health
Selective Catalyst Low PS + High CS + Moderate CD High leverage within domain
Production Engine High PS + Low CS Builds volume; needs governance guardrails
High-Entropy Agent High PS + Low CD High output, shallow reviews - entropy source
Depleting Catalyst Low PS + High CD Deep reviews but low production

Full catalog and deeper interpretations -> examples/archetypes.md

Next Steps: Implementing Mitophagy

The framework tells you where entropy is accumulating. The repair loops below are examples of how a governed organization might push memory, authority, and quality gates back into the work; they are not a single prescribed SDLC.

  • In many orgs, PR templates that capture intent help. They can make each meaningful change explain architectural intent, affected contracts, and whether any runbook or rule is now stale.
  • A Jira-based org may keep every commit path tied to a ticket trail. That preserves the authority chain that helps distinguish sanctioned work from self-directed entropy.
  • A governed team might add Human Codex gates to its SDLC. For example, it can make explicit who declares success, who bears consequences, who curates local context, and who calibrates trust in agentic output.
xychart-beta
    title "The Metabolic Plateau"
    x-axis [Early, Growth, Scale, Plateau, Strain, Break]
    y-axis "Relative Level" 0 --> 100
    line [68, 69, 69, 68, 66, 24]
    line [8, 14, 24, 40, 68, 96]
Loading

Interpretation: The flatter line represents what leadership typically sees (velocity / output). The steadily rising line is the hidden entropy (technical debt, tribal knowledge, architectural drift) that eventually overwhelms repair mechanisms. The sharp break is the moment the metabolic plateau ends and visible failure begins. The goal of mitophagy is to keep the entropy line from ever reaching that inflection point.

The Problem

Every engineering organization measures output. Velocity. Story points. Throughput. PRs merged. These metrics tell you how much ATP the cell produced. They tell you nothing about the free radical damage accumulating underneath.

A cell can produce normal energy for decades while its conversion machinery silently degrades. Biologists call this the metabolic plateau: everything looks stable until accumulated damage overwhelms repair capacity. Then the system fails, and nobody can explain why.

Engineering organizations have the same plateau. Sprints complete. Code ships. Velocity holds. Then one quarter it doesn't. The standard response is to pour in more energy — more engineers, more tools, more AI tokens. But fuel isn't the bottleneck. The conversion machinery is. Pouring more energy into degraded machinery produces more waste heat, not more work.

The Thesis

Stop measuring output. Start measuring the rate at which organizational order degrades.

Not "how much are we producing?" but "how much disorder are we accumulating while we produce?"

That's a different question. It leads to different metrics, different interventions, and a fundamentally different understanding of what engineering leadership is actually managing.

The Entropy Framework answers this question by mapping engineering organizations onto biological thermodynamic systems — not as metaphor, but as measurement architecture. The mapping is rigorous. Each biological primitive (mitochondria, free radicals, ATP recycling, mitophagy, DNA integrity, metabolic plateau) corresponds to a measurable organizational signal extracted from existing artifact data (Git, JIRA, PR reviews).

The Two Documents

This framework rests on two pillars that answer two different questions:

1. How do you measure organizational health? The thermodynamic model and its measurement layers. Developers are mitochondria — conversion units that take in energy and produce work. Some energy is always lost as waste heat. The framework measures conversion efficiency, free radical production, mutation classification, and catalytic potency — not from surveys or self-reports, but from the exhaust data that work naturally produces.

2. What must humans provide that agents cannot? The Human Codex. As agentic execution transfers implementation authority to AI, four things remain irreducibly human: declaring what counts as success, bearing consequences, curating organizational context, and calibrating trust. These are not bottlenecks to be reduced — they are the governor whose quality bounds system health.

Together: the Entropy Framework measures whether the system is healthy. The Human Codex ensures the repair mechanism — the governed SDLC — keeps functioning. Measurement without governance is diagnosis without treatment. Governance without measurement is treatment without diagnosis.

Framework Structure

entropy-framework/
|
+-- HUMAN-CODEX.md              The four pillars of irreducible human contribution
|
+-- framework/
|   +-- thermodynamic-model.md  The biological mapping and measurement layers
|   +-- metrics.md              Formulas, signals, and archetype classification
|   +-- intelligence-layer.md   Token-to-intelligence conversion measurement
|   +-- organizational-mitophagy.md   Self-improvement loops as repair mechanisms
|
+-- tools/
|   +-- README.md               How to run the extraction and analysis tools
|   +-- extract_github.py       GitHub commit, PR, and review data extraction
|   +-- extract_jira_swr.py     JIRA ticket origin and authority chain analysis
|   +-- analyze_archetypes.py   Developer archetype classification from extracted data
|
+-- examples/
|   +-- archetypes.md           Anonymized developer archetype profiles
|   +-- case-studies.md         Anonymized patterns and organizational signals

Core Concepts

Mitochondria = Developers. Conversion units that take input (tickets, specs, requirements) and produce output (shipped code). Never 100% efficient. The efficiency question is not "are developers working hard enough?" but "how much of their energy converts to useful work vs waste heat?"

Free Radicals = Byproducts of inefficient conversion. Bugs from rushed features. Technical debt from code that compiles but doesn't align with architecture. Tribal knowledge that exists only in one person's head. Each byproduct damages the system and creates more work downstream. The vicious cycle.

Mitophagy = The repair mechanism. The cell identifies damaged mitochondria, breaks them down, and rebuilds. The organizational equivalent: a governed development process that catches architectural drift, enforces contracts, feeds lessons back into the system. Not for productivity. For repair.

The Metabolic Plateau = The silent accumulation. Metabolism stays constant from age 20 to 60. The real decline only begins when accumulated damage overwhelms repair capacity. Organizations absorb entropy for years before symptoms appear. The telemetry is the blood test that detects damage before symptoms surface.

Catalysts = Non-linear contributors. People whose direct output (commits, lines of code) understates their contribution by orders of magnitude. One rule they write shapes 2,000 PRs. One contract template prevents an entire class of architectural drift. Traditional metrics see them as underperforming. The framework sees them as the system's metabolic regulators.

Measurement Principle

Instrument artifacts, not people.

The data already exists as a natural byproduct of work. Git commits, PR reviews, JIRA tickets, Slack conversations — these are exhaust, not testimony. Nobody changes how they write a PR because someone reads git history six months later. The data is already honest. You just need to read it.

Measure late, from artifacts, without announcing what you're measuring until the analysis is done. Classification over counting. Attribution chains over direct measurement. Comparative, not absolute. The moment you tell developers what you're tracking, they optimize for the metric instead of the work. The metric degrades. The measurement tool becomes the thing that damages what you're measuring.

Who This Is For

Engineering leaders who suspect their organization is accumulating disorder faster than it's repairing it — and want a measurement framework that makes the invisible visible.

Builders of agentic systems who need a governance model that keeps human judgment in the loop as AI capability increases.

Anyone who has watched velocity hold steady while the codebase silently rotted, and wondered: what should we have been measuring instead?


"We are a temporary, beautiful arrangement of atoms — a flame that persists by processing energy. Aging is the universe following its own honest rules. Organizations are the same. The honest rules apply. The question is whether you measure them or pretend they don't exist."

Scope

This repository contains the framework and measurement tools — the theory, the formulas, and the scripts that extract and classify data. It does not contain SDLC implementation artifacts (contract templates, plan formats, brief-to-task pipelines). The framework describes what mitophagy looks like; it does not prescribe a specific governed SDLC to implement it. That's intentional — the repair mechanism must be adapted to each organization's existing processes.

Some metrics defined in the framework documents (Amplification Ratio, Completion Ratio, FTR, IQ) do not have reference implementations bundled. The raw data needed for most of them is present in the extracted output. See tools/README.md for the full implementation status.

Author: Arkadi Kizner License: CC-BY-SA 4.0 Status: Active research, April 2026

About

Thermodynamic model for measuring engineering organization health from Git and JIRA exhaust — no surveys, no instrumentation, no self-reporting

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages