Skip to content

Repository files navigation

Trolley of Enlightenment → Alignment

Harmonizing Functor Collective
Public moral laboratory — from the classic trolley dilemma to collective vs individuated ethics, personal value matrices, and alignment.

CI

Theme

From the simplest trolley dilemma, an evolving map of moral philosophy grows.
Not a course that “teaches” morality — a public lab where people experience the difference between unconscious collective morality and conscious individuated federation.

Ambition bar (2028): Would this still feel groundbreaking? Are we FUCKING BOLD OR OLD?

Run locally

npm install
npm run dev      # http://localhost:8080
npm run typecheck
npm run build

Stack: React 19 · TanStack Start · Tailwind v4 · Zustand · Radix

Ontological axis

Pole Engine Meaning
Unconscious Collective Hive / Herd Cohesion, majority, social cost of deviation
Federation of Individuated Entities Personal Matrix Self-aware value vector; voluntary coordination without mind-fusion

Locked first 10 turns

Turn Title Engine
1 Seed Pure classic trolley
2 Dual Activation Collective vs Individuated
3 Personal Matrix Value vector + divergence
4 Philosophical Layer Classic lenses (tools, not authorities)
5 Contextual Engine Fat man, relational, timed, observer
6 Community Mode Cohesion + federation rules
7 Meta-Ethical Break Accept / rewrite / refuse frame
8 Transparency Lab Full / summary / off traces
9 Moral Profile Exportable constitution (JSON)
10 Synthesis Trajectory + adaptive glimpse

Non-negotiables: dual view from T2+ · transparency · editable matrix · user override · system never forces a moral conclusion.

Post–Turn 10: decreasing certainty by design.

Engine maturity

See SUGGESTIONS.md and docs/.

MCP server

The moral engine (turns, dilemma variants, philosophers, collective/individuated decision simulation, the stereo snapshot) is exposed as a remote MCP server at POST /api/mcp — point any MCP-compatible connector (Gemini Enterprise's "Add MCP Server", Claude, etc.) at https://<your-deployment>/api/mcp. Every tool wraps a pure function from src/lib/moral/; the server is stateless (no accounts, no database) — see src/lib/mcp/server.ts.

Języki i własny DSL

Aplikacja jest rozwijana przede wszystkim w TypeScript/TSX, z warstwą stylów w CSS, migracjami w SQL oraz skryptami narzędziowymi w JavaScript. Propozycja stworzenia małego, bezpiecznego języka dziedzinowego do opisywania dylematów moralnych znajduje się w docs/CUSTOM_LANGUAGE.pl.md.

Skill family

  • V2 (dla Ciebie — zakres i błędy systemowe, bez kodu): skills-v2/
  • V1 (dla agenta — operate/test w Grok Build): skills/

Gamma packs

Ready-to-paste all-core pack: docs/gamma/ (vision · teacher · 10-turn map · social trio).

Stereo-cognitive meta-game

See docs/META_GRA_STEREOKOGNICYJNA.md (PL: docs/META_GRA_STEREOKOGNICYJNA.pl.md).

Evolution cycles

See docs/EVOLUTION_CYCLE.md (Linear skill + milestones).

License

MIT — see LICENSE


Harmonizing Functor Collective · Constitution v0.3

About

Trolley of Enlightenment → Alignment — public moral lab: trolley → collective vs individuated ethics → alignment (Harmonizing Functor)

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages