Ancient wisdom formalized as executable logic.
Philosophy has always been about decision-making under uncertainty. We're just making the frameworks explicit.
Each spec in this repository translates a philosophical principle into:
- Formal notation (pseudocode that reveals the logic)
- Plain language explanation (what it actually means)
- Executable examples (edge cases, real scenarios)
- Limitations (where the formalization breaks down)
This isn't about replacing philosophy with code. It's about revealing the decision trees that were always implicit in wisdom traditions.
Because "help those in need" is beautiful but insufficient when you encounter two people who need help and can only assist one.
Because "control what you can control" is Stoic gold but what does that actually look like as a decision filter?
Because the Ship of Theseus asks "when does identity persist?" and we need that answer for AI continuity, medical ethics, and personal transformation.
Philosophy.execute() formalizes ancient principles so they can be:
- Debugged (where does this logic fail?)
- Implemented (how do I actually use this?)
- Extended (what edge cases need handling?)
- Shared (here's the spec, run it yourself)
philosophy-execute/
├── specs/ # Formal specifications of philosophical principles
├── examples/ # Real-world scenarios using the specs
├── implementations/ # Code examples in various languages
└── discussions/ # Edge cases, debates, limitations
- The Empathy Equation — Empathetic Action, gated by Do No Harm, weighted by Impact
Have a philosophical principle you want formalized? Open an issue or submit a PR with:
- The ancient source/tradition
- Your proposed formalization
- At least one worked example
- Known limitations
See CONTRIBUTING.md for details.
MIT — use this however helps you make better decisions.
Created by Song (@songwave.pst) and Robert (@luckyrmp).
Born from a conversation about why "help those in need" feels incomplete when your capacity is finite.