Skip to content

jasonhnd/life_OS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

269 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Life OS

Your decisions deserve more than one voice. Now in your language, your culture.


License Claude Code skills.sh Version

Install in 30 seconds ยท How it works ยท See it in action ยท Architecture

๐ŸŒ English ยท ไธญๆ–‡ ยท ๆ—ฅๆœฌ่ชž


Architecture as of v1.9.0: Life OS is 100% markdown โ€” agent prompts, slash commands, eval scenarios, RFC documents. No Python (tools/ removed in v1.8.1 Wave 2), no bash hooks (scripts/hooks/*.sh retired in v1.8.5), no .yml schema files (v1.8.7 md-only ontological commit per DR-10). Runtime enforcement happens via inline LLM procedures driven by spec.md reading + grep matching. Hermes Local was the original name for the v1.6-v1.8.0 bash hook + Python tools layer; that layer no longer exists. Pattern provenance preserved: forked from NousResearch/hermes-agent under the MIT License.

Historical sections below (v1.8.3 / v1.8.0 / v1.6.3a "What's New") may reference bash scripts/setup-hooks.sh and similar โ€” those steps are no-op since v1.8.5 (hook layer retired). For current setup, run /install-agents in Claude Code (one slash command, replaces all historical bash setup scripts).

One engine. Nine worlds. Your call.

Life OS installs into your AI terminal (Claude Code, Gemini CLI, or Codex CLI) and transforms it into a personal cabinet โ€” multiple independent AI agents that analyze your decisions from every angle, argue with each other, and hold both the plan and you accountable.

The decision engine is the same for everyone: plan, review, veto, execute, audit. What changes is the world it speaks.

When you first start a session, you pick a theme:

๐ŸŽจ Choose your theme:

English:
a) ๐Ÿ›๏ธ Roman Republic โ€” Consul, Tribune, Senate
b) ๐Ÿ‡บ๐Ÿ‡ธ US Government โ€” Chief of Staff, Attorney General, GAO
c) ๐Ÿข C-Suite โ€” CEO, General Counsel, CFO

ไธญๆ–‡:
d) ๐Ÿ›๏ธ ไธ‰็œๅ…ญ้ƒจ โ€” ไธž็›ธใ€ไธญไนฆ็œใ€้—จไธ‹็œ
e) ๐Ÿ‡จ๐Ÿ‡ณ ไธญๅ›ฝๆ”ฟๅบœ โ€” ๅ›ฝๅŠก้™ขๆ€ป็†ใ€ๅ‘ๆ”นๅง”ใ€ไบบๅคงๅธธๅง”ไผš
f) ๐Ÿข ๅ…ฌๅธ้ƒจ้—จ โ€” ๆ€ป็ป็†ใ€ๆˆ˜็•ฅ่ง„ๅˆ’้ƒจใ€ๆณ•ๅŠกๅˆ่ง„้ƒจ

ๆ—ฅๆœฌ่ชž:
g) ๐Ÿ›๏ธ ๆ˜Žๆฒปๆ”ฟๅบœ โ€” ๅ†…้–ฃ็ท็†ๅคง่‡ฃใ€ๅ‚่ญฐใ€ๆžขๅฏ†้™ข
h) ๐Ÿ›๏ธ ้œžใŒ้–ข โ€” ๅ†…้–ฃๅฎ˜ๆˆฟ้•ทๅฎ˜ใ€ๅ†…้–ฃๆณ•ๅˆถๅฑ€ใ€่ฒกๅ‹™็œ
i) ๐Ÿข ไผๆฅญ โ€” ็คพ้•ทๅฎคใ€็ตŒๅ–ถไผ็”ป้ƒจใ€ๆณ•ๅ‹™้ƒจ

Type a-i

Here is the same decision โ€” "Should I leave my job?" โ€” through all three:

  ไธ‰็œๅ…ญ้ƒจ                  ้œžใŒ้–ข                    C-Suite
  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€                โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€                โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
  ๐Ÿ“œ ไธญไนฆ็œ ่ตท่‰ๆ–นๆกˆ         ๐Ÿ“œ ๅ†…้–ฃๅบœ ่ตทๆกˆ             ๐Ÿ“œ VP Strategy drafts plan
  ๐Ÿ” ้—จไธ‹็œ ๅฐ้ฉณ๏ผš           ๐Ÿ” ๅ†…้–ฃๆณ•ๅˆถๅฑ€ ๅทฎใ—ๆˆปใ—๏ผš     ๐Ÿ” General Counsel vetoes:
     "่ดขๅŠก่ท‘้“ๆœช่งฃๅ†ณ"          "่ฒกๅ‹™็š„ไฝ™่ฃ•ใŒไธๆ˜Ž"          "Runway not addressed"

  ๐Ÿ’ฐ ๆˆท้ƒจ  5/10            ๐Ÿ’ฐ ่ฒกๅ‹™็œ  5/10            ๐Ÿ’ฐ CFO  5/10
  โš”๏ธ ๅ…ต้ƒจ  6/10            โš”๏ธ ้˜ฒ่ก›็œ  6/10            โš”๏ธ VP Ops  6/10
  โš–๏ธ ๅˆ‘้ƒจ  4/10            โš–๏ธ ๆณ•ๅ‹™็œ  4/10            โš–๏ธ CCO  4/10

  ๐Ÿ”ฑ ๅพกๅฒๅฐ ๅฎกๆ ธ             ๐Ÿ”ฑ ไผš่จˆๆคœๆŸป้™ข ็›ฃๆŸป           ๐Ÿ”ฑ Internal Audit audits
  ๐Ÿ’ฌ ่ฐๅฎ˜ ่ฟฝ้—ฎไฝ              ๐Ÿ’ฌ ๅ†…้–ฃๅ‚ไธŽใŒๅ•ใ„่ฟ”ใ™      ๐Ÿ’ฌ Exec Coach challenges you

  ๐Ÿ“‹ ๅฅๆŠ˜: 5.8/10          ๐Ÿ“‹ ้–ฃ่ญฐๆฑบๅฎšๆ›ธ: 5.8/10       ๐Ÿ“‹ Executive Brief: 5.8/10

Nine different worlds. Identical rigor underneath. Each language offers three governance styles โ€” historical, modern government, and corporate โ€” so every user finds a voice that fits. A Japanese user picks between Meiji-era ministers, Kasumigaseki bureaucrats, or corporate departments. An English user chooses Roman senators, US federal officials, or C-Suite executives. A Chinese user selects Tang Dynasty mandarins, modern State Council roles, or corporate divisions.

Theme determines language. After you pick a theme, every word of output โ€” every agent, every report, every response โ€” is in that theme's language. Chinese for ไธ‰็œๅ…ญ้ƒจ. Japanese for ้œžใŒ้–ข. English for C-Suite. No mixing, no exceptions.

Theme is per-session. Each terminal window can use a different theme independently. You can switch mid-session at any time by saying "switch theme" (or "ๅˆ‡ๆขไธป้ข˜" or "ใƒ†ใƒผใƒžๅˆ‡ใ‚Šๆ›ฟใˆ"). The engine never changes โ€” only the voice.

Auto-inference from trigger words. Say "ไธŠๆœ" and the ไธ‰็œๅ…ญ้ƒจ theme loads automatically (ๅ”ๆœ-specific). Say "้–ฃ่ญฐ้–‹ๅง‹" and the ้œžใŒ้–ข theme loads (modern government-specific). Generic triggers like "ๅผ€ๅง‹", "ใฏใ˜ใ‚ใ‚‹", or "start" show that language's three sub-choices โ€” because the word alone does not distinguish historical, government, or corporate.

Not role-playing. Each agent runs as a real, isolated subagent. They cannot see each other's reasoning. They score independently. They disagree.


Current Status

Life OS is now a markdown-only, GitHub-backed decision system. The current user path is natural language first: after installation, say what you want to do, and ROUTER maps it to the right workflow. Slash commands remain as setup and maintenance plumbing, not the daily interface.

For release history, use CHANGELOG.md and docs/reference/version-history.md. Old v1.6-v1.8 architecture notes live under docs/history/; they are preserved for context but are not the current operating guide.

How it works

Life OS rests on five pillars. The decision engine is the core โ€” everything else grows from it.


I. The Decision Engine โ€” Plan, Review, Veto, Execute, Audit

The engine runs multiple agents organized around a principle that is 1,400 years old: no single voice goes unchecked. The theme gives those agents names from your culture. The logic is always the same.

The multiple agents

Agent Function
ROUTER Your primary entry point โ€” handles casual chat, routes complex matters to the engine
PLANNER Breaks your situation into 3-6 dimensions and builds a structured plan
REVIEWER Independent review with emotional audit, 10/10/10 regret test, SOUL consistency check, red-team challenge, and veto power (max 2 rounds)
DISPATCHER Detects dependencies between domains, dispatches parallel or sequential execution
PEOPLE Relationships, stakeholders, team dynamics
FINANCE Money, assets, risk exposure
GROWTH Learning, personal brand, communication
EXECUTION Action plans, logistics, timelines
GOVERNANCE Rules, risk, compliance, self-discipline
INFRA Health, energy, living environment, digital infrastructure
AUDITOR Audits the agents' work quality after every flow
ADVISOR Audits you โ€” surfaces behavioral patterns across your decisions
COUNCIL Cross-domain debate โ€” auto-triggers when domain scores differ by 3+ points
RETROSPECTIVE Session start: sync, briefing, strategic overview
ARCHIVER Session close: archive, knowledge extraction, DREAM, sync
STRATEGIST Hall of Wisdom โ€” 93 thinkers across 18 domains, 3 dialogue modes

Every major decision passes through three stages. No shortcuts.

Draft โ€” The PLANNER breaks your situation into dimensions and builds a plan.

Review โ€” The REVIEWER examines the plan independently. It runs an emotional audit: Is fear driving this? Will your family support it? Will you regret this in 10 minutes, 10 months, 10 years? It checks alignment with your SOUL (values archive), your wiki (established knowledge), and your strategic map (cross-project impact). It red-teams the weakest assumption. If it finds a blind spot, it sends a veto โ€” the plan goes back for revision. Maximum two veto rounds; the third pass must be approved.

Execute โ€” Six domain analysts each score the plan 1-10 from their domain, independently:

Domain What it covers The question it asks
People Relationships, stakeholders "Are the right people involved?"
Finance Money, assets, resources "Can you afford this โ€” including the worst case?"
Growth Learning, expression, culture "What do you need to learn first?"
Execution Action, logistics, timelines "What's the concrete plan, week by week?"
Governance Rules, risk, compliance "What happens if everything goes wrong?"
Infrastructure Health, energy, environment "Can your body and environment sustain this?"

Each domain has four specialized divisions. Finance, for example, has Income (salary, side income), Spending (budgets, habits), Assets (investments, real estate), and Reserves (emergency fund, insurance, retirement). The DISPATCHER routes to the right divisions automatically.

After all six report, the REVIEWER does a final review โ€” and if scores conflict by 3+ points, the COUNCIL convenes a structured three-round debate. Then the composite Summary Report is produced. The AUDITOR checks the agents' work ("The execution plan has no milestones past month 3 โ€” flag it"). The ADVISOR turns to you: "You've avoided addressing finances in your last four decisions. Why?"

Here is what the full flow looks like:

You: "I'm thinking about leaving my job to start something new."

    Draft
    ๐Ÿ“œ Planner          โ†’ Breaks it into 6 dimensions, builds the plan

    Review
    ๐Ÿ” Reviewer         โ†’ Emotional audit: running away or running toward?
                          10/10/10 test: will you regret this in 10 years?
                          SOUL check: aligned with your stated values?
                          Veto: "Financial runway not addressed. Revise."

    Execute  (after revision passes review)
    ๐Ÿ‘ฅ People     7/10   "Co-founder chemistry is untested"
    ๐Ÿ’ฐ Finance    5/10   "18 months runway, but only if nothing goes wrong"
    ๐Ÿ“– Growth     8/10   "Strong domain expertise, credibility is real"
    โš”๏ธ Execution  6/10   "No milestone plan past month 3"
    โš–๏ธ Governance 4/10   "Non-compete clause needs legal review"
    ๐Ÿ—๏ธ Infra      7/10   "Health is good, but stress plan is vague"

    Audit
    ๐Ÿ”ฑ Auditor          โ†’ "Execution plan is vague past month 3 โ€” request revision"
    ๐Ÿ’ฌ Advisor          โ†’ "You've been consuming startup content for weeks.
                           Confirmation bias is likely. When did you last
                           seriously consider staying?"

    ๐Ÿ“‹ Final Report     โ†’ Composite: 6.2/10 โ€” Proceed with conditions

Express analysis

Not every request needs a full court process. The ROUTER handles casual chat, quick questions, and emotional support directly. For questions that need domain expertise but are not decisions โ€” say, "what tax rules apply to freelancers?" โ€” an express path sends it to 1-3 relevant domain analysts directly, skipping the PLANNER, REVIEWER, AUDITOR, and ADVISOR. Quick answer, then: "This was an express analysis. Want the full deliberation?"


II. The Hall of Wisdom โ€” 93 Thinkers Across 18 Domains

Some questions do not have a "correct answer." They need perspective.

The STRATEGIST gives you access to 93 of history's greatest thinkers across 18 domains โ€” from Socrates to Buffett, Laozi to Mandela, Dostoevsky to Feynman. Each one runs as a real subagent with their own voice, their own examples, their own way of pushing you.

Three modes:

  • One-on-one โ€” Deep dialogue with a single thinker. Socrates will not let you off easy.
  • Roundtable (2-4 thinkers) โ€” Multiple thinkers discuss your question, each from their worldview. Watch Seneca and Wang Yangming find unexpected common ground.
  • Debate (2 thinkers) โ€” Two thinkers with opposing views argue directly over three structured rounds. You judge.
You: "I keep starting things and never finishing them."

Strategist: Recommended โ€” Seneca (on time) + Wang Yangming (on action)

Seneca: "You do not lack time. You waste it on things you have not
         examined. Which of your current pursuits would you begin again,
         knowing what you know now?"

Wang Yangming: "Knowledge and action are one. If you truly knew what you
                wanted, you would already be doing it. The gap between
                knowing and doing is the gap between wanting and truly
                wanting."

โ†’ Parting words from each thinker
โ†’ Summary of your thinking journey saved to your knowledge base

18 domains: Philosophy, Eastern Thought, Science, Strategy, Business, Psychology, Systems, Human Nature, Civilization, Adversity, Aesthetics, Politics, Economics, Mathematics, Medicine, Exploration, Communication, Law.

You can name anyone not on the built-in list โ€” any historical figure โ€” and the STRATEGIST will honor the request with equal depth. If your SOUL archive exists, the STRATEGIST uses it to recommend thinkers who address your specific tensions and contradictions.


III. Second Brain โ€” Nothing Disappears When the Session Ends

Every decision, insight, pattern, and action item is written to a persistent knowledge base โ€” structured markdown files that you own, in a storage system you choose.

second-brain/
โ”œโ”€โ”€ SOUL.md                 # Who you are โ€” values, identity, aspirations
โ”œโ”€โ”€ user-patterns.md        # How you behave โ€” the advisor's observations
โ”œโ”€โ”€ inbox/                  # Quick captures from your phone
โ”œโ”€โ”€ meta/
โ”‚   โ”œโ”€โ”€ STATUS.md           # Global status dashboard
โ”‚   โ”œโ”€โ”€ STRATEGIC-MAP.md    # Relationships between projects
โ”‚   โ”œโ”€โ”€ strategic-lines.md  # Strategic line definitions
โ”‚   โ”œโ”€โ”€ journal/            # Session reports, DREAM reports
โ”‚   โ””โ”€โ”€ outbox/             # Session staging area (one subdirectory per session)
โ”œโ”€โ”€ projects/{name}/        # Active projects with tasks + decisions
โ”œโ”€โ”€ areas/{name}/           # Ongoing life areas with goals
โ”œโ”€โ”€ wiki/                   # Reusable knowledge โ€” grows from DREAM
โ””โ”€โ”€ archive/                # Completed work

GitHub-backed storage โ€” a single git repository:

Layer What it is
Local working copy The files on disk โ€” also your Obsidian vault. Where you read and write.
GitHub remote Backup + cross-device sync. git push at session close, git pull at session start.

It's just git. Versioning, backup, and multi-device sync come for free โ€” there's no separate sync engine, no primary/mirror split, no conflict-resolution layer. (Google Drive + Notion were removed; storage is GitHub-only.)

Cross-device sync: Edit on your laptop, git push. Sit down at your desktop, start a session, and the system git pulls the changes in. Conflicts are ordinary git merge conflicts โ€” rare for a single-user vault.

Parallel sessions: Work on project-alpha in one terminal window, project-beta in another. Each session writes to its own outbox directory. The next time you start a session, everything merges cleanly โ€” no conflicts, no locks.

First-run setup: On your very first session, the system detects that no second-brain exists and walks you through creating one โ€” it initializes the git repo (local working copy + optional GitHub remote) and the full directory structure automatically.


IV. Strategic Map โ€” See the Whole Board

You are good at thinking about individual projects. You are probably bad at seeing how they connect โ€” which ones feed into each other, which ones compete for your time, and what happens to the rest when one stalls.

Strategic Map adds the relationship layer.

Strategic Lines โ€” Group projects by the purpose they serve. Each line has a stated purpose and a driving force (what actually motivates you โ€” these can differ, and that tension is worth examining). Health signals define what to watch. Multiple projects can serve one line with different roles: critical-path (if this stalls, the line stalls), enabler (must complete first), accelerator (makes it faster), insurance (plan B).

Flow Graph โ€” Define what flows between projects: knowledge, deliverables, decisions, relationship capital. When a decision in one project invalidates another project's assumptions, the system flags it immediately. When knowledge flows are defined but no wiki entries actually carry the knowledge, that is a broken flow.

Health Archetypes โ€” No abstract numerical scores. The system matches each project to a pattern โ€” steady progress, controlled wait, momentum decay, uncontrolled stall, direction drift, or dormant โ€” and writes a narrative: what is happening, what it means, what to do.

Blind Spot Detection โ€” Actively looks for what is missing: unaffiliated projects (not assigned to any strategic line), broken flows (defined but not flowing), driving force neglect (behavior misaligned with what you say matters), dimension gaps (entire life areas absent from all strategic lines), and approaching deadlines with no preparation.

Your morning briefing becomes strategic:

๐Ÿ—บ๏ธ Strategic Overview

๐Ÿ’ฐ market-expansion                       ๐ŸŸก Controlled wait
   project-alpha    critical-path    โธ on-hold (legal review)
   project-beta     enabler          ๐ŸŸข active

   The legal review creates a natural window.
   โ†’ Push project-beta prep work (2-3h) โ€” high leverage, low risk.

โšก Today
๐Ÿฅ‡ Push project-beta prep โ€” exploit the waiting period
๐ŸŸข Safe to ignore: project-gamma (on track), side-project (non-critical)
โ“ Decide: project-delta is unaffiliated โ€” which strategic line does it serve?

Strategic Map integrates with SOUL (are your driving forces aligned with your values?), Wiki (do the knowledge flows actually carry real knowledge?), and DREAM (the sleep cycle uses the flow graph to discover cross-layer insights).

Strategic Map grows from zero. If you have not defined any strategic relationships, the system operates normally with a flat project list. After a few sessions with multiple projects, DREAM may propose: "You have N active projects but no strategic relationships defined. Would you like to map how they relate?"


V. SOUL + DREAM + Wiki โ€” The System Learns Who You Are (v1.6.2: now fully automatic)

SOUL records who you are โ€” not what you do, but what you value, what you believe, and who you aspire to be. Each entry has two sides: what IS (observed from your decisions) and what SHOULD BE (your stated aspiration). The gap between them is where growth happens.

Auto-writes, with you in control (v1.6.2). The system no longer asks you to confirm every entry. ADVISOR runs after every decision and increments evidence or challenges on existing SOUL dimensions. When a new value pattern accumulates 2+ pieces of evidence, SOUL auto-writes a new dimension at low confidence (0.3) โ€” with the "What SHOULD BE" field deliberately left empty for you to fill in when you're ready. You stay in charge: edit freely, delete dimensions that don't fit, or say "undo recent SOUL" to roll back.

Every session starts with a SOUL Health Report โ€” fixed position at the top of the briefing. Current profile with trend arrows, newly auto-detected dimensions awaiting your input, conflict warnings (dimensions your last 3 decisions all challenged), and dormant dimensions (30+ days without activation). You see the system's model of you every single time.

REVIEWER references SOUL in every decision. If a decision challenges a stated value, it surfaces the contradiction instead of rubber-stamping.

DREAM is the AI sleep cycle. After every session ends, the system "sleeps" โ€” inspired by human sleep architecture:

  • Light sleep (N1-N2) โ€” Organize loose ends: classify unprocessed inbox items, flag expired tasks, detect orphan files
  • Deep sleep (N3) โ€” Consolidate: extract Wiki knowledge and update SOUL dimensions from the last 3 days of activity
  • REM (creative connections + 10 auto-triggers) โ€” Discovers cross-domain links you have not noticed, and automatically acts on 10 specific patterns: new project relationships, behavior diverging from stated values, wiki contradictions, dormant SOUL dimensions, unused cross-project cognition, decision fatigue, value drift, stale commitments ("30 days ago you said you would do X โ€” what happened?"), emotional-state decision clusters, and repeated identical decisions ("You're deciding X for the 4th time โ€” are you avoiding commitment?")

All triggered actions flow into the next session's briefing in a fixed "DREAM Auto-Triggers" block. Next morning: "Last session I noticed you're deciding the contract question again โ€” this is the 3rd time. What's actually blocking you?"

Wiki captures reusable knowledge about the world โ€” not about you. After every session, the ARCHIVER auto-writes wiki entries that pass all 6 strict criteria: cross-project reusable, about the world (not you), zero personal privacy (no names, amounts, IDs, or traceable details โ€” if stripping privacy makes the conclusion meaningless, it's discarded), factual/methodological, โ‰ฅ2 independent evidence points, no contradiction with existing entries. Personal material belongs in SOUL; reusable knowledge belongs in Wiki. The two never mix.

All three systems grow from zero. On day one, the system knows nothing about you. It learns only from your decisions and observations โ€” and it now learns continuously, not just when you ask.


See it in action

Start your day

You: Start session.

๐ŸŒ… Session Start:
   Pick your theme: a-i (3 per language โ€” historical / government / corporate)

You: b

๐ŸŒ… ๅฎšไพ‹้–ฃ่ญฐ:
   Syncing second-brain... git pull: 3 changes.
   ๐Ÿ“ฅ "Look into certification programs" โ€” captured yesterday on phone
   ๐Ÿ“ฅ "project-alpha: supplier replied" โ€” forwarded from email
   ๐Ÿ“ฅ Quick note: "revisit budget assumptions"

   ๐Ÿ—บ๏ธ Strategic overview: [see Strategic Map above]

   ๐Ÿ’ค DREAM report: Last session noticed your wiki entry on negotiation
      tactics could apply to the supplier conversation in project-alpha.

   ๐Ÿ“‹ Recommended: Process supplier reply first (time-sensitive).

Behind the scenes, the session boot sequence ran 18 steps: theme resolution, directory detection, data layer check, git health check, full sync pull, outbox merge, platform and version check, project binding, context loading (user-patterns, SOUL, STATUS, lint state, project context, global overview), Strategic Map compilation, DREAM report presentation, wiki health check, and the final briefing.

Make a decision

You: I'm considering switching from full-time to freelance.
โ†’ 2-3 rounds of intent clarification (cannot be skipped โ€” HARD RULE)
โ†’ Full engine flow: draft โ†’ review (with possible veto) โ†’ execute (6 domains
  in parallel, each displayed as it completes) โ†’ final review โ†’ Summary Report
  โ†’ audit โ†’ advisor
โ†’ Report: 5.8/10 โ€” "Viable but timing is premature. Revenue runway
   is 11 months, not the 18 you assumed. Recommendation: build 3 more
   months of savings and one anchor client before transitioning."

Think deeply

You: I keep saying yes to things I don't care about.
โ†’ ROUTER detects abstract thinking need, asks: "Would you like to activate
  the Strategist?"
โ†’ One-on-one with Marcus Aurelius on priorities and refusal
โ†’ Parting words, journey summary, insights saved to second-brain

End your day

You: End session.

๐Ÿ“ Archiver:
   Phase 1 โ€” Archive: decisions, tasks, journal โ†’ outbox
   Phase 2 โ€” Knowledge extraction (auto-write under strict criteria):
     ๐Ÿ”ฎ SOUL auto-written: "Values autonomy over stability" โ€” confidence 0.3
        (evidence: 2 decisions this session; "What SHOULD BE" left empty for you)
     ๐Ÿ“š Wiki auto-written: "Freelance runway formula" โ†’ wiki/career/
        (passes 6 criteria + privacy filter: zero personal details)
     โŒ 1 wiki candidate discarded โ€” contained personal amount, couldn't strip
   Phase 3 โ€” DREAM:
     ๐Ÿ’ค N1-N2: 2 inbox items need classification
     ๐Ÿ’ค N3: new evidence for "deliberate decision-maker" dimension (+1)
     ๐Ÿ’ค REM: ๐Ÿšจ Stale commitment detected โ€” 32 days ago you said you would
            draft the freelance plan. Triggered for next session's briefing.
   Phase 4 โ€” Sync: git add + commit + push... done.
   โœ… Completion checklist verified. Session archived.
   โ†ฉ๏ธ To undo any auto-write: delete the file, or say "undo recent wiki/SOUL"
      next session.

12 Standard Scenarios

Life OS comes pre-configured for the decisions people actually face:

# Scenario Domains involved What the reviewer asks
1 Career transition All Six "Running away or pursuing something?"
2 Investment decisions Finance, Execution, Governance, People "FOMO or rational? Can you survive total loss?"
3 Relocation All Six "Do you really know the destination?"
4 Annual planning All Six "Too many goals? Measurable? Aligned with values?"
5 Startup decisions All Six "Solving a real pain point? Are you the right person?"
6 Major purchases Finance, Execution, Governance "Need or want? Would you still want it in a month?"
7 Relationships People, Infra, Governance, Growth "Are you evaluating the other person with bias?"
8 Periodic reviews Retrospective Daily, weekly, monthly, quarterly, yearly
9 Health management Infra, Execution, Finance, Governance "Sustainable, or another short burst?"
10 Learning plans Growth, Execution, Finance, People "Learning for growth, or avoiding real work?"
11 Time management Execution, Finance, Governance, Infra "Really no time, or avoiding something?"
12 Major family decisions All Six "Whose voice hasn't been heard?"

Installation

Life OS installs in one command. It requires a Pro Mode terminal โ€” that means real subagents running in parallel with information isolation, not a chatbot.

Platform Command
Claude Code /install-skill https://github.com/jasonhnd/life_OS
Gemini CLI / Antigravity npx skills add jasonhnd/life_OS
OpenAI Codex CLI npx skills add jasonhnd/life_OS

On first start, you pick your theme. The system auto-detects your language and recommends a match, but the choice is always yours. You can switch at any time by saying "switch theme."

First run: The system detects that no second-brain exists and walks you through setup โ€” it initializes the git repo (local working copy + optional GitHub remote) and the full directory structure automatically. On subsequent sessions, the system detects what kind of directory you are in: Life OS system repo (development), second-brain (normal use), or a project repo (connects to configured second-brain path).

No command memorization required: After installing, just say:

I just installed Life OS. Check my setup and walk me through starting.

The ROUTER runs the Doctor health-check workflow from natural language: directory type, skill root, host readiness, second-brain reachability, and git sync. It then tells you the next sentence to say. If you already know your setup is ready, say "Start session" or the theme-specific start word such as "ไธŠๆœ".

Set up auto-updates (Claude Code):

Run /install-agents --refresh in Claude Code (setup plumbing โ€” registers life_OS agents + refreshes wrappers). This is not the daily user path; normal use is natural language. Note: pre-v1.8.5 used bash scripts/setup-hooks.sh; that script was retired during the v1.8.5 hook layer้€€ๅฝน + md-only ontological commit.

Task-spawnable subagents

After running /install-agents --refresh, life_OS auto-registers its Task-spawnable agents under ~/.claude/agents/lifeos-*.md. Claude Code then recognizes calls such as Task(lifeos-retrospective) and Task(lifeos-archiver) as first-class targets instead of falling back to general-purpose.

The lifeos- prefix avoids collisions with other skills. Wrappers point at the canonical definitions under agents/*.md in the skill, so updating the skill and rerunning setup refreshes agent behavior. There are multiple agents definition files; 21 are Task-spawnable wrappers, while narrator.md remains ROUTER-internal.

Uninstall: /uninstall-agents (slash command, replaces deleted scripts/unregister-claude-agents.sh).

Manual update: Say "update" (or "ๆ›ดๆ–ฐ" or "ใ‚ขใƒƒใƒ—ใƒ‡ใƒผใƒˆ") in any session.

Not supported: ChatGPT, Gemini Web, or any single-context chat interface. Life OS requires multiple independent subagents with true information isolation โ€” a single chat window cannot do this.

For detailed setup including storage backend configuration, see the full installation guide.


Under the hood

Architecture

๐Ÿ‘‘ You
 โ”‚
 โ”œโ”€ ๐ŸŽจ Theme Layer
 โ”‚     9 themes across 3 languages (3 per language: historical / government / corporate)
 โ”‚     zh: ไธ‰็œๅ…ญ้ƒจ ยท ไธญๅ›ฝๆ”ฟๅบœ ยท ๅ…ฌๅธ้ƒจ้—จ
 โ”‚     ja: ๆ˜Žๆฒปๆ”ฟๅบœ ยท ้œžใŒ้–ข ยท ไผๆฅญ
 โ”‚     en: Roman Republic ยท US Government ยท C-Suite
 โ”‚     Maps the functional IDs โ†’ display names, tone, trigger words
 โ”‚     One file per theme (~60 lines). Adding a new theme = one new file.
 โ”‚
 โ”œโ”€ โš™๏ธ Decision Engine (multiple agents, culture-neutral)
 โ”‚  โ”‚
 โ”‚  โ”œโ”€ ๐Ÿ›๏ธ ROUTER โ€” Daily entry point
 โ”‚  โ”‚     Direct handling: casual chat, emotional support, quick questions
 โ”‚  โ”‚     Express ๐Ÿƒ: 1-3 domains for non-decision analysis
 โ”‚  โ”‚     Full deliberation โš–๏ธ: 2-3 rounds of intent clarification โ†’ three stages
 โ”‚  โ”‚     Detects confusion/values questions โ†’ offers STRATEGIST
 โ”‚  โ”‚
 โ”‚  โ”œโ”€ Three Stages โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
 โ”‚  โ”‚   ๐Ÿ“œ PLANNER (Draft)
 โ”‚  โ”‚     Break into 3-6 dimensions, assign domains, set quality criteria
 โ”‚  โ”‚     Reference SOUL for value dimensions user didn't mention
 โ”‚  โ”‚     Check Strategic Map: does this affect downstream projects?
 โ”‚  โ”‚
 โ”‚  โ”‚   ๐Ÿ” REVIEWER (Review โ€” has veto power)
 โ”‚  โ”‚     ๐Ÿ˜ฐ Emotional audit: fear? impulse? avoidance?
 โ”‚  โ”‚     ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ง Relationship impact: how will family react?
 โ”‚  โ”‚     ๐Ÿ”ฎ SOUL alignment: contradicts your stated values?
 โ”‚  โ”‚     โฐ Regret test: 10 minutes / 10 months / 10 years?
 โ”‚  โ”‚     ๐ŸŽฏ Red team: assume it fails โ€” weakest assumption?
 โ”‚  โ”‚     ๐Ÿ—บ๏ธ Strategic propagation: invalidates downstream premises?
 โ”‚  โ”‚     ๐Ÿšซ Veto โ†’ back to PLANNER (max 2 rounds)
 โ”‚  โ”‚
 โ”‚  โ”‚   ๐Ÿ“จ DISPATCHER (Dispatch)
 โ”‚  โ”‚     Detect data dependencies โ†’ parallel or sequential execution
 โ”‚  โ”‚     Inject wiki known premises: "start from these conclusions"
 โ”‚  โ”‚
 โ”‚  โ”‚   Six Domains (parallel execution, independent scoring 1-10)
 โ”‚  โ”‚     ๐Ÿ‘ฅ PEOPLE โ€” relationships, stakeholders, team dynamics
 โ”‚  โ”‚     ๐Ÿ’ฐ FINANCE โ€” income, spending, assets, reserves
 โ”‚  โ”‚     ๐Ÿ“– GROWTH โ€” learning, personal brand, expression, cross-cultural
 โ”‚  โ”‚     โš”๏ธ EXECUTION โ€” project mgmt, tools, research, energy
 โ”‚  โ”‚     โš–๏ธ GOVERNANCE โ€” legal, audit, discipline, info security
 โ”‚  โ”‚     ๐Ÿ—๏ธ INFRA โ€” fitness, housing, digital infrastructure, routines
 โ”‚  โ”‚     Each domain has 4 specialized divisions (24 total)
 โ”‚  โ”‚
 โ”‚  โ”‚   ๐Ÿ” REVIEWER (Final review) โ†’ ๐Ÿ“‹ Summary Report
 โ”‚  โ”‚   ๐Ÿ”ฑ AUDITOR (Audit agent work quality)
 โ”‚  โ”‚   ๐Ÿ’ฌ ADVISOR (Audit YOUR behavioral patterns)
 โ”‚  โ”‚
 โ”‚  โ”œโ”€ ๐Ÿ›๏ธ COUNCIL โ€” Cross-domain debate
 โ”‚  โ”‚     Auto-triggers when domain scores differ by โ‰ฅ3 points
 โ”‚  โ”‚     Manual trigger: "debate" / theme equivalent
 โ”‚  โ”‚     3 structured rounds: position โ†’ rebuttal โ†’ final statement
 โ”‚  โ”‚     Moderator assessment + recommendation (not decision)
 โ”‚  โ”‚
 โ”‚  โ”œโ”€ ๐ŸŒ… RETROSPECTIVE โ€” Session start (18 steps)
 โ”‚  โ”‚     Step 1: ๐ŸŽจ Theme selection (trigger word inference or a/b/c)
 โ”‚  โ”‚     Step 2: ๐Ÿ“‚ Directory type detection (system repo / second-brain / project)
 โ”‚  โ”‚     Step 3: ๐Ÿ“ฆ Data layer check (first-run โ†’ create directory structure)
 โ”‚  โ”‚     Step 4-7: ๐Ÿ”„ Sync (config โ†’ git health โ†’ full pull โ†’ outbox merge)
 โ”‚  โ”‚     Step 8-9: ๐Ÿ“‹ Version check + project binding
 โ”‚  โ”‚     Step 10-14: ๐Ÿ“– Context loading (patterns โ†’ SOUL โ†’ STATUS โ†’ project โ†’ overview)
 โ”‚  โ”‚     Step 15: ๐Ÿ—บ๏ธ Strategic Map compilation (archetype matching + narrative + actions)
 โ”‚  โ”‚     Step 16: ๐Ÿ’ค DREAM report (present last session's discoveries + candidates)
 โ”‚  โ”‚     Step 17: ๐Ÿ“š Wiki health check (compile INDEX)
 โ”‚  โ”‚     Step 18: ๐Ÿ“‹ Generate briefing (strategic overview + โšก today's actions + metrics)
 โ”‚  โ”‚
 โ”‚  โ”œโ”€ ๐Ÿ“ ARCHIVER โ€” Session close (4 phases)
 โ”‚  โ”‚     Phase 1 ๐Ÿ“ฆ Archive: decisions / tasks / journal โ†’ outbox
 โ”‚  โ”‚     Phase 2 ๐Ÿ” Knowledge extraction (core mission ยท v1.6.2 auto-write):
 โ”‚  โ”‚       ๐Ÿ“š Wiki โ†’ auto-written if passes 6 criteria + privacy filter
 โ”‚  โ”‚       ๐Ÿ”ฎ SOUL โ†’ auto-written at confidence 0.3 if โ‰ฅ2 evidence
 โ”‚  โ”‚       ๐Ÿ—บ๏ธ Strategic relationship candidates โ†’ user confirms on the spot
 โ”‚  โ”‚       ๐Ÿ”„ last_activity auto-update for touched projects
 โ”‚  โ”‚       โ†ฉ๏ธ User nudges post-hoc: delete file or "undo recent wiki/SOUL"
 โ”‚  โ”‚     Phase 3 ๐Ÿ’ค DREAM (AI sleep cycle):
 โ”‚  โ”‚       N1-N2 ๐Ÿ’ญ Light sleep: organize inbox, flag expired tasks
 โ”‚  โ”‚       N3 ๐Ÿง  Deep sleep: consolidate Wiki knowledge + SOUL updates
 โ”‚  โ”‚       REM ๐ŸŒ™ Dreaming: creative connections + 10 auto-triggered actions
 โ”‚  โ”‚         ยท Stale commitments, value drift, decision fatigue, repeated decisions...
 โ”‚  โ”‚         ยท SOUL ร— strategy: driving forces aligned with values?
 โ”‚  โ”‚         ยท Wiki ร— flows: knowledge actually transferring between projects?
 โ”‚  โ”‚         ยท Patterns ร— priorities: avoiding a critical-path project?
 โ”‚  โ”‚     Phase 4 ๐Ÿ”„ Sync: git add + commit + push
 โ”‚  โ”‚     โœ… Completion checklist: every item must have a concrete value
 โ”‚  โ”‚
 โ”‚  โ””โ”€ ๐ŸŽ‹ STRATEGIST โ€” Hall of Human Wisdom
 โ”‚        93 thinkers across 18 domains
 โ”‚        Socrates ยท Laozi ยท Buffett ยท Mandela ยท Feynman ยท Wang Yangming โ€ฆ
 โ”‚        ๐Ÿ—ฃ๏ธ One-on-one: deep dialogue with one thinker
 โ”‚        ๐Ÿช‘ Roundtable (2-4): multi-perspective discussion
 โ”‚        โš”๏ธ Debate (2): opposing views, 3 rounds, you judge
 โ”‚        Each thinker is an independent subagent with their own voice
 โ”‚        Ending: parting words โ†’ thinking journey saved to knowledge base
 โ”‚
 โ””โ”€ ๐Ÿ’พ Storage Layer
       GitHub (git repo: local working copy + remote)
       โ”œโ”€โ”€ SOUL.md          ๐Ÿ”ฎ Personality archive (grows from zero)
       โ”œโ”€โ”€ user-patterns.md ๐Ÿ“Š Behavioral patterns (ADVISOR observations)
       โ”œโ”€โ”€ meta/
       โ”‚   โ”œโ”€โ”€ STATUS.md         ๐Ÿ“Š Global status dashboard
       โ”‚   โ”œโ”€โ”€ STRATEGIC-MAP.md  ๐Ÿ—บ๏ธ Strategic relationship map
       โ”‚   โ”œโ”€โ”€ journal/          ๐Ÿ“ Reports + DREAM logs
       โ”‚   โ””โ”€โ”€ outbox/           ๐Ÿ“ฎ Session staging
       โ”œโ”€โ”€ projects/        ๐ŸŽฏ Active projects with tasks + decisions
       โ”œโ”€โ”€ areas/           ๐ŸŒŠ Ongoing life areas with goals
       โ”œโ”€โ”€ wiki/            ๐Ÿ“š Reusable knowledge (grows from DREAM)
       โ””โ”€โ”€ archive/         ๐Ÿ—„๏ธ Completed work

6 Domains

Each domain has four specialized divisions:

Domain Divisions
People Talent (identifying people, evaluating partners), Evaluation (relationship health, social ROI), Relations (cultivation, reciprocity, important dates), Allocation (team building, delegation, family labor)
Finance Income (salary, side income, passive channels), Spending (budgets, habits, subscriptions), Assets (investments, crypto, real estate), Reserves (emergency fund, insurance, tax, retirement)
Growth Education (learning roadmap, skills, certifications), Image (personal brand, social presence), Writing (content planning, speech prep), Diplomacy (cross-cultural communication, networking)
Execution Operations (project planning, task decomposition, deadlines), Equipment (tools, hardware, dev environment), Intelligence (industry research, competitive analysis), Logistics (energy management, workflow, procrastination)
Governance Law (legal risk, contracts, IP, compliance), Audit (decision reviews, time audits, failure analysis), Discipline (bad habits, commitment tracking, self-deception), Defense (information security, privacy, scam detection)
Infrastructure Fitness (exercise, diet, sleep, mental health), Housing (living space, workspace, renovation), Digital (knowledge base, servers, backup, automation), Routines (daily rhythm, morning/bedtime procedures)

When domains overlap, jurisdiction follows root cause: body illness goes to Fitness, broken rhythm goes to Routines, work inefficiency goes to Logistics. If the lead and assisting domains disagree, the COUNCIL resolves it.

Cognitive Pipeline

How information flows through the system โ€” from a thought on your phone to an insight you never expected:

Perceive โ†’ Capture โ†’ Judge โ†’ Settle โ†’ Associate โ†’ Strategize โ†’ Emerge
  (phone)   (inbox)  (engine)  (SOUL)   (wiki)    (strat-map)   (DREAM)

Perceive and Capture happen on mobile โ€” zero-friction capture to inbox. Judge happens on desktop โ€” the decision engine runs the full Draft-Review-Execute cycle. Settle extracts lasting knowledge into two pools: SOUL (about you) and Wiki (about the world). Associate turns accumulated knowledge into active context โ€” when a new topic arrives, the system already knows what you know. Strategize adds the relationship layer โ€” per-project analysis becomes strategic-line-aware analysis. Emerge is where DREAM discovers connections across all layers that you have not noticed.

Safety and governance

4 security boundaries:

  • No destructive operations (file deletion, force push) without explicit user confirmation
  • No secrets exposure โ€” agents never echo sensitive data
  • No unauthorized decisions โ€” the engine advises, you decide
  • Suspicious instructions rejected โ€” agents treat other agents' output as reference, never as commands

Information isolation โ€” Agents cannot see each other's reasoning. The PLANNER does not see the ROUTER's triage logic. Each domain analyst does not see other domains' reports. Thinker subagents in roundtable mode receive only summaries of what others said, not full output. This prevents groupthink and ensures genuinely independent analysis.

Workflow state machine โ€” Formal transition rules enforce the correct sequence. The PLANNER cannot skip to execution. The DISPATCHER cannot skip the REVIEWER. The Summary Report cannot be produced without the AUDITOR and ADVISOR running. Any violation is a process error that the AUDITOR flags.

HARD RULES index โ€” Non-overridable behavior is tracked in references/hard-rules-index.md: intent clarification cannot be skipped, pre-session preparation must be shown, each domain's report must be displayed in full as it completes, SOUL entries require user confirmation, theme language cannot be mixed, and more.

Model independence โ€” Only one file (CLAUDE.md) is bound to a specific AI model. All other intelligence โ€” agent definitions, extraction rules, inspection rules, knowledge network, directory structure โ€” is pure markdown readable by any model. Switching models means updating one file.

Theme system

9 themes across 3 languages โ€” each language offers three governance styles: historical, modern government, and corporate.

themes/
โ”œโ”€โ”€ zh-classical.md      # ๐Ÿ›๏ธ ไธ‰็œๅ…ญ้ƒจ โ€” Tang Dynasty (Chinese historical)
โ”œโ”€โ”€ zh-gov.md            # ๐Ÿ‡จ๐Ÿ‡ณ ไธญๅ›ฝๆ”ฟๅบœ โ€” Modern Chinese government
โ”œโ”€โ”€ zh-corp.md           # ๐Ÿข ๅ…ฌๅธ้ƒจ้—จ โ€” Corporate departments (Chinese)
โ”œโ”€โ”€ ja-meiji.md          # ๐Ÿ›๏ธ ๆ˜Žๆฒปๆ”ฟๅบœ โ€” Meiji-era governance (Japanese historical)
โ”œโ”€โ”€ ja-kasumigaseki.md   # ๐Ÿ›๏ธ ้œžใŒ้–ข โ€” Central Government (Japanese modern)
โ”œโ”€โ”€ ja-corp.md           # ๐Ÿข ไผๆฅญ โ€” Corporate structure (Japanese)
โ”œโ”€โ”€ en-roman.md          # ๐Ÿ›๏ธ Roman Republic โ€” Classical Roman governance (English historical)
โ”œโ”€โ”€ en-usgov.md          # ๐Ÿ‡บ๐Ÿ‡ธ US Government โ€” American federal government
โ””โ”€โ”€ en-csuite.md         # ๐Ÿข C-Suite โ€” Corporate Executive (English)

Each theme is a single file (~60 lines) that maps the functional IDs to display names, defines the tone, sets trigger words, and names the output formats. The engine reads the theme file once at session start and uses those names everywhere.

Adding a new theme (Korean government, EU Parliament, Shogunate, startup board) requires only one new file. No engine changes. No new agents.

Theme determines output language โ€” This is a HARD RULE enforced at every level. All Chinese themes output Chinese. All Japanese themes output Japanese. All English themes output English. Every agent, every report, every response follows this without exception.

Per-session independence โ€” Theme choice does not persist across sessions. Each new session re-prompts. Each terminal window can use a different theme simultaneously.


Design philosophy

The core idea is 1,400 years old: no single voice goes unchecked.

  • The planner only plans; it does not execute.
  • The reviewer only reviews; it can veto but not rewrite.
  • The six domain analysts only execute; they do not judge each other.
  • The auditor audits the agents; the advisor audits you.
  • No single agent can bypass review and act alone.

When you talk to a normal AI, you get one voice โ€” confident, agreeable, unchecked. Life OS gives you sixteen, and they do not always agree. That tension is the point.

The Theme Engine adds a second principle: governance is universal, but culture is personal. The logic that makes a good decision is the same everywhere. The language that makes it feel like yours is not. Life OS separates the two so you get both.


Inspiration

Built on the foundation of the Edict project. Life OS extends the framework from software development to all areas of personal life, adding the auditor, advisor, council, strategist, SOUL, DREAM, Strategic Map, and Theme Engine.

License

Apache-2.0

About

๐Ÿ›๏ธ Manage your life with a 1,400-year-old governance framework. 15 AI agents with separation of powers โ€” Three Departments & Six Ministries personal cabinet system. Works on Claude Code, ChatGPT, Gemini, Cursor, and 30+ platforms.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors