I Open Sourced My Personal Operating System
1 Software engineer, Singapore; cyrus@pastelero.ph
Abstract
I had notes on focus, fitness, career, engineering and mindset scattered across Notion, screenshots and bookmarks. I turned them into Peak Self, a public git repo organized into five domains, because version history and diffs make me deliberate about every change. Writing it all down as protocols showed me the gap between what I said I did and what I actually did. My deep work protocol was aspirational, my training had no periodization, and my career growth was accidental. If I started again, I'd write fewer sections and go deeper.
Keywords: Open Source; Productivity
Introduction
What happens when you stop collecting advice and start building systems.
I had notes everywhere. Notion pages about deep work techniques. Screenshots of training programs. Bookmarked podcasts about career growth. Scattered markdown files with engineering principles I wanted to remember. A graveyard of good intentions.
The problem was never lack of information. It was lack of structure. Every time I wanted to revisit my flow state protocol or check my training split, I spent 10 minutes trying to find where I wrote it down. Half the time I gave up and just Googled it again.
So I did what any engineer would do. I turned it into a repo.
This post is about that repo and what building it showed me. The short version: when I wrote down how I operate as step-by-step protocols, the gap between the system I thought I had and the habits I actually had became hard to ignore.
Approach
Five domains
Peak Self[1] is a personal knowledge base for optimal human performance. Table 1 shows its five domains.
| Domain | What's Inside |
|---|---|
| Focus | Flow state protocol, environment design, deep work scheduling, NSDR protocols |
| Fitness | Polarized training (80/20), Big 6 lifts, Zone 2 cardio, nutrition, sleep optimization |
| Career | Growth flywheel, T shape skill model, high income skills, networking systems |
| Engineering | SOLID, Gall's Law, Conway's Law, debugging mental models, DORA metrics, ADRs, RFCs |
| Mindset | Identity architecture, motivation vs discipline, environment design, operating identity |
There's also a curated resources section. The YouTube channels, podcasts, and books that actually shaped my thinking. Not a generic "top 10" list.
Why a git repo
A Notion page is where knowledge goes to feel organized. A git repo is where knowledge goes to be used.
The repo format gives me version history, so I can see how my protocols evolved. My training split from 6 months ago was wrong. From now on, git will show me exactly how and when I correct it. It also gives me diffs. When I update a protocol, I review the change. That forces me to be intentional about changes instead of casually editing a paragraph. Figure 1 shows that loop.
Anyone can fork it and make it their own. My training protocol will not work for everyone. But the structure might.
And markdown just works. It renders on GitHub, works in any editor, is greppable, and plays nice with AI tools.
The principles behind it
You do not rise to the level of your goals. You fall to the level of your systems.
That quote from James Clear, from Atomic Habits[2], is the thesis of the entire repo. Four principles follow from it.
The first is elimination before optimization. Before adding a productivity tool, remove the phone from the room. Before adding a supplement, fix your sleep. The biggest gains come from removing friction, not adding tools.
The second is identity over discipline. "I am someone who protects their deep work" is more durable than "I should focus more." The identity behavior loop, where identity shapes processes and processes produce outcomes, is the foundation of the mindset section.
The third is systems over goals. A goal is "lose 10kg." A system is "train 6 days a week with polarized intensity." Goals are endpoints. Systems are the daily machinery that gets you there and keeps you there after you arrive.
The fourth is compound returns. One 90-minute flow state session per day, 5 days a week, for a year is 390 hours of deep work. Most people do not get 390 hours of deep work in 3 years.
What writing it down forced me to confront
Three sections caught me out while I was writing them.
My flow state protocol was aspirational, not actual
When I wrote down my deep work protocol, I realized I was documenting the version I wanted to follow, not the one I actually followed. I wrote "phone in another room" but my phone was on the desk, face down. I wrote "one monitor" but I had two.
Writing it as a protocol, not a blog post, not a journal entry, but a literal step-by-step protocol, made the gap between aspiration and practice embarrassingly visible. I had to either change the document or change my behavior. I changed my behavior.
My training had no periodization
I was going to the gym consistently. But I had no structure. Some weeks were all upper body. Some weeks I skipped cardio entirely. I had no idea what my Zone 2 heart rate range was.
Writing the training protocol forced me to actually design a program. Polarized training with 80% Zone 2 and 20% high intensity. Three strength days. Clear progression scheme. The Big 6 lifts (squat, deadlift, bench, overhead press, pull-up, row) became the non-negotiable foundation.
Career growth was accidental
I had been promoted and changed jobs, but I could not articulate my growth system. Writing the career section made me realize I was relying on being good at my job and hoping people noticed.
The growth flywheel gave me a framework to be deliberate about each link in the chain. Figure 2 shows it. Skills produce output. Output builds reputation. Reputation unlocks opportunities. Opportunities provide feedback. Feedback sharpens skills.
The engineering section
Most personal knowledge base projects are about habits and productivity. Peak Self also includes an engineering section because software engineering is my craft and I wanted my principles documented alongside everything else.
It covers the laws every senior engineer should know. Gall's Law, Conway's Law, Hyrum's Law, Goodhart's Law. It covers practical processes like ADRs, RFCs, postmortems, and documentation-driven development. It includes DORA metrics and a debugging mental model.
It follows the same philosophy as the rest. Actionable protocols, not theory. Every principle includes what it actually looks like in daily work.
Discussion
Table 2 puts the three findings side by side.
| Domain | What I thought I had | What writing it down showed | What changed |
|---|---|---|---|
| Focus | A deep work protocol | Phone on the desk, two monitors | I changed my behavior |
| Fitness | A consistent gym habit | No structure, no Zone 2 range | An 80/20 polarized program, three strength days, Big 6 |
| Career | Promotions and job changes | No growth system I could articulate | The growth flywheel |
Same pattern every time. I had a story about how I operated, and writing the protocol made me check it. The act of writing down how you operate reveals whether you actually have a system or just a collection of habits you fell into. Most of what I thought were deliberate choices turned out to be defaults I had never questioned.
Limitations
This is one person's system. Every result above is me comparing what I wrote with what I was actually doing. That's self-report.
The 390 hours is simple arithmetic: 90 minutes, 5 days a week, for a year. The line about most people not getting that in 3 years is my opinion. There's no source behind it here.
What I would do differently
Start with fewer sections and go deeper. The initial version tried to cover everything at once. A focused flow state protocol and training program would have been more useful than five half-developed sections. I ended up rewriting most of it anyway.
Conclusion
Peak Self is not finished. It is a living document. But the structure is there, and having it in a repo means it evolves with me instead of rotting in a notes app.
References
- Peak Self. github.com. https://github.com/cyruspastelero/peak-self ↑
- from Atomic Habits. jamesclear.com. https://jamesclear.com/atomic-habits-summary ↑