sica-fondt/docs/plans/G2-governance.md
Claude 20e99f434c
docs/plans: remaining component specs — Identity, Cognition, Border, Storage, Periphery, Cross-cutting
Wave 1 remainder + Wave 2 design-first specs, completing one build plan per sub-organ:
- B1 tarot emulator, B2 SOUL/Big-3, B3 Celtic Cross
- C2 4+4 metacog, C3 inference cycle, C4 Brain
- D1 Ada border, D2 the medium, D3 mini-rag
- E1 3 GnuCOBOL invariant stores, E2 VARIANT stores, E3 RAG family
- F1 MoRAG, F2 SAE monitor, F3 subagents
- G1 stress-loop contract, G2 governance, G3 defense model

Each: contract + stubs for independent build; unfitted constants marked C1.

https://claude.ai/code/session_015hmgREHNsxYCuim33yUF2c
2026-06-13 20:08:19 +00:00

2.5 KiB

G2 — Governance (DESIGN-FIRST · EXPLORED/UNRATIFIED)

1. Component

The polity layer: identity keying, scope tiers, roles + weights, permission engine, council, crypto, tokens, hosting rules. Surfaced by red-lining a flowchart; parked intact-but-unauthoritative.

2. Status / certainty

DESIGN-FIRST · C2 (explored, unratified) — nothing here is a confirmed codebase contract yet.

3. Language & location

TBD · new location e.g. src/governance/. Likely Ada/SPARK for the permission engine (gate-bearing) + a crypto sub-extension.

4. Does / does-not

  • Does (when ratified): key identity, gate permissions, seat roles, run the council, govern hosting.
  • Does-not: touch cognition. It is access/authority, orthogonal to the organs.

5. Interface contract (explored — not ratified)

  • Identity: Discord snowflake (author.id, unforgeable); tokenless = spookgeister.
  • Scope tiers: local → regional → global → universal (regional-by-default).
  • Roles + weights (command-quanta): Tributträger·1 / Mitgehende·2 / Bezirkseigen·8 / Vereinsunbequeme·16 / Kumpaneigen·16 / Freigefährten·16 / Kunstschaffenden·? / Haftungsfängerin·256 / das Einzigkunsteigene·256.
  • Permission engine: default-deny reads; add_perm/del_perm; self-grant keyless, authority-grant keyed (DM/CLI); grantor ladder local→Mitgehende, regional→Bezirkseigen, global→Freigefährten(+key); gates accumulate upward.
  • Council: two-key (Haftungsfängerin + das Einzigkunsteigene, equal 256, mutual consent); may mint architects, escalate, write the invariant core (downtime only); anchor above council.

6. Dependencies & stubs

E1 invariant core (council writes it at downtime). D1 (permission gating is border-adjacent). All stubbable.

7. Invariants / laws (proposed)

  • L1 (C2): default-deny; gates accumulate upward; authority-grants are keyed + out-of-band.
  • L2 (C2): invariant core written only at downtime, only by council (ties E1).
  • L3 (C2): anchor (Haftungsfängerin) sits above council.

8. Build steps

Do not build until ratified. When ratified: 1. permission engine (Ada/SPARK). 2. role/weight registry. 3. council two-key. 4. crypto (LTHING/ML-DSA).

9. Tests

(Deferred to ratification.) Permission accumulation; keyed-grant enforcement; downtime-only core writes.

10. Open items

  • Everything here is unratified (C2). Kunstschaffenden weight · formal-inheritance rule · hosting mapping · LTHING crypto primitives · UFT token economics — all C1.