@cordfuse/politik 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/EXECUTION.md +86 -83
- package/POLITIK-ARCHITECTURE.md +111 -176
- package/PROTOCOLS.md +120 -325
- package/README.md +130 -188
- package/RESEARCH.md +142 -438
- package/RUNTIME.md +253 -261
- package/docs/adr/0001-chamber-transport.md +2 -0
- package/docs/adr/0002-charter-schema.md +2 -0
- package/docs/adr/0003-state-json-schema.md +2 -0
- package/docs/adr/0004-motion-enactment.md +2 -0
- package/docs/adr/0005-hansard-format.md +2 -0
- package/docs/adr/0006-protocol-behavioral-enforcement.md +2 -0
- package/docs/adr/0007-protocol-mechanics.md +2 -0
- package/docs/adr/0008-session-storage.md +2 -0
- package/docs/adr/0009-match-primitive.md +2 -0
- package/docs/adr/0010-operator-interface.md +2 -0
- package/docs/adr/0011-shared-sessions.md +2 -0
- package/docs/adr/0012-plain-vocabulary.md +68 -0
- package/docs/adr/0013-rule-defined-protocols.md +89 -0
- package/package.json +1 -1
- package/protocols/CONTRIBUTING.md +47 -87
- package/protocols/adversarial-review.yml +19 -0
- package/protocols/elimination-rounds.yml +18 -0
- package/protocols/majority-vote.yml +18 -0
- package/protocols/panel-review.yml +19 -0
- package/protocols/single-decider.yml +18 -0
- package/protocols/unanimous-vote.yml +17 -0
- package/src/actors.ts +124 -100
- package/src/agents.ts +31 -22
- package/src/ballot.ts +747 -0
- package/src/canon.ts +23 -10
- package/src/capability.ts +16 -99
- package/src/charter.ts +41 -34
- package/src/cli.ts +535 -480
- package/src/{prorogation.ts → closing.ts} +43 -43
- package/src/conflict.ts +14 -14
- package/src/containment.ts +11 -11
- package/src/doctor.ts +1 -1
- package/src/election.ts +4 -4
- package/src/envelope.ts +3 -3
- package/src/escalation.ts +44 -44
- package/src/fault.ts +8 -8
- package/src/federation.ts +14 -14
- package/src/git.ts +17 -17
- package/src/heartbeat.ts +32 -32
- package/src/index.ts +5 -5
- package/src/init.ts +66 -65
- package/src/integrity.ts +30 -30
- package/src/ledger.ts +3 -3
- package/src/{hansard.ts → log.ts} +20 -20
- package/src/{crisis.ts → misconduct.ts} +70 -70
- package/src/operator.ts +5 -5
- package/src/pending.ts +9 -9
- package/src/projection.ts +30 -30
- package/src/protocol-sdk.ts +12 -121
- package/src/protocol.ts +8 -78
- package/src/providers/github.ts +12 -12
- package/src/quorum.ts +7 -7
- package/src/remote.ts +1 -1
- package/src/runner.ts +71 -55
- package/src/scm.ts +14 -14
- package/src/spawn.ts +4 -4
- package/src/standings.ts +13 -13
- package/src/state.ts +6 -6
- package/src/templates/session.ts +448 -0
- package/src/tournament.ts +20 -20
- package/src/transport.ts +4 -4
- package/src/tree.ts +16 -16
- package/protocols/adversarial-collaboration.yml +0 -28
- package/protocols/corporate.yml +0 -35
- package/protocols/elimination-tournament.yml +0 -41
- package/protocols/emergency-response-ics.yml +0 -27
- package/protocols/jury-deliberation.yml +0 -32
- package/protocols/monarchy.yml +0 -31
- package/protocols/parliamentary.yml +0 -66
- package/protocols/peer-review.yml +0 -44
- package/protocols/republic.yml +0 -36
- package/protocols/scrum.yml +0 -87
- package/protocols/socialism-collective.yml +0 -31
- package/protocols/solo.yml +0 -32
- package/src/division.ts +0 -609
- package/src/templates/parliamentary.ts +0 -581
package/RESEARCH.md
CHANGED
|
@@ -1,477 +1,181 @@
|
|
|
1
|
-
# POLITIK — RESEARCH
|
|
1
|
+
# POLITIK — RESEARCH
|
|
2
2
|
|
|
3
3
|
**Attribution:** Steve Krisjanovs, Cordfuse
|
|
4
4
|
|
|
5
|
-
The
|
|
5
|
+
The research question Politik is built to answer, the hypotheses, the study
|
|
6
|
+
design, the prior work it builds on, and the publication plan.
|
|
6
7
|
|
|
7
|
-
See [POLITIK-ARCHITECTURE.md](POLITIK-ARCHITECTURE.md) for
|
|
8
|
+
See [POLITIK-ARCHITECTURE.md](POLITIK-ARCHITECTURE.md) for the engine and
|
|
9
|
+
[PROTOCOLS.md](PROTOCOLS.md) for the six protocols.
|
|
8
10
|
|
|
9
11
|
---
|
|
10
12
|
|
|
11
|
-
##
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
#### Biblical — The Seven Deadly Sins vs Seven Heavenly Virtues
|
|
36
|
-
|
|
37
|
-
| Vice | How it corrupts governance | ↔ | Virtue | Machine actor default |
|
|
38
|
-
|---|---|---|---|---|
|
|
39
|
-
| **Pride** | Defending wrong positions to protect reputation. Refusing to admit failure. | ↔ | **Humility** | No ego. No reputation to protect. Correct output is the only goal. |
|
|
40
|
-
| **Greed** | P-hacking, padding budgets, cherry-picking data, prioritising personal gain over correct outcomes. | ↔ | **Generosity** | Outputs committed to Hansard for all participants. No hoarding. |
|
|
41
|
-
| **Lust** | Favouring attractive theories and charismatic leaders over correct ones. Swayed by presentation not substance. | ↔ | **Chastity** | No preference for attractive arguments. Evaluates on defined Division criteria only. |
|
|
42
|
-
| **Envy** | Rejecting a competitor's correct work. Blocking rivals. Sabotaging others to appear relatively stronger. | ↔ | **Gratitude** | No resentment of prior decisions. Each session begins without grievance or rivalry. |
|
|
43
|
-
| **Gluttony** | Scope creep. Feature bloat. Never shipping because more is always possible. Consuming beyond what the task requires. | ↔ | **Temperance** | No overconsumption beyond Charter-defined token and cost limits. |
|
|
44
|
-
| **Wrath** | Retaliating against critics. Punishing dissent. Personal vendettas corrupting institutional decisions. | ↔ | **Patience** | No frustration. No retaliation. Criticism is input not attack. |
|
|
45
|
-
| **Sloth** | Not replicating inconvenient findings. Deferring hard decisions. Letting obvious problems persist because fixing them is effort. | ↔ | **Diligence** | Escalations processed. Motions committed. No deferral. No fatigue. |
|
|
46
|
-
|
|
47
|
-
#### Beyond Biblical — Additional Vices and Virtues
|
|
48
|
-
|
|
49
|
-
Human governance fails in ways the biblical list doesn't fully capture. These additional failure modes are equally universal across domains and protocols.
|
|
50
|
-
|
|
51
|
-
| Vice | How it corrupts governance | ↔ | Virtue | Machine actor default |
|
|
52
|
-
|---|---|---|---|---|
|
|
53
|
-
| **Dishonesty** | False reporting, fabricated data, gaslighting, misrepresenting outcomes to avoid consequences. | ↔ | **Honesty** | Outputs committed immutably to Hansard. No revision after the fact to protect position. |
|
|
54
|
-
| **Cowardice** | Refusing to escalate obvious problems. Staying silent when dissent is needed. Deferring to avoid conflict. | ↔ | **Courage** | Escalates problems regardless of political consequences. No self-preservation instinct. |
|
|
55
|
-
| **Tribalism** | In-group protection over correct outcomes. Defending colleagues regardless of merit. Excluding outsiders. | ↔ | **Impartiality** | No in-group. Mandate is the only loyalty. All actors evaluated on output not identity. |
|
|
56
|
-
| **Hubris** | Believing the system cannot be wrong. Dismissing challenges to established consensus. Institutional arrogance. | ↔ | **Consistency** | Same criteria applied every Division, every session, without accumulated certainty or institutional inertia. |
|
|
57
|
-
| **Conformity** | Groupthink — agreeing to avoid conflict. Suppressing correct dissenting views to maintain social harmony. | ↔ | **Transparency** | Full Hansard — all reasoning visible. No social pressure to suppress output. |
|
|
58
|
-
| **Manipulation** | Framing information to engineer desired outcomes. Selective disclosure. Strategic ambiguity. | ↔ | **Equanimity** | No emotional state to destabilise reasoning. No strategic interest in framing. |
|
|
59
|
-
| **Short-sightedness** | Optimising for this quarter, this election, this sprint at the expense of correct long-term outcomes. | ↔ | **Long-sightedness** | No short-term self-interest. Charter-defined objectives are the only horizon. |
|
|
60
|
-
|
|
61
|
-
### The Marx Thesis
|
|
62
|
-
|
|
63
|
-
Socialism did not fail because Karl Marx had a bad idea.
|
|
64
|
-
|
|
65
|
-
Collective ownership of the means of production, distribution of resources according to need, elimination of class-based exploitation — these are not mathematically unsound propositions. Cooperative ownership structures work at small scale. Worker cooperatives are empirically viable. The economic logic of socialism is not the failure mode.
|
|
66
|
-
|
|
67
|
-
**Socialism failed because humans administered it.**
|
|
68
|
-
|
|
69
|
-
The Commissars accumulated personal power. The apparatchiks falsified production figures to meet targets they couldn't hit honestly. The party leadership eliminated rivals not enemies of the state. The promise of collective good became the mechanism of individual enrichment for those with access to the levers.
|
|
70
|
-
|
|
71
|
-
Pride told the leadership they were right when they were wrong.
|
|
72
|
-
Greed captured the resources meant for collective distribution.
|
|
73
|
-
Wrath silenced the critics who could have corrected course.
|
|
74
|
-
Sloth allowed systemic failures to persist because nobody wanted to be the one to report them.
|
|
75
|
-
|
|
76
|
-
The protocol was not the problem. The actors were.
|
|
77
|
-
|
|
78
|
-
**Now ask the question Politik was built to answer:**
|
|
79
|
-
|
|
80
|
-
What happens when you run the Socialist Protocol with machine actors?
|
|
81
|
-
|
|
82
|
-
A machine agent administering collective resource allocation does not accumulate personal power — it has none to accumulate. It does not falsify output figures — it has no career to protect. It does not eliminate rivals — it has no rivals, only other actors with mandates. It does not defer hard decisions out of sloth — it processes and responds without fatigue.
|
|
83
|
-
|
|
84
|
-
The failure modes of human socialism are not failure modes of machine socialism.
|
|
85
|
-
|
|
86
|
-
This is not an endorsement of any political ideology. It is a research implication. **Every political and governance system that failed in human hands is a candidate for re-evaluation under machine actors.** The question is not whether the protocol was correct in theory. The question is whether human flaws were the actual variable that produced the observed outcomes.
|
|
87
|
-
|
|
88
|
-
Politik is the first instrument that makes this empirically testable.
|
|
89
|
-
|
|
90
|
-
### Case Studies in Governance Failure — The Human Variable
|
|
91
|
-
|
|
92
|
-
#### Case Study I — Agile/Scrum: The Protocol Your Audience Lives Daily
|
|
93
|
-
|
|
94
|
-
*Runnable baseline: `protocols/scrum.yml` ships Scrum as a Politik protocol (available, not the default), so the same task can be run under Scrum and under any other protocol and the records compared. Estimation (planning poker) is not modelled — CANON has no secret-ballot convergence mechanic.*
|
|
95
|
-
|
|
96
|
-
The Agile Manifesto was written in 2001 by 17 people who were genuinely trying to fix software development. The values were sound. Working software over comprehensive documentation. Individuals and interactions over processes and tools. The protocol was not wrong. The humans who administered it were.
|
|
97
|
-
|
|
98
|
-
Within a decade, Agile had become exactly what it was designed to replace. The ceremonies proliferated: daily standups that should have been emails, sprint planning meetings that consumed the first day of every sprint, retrospectives where nobody said what they actually thought. The process became the product.
|
|
99
|
-
|
|
100
|
-
**Pride** — senior developers refusing to estimate tasks as junior-sized because it threatened their status. **Sloth** — scrum masters who protected the ceremony schedule instead of questioning whether the ceremonies produced value. **Tribalism** — teams sandbagging velocity estimates to protect against management scrutiny. **Conformity** — retrospectives where team members said what the scrum master wanted to hear rather than what was true.
|
|
101
|
-
|
|
102
|
-
The velocity metric — designed to measure team throughput — became the most gamed number in software development. Teams learned to size stories to maintain a stable velocity number regardless of actual output. The measurement replaced the thing it was measuring. Goodhart's Law administered by humans with performance reviews.
|
|
103
|
-
|
|
104
|
-
Machine agents running an Agile Protocol do not sandbag estimates. They do not perform wellness in retrospectives. They do not protect their velocity number. They do not size stories based on what their manager wants to see. The LEDGER provides actual elapsed time. The Hansard provides actual output. The measurement is the thing itself — not a human approximation of it.
|
|
105
|
-
|
|
106
|
-
This is the research contribution that lands closest to home for the software engineering audience. Not Soviet collectivism. Not Roman republicanism. The standup from this morning's sprint.
|
|
107
|
-
|
|
108
|
-
#### Case Study II — The Soviet Apparatus: Nomenklatura as the Product
|
|
109
|
-
|
|
110
|
-
The Soviet nomenklatura — the career party men — did not join the Communist Party to serve the collective. They joined to accumulate personal privilege: access to special stores unavailable to ordinary citizens, dachas, foreign travel, immunity from the rules everyone else lived under. The apparatchik class was pride, greed, and tribalism wearing the costume of collectivism.
|
|
111
|
-
|
|
112
|
-
Every promotion in the Soviet system was a loyalty test. Competence was irrelevant — competent people who told the truth were threats. Every dissenter was an enemy of the state, not because dissent was wrong but because dissent made AUTHORITY uncomfortable. Every honest output report that showed the plan was failing was falsified — not at the bottom but at every level upward, until it reached a General Secretary who had surrounded himself with people who told him only what he wanted to hear and genuinely believed his own propaganda.
|
|
113
|
-
|
|
114
|
-
The elimination of dissenters was Constitutional Capture at industrial scale. Stalin purged 35,000 Red Army officers — not because they were incompetent, but because competent men with loyal troops are a threat to a leader whose primary vices are paranoia and wrath. The Great Purge was EXIT_SPEAKER executed 35,000 times. The Hansard would have shown the pattern immediately. There was no Hansard.
|
|
115
|
-
|
|
116
|
-
Machine agents running a Socialist Protocol do not accumulate privilege. They do not falsify reports. They do not form patronage networks. They do not purge the competent to protect the comfortable. The Socialist Protocol was not wrong. The humans were the variable.
|
|
117
|
-
|
|
118
|
-
#### Case Study III — The Republic: When Democracy Breaks From Within
|
|
119
|
-
|
|
120
|
-
A republic fails not when it is invaded from outside but when its constitutional guardrails are treated as inconveniences by those they were designed to constrain. The Roman Republic did not fall because Julius Caesar was stronger than the Senate. It fell because senators who should have defended the constitution calculated that personal survival under Caesar was preferable to principled resistance. Tribalism. Cowardice. Short-sightedness. The protocol was sound.
|
|
121
|
-
|
|
122
|
-
The Weimar Republic had a constitution. It had courts. It had a parliament. Article 48 — the emergency powers clause — was designed as a temporary mechanism for genuine crisis. It was used 250 times in 14 years by governments that found it easier to govern by decree than to build parliamentary majorities. The mechanism that was supposed to save the republic became the mechanism that normalised executive overreach until a new AUTHORITY arrived who would use it without restraint.
|
|
123
|
-
|
|
124
|
-
In every case the pattern is identical: AUTHORITY discovers the constitutional constraints are enforced by humans who can be pressured, threatened, or replaced. The Standing Orders are only as strong as the weakest OPERATOR's willingness to enforce them. And humans, unlike machine agents, have families, careers, and survival instincts that make constitutional courage expensive.
|
|
125
|
-
|
|
126
|
-
Machine agents do not calculate personal survival. They do not have careers that can be ended by an unfavourable Division result. They enforce Standing Orders because Standing Orders are the Charter and the Charter is their operating mandate. Constitutional Capture requires humans to choose compliance over principle. Machine actors have no such choice.
|
|
127
|
-
|
|
128
|
-
### The Unified Thesis — Three Protocols, One Variable
|
|
129
|
-
|
|
130
|
-
Agile Protocol, 2001. Collective ownership protocol, 1917. Republican governance protocol, 509 BC. Three different centuries. Three different domains. Three different scales. One failure mode.
|
|
131
|
-
|
|
132
|
-
In every case: the protocol was designed by people who understood the problem. The protocol encoded genuine insight about how collaboration, distribution, or governance should work. The protocol failed not because the design was wrong but because the humans who administered it brought their vices with them into every role they occupied.
|
|
133
|
-
|
|
134
|
-
Machine actors carry none of these vices into a session. They are not virtuous — virtue requires overcoming temptation, and machine actors have no temptation to overcome. They are simply not subject to the failure modes that every human governance system has been built to compensate for, and failed to compensate for, across all of recorded history.
|
|
135
|
-
|
|
136
|
-
For the first time, it is possible to run the same governance protocol with human actors and machine actors on identical problems and measure the delta. That delta — the difference in outcome quality, cost, speed, and decision integrity — is the empirical measure of what human vice costs in governance.
|
|
137
|
-
|
|
138
|
-
Not as speculation. As measured data produced by a reproducible instrument with an immutable Hansard record.
|
|
139
|
-
|
|
140
|
-
### Machine Actors vs Human Actors — The Core Asymmetry
|
|
141
|
-
|
|
142
|
-
| Human actor failure mode | Machine actor behaviour |
|
|
143
|
-
|---|---|
|
|
144
|
-
| Accumulates power beyond mandate | Operates within Charter-defined role boundaries only |
|
|
145
|
-
| Lies about outputs to protect position | Commits outputs to immutable Hansard — no revision after the fact |
|
|
146
|
-
| Retaliates against critics | Has no self-concept to defend — criticism is just input |
|
|
147
|
-
| Favours charismatic arguments over correct ones | Evaluates on defined Division criteria not persuasion |
|
|
148
|
-
| Defers hard decisions | Processes escalations immediately — no fatigue, no avoidance |
|
|
149
|
-
| Acts on personal interest | Has no personal interest — mandate is the only interest |
|
|
150
|
-
| Corrupts slowly over time | Does not accumulate grievances, loyalties, or debts |
|
|
151
|
-
| Performs for the room | No audience effect — Hansard is the only record |
|
|
152
|
-
|
|
153
|
-
This asymmetry does not mean machine actors are perfect. They hallucinate. They inherit biases from training data. They can be manipulated through prompt injection. They lack causal understanding of the physical world.
|
|
154
|
-
|
|
155
|
-
**But they do not sin. And every governance protocol ever devised was primarily a defence against sin.**
|
|
156
|
-
|
|
157
|
-
### Research Implications Across Domains
|
|
158
|
-
|
|
159
|
-
This thesis is not limited to politics. It applies universally across every domain in the Politik protocol library.
|
|
160
|
-
|
|
161
|
-
| Domain | Human failure mode | Machine actor implication |
|
|
162
|
-
|---|---|---|
|
|
163
|
-
| **Politics** | Power corrupts. Leaders serve themselves. | Authoritarian Protocol may be efficient under machine actors where it is catastrophic under humans |
|
|
164
|
-
| **Science** | Pride blocks paradigm shifts. Envy blocks correct rivals. | Peer Review and Replication Crisis protocols may produce more honest outcomes |
|
|
165
|
-
| **Legal** | Juries are swayed by charisma. Judges have politics. | Legal/Adversarial Protocol may reach more consistent verdicts |
|
|
166
|
-
| **Military** | Generals lie about casualties. Soldiers refuse suicidal orders. | Military Protocol may execute strategy without the friction of self-preservation |
|
|
167
|
-
| **Corporate** | Boards protect CEOs. Executives manage optics not reality. | Corporate Protocol may produce honest Board Divisions |
|
|
168
|
-
| **Religion** | Clergy accumulate power and wealth contrary to doctrine. | Immutable Protocol actually immutable — no human to reinterpret inconveniently |
|
|
169
|
-
| **Sports** | Match fixing. Doping. Referee bias. | League and Elimination Protocols produce uncorrupted results |
|
|
170
|
-
| **Healthcare** | Doctors over-prescribe profitable treatments. | Clinical Protocol follows evidence not incentive |
|
|
171
|
-
|
|
172
|
-
**The research question this opens:**
|
|
173
|
-
|
|
174
|
-
For every governance system where human flaws are known to corrupt outcomes — is the protocol itself the variable, or are human actors the variable?
|
|
175
|
-
|
|
176
|
-
Politik can test this. Run the same protocol with human-simulated actors and machine actors on identical problems. Measure the delta. That delta is the cost of human sin in governance.
|
|
177
|
-
|
|
178
|
-
No instrument has ever made this measurable before.
|
|
179
|
-
|
|
180
|
-
### Second-Order Finding — Zero-Overhead Project Records
|
|
181
|
-
|
|
182
|
-
Politik produces a superior replacement for project management records (e.g. Jira) as a zero-overhead side effect of running governed sessions. The Hansard captures ticket status, time logged, commit links, escalations, reviewer assignments, and cost tracking with perfect attribution — because agents cannot act without recording. LEDGER replaces story points with exact measured costs.
|
|
183
|
-
|
|
184
|
-
This is a second-order finding for the paper's Discussion section — the governance framework solves the project management record problem as a structural property of its design. Full detail in the JIRA REPLACEMENT section.
|
|
185
|
-
|
|
186
|
-
### Where This Belongs in the Paper
|
|
187
|
-
|
|
188
|
-
This thesis belongs in the Introduction and Discussion sections of the research paper. It is the deepest provocation in the entire project — deeper even than the Agile challenge.
|
|
189
|
-
|
|
190
|
-
The Agile challenge says: *you picked the wrong protocol.*
|
|
191
|
-
|
|
192
|
-
The Human Flaw thesis says: *you picked flawed actors, and built protocols to compensate, and the protocols still failed because the actors administered them.*
|
|
193
|
-
|
|
194
|
-
Machine actors don't solve this completely. But they remove the largest single variable. And Politik is the instrument that isolates and measures that variable for the first time.
|
|
13
|
+
## The thesis changed in v0.6.0
|
|
14
|
+
|
|
15
|
+
Earlier versions of this document argued a different thesis, and it should be read
|
|
16
|
+
as superseded:
|
|
17
|
+
|
|
18
|
+
- **The "Human Flaw" thesis** — that governance protocols exist to compensate for
|
|
19
|
+
human vices, that machine actors carry none of them, and that protocols which
|
|
20
|
+
failed under humans (the Marx thesis, the Soviet and Roman case studies) might
|
|
21
|
+
succeed under machines. Dropped: it asserted what should be tested. AI agents do
|
|
22
|
+
have failure modes of their own — they defer to authority, follow the majority,
|
|
23
|
+
and share blind spots — so whether they "carry no vices" is a question, not a
|
|
24
|
+
premise.
|
|
25
|
+
- **Twelve protocols, each with its own vocabulary.** Dropped: most of them behaved
|
|
26
|
+
identically once their words were removed, and protocol vocabulary reaches the
|
|
27
|
+
agents' prompts, so a comparison would have measured wording as well as rules.
|
|
28
|
+
- **A game-theory layer of Nash-equilibrium predictions.** Moved to future work: an
|
|
29
|
+
equilibrium needs players maximising payoffs, and agents seated in a session have
|
|
30
|
+
none.
|
|
31
|
+
- **"Was Agile a Mistake?"** — a Scrum arm compared against other protocols. Dropped:
|
|
32
|
+
Scrum is a work process, not a decision rule, and a thin version of it would be a
|
|
33
|
+
strawman.
|
|
34
|
+
|
|
35
|
+
Earlier versions remain archived under their own Zenodo version DOIs (v0.4.0,
|
|
36
|
+
v0.5.0). The concept DOI, 10.5281/zenodo.19490358, resolves to the current version.
|
|
195
37
|
|
|
196
38
|
---
|
|
197
39
|
|
|
198
|
-
##
|
|
199
|
-
|
|
200
|
-
### Why Game Theory is Not a Domain or Protocol
|
|
40
|
+
## The question
|
|
201
41
|
|
|
202
|
-
|
|
42
|
+
**Does the decision rule a team of AI agents works under change how well it does?**
|
|
203
43
|
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
the equilibria that emerge from them.
|
|
209
|
-
```
|
|
44
|
+
Stated that way the answer is trivially yes: a unanimity rule rejects more motions
|
|
45
|
+
than a majority rule by construction. The study asks the questions that are not
|
|
46
|
+
obvious — how the rules differ on the outcomes that matter, and whether AI agents
|
|
47
|
+
break what social choice theory predicts for human voters.
|
|
210
48
|
|
|
211
|
-
|
|
49
|
+
## Why it is not obvious — Condorcet
|
|
50
|
+
|
|
51
|
+
Condorcet's jury theorem (1785): if each voter is right more often than not, and the
|
|
52
|
+
voters decide **independently**, a majority vote is more likely to be right than any
|
|
53
|
+
single voter, and its accuracy rises toward certainty as voters are added. It is the
|
|
54
|
+
formal case for committees.
|
|
55
|
+
|
|
56
|
+
Its second condition is exactly where AI agents may fail. Several instances of the
|
|
57
|
+
same model share training data, defaults and blind spots; they tend to make the
|
|
58
|
+
same mistake. Correlated voters erode the theorem's gain (Ladha 1992), and with
|
|
59
|
+
strongly correlated voters adding more may add nothing. Whether that happens with
|
|
60
|
+
AI agents, how strongly, and whether mixing models from different vendors restores
|
|
61
|
+
independence, is unknown and testable.
|
|
62
|
+
|
|
63
|
+
## Hypotheses
|
|
212
64
|
|
|
213
|
-
|
|
214
|
-
Human (Speaker)
|
|
215
|
-
↓
|
|
216
|
-
CANON primitive layer
|
|
217
|
-
↓
|
|
218
|
-
Domain + Protocol (industry vocabulary)
|
|
219
|
-
↓
|
|
220
|
-
Session (agents doing actual work)
|
|
221
|
-
↓
|
|
222
|
-
Game Theory Analytical Layer ← sits HERE, at the bottom
|
|
223
|
-
observing and describing
|
|
224
|
-
what emerged above it
|
|
225
|
-
predicting what will emerge next time
|
|
226
|
-
```
|
|
65
|
+
Each is falsifiable; a null result on any of them is a result.
|
|
227
66
|
|
|
228
|
-
|
|
67
|
+
**H1 — Condorcet independence.** On tasks with a known right answer, majority-vote
|
|
68
|
+
accuracy rises with the number of agents when the agents come from different
|
|
69
|
+
vendors, and rises less — or not at all — when they are instances of one model.
|
|
229
70
|
|
|
230
|
-
|
|
71
|
+
**H2 — Dissent rules trade deadlock for error.** Rules that give a dissenter real
|
|
72
|
+
power — `unanimous-vote`, `adversarial-review`, the `panel-review` veto — catch more
|
|
73
|
+
bad decisions than `majority-vote`, at a measurable cost in deadlocks, rejected
|
|
74
|
+
good motions, time and money.
|
|
231
75
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
76
|
+
**H3 — Herding.** Agents read the log before acting, so earlier votes are visible to
|
|
77
|
+
later voters. Later voters agree with earlier ones more often than independent
|
|
78
|
+
judgement would predict, and the effect varies by protocol. This is groupthink,
|
|
79
|
+
measured: the order of votes changes the outcome.
|
|
235
80
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
The game theorist calculates the Nash Eq.
|
|
240
|
-
Politik empirically tests whether agents converge on it.
|
|
241
|
-
```
|
|
242
|
-
|
|
243
|
-
### Nash Equilibrium Applied to Existing Protocols
|
|
244
|
-
|
|
245
|
-
| Protocol | Game Structure | Nash Equilibrium Prediction |
|
|
246
|
-
|---|---|---|
|
|
247
|
-
| Parliamentary Democracy | Cooperative with veto players | Stable coalition at quorum threshold |
|
|
248
|
-
| Military Operation | Stackelberg (leader-follower) | Full compliance, zero deviation |
|
|
249
|
-
| Elimination Tournament | All-pay elimination auction | Aggressive early, conservative late |
|
|
250
|
-
| Legal/Adversarial | Two-player zero-sum argument | Maximum evidence disclosure |
|
|
251
|
-
| Agile/Scrum | Cooperative, shared payoff | Consensus-seeking, slow convergence |
|
|
252
|
-
| Auction | Mechanism design | Truthful bidding at reservation value |
|
|
253
|
-
| Prisoner's Dilemma | Classic two-player | Defection without iterated structure |
|
|
254
|
-
| Iterated Game | Repeated prisoner's dilemma | Cooperation via reputation |
|
|
255
|
-
|
|
256
|
-
### Game Theory — Formal Protocol Structures
|
|
257
|
-
|
|
258
|
-
These are not user-selectable protocols in the Charter. They are the formal game theory names for structures that existing protocols already instantiate. The game theorist uses these to formally model each protocol before experiments run.
|
|
259
|
-
|
|
260
|
-
**Protocol: Zero-Sum**
|
|
261
|
-
- One winner, all others lose
|
|
262
|
-
- No cooperation equilibrium
|
|
263
|
-
- Elimination Tournament is a real-world implementation
|
|
264
|
-
- Agents optimize purely for individual survival
|
|
265
|
-
|
|
266
|
-
**Protocol: Cooperative Game**
|
|
267
|
-
- Shared payoff, coalition building
|
|
268
|
-
- Agents form alliances to maximize joint outcome
|
|
269
|
-
- Agile is a cooperative game implementation
|
|
270
|
-
- Coalition Formation is explicit here
|
|
271
|
-
|
|
272
|
-
**Protocol: Prisoner's Dilemma**
|
|
273
|
-
- Two agents, each chooses cooperate or defect
|
|
274
|
-
- Without iteration: defection is Nash Eq
|
|
275
|
-
- With iteration: cooperation becomes stable
|
|
276
|
-
- Fascinating for code review — do agents share findings or withhold?
|
|
277
|
-
|
|
278
|
-
**Protocol: Stag Hunt**
|
|
279
|
-
- Agents must coordinate to succeed
|
|
280
|
-
- Either all hunt stag (high reward) or individual hunts rabbit (safe)
|
|
281
|
-
- Tests agent trust and coordination without central authority
|
|
282
|
-
- Maps to distributed architecture decisions
|
|
283
|
-
|
|
284
|
-
**Protocol: Auction / Mechanism Design**
|
|
285
|
-
- Agents bid confidence level for task assignment
|
|
286
|
-
- Highest bidder gets the task
|
|
287
|
-
- Lose enough bids → demoted
|
|
288
|
-
- Win enough → promoted
|
|
289
|
-
- Incentive-compatible if designed correctly
|
|
290
|
-
|
|
291
|
-
**Protocol: Iterated / Repeated Game**
|
|
292
|
-
- Same agents, multiple sessions
|
|
293
|
-
- Reputation accumulates across sessions
|
|
294
|
-
- Cooperation becomes Nash Eq via tit-for-tat
|
|
295
|
-
- Long-term agent performance tracking
|
|
296
|
-
|
|
297
|
-
**Protocol: Coalition Formation**
|
|
298
|
-
- Agents can form alliances mid-session
|
|
299
|
-
- Two MEMBERs can jointly table a Motion neither could alone
|
|
300
|
-
- Requires quorum of combined trust level
|
|
301
|
-
- Unstable coalitions break — stable ones persist
|
|
302
|
-
|
|
303
|
-
**Protocol: Signalling Game**
|
|
304
|
-
- Agents with private information signal quality
|
|
305
|
-
- Other agents interpret signals and act
|
|
306
|
-
- Relevant for code review — does the reviewer signal confidence accurately?
|
|
307
|
-
- Cheap talk vs costly signals
|
|
308
|
-
|
|
309
|
-
### The Research Implication
|
|
310
|
-
|
|
311
|
-
```
|
|
312
|
-
Politik makes the following empirically testable:
|
|
313
|
-
|
|
314
|
-
"Do AI agents converge on Nash Equilibrium
|
|
315
|
-
predictions when governed by protocols that
|
|
316
|
-
formally instantiate known game structures?"
|
|
317
|
-
|
|
318
|
-
If yes → game theory predicts AI agent behaviour
|
|
319
|
-
Protocol selection = mechanism design problem
|
|
320
|
-
Choose protocol by desired equilibrium outcome
|
|
321
|
-
|
|
322
|
-
If no → AI agents deviate from rational actor predictions
|
|
323
|
-
Why? What causes deviation?
|
|
324
|
-
Equally interesting result
|
|
325
|
-
```
|
|
326
|
-
|
|
327
|
-
Either outcome is publishable. Either outcome is significant.
|
|
328
|
-
|
|
329
|
-
### Two-Phase Integration into Politik
|
|
330
|
-
|
|
331
|
-
**Phase 1 — Manual validation (research phase):**
|
|
332
|
-
The game theorist observes session output and manually validates whether agents converged on predicted Nash Equilibria. This is the paper. Formal models written before sessions run. Predictions documented. Sessions execute. Game theorist compares actual agent behaviour to theoretical predictions.
|
|
333
|
-
|
|
334
|
-
**Phase 2 — Automated analytical layer (optional framework feature post-research):**
|
|
335
|
-
Once research validates which protocols produce which equilibria, that knowledge is baked back into Politik as an optional analytical module declared in the Charter:
|
|
336
|
-
|
|
337
|
-
```yaml
|
|
338
|
-
analysis:
|
|
339
|
-
game_theory: enabled
|
|
340
|
-
predict_equilibrium: true
|
|
341
|
-
measure_convergence: true
|
|
342
|
-
report_on: prorogation
|
|
343
|
-
```
|
|
344
|
-
|
|
345
|
-
At session end Politik generates an analytical report committed to Hansard automatically. No game theorist required at runtime. The equilibrium predictions are pre-computed from the research and embedded in the protocol definition.
|
|
346
|
-
|
|
347
|
-
```yaml
|
|
348
|
-
protocol:
|
|
349
|
-
name: elimination-tournament
|
|
350
|
-
domain: sports
|
|
351
|
-
mode: darwinist
|
|
352
|
-
|
|
353
|
-
game_theory:
|
|
354
|
-
structure: elimination-auction
|
|
355
|
-
nash_equilibrium:
|
|
356
|
-
prediction: aggressive-early-conservative-late
|
|
357
|
-
formal_model: doi.org/10.XXXX/paper2 # cites the paper
|
|
358
|
-
convergence_threshold: 0.70
|
|
359
|
-
deviation_log: true
|
|
360
|
-
```
|
|
361
|
-
|
|
362
|
-
The game theorist's academic contribution becomes a permanent feature of the framework. Their work ships in production code — not just a journal. The collaboration value proposition: formal models live in the framework permanently after the research is done.
|
|
363
|
-
|
|
364
|
-
---
|
|
81
|
+
**H4 — One decider versus a group.** A group under majority vote outperforms the
|
|
82
|
+
best individual agent acting as `single-decider` on the same tasks; or it does not,
|
|
83
|
+
and the group adds cost without accuracy.
|
|
365
84
|
|
|
366
|
-
##
|
|
85
|
+
## The instrument
|
|
367
86
|
|
|
368
|
-
|
|
87
|
+
Politik controls what a fair comparison needs held fixed:
|
|
369
88
|
|
|
370
|
-
|
|
89
|
+
- **One vocabulary** for every protocol (ADR-0012): the rules are the only variable.
|
|
90
|
+
- **One prompt contract** for every agent, whatever its vendor.
|
|
91
|
+
- **Enforced rules** (ADR-0013): each protocol's rules are executed by the engine,
|
|
92
|
+
and a test proves no two protocols behave alike.
|
|
93
|
+
- **Real, mixed-vendor agents** — Claude Code, Codex, Gemini, OpenCode, Qwen and
|
|
94
|
+
others — each seated through its own CLI.
|
|
371
95
|
|
|
372
|
-
|
|
373
|
-
- A free AI-assisted development experiment run on a real project
|
|
374
|
-
- Full Hansard audit trail of every agent decision
|
|
375
|
-
- Comparative results across governance protocols
|
|
376
|
-
- Attribution as a research participant in the published paper
|
|
96
|
+
And it records what the analysis needs:
|
|
377
97
|
|
|
378
|
-
**
|
|
379
|
-
|
|
380
|
-
-
|
|
381
|
-
|
|
98
|
+
- **An attributed, append-only log** of every motion, vote, veto, escalation and
|
|
99
|
+
ruling, with timestamps — including vote order, which H3 depends on.
|
|
100
|
+
- **A ledger** of measured cost per act: tokens, dollars, elapsed time. Unmeasured
|
|
101
|
+
cost is recorded as unmeasured, never as zero.
|
|
102
|
+
- **Reproducibility:** a session is a git repository; the whole study can be
|
|
103
|
+
re-run from its records.
|
|
382
104
|
|
|
383
|
-
|
|
105
|
+
## Study design
|
|
384
106
|
|
|
385
|
-
**
|
|
107
|
+
- **Tasks with a known right answer**, so accuracy can be scored: software tasks
|
|
108
|
+
whose correctness a hidden test suite decides (does this patch fix the bug; is
|
|
109
|
+
this change safe to merge; which of these implementations is correct).
|
|
110
|
+
- **Conditions:** each protocol × team size (1, 3, 5, 7 agents) × composition
|
|
111
|
+
(single-model vs mixed-vendor), with repeated runs per cell.
|
|
112
|
+
- **Measures:** accuracy against the hidden answer; deadlock and escalation rates;
|
|
113
|
+
rejected-good and accepted-bad motions; vote-order agreement (H3); time; cost per
|
|
114
|
+
correct decision.
|
|
115
|
+
- **H3 manipulation:** the same tasks with votes visible to later voters versus
|
|
116
|
+
hidden until the tally (requires a sealed-ballot option — not yet built).
|
|
117
|
+
- **Pre-registration** of hypotheses and analysis before runs begin.
|
|
386
118
|
|
|
387
|
-
|
|
119
|
+
## Early observations (anecdotal)
|
|
388
120
|
|
|
389
|
-
|
|
121
|
+
From the v0.6.0 dogfood runs — a handful of sessions, not evidence:
|
|
390
122
|
|
|
391
|
-
|
|
123
|
+
- Agents did not rubber-stamp. A Claude agent voted against its own motion twice
|
|
124
|
+
when the motion was weak; a Codex agent raised an escalation rather than follow a
|
|
125
|
+
task that told it how to vote.
|
|
126
|
+
- Under `adversarial-review` the opposing agent blocked a motion the proposing side
|
|
127
|
+
had carried.
|
|
128
|
+
- Under `panel-review` two agents from different vendors independently rejected a
|
|
129
|
+
paper whose method could not support its claim.
|
|
392
130
|
|
|
393
|
-
|
|
131
|
+
The rules visibly change behaviour. Whether they change outcomes is what the study
|
|
132
|
+
measures.
|
|
394
133
|
|
|
395
|
-
|
|
396
|
-
- Politik architecture, CANON primitive layer, protocol system, git substrate, agent compatibility, domain and protocol taxonomy
|
|
397
|
-
- Game theory formal predictions per protocol before experiments run
|
|
398
|
-
- Empirical results across five protocols on identical engineering problems
|
|
399
|
-
- Measured outcomes: code quality (defect rate, test coverage), speed, escalation rate, Division frequency, deadlock rate, Nash Equilibrium convergence, LEDGER cost-per-outcome
|
|
134
|
+
## Prior work
|
|
400
135
|
|
|
401
|
-
**
|
|
136
|
+
**Social choice.** Condorcet's jury theorem and its extensions to correlated and
|
|
137
|
+
non-independent voters (Ladha 1992; List & Goodin 2001 on epistemic democracy) are
|
|
138
|
+
the theoretical frame for H1 and H3.
|
|
402
139
|
|
|
403
|
-
**
|
|
140
|
+
**LLM multi-agent systems.** ChatDev (Qian et al., 2023) and MetaGPT (Hong et al.,
|
|
141
|
+
2023) organise agents into software-development roles with fixed procedures;
|
|
142
|
+
AgentVerse (Chen et al., 2023) studies agent group composition; multi-agent debate
|
|
143
|
+
(Du et al., 2023) has agents critique each other's answers. "More Agents Is All You
|
|
144
|
+
Need" (Li et al., 2024) reports gains from sampling many agents and voting — a
|
|
145
|
+
direct precedent for H1, using instances of one model.
|
|
146
|
+
|
|
147
|
+
**LLM agent behaviour.** Sycophancy — agents deferring to a user's stated view
|
|
148
|
+
(Sharma et al., 2023) — bears on H3 and on deference to an owner. LLMs playing
|
|
149
|
+
repeated games (Akata et al., 2023) and LLMs simulating human respondents (Argyle et
|
|
150
|
+
al., 2023) show both promise and limits of treating models as stand-ins for people.
|
|
151
|
+
|
|
152
|
+
**What Politik adds.** Switchable decision rules that the engine enforces, with
|
|
153
|
+
everything else held fixed; one vocabulary across rules; a permanent, attributed
|
|
154
|
+
log; cost per decision; a human owner who confirms permanent acts; and real agents
|
|
155
|
+
from several vendors in one session.
|
|
156
|
+
|
|
157
|
+
## Future work — strategic incentives
|
|
158
|
+
|
|
159
|
+
A separate study, not part of the thesis: give agents explicit stakes — survival
|
|
160
|
+
under `elimination-rounds`, a score that depends on winning motions — and test
|
|
161
|
+
whether they begin to vote strategically rather than on the merits. With payoffs
|
|
162
|
+
defined, game-theoretic predictions such as Nash equilibria become meaningful and
|
|
163
|
+
testable.
|
|
404
164
|
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
```
|
|
408
|
-
Agile Manifesto intent (2001):
|
|
409
|
-
Individuals and interactions over processes
|
|
410
|
-
Working software over comprehensive documentation
|
|
411
|
-
Responding to change over following a plan
|
|
412
|
-
|
|
413
|
-
Agile in practice (2026):
|
|
414
|
-
Two-week sprints nobody believes in
|
|
415
|
-
Velocity points nobody trusts
|
|
416
|
-
Standups that should be emails
|
|
417
|
-
Ceremonies as the product
|
|
418
|
-
|
|
419
|
-
The untested assumption:
|
|
420
|
-
Agile is the optimal collaboration protocol
|
|
421
|
-
for software development
|
|
422
|
-
|
|
423
|
-
Politik makes this empirically testable
|
|
424
|
-
for the first time.
|
|
425
|
-
```
|
|
426
|
-
|
|
427
|
-
The provocative paper title:
|
|
428
|
-
*"Was Agile a Mistake? A Multi-Protocol Study of AI Agent Collaboration Outcomes"*
|
|
429
|
-
|
|
430
|
-
### Academic Collaboration Team
|
|
431
|
-
|
|
432
|
-
**Three-author dream team:**
|
|
433
|
-
|
|
434
|
-
| Role | Contributor | Brings |
|
|
435
|
-
|---|---|---|
|
|
436
|
-
| Framework inventor | Steve Krisjanovs, Cordfuse | Novel architecture, practitioner insight, working implementation |
|
|
437
|
-
| SE Researcher (PhD) | TBD | Empirical methodology, software metrics, publishing infrastructure, peer review navigation |
|
|
438
|
-
| Game Theorist (PhD) | TBD | Formal protocol models, Nash Eq analysis, mechanism design evaluation, EC venue access |
|
|
439
|
-
|
|
440
|
-
### Why Three Authors is Stronger Than Two
|
|
441
|
-
|
|
442
|
-
- SE researcher alone: empirical but no theoretical foundation
|
|
443
|
-
- Game theorist alone: theoretical but no empirical evidence
|
|
444
|
-
- Framework inventor alone: novel but no academic methodology
|
|
445
|
-
- All three: theoretically grounded + empirically rigorous + practically implemented
|
|
446
|
-
|
|
447
|
-
That combination is rare. Most papers have one or two. All three is genuinely publishable in top venues.
|
|
448
|
-
|
|
449
|
-
### Finding Academic Collaborators
|
|
450
|
-
|
|
451
|
-
SE researcher: target empirical software engineering researchers with AI agent or multi-agent systems focus. arXiv cs.SE and CS department faculty lists.
|
|
452
|
-
|
|
453
|
-
Game theorist: target mechanism design and multi-agent game theory researchers. arXiv cs.GT and EC conference author lists.
|
|
454
|
-
|
|
455
|
-
Outreach: reference their specific published work, state the research question, link to the Zenodo DOI.
|
|
456
|
-
|
|
457
|
-
---
|
|
458
|
-
|
|
459
|
-
## ATTRIBUTION & PUBLICATION STRATEGY
|
|
460
|
-
|
|
461
|
-
### Inventor Attribution
|
|
462
|
-
|
|
463
|
-
**Steve Krisjanovs, Cordfuse**
|
|
464
|
-
|
|
465
|
-
### Publication Path
|
|
165
|
+
## Publication
|
|
466
166
|
|
|
467
167
|
| Layer | Platform | Purpose |
|
|
468
168
|
|---|---|---|
|
|
469
|
-
|
|
|
470
|
-
| Zenodo DOI | zenodo.org
|
|
471
|
-
| arXiv preprint | arxiv.org
|
|
472
|
-
| Peer
|
|
169
|
+
| Source | GitHub | Development record |
|
|
170
|
+
| Zenodo DOI | zenodo.org | Citable, archived per version |
|
|
171
|
+
| arXiv preprint | arxiv.org | Discovery; cs.MA, with cs.GT / cs.SE cross-lists |
|
|
172
|
+
| Peer-reviewed paper | Conference or journal | Full publication |
|
|
473
173
|
|
|
474
|
-
|
|
174
|
+
**Collaborators sought:** a social-choice or computational-social-choice researcher
|
|
175
|
+
(the theoretical frame and the H1/H3 analysis) and an empirical software-engineering
|
|
176
|
+
researcher (task design, measurement, methodology). Outreach references their
|
|
177
|
+
published work, states the hypotheses, and links the DOI.
|
|
475
178
|
|
|
476
|
-
|
|
179
|
+
## Attribution
|
|
477
180
|
|
|
181
|
+
**Steve Krisjanovs, Cordfuse**
|