# iambharathpadhu/todos architecture

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

- Interactive diagram: https://gitdiagram.com/iambharathpadhu/todos
- Repository: https://github.com/iambharathpadhu/todos

## Overview

#### Purpose
A minimal, file-backed personal task-management repository. Tasks are maintained as Markdown checklists and surfaced through a scheduled morning Slack reminder.

#### Entry Points
- `README.md` defines the operating contract: task format, file ownership, reminder channel, and the `/add-todo` Claude Code workflow.
- `work.md` is the work-task source of truth.
- `personal.md` is the personal-task source of truth.

#### Task Storage Boundary
Tasks are stored directly in two human-editable Markdown files:
- `work.md`
- `personal.md`

The required record shape is a checkbox task with a date: `- [ ] Task description (YYYY-MM-DD)`. There is no application database, API layer, or compiled runtime represented in the repository.

#### Task Creation Flow
The intended write path is Claude Code’s `/add-todo` command:
1. A user invokes `/add-todo`.
2. The command adds a formatted task to the appropriate Markdown file.
3. The updated file remains the durable task ledger.

Relevant contract:
- `README.md`
- `work.md`
- `personal.md`

#### Reminder Flow
A separate scheduled automation reads task content and posts a reminder every morning at 9am IST to Slack channel `#zen-tasks`. Slack and the scheduler are external infrastructure: no implementation, credentials, workflow definition, or deployment configuration is present in this repository.

#### Architectural Characteristics
- Markdown files are both the data model and user interface.
- Category separation is enforced by file boundary rather than metadata or application logic.
- The repository depends operationally on external Claude Code command support and Slack scheduling automation.
- Changes are expected to be lightweight, auditable text edits with Git providing history if the repository is version controlled.

Main entry points: [`README.md`](https://github.com/iambharathpadhu/todos/blob/main/README.md) (Operating Contract), [`work.md`](https://github.com/iambharathpadhu/todos/blob/main/work.md) (Work Tasks), [`personal.md`](https://github.com/iambharathpadhu/todos/blob/main/personal.md) (Personal Tasks)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_repo["Task Ledger Repository"]
  node_readme["Operating Contract<br/>Markdown documentation<br/>[README.md]"]
  node_work["Work Tasks<br/>Markdown task ledger<br/>[work.md]"]
  node_personal["Personal Tasks<br/>Markdown task ledger<br/>[personal.md]"]
end

subgraph group_external["External Automation"]
  node_add_todo{{"/add-todo Command<br/>Claude Code command"}}
  node_scheduler{{"Morning Scheduler<br/>scheduled automation"}}
  node_slack["&#35;zen-tasks<br/>Slack channel"]
end

node_user(("User<br/>actor"))

node_readme -.->|"defines workflow"| node_add_todo
node_readme -.->|"defines format and ownership"| node_work
node_readme -.->|"defines format and ownership"| node_personal
node_user -->|"invokes"| node_add_todo
node_add_todo -->|"writes work task"| node_work
node_add_todo -->|"writes personal task"| node_personal
node_scheduler -->|"reads tasks"| node_work
node_scheduler -->|"reads tasks"| node_personal
node_scheduler -->|"posts 9am IST reminder"| node_slack

click node_readme "https://github.com/iambharathpadhu/todos/blob/main/README.md"
click node_work "https://github.com/iambharathpadhu/todos/blob/main/work.md"
click node_personal "https://github.com/iambharathpadhu/todos/blob/main/personal.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_readme,node_work,node_personal toneBlue
class node_add_todo,node_scheduler,node_slack toneAmber
class node_user toneNeutral
```

## Components

### Task Ledger Repository

- [Operating Contract](https://github.com/iambharathpadhu/todos/blob/main/README.md): Markdown documentation · Defines task format, ownership, reminder channel, and /add-todo workflow. · `README.md`
- [Work Tasks](https://github.com/iambharathpadhu/todos/blob/main/work.md): Markdown task ledger · Source of truth for work tasks. · `work.md`
- [Personal Tasks](https://github.com/iambharathpadhu/todos/blob/main/personal.md): Markdown task ledger · Source of truth for personal tasks. · `personal.md`

### External Automation

- **/add-todo Command**: Claude Code command · Formats and writes a task to the selected ledger.
- **Morning Scheduler**: scheduled automation · Runs every morning at 9am IST.
- **#zen-tasks**: Slack channel · Receives the morning task reminder.

### Other components

- **User**: actor

## Connections

- Operating Contract → /add-todo Command: defines workflow
- Operating Contract → Work Tasks: defines format and ownership
- Operating Contract → Personal Tasks: defines format and ownership
- User → /add-todo Command: invokes
- /add-todo Command → Work Tasks: writes work task
- /add-todo Command → Personal Tasks: writes personal task
- Morning Scheduler → Work Tasks: reads tasks
- Morning Scheduler → Personal Tasks: reads tasks
- Morning Scheduler → #zen-tasks: posts 9am IST reminder
