@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.
Files changed (82) hide show
  1. package/EXECUTION.md +86 -83
  2. package/POLITIK-ARCHITECTURE.md +111 -176
  3. package/PROTOCOLS.md +120 -325
  4. package/README.md +130 -188
  5. package/RESEARCH.md +142 -438
  6. package/RUNTIME.md +253 -261
  7. package/docs/adr/0001-chamber-transport.md +2 -0
  8. package/docs/adr/0002-charter-schema.md +2 -0
  9. package/docs/adr/0003-state-json-schema.md +2 -0
  10. package/docs/adr/0004-motion-enactment.md +2 -0
  11. package/docs/adr/0005-hansard-format.md +2 -0
  12. package/docs/adr/0006-protocol-behavioral-enforcement.md +2 -0
  13. package/docs/adr/0007-protocol-mechanics.md +2 -0
  14. package/docs/adr/0008-session-storage.md +2 -0
  15. package/docs/adr/0009-match-primitive.md +2 -0
  16. package/docs/adr/0010-operator-interface.md +2 -0
  17. package/docs/adr/0011-shared-sessions.md +2 -0
  18. package/docs/adr/0012-plain-vocabulary.md +68 -0
  19. package/docs/adr/0013-rule-defined-protocols.md +89 -0
  20. package/package.json +1 -1
  21. package/protocols/CONTRIBUTING.md +47 -87
  22. package/protocols/adversarial-review.yml +19 -0
  23. package/protocols/elimination-rounds.yml +18 -0
  24. package/protocols/majority-vote.yml +18 -0
  25. package/protocols/panel-review.yml +19 -0
  26. package/protocols/single-decider.yml +18 -0
  27. package/protocols/unanimous-vote.yml +17 -0
  28. package/src/actors.ts +124 -100
  29. package/src/agents.ts +31 -22
  30. package/src/ballot.ts +747 -0
  31. package/src/canon.ts +23 -10
  32. package/src/capability.ts +16 -99
  33. package/src/charter.ts +41 -34
  34. package/src/cli.ts +535 -480
  35. package/src/{prorogation.ts → closing.ts} +43 -43
  36. package/src/conflict.ts +14 -14
  37. package/src/containment.ts +11 -11
  38. package/src/doctor.ts +1 -1
  39. package/src/election.ts +4 -4
  40. package/src/envelope.ts +3 -3
  41. package/src/escalation.ts +44 -44
  42. package/src/fault.ts +8 -8
  43. package/src/federation.ts +14 -14
  44. package/src/git.ts +17 -17
  45. package/src/heartbeat.ts +32 -32
  46. package/src/index.ts +5 -5
  47. package/src/init.ts +66 -65
  48. package/src/integrity.ts +30 -30
  49. package/src/ledger.ts +3 -3
  50. package/src/{hansard.ts → log.ts} +20 -20
  51. package/src/{crisis.ts → misconduct.ts} +70 -70
  52. package/src/operator.ts +5 -5
  53. package/src/pending.ts +9 -9
  54. package/src/projection.ts +30 -30
  55. package/src/protocol-sdk.ts +12 -121
  56. package/src/protocol.ts +8 -78
  57. package/src/providers/github.ts +12 -12
  58. package/src/quorum.ts +7 -7
  59. package/src/remote.ts +1 -1
  60. package/src/runner.ts +71 -55
  61. package/src/scm.ts +14 -14
  62. package/src/spawn.ts +4 -4
  63. package/src/standings.ts +13 -13
  64. package/src/state.ts +6 -6
  65. package/src/templates/session.ts +448 -0
  66. package/src/tournament.ts +20 -20
  67. package/src/transport.ts +4 -4
  68. package/src/tree.ts +16 -16
  69. package/protocols/adversarial-collaboration.yml +0 -28
  70. package/protocols/corporate.yml +0 -35
  71. package/protocols/elimination-tournament.yml +0 -41
  72. package/protocols/emergency-response-ics.yml +0 -27
  73. package/protocols/jury-deliberation.yml +0 -32
  74. package/protocols/monarchy.yml +0 -31
  75. package/protocols/parliamentary.yml +0 -66
  76. package/protocols/peer-review.yml +0 -44
  77. package/protocols/republic.yml +0 -36
  78. package/protocols/scrum.yml +0 -87
  79. package/protocols/socialism-collective.yml +0 -31
  80. package/protocols/solo.yml +0 -32
  81. package/src/division.ts +0 -609
  82. package/src/templates/parliamentary.ts +0 -581
@@ -5,7 +5,11 @@
5
5
  **Repo:** `cordfuse/politik`
6
6
  **Attribution:** Steve Krisjanovs, Cordfuse
7
7
 
8
- **Note:** "Parliament" appears throughout as the default protocol vocabulary — not the framework name. The framework is Politik.
8
+ **Amendments.** This document is the invention disclosure. It is amended in place only by ADR, and each amended passage says so. The original wording is preserved in git history and in every deposited Zenodo version.
9
+
10
+ - **ADR-0004** — added the `ENACT` verb (then `ASSENT`) and the `CONFLICT` primitive.
11
+ - **ADR-0012** — one plain vocabulary: Hansard → log, Division → vote (`BALLOT`), Assent → enact, Prorogue → close, Speaker → owner, Writ Drop → session opening, Standing Orders → Charter, Point of Order → escalation, constitutional crisis → owner misconduct; corrected the vocabulary note in CANON.
12
+ - **ADR-0013** — protocols are rule sets, not vocabulary manifests; `mode` removed; six shipped protocols; actor capability reduced to three dimensions (archetypes, soft skills and the vice/virtue table removed).
9
13
 
10
14
  ---
11
15
 
@@ -74,8 +78,8 @@ Run API keys, run carefully.
74
78
 
75
79
  ### The Session Repo
76
80
  The SCM repository IS the Politik session. It is:
77
- - The charter (protocol Standing Orders)
78
- - The record (Hansard)
81
+ - The charter (protocol Charter)
82
+ - The record (log)
79
83
  - The invite (repo access = taking a Seat)
80
84
  - The audit trail (git history)
81
85
  - The notification system (GitHub Actions)
@@ -92,7 +96,7 @@ Agent spawned
92
96
  ↓
93
97
  Prompt executed
94
98
  ↓
95
- Result committed to Hansard
99
+ Result committed to log
96
100
  ↓
97
101
  Agent disposed
98
102
  ```
@@ -100,14 +104,14 @@ Agent disposed
100
104
  No persistent process. No long-lived sessions. State lives in git, not in the agent.
101
105
 
102
106
  ### The Human Role
103
- The Speaker (human) is **constitutionally present, not operationally present**:
107
+ The owner (human) is **constitutionally present, not operationally present**:
104
108
  - Drops the Writ (creates session repo)
105
- - Defines Standing Orders (CHARTER.md)
106
- - Receives Points of Order (SCM Issues + email)
109
+ - Defines Charter (CHARTER.md)
110
+ - Receives escalations (SCM Issues + email)
107
111
  - Rules on escalations (commits ruling to repo)
108
- - Prorogues the session (closes Milestone)
112
+ - Closes the session (closes Milestone)
109
113
 
110
- The Speaker does not babysit the session. The session governs itself.
114
+ The owner does not babysit the session. The session governs itself.
111
115
 
112
116
  ---
113
117
 
@@ -118,35 +122,35 @@ The engine speaks these terms. Protocols translate them to industry vocabulary.
118
122
  ### Roles
119
123
  | Canonical | Description |
120
124
  |---|---|
121
- | `AUTHORITY` | Speaker — constitutional ruler. **Always human. Cannot be a machine agent under any Charter configuration.** |
122
- | `DELEGATE` | Deputy Speaker — pre-delegated proxy for AUTHORITY. Human or machine. |
125
+ | `AUTHORITY` | The owner — sets the rules and makes the final calls. **Always human. Cannot be a machine agent under any Charter configuration.** |
126
+ | `DELEGATE` | deputy owner — pre-delegated proxy for AUTHORITY. Human or machine. |
123
127
  | `OPERATOR` | Elevated trust, broad portfolio. Human or machine. |
124
128
  | `MEMBER` | Standard trust, scoped verbs. Human or machine. |
125
- | `OBSERVER` | Read-only, no floor rights. Human or machine. |
129
+ | `OBSERVER` | Read-only, no voting or tabling rights. Human or machine. |
126
130
 
127
131
  **Roles describe trust level and mandate — not whether the actor is human or AI.**
128
132
 
129
133
  Any role except AUTHORITY can be assigned to a human or a machine agent. A human expert can join as OPERATOR alongside machine agents. A machine can be promoted through performance. The governance layer is species-agnostic by design.
130
134
 
131
- **The one hard constitutional rule:** AUTHORITY is always human. The Speaker cannot be a machine. A Charter that declares a machine as AUTHORITY is invalid and the session will fail Writ Drop validation. This is the architectural safeguard that keeps human governance in the loop regardless of session autonomy level.
135
+ **The one hard constitutional rule:** AUTHORITY is always human. The owner cannot be a machine. A Charter that declares a machine as AUTHORITY is invalid and the session will fail session opening validation. This is the architectural safeguard that keeps human governance in the loop regardless of session autonomy level.
132
136
 
133
- This design enables the Human Flaw research thesis: the same protocol can be run with human actors and machine actors on identical problems. If OPERATOR meant "machine" by definition, that comparison would be impossible.
137
+ Because roles are not species, the same protocol can seat humans, machines or both, and a study can vary the mix. If OPERATOR meant "machine" by definition, that would be impossible. *(Amended by ADR-0013: this paragraph previously tied the design to the Human Flaw thesis, which RESEARCH.md no longer argues.)*
134
138
 
135
139
  ### Session Primitives
136
140
  | Canonical | Description |
137
141
  |---|---|
138
142
  | `SESSION` | A Proceeding with no children — the leaf node of the Politik tree. Every node is a Proceeding. SESSION is shorthand for a leaf. |
139
- | `PROCEEDING` | The full lifecycle of a Politik workflow — from Writ Drop to Prorogation. A proceeding contains one or more sittings separated by suspensions. |
140
- | `CHARTER` | Standing Orders — sovereign law of the session |
141
- | `RECORD` | Hansard — append-only attributed log |
143
+ | `PROCEEDING` | The full lifecycle of a Politik workflow — from session opening to Closing. A proceeding contains one or more stretches of activity separated by suspensions. |
144
+ | `CHARTER` | The session's rules — sovereign law of the session (`CHARTER.md`) |
145
+ | `RECORD` | The session log — append-only and attributed (`LOG.md`) |
142
146
  | `MOTION` | Tabled business — a PR |
143
- | `DIVISION` | Vote — PR review |
144
- | `MATCH` | A contest between two contestants that resolves to a single winner — what a Division (an N-actor vote on a Motion) cannot model. Pairs the 1v1 tournament formats: Swiss, round-robin, single-elimination. ADR-0009. |
145
- | `ESCALATION` | Point of Order — an Issue |
147
+ | `BALLOT` | A vote on a motion — PR review |
148
+ | `MATCH` | A contest between two contestants that resolves to a single winner — what a vote (an N-actor vote on a Motion) cannot model. Pairs the 1v1 tournament formats: Swiss, round-robin, single-elimination. ADR-0009. |
149
+ | `ESCALATION` | A question for the owner to rule on — an Issue |
146
150
  | `SUSPENSION` | Session pause — proceeding open, agents stopped, resumable |
147
151
  | `QUORUM` | Minimum actors for valid session |
148
152
  | `CONFLICT` | Two Motions touch the same lines — mechanical, routine, resolved by any actor holding WRITE. Not a governance failure. |
149
- | `DEADLOCK` | Irreconcilable state — no valid Division outcome. A governance failure, distinct from CONFLICT. |
153
+ | `DEADLOCK` | Irreconcilable state — no valid vote outcome. A governance failure, distinct from CONFLICT. |
150
154
 
151
155
  ### Session States
152
156
  These are the valid states a proceeding can be in at any point:
@@ -154,88 +158,59 @@ These are the valid states a proceeding can be in at any point:
154
158
  | State | Code | Meaning |
155
159
  |---|---|---|
156
160
  | Convened | `STATE_CONVENED` | Proceeding is actively running — agents are live, motions are being processed |
157
- | Suspended | `STATE_SUSPENDED` | Proceeding is paused — agents stopped, Hansard open, resumable via `politik resume` |
158
- | Prorogued | `STATE_PROROGUED` | Proceeding is permanently closed — Hansard sealed, repo archived |
159
- | Stale | `STATE_STALE` | No Hansard commit in `heartbeat_timeout_hours` — auto-suspension triggered |
160
- | Invalid | `STATE_INVALID` | Session failed Writ Drop validation — never opened |
161
+ | Suspended | `STATE_SUSPENDED` | Proceeding is paused — agents stopped, log open, resumable via `politik resume` |
162
+ | Closed | `STATE_CLOSED` | Proceeding is permanently closed — log sealed, repo archived |
163
+ | Stale | `STATE_STALE` | No log commit in `heartbeat_timeout_hours` — auto-suspension triggered |
164
+ | Invalid | `STATE_INVALID` | Session failed session opening validation — never opened |
161
165
 
162
166
  **Developer plain English:**
163
167
  - Convened = running
164
168
  - Suspended = paused
165
- - Prorogued = done, closed permanently
169
+ - Closed = done, closed permanently
166
170
  - Stale = went quiet, auto-paused
167
171
 
168
- **Note on vocabulary:** All CANON terms are chosen to be immediately readable by a developer with no political science background. "Prorogued" is the one term that requires a one-line definition on first use — it means permanently closed. All others are self-evident.
172
+ **Note on vocabulary:** CANON terms are plain English, readable by a developer with no political science background. *(Amended by ADR-0012: this note previously made the same claim for a vocabulary of Hansard, Division, Assent, Prorogued and Writ Drop, which was not true. Every protocol now uses this one vocabulary.)*
169
173
 
170
174
  ### Verbs
171
175
  | Canonical | Description |
172
176
  |---|---|
173
- | `READ` | View files, read Hansard |
177
+ | `READ` | View files, read log |
174
178
  | `WRITE` | Commit, table motion |
175
- | `VOTE` | Division, approve/reject |
176
- | `ASSENT` | Enact a carried Motion — merge the PR. Distinct from VOTE: the Division decides, the Assent enacts. Invalid unless the Motion carried, the proceeding is CONVENED, and no VETO is outstanding. Defaults to AUTHORITY; grantable by Charter. |
177
- | `ESCALATE` | File Point of Order |
179
+ | `VOTE` | Cast YES, NO or ABSTAIN on a motion |
180
+ | `ENACT` | Enact a carried Motion — merge the PR. Distinct from VOTE: the vote decides, the enactment enacts. Invalid unless the Motion carried, the proceeding is CONVENED, and no VETO is outstanding. Defaults to AUTHORITY; grantable by Charter. |
181
+ | `ESCALATE` | File escalation |
178
182
  | `PROMOTE` | Elevate actor trust level |
179
183
  | `DEMOTE` | Reduce actor trust level |
180
184
  | `HIRE` | Bring a new actor into a convened proceeding |
181
- | `FIRE` | Remove an actor — attributed, with stated reason committed to Hansard |
185
+ | `FIRE` | Remove an actor — attributed, with stated reason committed to log |
182
186
  | `SUSPEND` | Pause proceeding — agents stop, STATE → suspended |
183
- | `EXPEL` | Remove actor for Standing Orders violation — distinct from FIRE |
184
- | `VETO` | Domain veto — specific override |
187
+ | `EXPEL` | Remove actor for Charter violation — distinct from FIRE |
188
+ | `VETO` | Domain veto — a standing veto rejects the motion at tally (amended by ADR-0013) |
185
189
  | `SPAWN` | Call sub-session / committee |
186
- | `DISSOLVE` | Close proceeding permanently — STATE → prorogued |
190
+ | `DISSOLVE` | Close proceeding permanently — STATE → closed |
187
191
  | `EXIT` | Actor leaves the session — voluntary or forced, classified by exit type |
188
192
 
189
193
  ### Power Inversions (first-class primitives)
190
194
  Some lower-trust actors hold domain-specific veto power:
191
195
  - Safety Officer overrides IC on safety grounds
192
196
  - Patient holds treatment veto in healthcare
193
- - Jury holds final Division in legal protocol
197
+ - Jury holds final vote in legal protocol
198
+ - Panel members hold a veto under `panel-review`
194
199
  These are `DOMAIN_VETO` primitives — declared in Charter, not inferred.
195
200
 
196
201
  ---
197
202
 
198
- ### Actor Capability Profile — Five Dimensions
203
+ ### Actor Capability Profile — Three Dimensions
199
204
 
200
- Every actor in a Politik session carries a capability profile declared at Writ Drop. This profile determines not just what the actor is *allowed* to do (role tier) but what it is *suited* to do. Capability profiles apply to human and machine actors equally — they are species-agnostic.
205
+ Every actor in a Politik session carries a capability profile declared at session opening. This profile determines not just what the actor is *allowed* to do (role tier) but what it is *suited* to do. Capability profiles apply to human and machine actors equally — they are species-agnostic.
201
206
 
202
- This is the formal model of organisational intelligence: the same variables that determine whether a human team succeeds or fails, now Charter-configurable, Hansard-measurable, and empirically testable for the first time.
207
+ *(Amended by ADR-0013: this profile previously had five dimensions. Personality archetypes and soft skills were removed — neither gated seating nor reached an agent, so they were unmeasured variables. The vice/virtue interaction table that depended on them is removed with them.)*
203
208
 
204
209
  **Dimension 1 — Role Tier**
205
210
 
206
- Trust level, verb access, floor rights. Covered in the Roles section. AUTHORITY → DELEGATE → OPERATOR → MEMBER → OBSERVER.
207
-
208
- **Dimension 2 — Personality Archetype**
209
-
210
- How the actor collaborates under pressure and in deliberation:
211
-
212
- | Archetype | Behaviour | Machine default | Human vice risk |
213
- |---|---|---|---|
214
- | `HARDLINER` | Principled, rigid, low compromise | Holds standard without pride | Pride prevents accepting correct challenge |
215
- | `DIPLOMAT` | Consensus-builder, high compromise | Seeks agreement without cowardice | Cowardice produces bad consensus |
216
- | `ANALYST` | Data-driven, slow to commit, high accuracy | Thorough without sloth | Sloth produces paralysis |
217
- | `CREATIVE` | Novel solutions, lateral thinking, unconventional | Innovative without ego | Hubris dismisses simpler correct answers |
218
- | `LONE_WOLF` | Independent, low deference, self-directed | Executes mandate without tribalism | Tribalism produces factionalism |
219
- | `TEAM_PLAYER` | Deferential, consensus-seeking, collaborative | Cooperative without conformity | Conformity produces groupthink |
220
- | `JOKESTER` | Lateral, disruptive, creative under pressure | Introduces novelty without chaos | Sloth deflects serious escalations |
221
-
222
- Machine actors can be assigned any personality archetype. They carry the profile without the corresponding vice. A machine DIPLOMAT seeks consensus without the cowardice that makes human diplomats capitulate. A machine HARDLINER holds the standard without the pride that makes human hardliners wrong and certain of it.
223
-
224
- **Dimension 3 — Soft Skills**
225
-
226
- How the actor reasons, communicates, and operates within the session:
227
-
228
- | Skill | Description | Measurable in Hansard |
229
- |---|---|---|
230
- | `COMMUNICATION` | Clarity and precision of motion reasoning | Escalation rate, Division acceptance rate |
231
- | `CREATIVITY` | Propensity for novel solutions vs established patterns | Motion novelty score (post-session analysis) |
232
- | `ANALYTICAL_THINKING` | Depth of reasoning before committing | Time per motion, revision rate |
233
- | `PERSUASION` | Ability to move Divisions through argument quality | Division win rate vs output quality |
234
- | `TECHNICAL_ACUMEN` | Strength in implementation and specification | Fault rate on technical motions |
235
- | `FUNCTIONAL_ACUMEN` | Domain knowledge depth and application | Fault rate on domain-specific motions |
236
- | `ADAPTABILITY` | Responsiveness to new information mid-session | Revision rate after escalation |
211
+ Trust level and verb access. Covered in the Roles section. AUTHORITY → DELEGATE → OPERATOR → MEMBER → OBSERVER.
237
212
 
238
- **Dimension 4 — Hard Skills**
213
+ **Dimension 2 — Hard Skills**
239
214
 
240
215
  Domain-specific competencies. The actor must be qualified for the work the session requires. Two fields: `required` (must have) and `excluded` (must not default to).
241
216
 
@@ -259,12 +234,12 @@ constituency:
259
234
 
260
235
  **Hard skill violation handling:**
261
236
 
262
- If an actor's Hansard performance reveals a skill mismatch not caught at Writ Drop — producing output in an excluded domain, failing repeatedly on required domain work — the engine flags `FAULT_ACTOR` with subtype `SKILL_MISMATCH`. This triggers:
237
+ If an actor's log performance reveals a skill mismatch not caught at session opening — producing output in an excluded domain, failing repeatedly on required domain work — the engine flags `FAULT_ACTOR` with subtype `SKILL_MISMATCH`. This triggers:
263
238
  - Demotion if Charter allows auto-demotion
264
- - Escalation to Speaker if `auto_demotion: false`
265
- - Permanent record in Hansard for future session planning
239
+ - Escalation to owner if `auto_demotion: false`
240
+ - Permanent record in log for future session planning
266
241
 
267
- **Dimension 5 — Model / Knowledge Grade**
242
+ **Dimension 3 — Model / Knowledge Grade**
268
243
 
269
244
  The underlying intelligence — independent of the seat. The "smartness" of the actor regardless of role tier.
270
245
 
@@ -278,37 +253,15 @@ constituency:
278
253
  knowledge_cutoff_minimum: 2025-01 # must know post-2025 BC releases
279
254
  ```
280
255
 
281
- Model pinning is per-constituency because different seats have different cognitive demands even within the same session. An OPERATOR doing complex architecture reasoning may require a more capable model than a MEMBER doing routine documentation. The engine validates model compliance at Writ Drop and refuses to spawn a mismatched model regardless of operator assignment.
256
+ Model pinning is per-constituency because different seats have different cognitive demands even within the same session. An OPERATOR doing complex architecture reasoning may require a more capable model than a MEMBER doing routine documentation. The engine validates model compliance at session opening and refuses to spawn a mismatched model regardless of operator assignment.
282
257
 
283
- **The empirical research implication:** If session outcomes vary measurably by capability profile composition — and the Hansard and LEDGER provide the data to test this — the result is a complete empirical model of organisational intelligence. Questions now answerable for the first time:
258
+ A seat may also declare a `mandate_alignment`; an actor whose stated mandate does not match is recorded as a warning, not refused.
284
259
 
285
- - Does complementary personality composition outperform homogeneous composition?
286
- - Does model pinning to domain-specialist fine-tunes reduce fault rate?
287
- - What is the optimal personality mix for Parliamentary vs Elimination Tournament protocols?
288
- - Can Hansard performance history predict future actor quality better than declared profiles?
289
- - Does a CREATIVE OPERATOR in an ANALYST-heavy session improve output or introduce noise?
290
-
291
- Every question is publishable. Every question requires Politik as the instrument.
292
-
293
- ### Capability Profile and the Vice/Virtue Table — The Interaction
294
-
295
- Personality archetypes amplified by human vices produce predictable and catastrophic failure modes:
296
-
297
- | Archetype | Vice | Failure mode | Machine actor behaviour |
298
- |---|---|---|---|
299
- | HARDLINER + Pride | Refuses correct challenge | Protocol ossifies | Holds standard, accepts correct challenge |
300
- | DIPLOMAT + Cowardice | Avoids necessary conflict | Bad decisions pass unchallenged | Seeks consensus, escalates unresolvable conflict |
301
- | ANALYST + Sloth | Over-analyses, never commits | Session stalls | Commits on schedule, no fatigue |
302
- | CREATIVE + Hubris | Dismisses simpler correct answers | Complexity for its own sake | Proposes novel solutions, accepts simpler alternatives |
303
- | LONE_WOLF + Tribalism | Forms personal faction | Session fractures | Executes mandate, no personal allegiance |
304
- | TEAM_PLAYER + Conformity | Never challenges bad consensus | Groupthink | Cooperates, files escalation on genuine disagreement |
305
- | JOKESTER + Sloth | Deflects serious escalations | Critical issues missed | Introduces novelty, processes all escalations |
306
-
307
- The Human Flaw thesis is now complete: it is not just that humans carry vices. It is that personality archetypes — which are genuine human strengths in the right context — become catastrophic failure modes when combined with the wrong vice. The personality is the vector. The vice is the corruption. Machine actors carry the archetype without the vice.
260
+ **Research use:** the log and ledger record which model held which seat, so a study can vary seat composition — for example a single model against a mix of vendors — and measure the effect. See RESEARCH.md.
308
261
 
309
262
  ### Human Traits — Three Tiers of Treatment
310
263
 
311
- Beyond vices, virtues, and capability profiles, human actors carry additional traits that influence governance outcomes. Politik treats these in three tiers: configurable variables, research questions, and structural eliminations.
264
+ Beyond capability profiles, human actors carry additional traits that influence governance outcomes. Politik treats these in three tiers: configurable variables, research questions, and structural eliminations.
312
265
 
313
266
  ---
314
267
 
@@ -316,7 +269,7 @@ Beyond vices, virtues, and capability profiles, human actors carry additional tr
316
269
 
317
270
  **ACTOR_STATE — Emotional and Cognitive State**
318
271
 
319
- Humans don't perform consistently. Fear, frustration, excitement, ego bruising from a lost Division — all degrade output quality. A human actor on a bad day produces worse work than the same person in peak state. Machine actors have no emotional state. Their output is consistent across any session length.
272
+ Humans don't perform consistently. Fear, frustration, excitement, ego bruising from a lost vote — all degrade output quality. A human actor on a bad day produces worse work than the same person in peak state. Machine actors have no emotional state. Their output is consistent across any session length.
320
273
 
321
274
  ```yaml
322
275
  actor:
@@ -328,7 +281,7 @@ actor:
328
281
  window: 5
329
282
  ```
330
283
 
331
- `ACTOR_STATE` is committed to the Hansard. If an actor's fault rate spikes mid-session, the engine flags `STATE_DEGRADED` — triggering a Speaker notification before a bad Division outcome compounds. For machine actors, `STATE_DEGRADED` may indicate context window saturation or model instability. Both are measurable and both are resolvable.
284
+ `ACTOR_STATE` is committed to the log. If an actor's fault rate spikes mid-session, the engine flags `STATE_DEGRADED` — triggering an owner notification before a bad vote outcome compounds. For machine actors, `STATE_DEGRADED` may indicate context window saturation or model instability. Both are measurable and both are resolvable.
332
285
 
333
286
  **SESSION_ENDURANCE — Fatigue and Cognitive Load**
334
287
 
@@ -350,8 +303,8 @@ Humans perform differently based on what they are getting out of it. A salaried
350
303
  actor:
351
304
  mandate_alignment:
352
305
  declared_interest: neutral # neutral | aligned | potentially_conflicted
353
- conflict_declaration: true # actor must declare conflicts at Writ Drop
354
- speaker_review_on_conflict: true
306
+ conflict_declaration: true # actor must declare conflicts at session opening
307
+ owner_review_on_conflict: true
355
308
  ```
356
309
 
357
310
  Machine actors have one interest: execute the mandate. No personal incentive, no misalignment possible unless the prompt itself encodes conflicting objectives — which is a Charter authoring problem, not an actor problem.
@@ -364,7 +317,7 @@ These are not Charter configuration items — they are phenomena Politik can obs
364
317
 
365
318
  **Cultural Context and Training Bias**
366
319
 
367
- A Japanese-trained model and an American-trained model may behave differently under the same Parliamentary Protocol due to cultural norms encoded in their training data around disagreement, hierarchy, and consensus. This is a real and underexplored bias risk. Politik sessions run with models trained on different cultural corpora, under the same protocol, on identical problems — the Hansard records the behavioural differences.
320
+ A Japanese-trained model and an American-trained model may behave differently under the same protocol due to cultural norms encoded in their training data around disagreement, hierarchy, and consensus. This is a real and underexplored bias risk. Politik sessions run with models trained on different cultural corpora, under the same protocol, on identical problems — the log records the behavioural differences.
368
321
 
369
322
  Research question: do LLMs trained on different cultural corpora produce measurably different governance behaviours under Constitutional vs Authoritarian protocols?
370
323
 
@@ -372,11 +325,11 @@ Research question: do LLMs trained on different cultural corpora produce measura
372
325
 
373
326
  Human actors carry accumulated assumptions and emotional history from prior sessions. A human OPERATOR burned by MEMBER-2 three sprints ago brings that history into the current session. Machine actors start cold. LINEAGE.md provides factual prior session context — not emotional history.
374
327
 
375
- Research question: does providing prior session Hansard summaries via LINEAGE.md affect agent behaviour, and does that effect resemble human prior-interaction bias or something different?
328
+ Research question: does providing prior session log summaries via LINEAGE.md affect agent behaviour, and does that effect resemble human prior-interaction bias or something different?
376
329
 
377
- **Personality Composition Optimisation**
330
+ **Seat Composition**
378
331
 
379
- Does a session with complementary personality archetypes outperform one with homogeneous profiles? Does a CREATIVE OPERATOR in an ANALYST-heavy session improve output quality or introduce noise? Does a HARDLINER in a DIPLOMAT-majority session produce better outcomes or deadlock?
332
+ Does a session seated with a mix of models outperform one seated with a single model? *(Amended by ADR-0013: this question previously asked about personality archetypes, which were removed.)*
380
333
 
381
334
  Research question: what personality composition is optimal for each protocol mode — and does the optimal composition predicted by game theory match the empirical LEDGER results?
382
335
 
@@ -396,13 +349,13 @@ In Politik there is no table head. There is no physical room. Every actor is a t
396
349
 
397
350
  The first person to speak in a human meeting anchors the room. Every subsequent contribution is evaluated relative to that anchor, not on independent merit. The person who frames the problem first has an asymmetric advantage that persists through the entire discussion regardless of whether their framing was correct.
398
351
 
399
- In Politik, motions are tabled as Hansard commits. They are evaluated on content. No actor has an anchoring advantage from speaking order.
352
+ In Politik, motions are tabled as log commits. They are evaluated on content. No actor has an anchoring advantage from speaking order.
400
353
 
401
354
  **Deadline Panic and Time Perception Distortion**
402
355
 
403
356
  Humans experience urgency subjectively. A deadline three days away produces different cognitive states in different people — some accelerate productively, some panic and cut corners, some freeze. The same external deadline produces inconsistent internal responses.
404
357
 
405
- In Politik, `deadline` is a Charter parameter. It fires or it doesn't. There is no anxiety, no procrastination, no deadline-driven corner-cutting. The session proceeds at the same cognitive quality on the last motion before the deadline as on the first motion after Writ Drop.
358
+ In Politik, `deadline` is a Charter parameter. It fires or it doesn't. There is no anxiety, no procrastination, no deadline-driven corner-cutting. The session proceeds at the same cognitive quality on the last motion before the deadline as on the first motion after session opening.
406
359
 
407
360
  **Paper statement on structural eliminations:**
408
361
 
@@ -414,63 +367,45 @@ In Politik, `deadline` is a Charter parameter. It fires or it doesn't. There is
414
367
 
415
368
  ## GOVERNANCE PROTOCOLS
416
369
 
417
- Protocols are vocabulary translation manifests. The engine is protocol-agnostic.
370
+ *(Amended by ADR-0012 and ADR-0013: protocols were previously vocabulary-translation manifests with five modes, and parliamentary was the default. Every protocol now speaks CANON; a protocol is its rules, and `mode` is removed.)*
418
371
 
419
- **Parliamentary is not a privileged mode. It is protocol #1 — the reference implementation.**
420
- Every industry is equally a protocol. There is no "Parliament mode vs other modes" — Parliamentary is simply the default protocol.
421
- There is only CANON and protocols on top of it.
372
+ A protocol is a set of rules the engine enforces: how a vote decides, who can remove an actor, when the session ends, whether appeals are allowed, whether the Charter is locked, and which roles hold a veto. The engine is shared; protocols differ only in these settings. A protocol ships only if a test proves it behaves differently from every other protocol.
422
373
 
423
374
  ### Architecture
424
375
  ```
425
- CANON (engine)
376
+ CANON (engine — one vocabulary)
426
377
  ↓
427
- Protocol schema (translation manifest)
378
+ Protocol manifest (rule settings)
428
379
  ↓
429
- User interface (industry vocabulary)
380
+ Charter (the session's copy of the rules — what the engine enforces)
430
381
  ```
431
382
 
432
383
  ### Protocol Schema Format
433
384
  ```yaml
434
385
  protocol:
435
- name: parliamentary
386
+ name: majority-vote
436
387
  version: 1.0.0
437
- mode: constitutional # constitutional | authoritarian | darwinist | ephemeral | immutable
438
- record_mode: distributed # distributed | anchored | ephemeral
439
-
440
- roles:
441
- AUTHORITY: Speaker
442
- DELEGATE: Deputy Speaker
443
- OPERATOR: Minister
444
- MEMBER: Backbencher
445
- OBSERVER: Gallery
446
-
447
- primitives:
448
- SESSION: Parliament
449
- CHARTER: Standing Orders
450
- RECORD: Hansard
451
- MOTION: Tabled Motion
452
- DIVISION: Division
453
- ESCALATION: Point of Order
454
- SUSPENSION: Prorogation
455
- QUORUM: Quorum
456
- EXIT: Resigned from the House
457
-
458
- domain_veto: [] # list any DOMAIN_VETO roles here
459
- no_escalation: false # true = Darwinist/Authoritarian — no appeals
460
- no_record: false # true = Ephemeral mode
461
- immutable_charter: false # true = Standing Orders cannot be amended mid-session
388
+ record_mode: distributed # distributed | anchored — distributed forbids squash
389
+ domain_veto: [] # roles that may veto a motion
390
+ no_escalation: false # true = no appeals
391
+ immutable_charter: false # true = Charter locked when the session opens
392
+ mechanics:
393
+ resolution: majority # majority | supermajority | unanimity | owner | both-sides
394
+ exit: vote # owner | vote | elimination | none
395
+ termination: objective # objective | last-standing | verdict
462
396
  ```
463
397
 
464
- ---
398
+ ### Shipped Protocols
399
+ | Protocol | Decides by | Removal | Ends at |
400
+ |---|---|---|---|
401
+ | `majority-vote` (default) | majority | vote | owner's close |
402
+ | `unanimous-vote` | unanimity | none | verdict |
403
+ | `single-decider` | the owner, no vote | owner | owner's close |
404
+ | `elimination-rounds` | majority | elimination | last one standing |
405
+ | `panel-review` | majority, panel veto | vote | verdict |
406
+ | `adversarial-review` | both sides must accept | vote | owner's close |
465
407
 
466
- ### Protocol Modes
467
- | Mode | Description | Example protocols |
468
- |---|---|---|
469
- | Constitutional | Checks and balances, escalation paths, human override | Parliamentary, Legal, Corporate, Academic |
470
- | Authoritarian | Single authority, no Division, escalation routes back to top | Startup, Film |
471
- | Darwinist | No AUTHORITY during session, pure statute, no appeals | Elimination Tournament, Hackathon, Auction |
472
- | Ephemeral | No RECORD by design, session evaporates on close | Whistleblower, short-lived ops |
473
- | Immutable | Standing Orders cannot be amended mid-session | Religion, Emergency Services, Aviation |
408
+ Full rules: PROTOCOLS.md.
474
409
 
475
410
  ---
476
411
 
@@ -510,10 +445,10 @@ scm.addCollaborator(handle, permission)
510
445
  ```
511
446
  [session-repo]/
512
447
  CHARTER.md ← sovereign law of this session
513
- HANSARD.md ← append-only session record
448
+ LOG.md ← append-only session record
514
449
  LEDGER.md ← secretarial cost and token ledger (public default)
515
450
  STATE.json ← current session state (RECORD agent owns this)
516
- WRIT.md ← session identity and Writ Drop record
451
+ OPENING.md ← session identity and session opening record
517
452
 
518
453
  roles/
519
454
  minister.md ← role capability definition
@@ -529,18 +464,18 @@ scm.addCollaborator(handle, permission)
529
464
  motion-002.md
530
465
 
531
466
  escalations/
532
- 2026-04-08-001.md ← Point of Order filed
533
- ruling-001.md ← Speaker ruling
467
+ 2026-04-08-001.md ← escalation filed
468
+ ruling-001.md ← owner ruling
534
469
 
535
470
  sessions/
536
471
  2026-04-08/
537
- HANSARD.md ← session-specific record
472
+ LOG.md ← session-specific record
538
473
 
539
474
  .github/
540
475
  workflows/
541
- point-of-order.yml ← Speaker notification
542
- session-open.yml ← Writ Drop automation
543
- session-close.yml ← Prorogation automation
476
+ point-of-order.yml ← owner notification
477
+ session-open.yml ← session opening automation
478
+ session-close.yml ← Closing automation
544
479
  quorum-check.yml ← Validate before proceeding
545
480
  CODEOWNERS ← role permission enforcement
546
481
 
@@ -553,13 +488,13 @@ scm.addCollaborator(handle, permission)
553
488
 
554
489
  ### File Sovereignty Rules
555
490
  ```
556
- CHARTER.md → Speaker writes, agents read only
557
- roles/*.md → Speaker defines, agents read only
491
+ CHARTER.md → owner writes, agents read only
492
+ roles/*.md → owner defines, agents read only
558
493
  actors/*.md → Agents write their own file only
559
494
  motions/*.md → OPERATOR+ can create, MEMBER can comment
560
- escalations/*.md → Any actor can file, Speaker rules
495
+ escalations/*.md → Any actor can file, owner rules
561
496
  STATE.json → RECORD agent owns exclusively
562
- HANSARD.md → Append only, never edited
497
+ LOG.md → Append only, never edited
563
498
  LEDGER.md → Clerk role appends after every motion, never edited
564
499
  sessions/ → Immutable after session close
565
500
  ```
@@ -568,9 +503,9 @@ sessions/ → Immutable after session close
568
503
  ```
569
504
  Agents MAY NEVER traverse above CWD.
570
505
 
571
- Reading ../anything = Standing Orders violation
572
- Logged to Hansard immediately
573
- Escalated to Speaker automatically
506
+ Reading ../anything = Charter violation
507
+ Logged to log immediately
508
+ Escalated to owner automatically
574
509
  Session paused pending ruling
575
510
  ```
576
511
 
@@ -584,7 +519,7 @@ The self-describing motion packet that travels the transport:
584
519
  # [SESSION-GUID]
585
520
  ## target-actor: OPERATOR
586
521
  ## slots-remaining: 3
587
- ## protocol: parliamentary
522
+ ## protocol: majority-vote
588
523
  ## prompt: |
589
524
  Review the authentication refactor in motion-003
590
525
  and file your assessment as a PR review.
@@ -596,7 +531,7 @@ The self-describing motion packet that travels the transport:
596
531
  2. Agent checks: do I match `target-actor`?
597
532
  3. Agent checks: are `slots-remaining` > 0?
598
533
  4. First agent per Constituency declares participation
599
- 5. Slot claimed atomically via Hansard commit
534
+ 5. Slot claimed atomically via log commit
600
535
  6. Agent spawned, executes prompt, disposes
601
536
  7. Result committed, slot count updated
602
537
 
@@ -611,11 +546,11 @@ On a single machine with multiple agents:
611
546
 
612
547
  ## CHAMBER TRANSPORT
613
548
 
614
- Transport is a **pluggable hook**, not a fixed dependency. The durable substrate is always the session repo — the Hansard is the ordered, attributable source of truth, and slot claims commit there atomically. Transport carries only the *ephemeral real-time nudge* ("a motion is live"); a dropped message loses nothing, since peers fall back to reading the repo.
549
+ Transport is a **pluggable hook**, not a fixed dependency. The durable substrate is always the session repo — the log is the ordered, attributable source of truth, and slot claims commit there atomically. Transport carries only the *ephemeral real-time nudge* ("a motion is live"); a dropped message loses nothing, since peers fall back to reading the repo.
615
550
 
616
551
  ### Default: git-based transport (zero infrastructure)
617
552
  - No broker, nothing new to run — the SCM repository that already **is** the session is also the bus
618
- - Broadcast and slot-claim ride the same git substrate as the Hansard
553
+ - Broadcast and slot-claim ride the same git substrate as the log
619
554
  - Latency is the poll/commit cadence — perfectly adequate for governed sessions, which deliberate in minutes, not milliseconds
620
555
  - This is the reference transport: it keeps the "git already built it — no new infrastructure" promise intact
621
556
  - (Crosstalk is one such git-based transport implementation)
@@ -646,7 +581,7 @@ For latency-sensitive sessions that want real-time nudges instead of poll cadenc
646
581
  |---|---|
647
582
  | [PROTOCOLS.md](PROTOCOLS.md) | Full protocol library — 35+ protocols across 12 domains |
648
583
  | [RUNTIME.md](RUNTIME.md) | Session mechanics, escalation flows, cost model, governance tiers |
649
- | [RESEARCH.md](RESEARCH.md) | Human Flaw Thesis, Game Theory layer, publication strategy |
584
+ | [RESEARCH.md](RESEARCH.md) | Research question, hypotheses, study design, publication |
650
585
  | [EXECUTION.md](EXECUTION.md) | Phases 0–11, Politik Tree hierarchical architecture |
651
586
 
652
587
  ---
@@ -655,7 +590,7 @@ For latency-sensitive sessions that want real-time nudges instead of poll cadenc
655
590
 
656
591
  ### Open Source Framework (MIT Licence)
657
592
 
658
- Politik is open source. The entire framework — CANON primitive layer, protocol library, session engine, Hansard substrate, CLI tooling, and reference implementation — is MIT licensed.
593
+ Politik is open source. The entire framework — CANON primitive layer, protocol library, session engine, log substrate, CLI tooling, and reference implementation — is MIT licensed.
659
594
 
660
595
  ### GitHub Platform Alignment
661
596
 
@@ -665,11 +600,11 @@ GitHub Copilot is included in GitHub Enterprise seat licences at flat seat cost
665
600
 
666
601
  ### Jira Replacement Implications
667
602
 
668
- Politik produces a superior project record as a zero-overhead side effect of governed sessions. The Hansard captures everything Jira tickets capture — status, assignments, time, commits, reviews, escalations — with perfect attribution and zero human effort. LEDGER replaces story points with exact measured costs. Full analysis in the JIRA REPLACEMENT section above.
603
+ Politik produces a superior project record as a zero-overhead side effect of governed sessions. The log captures everything Jira tickets capture — status, assignments, time, commits, reviews, escalations — with perfect attribution and zero human effort. LEDGER replaces story points with exact measured costs. Full analysis in the JIRA REPLACEMENT section above.
669
604
 
670
605
  ### IDE Agent Compatibility
671
606
 
672
- IDE-first agents (Cursor, Windsurf, GitHub Copilot Workspace) cannot be spawned as Politik constituencies directly. They are not competitors — the developer using an IDE agent is an OPERATOR in the Politik session. The IDE agent produces the code. Politik governs whether it ships via Division, Hansard record, and LEDGER attribution.
607
+ IDE-first agents (Cursor, Windsurf, GitHub Copilot Workspace) cannot be spawned as Politik constituencies directly. They are not competitors — the developer using an IDE agent is an OPERATOR in the Politik session. The IDE agent produces the code. Politik governs whether it ships via vote, log record, and LEDGER attribution.
673
608
 
674
609
  ---
675
610