
loey_space
🧠Automated Personal Knowledge Management & Second Brain vault architecture for Obsidian featuring HomePulse Dashboard, 2-way habit sync, MOC navigation, and Google Gemini AI enrichment.
loey_space
What loey_space is
loey_space is a personal knowledge system built inside Obsidian. Daily notes, project boards, habit tracking and an inbox are plain Markdown files, so everything stays readable on your own machine without a proprietary database.
Six core pillars sit on top of plain Markdown:
- A dashboard and habits. HomePulse shows active tasks, recent notes and six daily habits, and syncs them with today's daily note.
- Projects that stay honest. Cards live on project Kanban boards; dragging a card between lanes updates its checkbox marker, that marker mirrors into the daily note, and unfinished tasks roll forward to the next morning without being counted twice.
- Fast capture, one triage pass. Thoughts land in
00-Inbox/quick-capture-dump.md, you tag them for a destination (#do,#dev,#concept), and one command files the batch. - Engineering runbooks & procedural memory. Reusable patterns, scripts, and debugging fixes live in
03-Dev/, indexed viaheyloey learnand mapped to dev hubs. - Autonomous multi-agent integration. External AI coding agents (Claude Code, Google Antigravity, OpenCode, DeepSeek Harness) connect via the deterministic
heyloeyCLI or theloey-spaceModel Context Protocol (MCP) server. Mutations use Linuxflockkernel serialization so concurrent agents never corrupt daily notes or handoffs. - Optional AI synthesis. With a Gemini API key, scripts can draft end-of-day summaries, distil reusable snippets, or generate a weekly review. Every other feature works offline without a key.
Vault Architecture (PARA+)
The vault organizes personal knowledge into numbered lifecycle directories:
| Folder | Name | Purpose | Git Status |
|---|---|---|---|
00-Inbox/ | Fast Capture | Raw thought dumps (quick-capture-dump.md) awaiting triage | Private (ignored) |
00-Private/ | Private Soul & Keys | Vault persona instructions (SOUL.md), private profiles | Private (ignored) |
01-Daily/ | Daily Journal & Milestones | Chronological daily notes (YYYY-MM/YYYY-MM-DD.md) with habits & logs | Private (ignored) |
02-Projects/ | Active Projects | Dedicated project folders, specifications, and Kanban boards | Private (ignored) |
03-Dev/ | Engineering & Runbooks | Reusable code patterns, troubleshooting playbooks, and dev runbooks | Tracked / Private |
04-Areas/ | Areas of Responsibility | Long-term operational standards and domain responsibilities | Private (ignored) |
05-Personal/ | Personal Knowledge | Health, finances, fitness, and personal life management | Private (ignored) |
06-Resources/ | Reference & Scripts | Automation scripts, operator guides, and static resources | Tracked |
07-Reviews/ | Periodic Reviews | Weekly/monthly retrospectives and habit completion analytics | Private (ignored) |
08-Concepts/ | Evergreen Knowledge | Atomic, synthesised conceptual notes and mental models | Private (ignored) |
99-Attachments/ | Media & Attachments | Central attachment folder partitioned by monthly subfolders (YYYY-MM) | Private (ignored) |
99-Templates/ | Canonical Templates | Scaffolding templates for daily notes, projects, and concepts | Tracked |
Public and private
The boundary is deliberate:
| Ships with the repository | Stays on your machine only |
|---|---|
Scripts, templates, bundled plugins, documentation and the .githooks/ guards | 01-Daily/, 02-Projects/, 05-Personal/ and the other numbered content folders |
| Empty starting templates for the assistant records | memory.md, handoff.md, 00-Private/ |
.env.example, which lists variable names | .env, which holds your real keys |
Your notes are git-ignored, so a clone is a working system rather than somebody's journal. Real API keys belong in .env and never in a Markdown file, not even a private one. Vault Security Policy covers the storage rules and the pre-commit scanner that enforces part of them.
Getting started
git clone https://github.com/lowqualityloey/loey_space.git
cd loey_space
Then, in order:
- Open and trust. In Obsidian choose Open folder as vault and select the clone. Choose Trust author and enable plugins, because Restricted Mode leaves every community plugin off.
- Create your records.
npm run init:vaultwritesmemory.md,handoff.md,00-Private/SOUL.mdand00-Inbox/quick-capture-dump.mdif they are missing, and never overwrites a file that exists. Without Node, copy the three templates from06-Resources/scaffold/and write the dump by hand — Onboarding has the details. - Enable the plugins, then finish the HomePulse wizard. Confirm Auto-update plugins: OFF first, then complete the four-step HomePulse setup that runs the first time the vault opens.
- Configure Templater and QuickAdd. Use the exact action names and choice IDs in Setup & Configuration: the tracked hotkeys are bound to choice IDs, so recreating an action under a new ID leaves its documented shortcut dead.
- Add an API key if you want the AI features.
cp .env.example .env, then paste a key from Google AI Studio. - Open today's note.
Ctrl/Cmd + P→ Daily notes: Open today's daily note creates01-Daily/YYYY-MM/YYYY-MM-DD.mdfrom the template.
Onboarding is the same path with the detail behind each step: what every record is for, what the wizard asks, and the checks that no automation can make for you.
Optional: the Git hooks
Hooks are inactive until you point Git at them. pre-commit blocks a commit that stages a secret-shaped string or a declared private record; pre-push blocks a push when the UTC timezone lane fails; post-commit records a milestone in today's daily note and handoff.md, but only for a commit that opts in with a HeyLoey-Milestone: trailer.
git config --local core.hooksPath .githooks
The Git Hooks Guide covers activation, permissions, the timeout, coordination and recovery.
Working with AI Coding Agents (Field Engineer vs. Chief of Staff)
When developing across external codebases, AI coding assistants operate as Field Engineers and must not directly edit vault markdown files. Instead, they interact via the heyloey CLI or the loey-space MCP server:
heyloey brief: Fetch an orientation pulse (~400 tokens) with active tasks and habit status.heyloey context "<query>": Locate relevant project hubs and03-Dev/runbooks.heyloey done "<summary>": Atomically record a milestone outcome to today's daily log andhandoff.md.heyloey learn "<Title>" "<Pattern>": Crystallize reusable fixes and engineering patterns into03-Dev/.
Inside the vault repository itself, the personal agent (Gemini / Kiwi) acts as the Vault Curator & Chief of Staff, managing daily reviews, inbox sweeps, and concept distillation.
Documentation by goal
- Setting up: Onboarding · Setup & Configuration · Mobile Workflow Guide
- Day to day: Second Brain Guide · QuickAdd Inbox Optimization Guide
- Assistant and automation: Hey Loey Guide · Git Hooks Guide · Weekly AI Summary Guide · DSH Guard Playbook
- Housekeeping: Maintenance & Troubleshooting · Tagging & Properties · Plugin Ownership
- Security and contributing: Vault Security Policy · CONTRIBUTING · Documentation Index
Contributing and license
The system layer — plugins, scripts, templates and documentation — is open to contributions. Personal content in the numbered folders is out of scope for a pull request. CONTRIBUTING.md lists the checks to run first.
Licensed under the MIT License; see LICENSE.
How to Install
- Download the ZIP or clone the repository
- Open the folder as a vault in Obsidian (File → Open Vault)
- Obsidian will prompt you to install required plugins
Stats
Stars
1
Forks
1
License
MIT
Last updated 2d ago