# esseter/le-second-desk architecture

> Architecture diagram of the GitHub repository esseter/le-second-desk, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-10). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/esseter/le-second-desk
- Repository: https://github.com/esseter/le-second-desk

## Overview

Le Second Desk is a plain-Markdown, AI-operated personal knowledge vault: files hold the durable system state, while an interchangeable AI agent helps turn captures into organized, actionable notes. Its primary workflow is conversational setup followed by recurring capture, thinking, project work, and review across a PARA filing structure. The README documents the setup and skill workflows, but no source excerpts were provided; links between individual skill categories and specific folders are therefore omitted where not explicitly stated.

Main entry points: [`System/onboarding/onboarding-guide.md`](https://github.com/esseter/le-second-desk/blob/main/System/onboarding/onboarding-guide.md) (Onboarding interview), [`System/skills`](https://github.com/esseter/le-second-desk/tree/main/System/skills) (Review and rhythm), [`1. Projects`](https://github.com/esseter/le-second-desk/tree/main/1.%20Projects) (Projects), [`AGENTS.md`](https://github.com/esseter/le-second-desk/blob/main/AGENTS.md) (Setup instructions)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_setup["Setup"]
  node_setup_instructions["Setup instructions<br/>[AGENTS.md]"]
  node_onboarding["Onboarding interview"]
  node_checklist["Setup checklist<br/>[checklist.md]"]
  node_profile["User profile<br/>[profile.md]"]
  node_ai_tools["AI tools profile<br/>[ai-tools.md]"]
  node_templates["Note templates"]
end

subgraph group_vault["Knowledge Vault"]
  node_inbox["Inbox captures<br/>[0. Inbox]"]
  node_projects["Projects<br/>[1. Projects]"]
  node_areas["Areas<br/>[2. Areas]"]
  node_resources["Resources<br/>[3. Resources]"]
  node_archive["Archive<br/>[4. Archive]"]
  node_vault_guide["Vault guide"]
end

subgraph group_skills["Assistant Skills"]
  node_capture_skills["Capture skills"]
  node_thinking_skills["Think and draft"]
  node_rhythm_skills["Review and rhythm"]
  node_upkeep_skills["Vault upkeep"]
end

subgraph group_operations["Operations"]
  node_state["Vault state<br/>[state.md]"]
  node_logs["System logs<br/>[log.md]"]
end

node_person(("Vault owner"))
node_agent(("AI agent"))

node_person -->|"starts session"| node_agent
node_agent -->|"follows setup"| node_setup_instructions
node_setup_instructions -->|"runs interview"| node_onboarding
node_onboarding -->|"tracks progress"| node_checklist
node_onboarding -->|"fills profile"| node_profile
node_onboarding -->|"captures tools"| node_ai_tools
node_onboarding -.->|"imports notes"| node_inbox
node_onboarding -->|"creates project"| node_projects
node_setup_instructions -->|"rewrites from"| node_templates
node_agent -->|"follows skill"| node_capture_skills
node_agent -->|"follows skill"| node_thinking_skills
node_agent -->|"follows skill"| node_rhythm_skills
node_agent -->|"follows skill"| node_upkeep_skills
node_capture_skills -.->|"files project notes"| node_projects
node_rhythm_skills -->|"reviews inbox"| node_inbox
node_rhythm_skills -->|"refreshes list"| node_projects
node_rhythm_skills -->|"archives work"| node_archive
node_upkeep_skills -->|"creates project"| node_projects
node_vault_guide -.->|"describes structure"| node_inbox

click node_setup_instructions "https://github.com/esseter/le-second-desk/blob/main/AGENTS.md"
click node_onboarding "https://github.com/esseter/le-second-desk/blob/main/System/onboarding/onboarding-guide.md"
click node_checklist "https://github.com/esseter/le-second-desk/blob/main/System/onboarding/checklist.md"
click node_profile "https://github.com/esseter/le-second-desk/blob/main/System/profile/profile.md"
click node_ai_tools "https://github.com/esseter/le-second-desk/blob/main/System/profile/ai-tools.md"
click node_templates "https://github.com/esseter/le-second-desk/tree/main/Templates"
click node_inbox "https://github.com/esseter/le-second-desk/tree/main/0.%20Inbox"
click node_projects "https://github.com/esseter/le-second-desk/tree/main/1.%20Projects"
click node_areas "https://github.com/esseter/le-second-desk/tree/main/2.%20Areas"
click node_resources "https://github.com/esseter/le-second-desk/tree/main/3.%20Resources"
click node_archive "https://github.com/esseter/le-second-desk/tree/main/4.%20Archive"
click node_vault_guide "https://github.com/esseter/le-second-desk/blob/main/3.%20Resources/How%20this%20vault%20works.md"
click node_capture_skills "https://github.com/esseter/le-second-desk/tree/main/System/skills"
click node_thinking_skills "https://github.com/esseter/le-second-desk/tree/main/System/skills"
click node_rhythm_skills "https://github.com/esseter/le-second-desk/tree/main/System/skills"
click node_upkeep_skills "https://github.com/esseter/le-second-desk/tree/main/System/skills"
click node_state "https://github.com/esseter/le-second-desk/blob/main/System/state.md"
click node_logs "https://github.com/esseter/le-second-desk/blob/main/System/logs/log.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_setup_instructions,node_onboarding,node_checklist,node_profile,node_ai_tools,node_templates toneBlue
class node_inbox,node_projects,node_areas,node_resources,node_archive,node_vault_guide toneAmber
class node_capture_skills,node_thinking_skills,node_rhythm_skills,node_upkeep_skills toneMint
class node_state,node_logs toneRose
class node_person,node_agent toneIndigo
```

## Components

### Setup

- [Setup instructions](https://github.com/esseter/le-second-desk/blob/main/AGENTS.md): `AGENTS.md`
- [Onboarding interview](https://github.com/esseter/le-second-desk/blob/main/System/onboarding/onboarding-guide.md): `System/onboarding/onboarding-guide.md`
- [Setup checklist](https://github.com/esseter/le-second-desk/blob/main/System/onboarding/checklist.md): `System/onboarding/checklist.md`
- [User profile](https://github.com/esseter/le-second-desk/blob/main/System/profile/profile.md): `System/profile/profile.md`
- [AI tools profile](https://github.com/esseter/le-second-desk/blob/main/System/profile/ai-tools.md): `System/profile/ai-tools.md`
- [Note templates](https://github.com/esseter/le-second-desk/tree/main/Templates): `Templates`

### Knowledge Vault

- [Inbox captures](https://github.com/esseter/le-second-desk/tree/main/0.%20Inbox): `0. Inbox`
- [Projects](https://github.com/esseter/le-second-desk/tree/main/1.%20Projects): `1. Projects`
- [Areas](https://github.com/esseter/le-second-desk/tree/main/2.%20Areas): `2. Areas`
- [Resources](https://github.com/esseter/le-second-desk/tree/main/3.%20Resources): `3. Resources`
- [Archive](https://github.com/esseter/le-second-desk/tree/main/4.%20Archive): `4. Archive`
- [Vault guide](https://github.com/esseter/le-second-desk/blob/main/3.%20Resources/How%20this%20vault%20works.md): `3. Resources/How this vault works.md`

### Assistant Skills

- [Capture skills](https://github.com/esseter/le-second-desk/tree/main/System/skills): `System/skills`
- [Think and draft](https://github.com/esseter/le-second-desk/tree/main/System/skills): `System/skills`
- [Review and rhythm](https://github.com/esseter/le-second-desk/tree/main/System/skills): `System/skills`
- [Vault upkeep](https://github.com/esseter/le-second-desk/tree/main/System/skills): `System/skills`

### Operations

- [Vault state](https://github.com/esseter/le-second-desk/blob/main/System/state.md): `System/state.md`
- [System logs](https://github.com/esseter/le-second-desk/blob/main/System/logs/log.md): `System/logs/log.md`

### Other components

- **Vault owner**
- **AI agent**

## Connections

- Vault owner → AI agent: starts session (evidence: `README.md`)
- AI agent → Setup instructions: follows setup (evidence: `README.md`)
- Setup instructions → Onboarding interview: runs interview (evidence: `README.md`)
- Onboarding interview → Setup checklist: tracks progress (evidence: `README.md`)
- Onboarding interview → User profile: fills profile (evidence: `README.md`)
- Onboarding interview → AI tools profile: captures tools (evidence: `README.md`)
- Onboarding interview → Inbox captures: imports notes (evidence: `README.md`)
- Onboarding interview → Projects: creates project (evidence: `README.md`)
- Setup instructions → Note templates: rewrites from (evidence: `README.md`)
- AI agent → Capture skills: follows skill (evidence: `README.md`)
- AI agent → Think and draft: follows skill (evidence: `README.md`)
- AI agent → Review and rhythm: follows skill (evidence: `README.md`)
- AI agent → Vault upkeep: follows skill (evidence: `README.md`)
- Capture skills → Projects: files project notes (evidence: `README.md`)
- Review and rhythm → Inbox captures: reviews inbox (evidence: `README.md`)
- Review and rhythm → Projects: refreshes list (evidence: `README.md`)
- Review and rhythm → Archive: archives work (evidence: `README.md`)
- Vault upkeep → Projects: creates project (evidence: `README.md`)
- Vault guide → Inbox captures: describes structure (evidence: `README.md`)
