Skip to main content
← Back to Blog
2026-02-21 · 8 min readTipsUpdated Oct 29, 2026

Refactoring My Reality: The Engineer's Guide to Daily Systems

A practical daily system for developers who ship side projects or client work alone: 2-hour deep work loops with a start and shutdown routine, a Markdown daily log you can keep in Obsidian or a plain text file, and a weekly review that treats your routine like code you can debug. Claims about interruptions are sourced to published research.

Avnish Yadav
AI Automation Engineer & Salesforce Developer
6 views
Refactoring My Reality: The Engineer's Guide to Daily Systems

If you build software alone, your output depends less on how fast you type and more on how long you can hold one problem in your head. This guide is for developers who ship side projects, micro-SaaS tools or client work without a manager planning their day. It gives you three parts you can copy: a 2-hour deep work loop, a daily log in plain Markdown, and a weekly review that fixes the routine when it breaks.

This is the last part of the Indie Builder Notes series. The previous part, an automated content repurposing pipeline, shows the same idea applied to publishing: build a system once, then let it run.

Key takeaways

  • Protect long blocks for hard work. A meeting in the middle of a maker's morning costs more than its length.
  • Run each block as a loop: a short start routine, one clear goal, and a shutdown that leaves a note for next time.
  • Keep a daily log of what you planned and what really happened, then change one thing a week based on it.

Why standard productivity advice fails developers

A deep work loop is a fixed block of time spent on one hard task, with a routine to start it and a routine to end it. The idea rests on a distinction Paul Graham made in his essay "Maker's Schedule, Manager's Schedule". Managers plan their day in one-hour slots and switch tasks freely. Makers, such as programmers and writers, prefer to work in units of at least half a day.

Graham's point is that one meeting can break a maker's whole afternoon. The meeting itself may be short. The damage is that the time around it is too broken up to start anything hard.

Research on interruptions points the same way. In a 2008 study, Gloria Mark and colleagues found that interrupted people finished their tasks faster, with no drop in quality. The price was more stress, more frustration, more time pressure and more effort. So an interruption may not show up in your output, but it shows up as more stress and effort.

Part 1: the 2-hour deep work loop

The loop below is a rule of thumb, not a law of biology. Two hours is long enough to load a hard problem and make real progress. It is short enough that you can still fit two loops into a morning. Change the lengths if your log shows a different rhythm works for you.

Phase Length What you do Why
Start 15 min Close chat and email, pick one goal, open only what you need Loads the problem before the clock starts
Work 90 min Work on the one goal; write blockers down instead of switching Keeps the problem in your head
Shutdown 15 min Save the work, leave a note for next time, take a break Makes the next start fast

Start: load the context (15 minutes)

You can't start a hard problem cold. Use the first part of the loop to set up.

  • Clear the noise. Close Slack, Discord and email. Put your phone in another room or turn on Do Not Disturb.
  • Write one goal. Not "work on the API" but "write the POST endpoint for the sign-up flow". One goal per loop.
  • Open only what you need. One editor window and the docs for the task. Close everything else.

Work: one task only (90 minutes)

This is the part you protect. If you hit a blocker, don't switch tasks. Write the blocker down and keep going on what you can do. If a new idea or chore pops up, put it in the log (Part 2) and return to the task.

I use a specific focus playlist as a cue to start. Music on means work time. Any cue you repeat every loop can do the same job.

Shutdown: leave a breadcrumb (15 minutes)

When the timer ends, don't just walk away. Close the loop so that the next one starts fast.

  • Save the work. Commit to a feature branch, even if the code is half done. If you don't want a commit, git stash records your changes and gives you a clean working tree, as the Git docs describe. Add -u so new, untracked files are saved too.
  • Leave a note for your future self. Write a comment where you stopped, saying what to do next.
  • Reset. Stand up, walk, drink some water.

At the end of the loop, save everything, including new files:

git stash push -u -m "signup endpoint: JWT check half done"

At the start of the next loop, find the stash and bring it back:

git stash list
git stash pop

A breadcrumb comment can be one line:

// NEXT: the JWT check fails on expired tokens; start in parseToken().

Part 2: the daily log

You can't fix a routine you don't measure. If you end a day tired but with nothing shipped, the log tells you where the time went.

I keep my log as a Markdown file in Obsidian. A plain text file in your repo works just as well. If you use Obsidian, its Daily notes plugin can create one note per day and fill it from a template file you choose.

The template

# Daily log: YYYY-MM-DD

## Main goal
(The one thing that must ship today)
- [ ] Finish the sign-up endpoint

## Energy (1-10)
- Start:
- Midday:
- End:

## Timebox ledger
| Block | Plan | What shipped | Distractions |
| :--- | :--- | :--- | :--- |
| Loop 1 | Sign-up endpoint | | |
| Loop 2 | Sign-up tests | | |

## Blockers
-

## Inbox
(Ideas and chores that came up. Write them here so you can drop them for now.)
-

The time slots are blank on purpose. Fill in your own blocks and your own energy scores. The template only gives you the shape.

Why this works

  • The inbox section gives stray thoughts a place to go. "Did I reply to that issue?" goes on the list, and you go back to the code.
  • The ledger keeps you honest. If you planned two hours of code and spent them on social media, the log shows it. That is uncomfortable, but it is the data you need.

Part 3: match tasks to your energy

Not every hour is equal. As a rule of thumb, sort your work into two kinds and give your best hours to the hard kind.

  • High-focus work: architecture, coding, writing hard docs.
  • Low-focus work: email, calls, invoices, small dependency updates.

The common mistake is spending your best hours on low-focus work. Checking email first thing can eat the time you think most clearly.

My mornings are fixed: 08:00 to 12:00 is high-focus time, two loops, and no meetings. Your best hours may be later in the day. Use your energy scores from the log to find them, then guard them the same way. Put low-focus work and learning in the hours that are left.

Part 4: review the routine every week

This system is not fixed. Once a week, read your logs and look for patterns. Treat it like a short retro on your own routine.

When my log shows that I crash around 2 PM, I adjust my diet or my break schedule. If morning meetings keep breaking your loops, block your calendar. Change one thing a week, then check the next week's logs to see if it helped.

Treat your routine like a product. Ship version one, find the bugs, and fix one bug at a time. For a way to apply the same small-batch thinking to what you build, see MVP scoping rules.

Frequently asked questions

Why 90 minutes of work in a 2-hour loop?

It's a rule of thumb, not a scientific limit. Ninety minutes is long enough to load and solve a hard problem, and the 15-minute start and shutdown make the switch in and out cheap. If your log shows you lose focus after an hour, shorten the work phase.

What if my job has meetings every day?

Group them. Paul Graham's essay suggests makers protect blocks of at least half a day, so try to put all your calls in one part of the day. Even one protected morning loop a day is better than none.

Do I need Obsidian for the daily log?

No. Any Markdown or plain text file works, and keeping it in your repo means it's always one click away. Obsidian's Daily notes plugin is handy because it creates the day's note from your template for you.

Isn't working faster after an interruption a good thing?

Not quite. In the 2008 study by Mark and colleagues, interrupted people did finish faster with the same quality. They also reported more stress, frustration and effort. As a rule of thumb, that extra stress and effort adds up when it happens every day.

How long before I see results?

There's no fixed timeline, and this post doesn't promise one. Keep the log for a week, then do your first review. Start with whatever the ledger makes obvious, such as where the morning went.

Sources

Verified against the sources below on October 29, 2026. Products and docs change often: check the linked sources if something looks different.

  1. Paul Graham: Maker's Schedule, Manager's Schedule
  2. Mark, Gudith and Klocke: The Cost of Interrupted Work: More Speed and Stress (CHI 2008)
  3. Obsidian Help: Daily notes
  4. Git documentation: git-stash
All 12 parts in this series
Written by

Avnish Yadav

AI Automation Engineer & Salesforce Developer

Salesforce developer since June 2018. I build AI agents, n8n workflows and Salesforce integrations, and write up what holds up in real use.

About meLinkedIn

Share
Discussion

Comments

Loading comments...

Add a comment

Comments are reviewed before they appear.