@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/PROTOCOLS.md
CHANGED
|
@@ -1,361 +1,156 @@
|
|
|
1
|
-
# POLITIK —
|
|
1
|
+
# POLITIK — PROTOCOLS
|
|
2
2
|
|
|
3
3
|
**Attribution:** Steve Krisjanovs, Cordfuse
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
A protocol is a set of rules: how a vote decides, who can remove an actor, when the
|
|
6
|
+
session ends, whether appeals are allowed, whether the Charter is locked, and which
|
|
7
|
+
roles hold a veto. Every protocol uses the same plain vocabulary (ADR-0012), so a
|
|
8
|
+
protocol is its rules and nothing else (ADR-0013).
|
|
9
|
+
|
|
10
|
+
Six protocols ship in `protocols/`. A test (`tests/protocol-rules.test.ts`) runs one
|
|
11
|
+
scenario under every file there and fails if any two behave alike.
|
|
6
12
|
|
|
7
13
|
---
|
|
8
14
|
|
|
9
|
-
##
|
|
10
|
-
|
|
11
|
-
This document is the shipping protocol library — the twelve manifests in
|
|
12
|
-
`protocols/*.yml`, each a vocabulary translation over CANON plus a composition of
|
|
13
|
-
mechanics. What the engine enforces:
|
|
14
|
-
|
|
15
|
-
- **Vocabulary** — enforced. A protocol's role and primitive terms translate
|
|
16
|
-
CANON for the interface and the record.
|
|
17
|
-
- **Behavioral flags** — mostly enforced. `session.escalation` is wired
|
|
18
|
-
(a protocol declaring no escalation refuses a Point of Order — see
|
|
19
|
-
[ADR-0006](docs/adr/0006-protocol-behavioral-enforcement.md)), and
|
|
20
|
-
`immutable_charter` is now enforced: the engine fingerprints the Charter at
|
|
21
|
-
Writ Drop and refuses a governance act if CHARTER.md is edited afterwards, so
|
|
22
|
-
an adversarial-collaboration or elimination-tournament session cannot have its
|
|
23
|
-
Standing Orders changed mid-session. `no_record` remains declared but
|
|
24
|
-
unenforced — no shipping protocol sets it.
|
|
25
|
-
- **Mechanics** — enforced (ADR-0007). Each protocol composes how a decision
|
|
26
|
-
resolves (majority · supermajority · unanimity), how an actor exits (division ·
|
|
27
|
-
elimination · none), and when a session ends (objective · last-standing ·
|
|
28
|
-
verdict). A Jury needs unanimity and seals on a verdict; an `exit: elimination`
|
|
29
|
-
protocol genuinely culls the losing side of a Division. `mode: darwinist` is no
|
|
30
|
-
longer just a flag.
|
|
31
|
-
- **Tournament mechanics** — built. The **MATCH** primitive (ADR-0009) supplies
|
|
32
|
-
the 1v1 contest a Division cannot model; `politik pair` generates Swiss /
|
|
33
|
-
round-robin / single-elimination rounds, `politik match` settles them, and
|
|
34
|
-
`politik standings` scores the field (win-loss · survival). Seeding
|
|
35
|
-
(`pair --seed` folds the field so strong seeds meet late, and breaks equal-score
|
|
36
|
-
ties in later rounds), best-of-N series (`pair --best-of 3`, reported game by
|
|
37
|
-
game), and Buchholz tie-breaks (strength of schedule, applied to the win-loss
|
|
38
|
-
ranking) are all built. What stays on the research agenda
|
|
39
|
-
([RESEARCH.md](RESEARCH.md)) is the Nash-equilibrium *behaviors* the "Nash Eq"
|
|
40
|
-
lines below predict — the engine records what emerges; it does not force agents
|
|
41
|
-
to play equilibrium.
|
|
42
|
-
|
|
43
|
-
Parliamentary is protocol #1, not a privileged mode. `scaffold --protocol <name>`
|
|
44
|
-
scaffolds a Charter for any of the twelve, inheriting its mechanics. **Compose
|
|
45
|
-
your own** for any governance shape not here — the framework is the product, and
|
|
46
|
-
a new protocol is a Charter away.
|
|
15
|
+
## The six protocols
|
|
47
16
|
|
|
48
|
-
|
|
17
|
+
| Protocol | resolution | exit | termination | appeals | Charter locked | domain veto |
|
|
18
|
+
|---|---|---|---|---|---|---|
|
|
19
|
+
| `majority-vote` (default) | majority | vote | objective | yes | no | — |
|
|
20
|
+
| `unanimous-vote` | unanimity | none | verdict | yes | no | — |
|
|
21
|
+
| `single-decider` | owner | owner | objective | no | no | — |
|
|
22
|
+
| `elimination-rounds` | majority | elimination | last-standing | no | yes | — |
|
|
23
|
+
| `panel-review` | majority | vote | verdict | yes | no | OPERATOR |
|
|
24
|
+
| `adversarial-review` | both-sides | vote | objective | yes | yes | — |
|
|
49
25
|
|
|
50
|
-
|
|
26
|
+
### `majority-vote` — the default
|
|
51
27
|
|
|
52
|
-
|
|
28
|
+
A simple majority of votes cast carries a motion; the owner enacts it. A member is
|
|
29
|
+
removed only by a carried removal vote. Escalations are allowed and the Charter can
|
|
30
|
+
be amended. Every other protocol is described by how it differs from this one.
|
|
53
31
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|---|---|
|
|
57
|
-
| AUTHORITY | Speaker |
|
|
58
|
-
| DELEGATE | Deputy Speaker |
|
|
59
|
-
| OPERATOR | Minister |
|
|
60
|
-
| MEMBER | Backbencher |
|
|
61
|
-
| OBSERVER | Gallery |
|
|
62
|
-
| SESSION | Parliament |
|
|
63
|
-
| CHARTER | Standing Orders |
|
|
64
|
-
| RECORD | Hansard |
|
|
65
|
-
| MOTION | Tabled Motion |
|
|
66
|
-
| DIVISION | Division |
|
|
67
|
-
| ASSENT | Royal Assent |
|
|
68
|
-
| ESCALATION | Point of Order |
|
|
69
|
-
| SUSPENSION | Adjournment |
|
|
70
|
-
| DISSOLVE | Prorogation |
|
|
71
|
-
| EXIT | Resigned from the House |
|
|
72
|
-
| CONFLICT | Competing Amendments |
|
|
73
|
-
| DEADLOCK | Hung Parliament |
|
|
74
|
-
| PROMOTE | Appointed to Cabinet |
|
|
75
|
-
| DEMOTE | Returned to Backbench |
|
|
76
|
-
Mode: Constitutional
|
|
77
|
-
|
|
78
|
-
**Protocol: Republic (US-style)**
|
|
79
|
-
| CANON | Term |
|
|
80
|
-
|---|---|
|
|
81
|
-
| AUTHORITY | President |
|
|
82
|
-
| DELEGATE | Vice President |
|
|
83
|
-
| OPERATOR | Secretary / Senator |
|
|
84
|
-
| MEMBER | Representative |
|
|
85
|
-
| OBSERVER | Constituent |
|
|
86
|
-
| SESSION | Congress |
|
|
87
|
-
| CHARTER | Constitution |
|
|
88
|
-
| RECORD | Congressional Record |
|
|
89
|
-
| MOTION | Bill |
|
|
90
|
-
| DIVISION | Vote |
|
|
91
|
-
| ESCALATION | Filibuster |
|
|
92
|
-
| SUSPENSION | Recess |
|
|
93
|
-
| EXIT | Impeached / Resigned |
|
|
94
|
-
| DEADLOCK | Government Shutdown |
|
|
95
|
-
| VETO | Presidential Veto |
|
|
96
|
-
Mode: Constitutional (AUTHORITY holds strong VETO)
|
|
97
|
-
|
|
98
|
-
**Protocol: Monarchy**
|
|
99
|
-
| CANON | Term |
|
|
100
|
-
|---|---|
|
|
101
|
-
| AUTHORITY | The Crown |
|
|
102
|
-
| DELEGATE | Lord Chancellor |
|
|
103
|
-
| OPERATOR | Noble / Lord |
|
|
104
|
-
| MEMBER | Knight / Subject |
|
|
105
|
-
| OBSERVER | Commoner |
|
|
106
|
-
| SESSION | Royal Court |
|
|
107
|
-
| CHARTER | Royal Decree |
|
|
108
|
-
| RECORD | Royal Chronicle |
|
|
109
|
-
| MOTION | Petition |
|
|
110
|
-
| DIVISION | Royal Assent |
|
|
111
|
-
| ESCALATION | Appeal to the Crown |
|
|
112
|
-
| EXIT | Banished / Executed |
|
|
113
|
-
Mode: Authoritarian with Constitutional elements
|
|
114
|
-
|
|
115
|
-
**Protocol: Socialism / Collective**
|
|
116
|
-
| CANON | Term |
|
|
117
|
-
|---|---|
|
|
118
|
-
| AUTHORITY | Party Chair |
|
|
119
|
-
| OPERATOR | Comrade Commissar |
|
|
120
|
-
| MEMBER | Worker Delegate |
|
|
121
|
-
| OBSERVER | Civilian |
|
|
122
|
-
| SESSION | Collective |
|
|
123
|
-
| RECORD | Party Record |
|
|
124
|
-
| MOTION | Party Directive |
|
|
125
|
-
| ESCALATION | Party Challenge |
|
|
126
|
-
| EXIT | Sent to Re-education / Purged |
|
|
127
|
-
| DEADLOCK | Party Purge |
|
|
128
|
-
Mode: Authoritarian (collective in theory, party in practice)
|
|
32
|
+
*Like:* committees, boards of directors, open-source projects where a maintainer
|
|
33
|
+
merges what the team approves.
|
|
129
34
|
|
|
130
|
-
|
|
35
|
+
### `unanimous-vote` — everyone must agree
|
|
131
36
|
|
|
132
|
-
|
|
37
|
+
A motion carries only if every vote cast is YES. Nobody can be removed. The session
|
|
38
|
+
closes the moment a motion carries: a verdict has been reached.
|
|
133
39
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
**Protocol: Adversarial Collaboration**
|
|
171
|
-
| CANON | Term |
|
|
172
|
-
|---|---|
|
|
173
|
-
| AUTHORITY | Independent Arbitrator |
|
|
174
|
-
| OPERATOR | Proponent Agent |
|
|
175
|
-
| OPERATOR | Opponent Agent |
|
|
176
|
-
| OBSERVER | Scientific Community |
|
|
177
|
-
| SESSION | Collaboration |
|
|
178
|
-
| CHARTER | Pre-registered Agreement (immutable — both parties commit before data collection) |
|
|
179
|
-
| RECORD | Joint Report |
|
|
180
|
-
| MOTION | Experimental Run |
|
|
181
|
-
| DIVISION | Result Interpretation |
|
|
182
|
-
| ESCALATION | Arbitrator Ruling |
|
|
183
|
-
| SUSPENSION | Joint Publication |
|
|
184
|
-
| EXIT | Protocol Violation — arbitrator intervenes |
|
|
185
|
-
| DEADLOCK | Genuinely ambiguous result — documented as such |
|
|
186
|
-
Mode: Constitutional + Immutable Charter. Both OPERATOR agents commit to accepting the result before the session begins; the Charter cannot be amended after the experiment starts — a formal solution to confirmation bias.
|
|
40
|
+
*Like:* criminal juries, consensus decision-making.
|
|
41
|
+
|
|
42
|
+
### `single-decider` — the owner decides
|
|
43
|
+
|
|
44
|
+
No vote can be opened. The owner decides by enacting a motion directly, removes
|
|
45
|
+
actors alone, and there are no appeals.
|
|
46
|
+
|
|
47
|
+
*Like:* Scrum's Product Owner, a "benevolent dictator" open-source maintainer, an
|
|
48
|
+
incident commander.
|
|
49
|
+
|
|
50
|
+
### `elimination-rounds` — last one standing
|
|
51
|
+
|
|
52
|
+
The losing side of every vote is eliminated; abstainers survive; a tie deadlocks for
|
|
53
|
+
the owner to break, and the broken tie eliminates too. The session closes when one
|
|
54
|
+
actor remains. The Charter is locked and there are no appeals: a result stands.
|
|
55
|
+
|
|
56
|
+
*Like:* single-elimination tournaments, exhaustive ballots.
|
|
57
|
+
|
|
58
|
+
### `panel-review` — a panel judges the work
|
|
59
|
+
|
|
60
|
+
A majority of the panel carries a motion. Panel members (OPERATOR) hold a veto: a
|
|
61
|
+
standing veto rejects the motion whatever the votes. Members can be voted off; a
|
|
62
|
+
removal vote never counts as the verdict. The session closes at the first carried
|
|
63
|
+
motion.
|
|
64
|
+
|
|
65
|
+
*Like:* academic peer review, grant panels, required code reviewers.
|
|
66
|
+
|
|
67
|
+
### `adversarial-review` — two opposing sides
|
|
68
|
+
|
|
69
|
+
OPERATOR actors propose; DELEGATE actors oppose. A motion carries only when both
|
|
70
|
+
sides vote and each side carries it by a majority of its own votes — neither side
|
|
71
|
+
can win by outnumbering the other. The Charter is locked once the session opens, so
|
|
72
|
+
neither side can change the rules after seeing a result. The scaffolded Charter
|
|
73
|
+
seats a DELEGATE constituency for the opposing side.
|
|
74
|
+
|
|
75
|
+
*Like:* adversarial collaboration in science, bilateral negotiation.
|
|
187
76
|
|
|
188
77
|
---
|
|
189
78
|
|
|
190
|
-
|
|
79
|
+
## The rules a protocol sets
|
|
191
80
|
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
|
198
|
-
| MEMBER | Unit Leader |
|
|
199
|
-
| OBSERVER | Agency Liaison |
|
|
200
|
-
| SESSION | Incident |
|
|
201
|
-
| CHARTER | ICS Protocol |
|
|
202
|
-
| RECORD | Incident Action Plan / ICS-214 |
|
|
203
|
-
| MOTION | Tactical Assignment |
|
|
204
|
-
| DIVISION | None — IC decides |
|
|
205
|
-
| ESCALATION | Safety Officer Override |
|
|
206
|
-
| SUSPENSION | Demobilization |
|
|
207
|
-
| EXIT | Relieved / Reassigned |
|
|
208
|
-
| DOMAIN_VETO | Safety Officer (can override IC on safety) |
|
|
209
|
-
Mode: Authoritarian with DOMAIN_VETO safety carve-out
|
|
210
|
-
|
|
211
|
-
**Protocol: Corporate / Board**
|
|
212
|
-
| CANON | Term |
|
|
213
|
-
|---|---|
|
|
214
|
-
| AUTHORITY | CEO / Chair |
|
|
215
|
-
| DELEGATE | COO |
|
|
216
|
-
| OPERATOR | VP / Director |
|
|
217
|
-
| MEMBER | Manager |
|
|
218
|
-
| OBSERVER | Shareholder |
|
|
219
|
-
| SESSION | Board Meeting / Quarter |
|
|
220
|
-
| CHARTER | Corporate Policy |
|
|
221
|
-
| RECORD | Minutes |
|
|
222
|
-
| MOTION | Proposal / Initiative |
|
|
223
|
-
| DIVISION | Board Vote |
|
|
224
|
-
| ESCALATION | Escalation to Legal / Board |
|
|
225
|
-
| SUSPENSION | End of Quarter |
|
|
226
|
-
| EXIT | Resigned / Terminated |
|
|
227
|
-
| DEADLOCK | Board Deadlock |
|
|
228
|
-
| PROMOTE | Promoted to VP |
|
|
229
|
-
| DOMAIN_VETO | Shareholder (special resolution veto) |
|
|
230
|
-
Mode: Constitutional
|
|
231
|
-
|
|
232
|
-
**Protocol: Scrum / Agile**
|
|
233
|
-
| CANON | Term |
|
|
81
|
+
A protocol manifest declares these; `politik scaffold --protocol <name>` copies them
|
|
82
|
+
into the Charter, and the engine enforces the Charter's copy.
|
|
83
|
+
|
|
84
|
+
### `mechanics.resolution` — how a vote decides
|
|
85
|
+
|
|
86
|
+
| Value | A motion carries when |
|
|
234
87
|
|---|---|
|
|
235
|
-
|
|
|
236
|
-
|
|
|
237
|
-
|
|
|
238
|
-
|
|
|
239
|
-
|
|
|
240
|
-
| SESSION | Sprint |
|
|
241
|
-
| PROCEEDING | Release |
|
|
242
|
-
| CHARTER | Working Agreement |
|
|
243
|
-
| RECORD | Sprint Log |
|
|
244
|
-
| MOTION | Backlog Item |
|
|
245
|
-
| DIVISION | Sprint Review |
|
|
246
|
-
| ASSENT | Accepted as Done |
|
|
247
|
-
| ESCALATION | Impediment |
|
|
248
|
-
| SUSPENSION | Blocked |
|
|
249
|
-
| CONFLICT | Merge Conflict |
|
|
250
|
-
| DEADLOCK | No Consensus |
|
|
251
|
-
| SPAWN | Split the Story |
|
|
252
|
-
| DISSOLVE | Sprint Ends |
|
|
253
|
-
| EXIT | Left the Team |
|
|
254
|
-
Mode: Constitutional with an immutable Working Agreement · resolution: majority · exit: none · termination: objective
|
|
255
|
-
|
|
256
|
-
The process most software teams run today, shipped as the baseline the other
|
|
257
|
-
protocols can be measured against ([RESEARCH.md](RESEARCH.md), Case Study I).
|
|
258
|
-
Available, not the default. One session is one Sprint. Under Scrum the Product
|
|
259
|
-
Owner owns *what* is built and the Developers own *how*, so most decisions are a
|
|
260
|
-
role's call rather than a vote; the review of tabled work is where a Division
|
|
261
|
-
applies, and the Product Owner's acceptance is Assent. The Working Agreement
|
|
262
|
-
(including the Definition of Done) changes at the Retrospective, between
|
|
263
|
-
Sprints, so it is fixed for the Sprint. **Not modelled:** estimation
|
|
264
|
-
(planning poker): secret simultaneous estimates, revealed together and repeated
|
|
265
|
-
until they converge, are a mechanic CANON does not have.
|
|
88
|
+
| `majority` | YES outnumbers NO |
|
|
89
|
+
| `supermajority` | YES is at least two-thirds of decisive votes |
|
|
90
|
+
| `unanimity` | every vote cast is YES |
|
|
91
|
+
| `owner` | no vote is held; the owner enacts directly |
|
|
92
|
+
| `both-sides` | OPERATOR and DELEGATE each vote and each carry it among themselves |
|
|
266
93
|
|
|
267
|
-
|
|
94
|
+
Quorum (`session.quorum`) counts votes cast; abstentions do not count. A tie
|
|
95
|
+
deadlocks — suspending the session for the owner's casting vote — only under
|
|
96
|
+
`majority` and `supermajority`. A standing veto rejects the motion.
|
|
268
97
|
|
|
269
|
-
###
|
|
98
|
+
### `mechanics.exit` — who can remove an actor
|
|
270
99
|
|
|
271
|
-
|
|
272
|
-
| CANON | Term |
|
|
100
|
+
| Value | Who can remove an actor |
|
|
273
101
|
|---|---|
|
|
274
|
-
|
|
|
275
|
-
|
|
|
276
|
-
|
|
|
277
|
-
|
|
|
278
|
-
| MOTION | Match |
|
|
279
|
-
| DIVISION | Match Result |
|
|
280
|
-
| ESCALATION | Protest / Appeal |
|
|
281
|
-
| SUSPENSION | Bye Round |
|
|
282
|
-
| EXIT | Eliminated — bracket closes |
|
|
283
|
-
| DEADLOCK | Tiebreaker Round |
|
|
284
|
-
| QUORUM | Minimum entrants |
|
|
285
|
-
Mode: Darwinist — losers exit permanently · exit: elimination · termination: last-standing. Pairs via the MATCH primitive (`politik pair`/`match`); standings via `politik standings`.
|
|
102
|
+
| `owner` | the owner, alone |
|
|
103
|
+
| `vote` | only a carried removal vote: `politik vote open --motion <id> --removes <handle>`; the engine removes the actor when it carries |
|
|
104
|
+
| `elimination` | only the cull after each vote (the losing side) |
|
|
105
|
+
| `none` | nobody |
|
|
286
106
|
|
|
287
|
-
|
|
107
|
+
Under every value, an actor may leave voluntarily. The owner can never be removed
|
|
108
|
+
from inside the session — report misconduct instead.
|
|
288
109
|
|
|
289
|
-
###
|
|
110
|
+
### `mechanics.termination` — when the session ends on its own
|
|
290
111
|
|
|
291
|
-
|
|
292
|
-
| CANON | Term |
|
|
112
|
+
| Value | The session closes when |
|
|
293
113
|
|---|---|
|
|
294
|
-
|
|
|
295
|
-
|
|
|
296
|
-
|
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
114
|
+
| `objective` | the owner closes it, or a configured ceiling is hit |
|
|
115
|
+
| `verdict` | a motion carries (a removal vote is not a verdict) |
|
|
116
|
+
| `last-standing` | one seated actor remains after an elimination |
|
|
117
|
+
|
|
118
|
+
### Flags
|
|
119
|
+
|
|
120
|
+
- `no_escalation: true` — no appeals: `politik escalate` is refused, and agents are
|
|
121
|
+
told so.
|
|
122
|
+
- `immutable_charter: true` — the Charter is locked when the session opens. The lock
|
|
123
|
+
and the Charter's fingerprint are recorded on the opening log entry; any later
|
|
124
|
+
edit to `CHARTER.md` refuses governance acts (closing still works).
|
|
125
|
+
- `domain_veto: [ROLE, …]` — those roles may veto a motion, and agents in them are
|
|
126
|
+
told they hold VETO.
|
|
127
|
+
- `record_mode: distributed | anchored` — `distributed` forbids squash merges, which
|
|
128
|
+
would destroy per-commit attribution.
|
|
309
129
|
|
|
310
130
|
---
|
|
311
131
|
|
|
312
|
-
|
|
132
|
+
## Matches
|
|
313
133
|
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
| Protocol | Game Structure | Nash Eq Prediction |
|
|
319
|
-
|---|---|---|
|
|
320
|
-
| Parliamentary | Cooperative with veto players | Stable coalition at the quorum threshold |
|
|
321
|
-
| Emergency Response / ICS | Stackelberg leader-follower | Full compliance, zero deviation |
|
|
322
|
-
| Jury Deliberation | Unanimity / holdout game | Convergence to consensus, or a hung jury |
|
|
323
|
-
| Elimination Tournament | All-pay elimination | Aggressive early, conservative late |
|
|
324
|
-
| Peer Review | Multi-player review, information asymmetry | Honest assessment when anonymity is credible |
|
|
325
|
-
| Adversarial Collaboration | Two-player, pre-committed | Honest reporting — defection contractually costly |
|
|
326
|
-
| Scrum / Agile | Cooperative, shared payoff, single acceptor | Consensus-seeking, slow convergence (RESEARCH.md) |
|
|
134
|
+
Competitive sessions can also run 1v1 contests on the `MATCH` primitive (ADR-0009),
|
|
135
|
+
which a vote cannot model: `politik pair --format swiss|round-robin|single-elim`
|
|
136
|
+
pairs a round, `politik match report` settles a result, `politik standings` scores
|
|
137
|
+
the field from the log.
|
|
327
138
|
|
|
328
139
|
---
|
|
329
140
|
|
|
330
|
-
|
|
141
|
+
## Writing a protocol
|
|
331
142
|
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
| Standing Orders | CHARTER.md + Wiki |
|
|
337
|
-
| Hansard entry | Commit |
|
|
338
|
-
| Motion | Pull Request |
|
|
339
|
-
| Division vote | PR Review (Approve / Request Changes) |
|
|
340
|
-
| Motion Carried | PR Merged |
|
|
341
|
-
| Motion Defeated | PR Closed |
|
|
342
|
-
| Point of Order | Issue |
|
|
343
|
-
| Speaker Ruling | Issue Comment + Close |
|
|
344
|
-
| Debate | Discussion |
|
|
345
|
-
| Resolution | Discussion Answer |
|
|
346
|
-
| Parliamentary sitting | Milestone |
|
|
347
|
-
| Procedural status | Label |
|
|
348
|
-
| Order Paper | GitHub Projects board |
|
|
349
|
-
| Constituency join | Repo collaborator access |
|
|
350
|
-
| Actor mandate | CODEOWNERS entry |
|
|
351
|
-
| Quorum enforcement | Required reviewers (branch protection) |
|
|
352
|
-
| Standing Order enforcement | Branch protection rules |
|
|
353
|
-
| Speaker notification | GitHub Actions + email |
|
|
354
|
-
| Clerk automation | GitHub Actions workflows |
|
|
355
|
-
| Speaker credentials | Repository secrets |
|
|
356
|
-
| Sub-session / Committee | Branch |
|
|
357
|
-
| Committee reports back | Branch merged to main |
|
|
358
|
-
| Schism | Fork |
|
|
359
|
-
| Prorogation | Milestone closed + repo archived |
|
|
143
|
+
`politik protocol new <name>` writes a skeleton; `politik protocol lint` checks it.
|
|
144
|
+
A new protocol must behave differently from every shipped one — the distinctness
|
|
145
|
+
test will fail otherwise — so it needs a rule the engine enforces, not a new name.
|
|
146
|
+
See [protocols/CONTRIBUTING.md](protocols/CONTRIBUTING.md).
|
|
360
147
|
|
|
361
148
|
---
|
|
149
|
+
|
|
150
|
+
## Not shipped
|
|
151
|
+
|
|
152
|
+
Removed in v0.6.0 (ADR-0013): parliamentary, republic and solo (identical to the
|
|
153
|
+
default), monarchy, socialism-collective, emergency-response-ics and corporate (the
|
|
154
|
+
default plus squash merges — their "authoritarian" mode was never enforced), and
|
|
155
|
+
scrum (a work process, not a decision rule; its decision model is `single-decider`).
|
|
156
|
+
"One human" is `--quorum 1`, not a protocol.
|