From ade87f6ccaedf51fda585d6f3d1a295b5817a7a0 Mon Sep 17 00:00:00 2001 From: Obsidian Backup Date: Sun, 7 Jun 2026 14:00:01 +0000 Subject: [PATCH] backup: 2026-06-07T14:00:01Z --- .../plugins/recent-files-obsidian/data.json | 20 ++++-- 10 - Atlas/Decision Log.md | 65 +++++++++++++++++++ 10 - Atlas/Home.md | 12 ++++ 10 - Atlas/Profile.md | 65 +++++++++++++++++++ 10 - Atlas/Timeline.md | 54 +++++++++++++++ 20 - Journal/Journal.md | 26 ++++++++ 30 - Projects/8760 Energy Simulation.md | 23 +++++++ 30 - Projects/Arawali Minerals.md | 17 +++++ 30 - Projects/Awadh Gully.md | 17 +++++ 30 - Projects/Clawd Ecosystem.md | 32 +++++++++ 30 - Projects/Cortex.md | 23 +++++++ 30 - Projects/Credit Analyzer.md | 27 ++++++++ 30 - Projects/Economic Survey Visualizer.md | 18 +++++ 30 - Projects/India Economy Dashboard.md | 17 +++++ 30 - Projects/OpenClaw Dashboard.md | 14 ++++ 30 - Projects/Playschool CRM.md | 17 +++++ 30 - Projects/Portfolio Website.md | 17 +++++ 30 - Projects/Position Tracker.md | 24 +++++++ 30 - Projects/Prehab360.md | 17 +++++ 30 - Projects/REModel.md | 33 ++++++++++ 30 - Projects/Rooftop Solar Portfolio.md | 13 ++++ 30 - Projects/Tia.md | 50 ++++++++++++++ 30 - Projects/Tia/Quota Feature.md | 29 +++++++++ 30 - Projects/Tia/Tia - Architecture.md | 38 +++++++++++ 30 - Projects/Tia/Tia - Decisions.md | 19 ++++++ 30 - Projects/Tia/Tia - Open Questions.md | 26 ++++++++ 30 - Projects/Tia/Tia - Origin Story.md | 25 +++++++ 30 - Projects/Tia/Tia - Positioning.md | 28 ++++++++ 30 - Projects/Tia/Tia - Roadmap.md | 29 +++++++++ 30 - Projects/TradeBuddy.md | 29 +++++++++ 30 - Projects/Whisper Hotkey.md | 17 +++++ 30 - Projects/dedup.md | 12 ++++ 30 - Projects/obsidian-stack.md | 29 +++++++++ 30 - Projects/tiger-build.md | 12 ++++ 40 - Areas/Business/Business Overview.md | 27 ++++++++ .../Engineering/Engineering Overview.md | 35 ++++++++++ 40 - Areas/Family/Family Overview.md | 21 ++++++ 40 - Areas/Finance/Finance Overview.md | 27 ++++++++ 40 - Areas/Health/Health Overview.md | 20 ++++++ 40 - Areas/Investing/Investment Philosophy.md | 28 ++++++++ 40 - Areas/Operations/Operations Overview.md | 24 +++++++ 40 - Areas/Startup/Customer Insights.md | 24 +++++++ 40 - Areas/Startup/Product/Product Ideas.md | 19 ++++++ 40 - Areas/Startup/Strategy/Experiments.md | 19 ++++++ 40 - Areas/Startup/Strategy/Vision.md | 43 +++++++----- 50 - Resources/AI/Agent Architectures.md | 23 +++++++ 50 - Resources/AI/Agent Frameworks.md | 19 ++++++ 50 - Resources/AI/LLMs.md | 21 ++++++ 50 - Resources/AI/MCP.md | 19 ++++++ 50 - Resources/AI/Prompt Engineering.md | 16 +++++ 50 - Resources/Books/Reading Library.md | 31 +++++++++ .../Deployment Checklist.md | 23 +++++++ .../Development Workflow.md | 21 ++++++ 50 - Resources/Software Engineering/Docker.md | 17 +++++ 50 - Resources/Software Engineering/Git.md | 20 ++++++ 50 - Resources/Software Engineering/Linux.md | 16 +++++ .../Software Engineering/Self-Hosting.md | 28 ++++++++ 60 - Knowledge/Missing Knowledge.md | 32 +++++++++ 58 files changed, 1443 insertions(+), 24 deletions(-) create mode 100644 10 - Atlas/Decision Log.md create mode 100644 10 - Atlas/Profile.md create mode 100644 10 - Atlas/Timeline.md create mode 100644 20 - Journal/Journal.md create mode 100644 30 - Projects/8760 Energy Simulation.md create mode 100644 30 - Projects/Arawali Minerals.md create mode 100644 30 - Projects/Awadh Gully.md create mode 100644 30 - Projects/Clawd Ecosystem.md create mode 100644 30 - Projects/Cortex.md create mode 100644 30 - Projects/Credit Analyzer.md create mode 100644 30 - Projects/Economic Survey Visualizer.md create mode 100644 30 - Projects/India Economy Dashboard.md create mode 100644 30 - Projects/OpenClaw Dashboard.md create mode 100644 30 - Projects/Playschool CRM.md create mode 100644 30 - Projects/Portfolio Website.md create mode 100644 30 - Projects/Position Tracker.md create mode 100644 30 - Projects/Prehab360.md create mode 100644 30 - Projects/REModel.md create mode 100644 30 - Projects/Rooftop Solar Portfolio.md create mode 100644 30 - Projects/Tia.md create mode 100644 30 - Projects/Tia/Quota Feature.md create mode 100644 30 - Projects/Tia/Tia - Architecture.md create mode 100644 30 - Projects/Tia/Tia - Decisions.md create mode 100644 30 - Projects/Tia/Tia - Open Questions.md create mode 100644 30 - Projects/Tia/Tia - Origin Story.md create mode 100644 30 - Projects/Tia/Tia - Positioning.md create mode 100644 30 - Projects/Tia/Tia - Roadmap.md create mode 100644 30 - Projects/TradeBuddy.md create mode 100644 30 - Projects/Whisper Hotkey.md create mode 100644 30 - Projects/dedup.md create mode 100644 30 - Projects/obsidian-stack.md create mode 100644 30 - Projects/tiger-build.md create mode 100644 40 - Areas/Business/Business Overview.md create mode 100644 40 - Areas/Engineering/Engineering Overview.md create mode 100644 40 - Areas/Family/Family Overview.md create mode 100644 40 - Areas/Finance/Finance Overview.md create mode 100644 40 - Areas/Health/Health Overview.md create mode 100644 40 - Areas/Investing/Investment Philosophy.md create mode 100644 40 - Areas/Operations/Operations Overview.md create mode 100644 40 - Areas/Startup/Customer Insights.md create mode 100644 40 - Areas/Startup/Product/Product Ideas.md create mode 100644 40 - Areas/Startup/Strategy/Experiments.md create mode 100644 50 - Resources/AI/Agent Architectures.md create mode 100644 50 - Resources/AI/Agent Frameworks.md create mode 100644 50 - Resources/AI/LLMs.md create mode 100644 50 - Resources/AI/MCP.md create mode 100644 50 - Resources/AI/Prompt Engineering.md create mode 100644 50 - Resources/Books/Reading Library.md create mode 100644 50 - Resources/Software Engineering/Deployment Checklist.md create mode 100644 50 - Resources/Software Engineering/Development Workflow.md create mode 100644 50 - Resources/Software Engineering/Docker.md create mode 100644 50 - Resources/Software Engineering/Git.md create mode 100644 50 - Resources/Software Engineering/Linux.md create mode 100644 50 - Resources/Software Engineering/Self-Hosting.md create mode 100644 60 - Knowledge/Missing Knowledge.md diff --git a/.obsidian/plugins/recent-files-obsidian/data.json b/.obsidian/plugins/recent-files-obsidian/data.json index 1f9a654..ddbbb50 100644 --- a/.obsidian/plugins/recent-files-obsidian/data.json +++ b/.obsidian/plugins/recent-files-obsidian/data.json @@ -1,17 +1,29 @@ { "recentFiles": [ + { + "basename": "Tia - Architecture", + "path": "30 - Projects/Tia/Tia - Architecture.md" + }, + { + "basename": "Quota Feature", + "path": "30 - Projects/Tia/Quota Feature.md" + }, { "basename": "Home", "path": "10 - Atlas/Home.md" }, { - "basename": "Welcome", - "path": "Welcome.md" + "basename": "MOC - AI", + "path": "10 - Atlas/MOC - AI.md" }, { "basename": "MOC - Startup", "path": "10 - Atlas/MOC - Startup.md" }, + { + "basename": "Welcome", + "path": "Welcome.md" + }, { "basename": "MOC - Software", "path": "10 - Atlas/MOC - Software.md" @@ -27,10 +39,6 @@ { "basename": "MOC - Investing", "path": "10 - Atlas/MOC - Investing.md" - }, - { - "basename": "MOC - AI", - "path": "10 - Atlas/MOC - AI.md" } ], "omittedPaths": [], diff --git a/10 - Atlas/Decision Log.md b/10 - Atlas/Decision Log.md new file mode 100644 index 0000000..fe81eaa --- /dev/null +++ b/10 - Atlas/Decision Log.md @@ -0,0 +1,65 @@ +--- +type: decision-log +status: mixed +updated: 2026-06-07 +tags: [decisions, meta] +--- + +# ⚖️ Decision Log + +> Significant decisions with context, alternatives, and outcomes. Technical decisions below are **verified** from project memory files & commits. Add life/career decisions over time using [[Decision Log (template)]]. + +## Index (Dataview) +```dataview +table type, date, status +from "60 - Knowledge/Decisions" or "30 - Projects" +where decision = true +sort date desc +``` + +--- + +## Verified Technical / Product Decisions + +### TD-001 · Usage is always *derived*, never accumulated (Tia quotas) +- **Date:** 2026-05-27 · **Project:** [[Tia]] +- **Context:** Free-tier storage guardrails (1 GiB/family, 2 members/family) before beta. +- **Decision:** Compute storage usage as a live `SUM` of confirmed rows; never maintain a running counter. Pending/uploading rows excluded. +- **Alternatives:** Incrementing counter (rejected — drifts, hard to reconcile after failures). +- **Outcome:** 44 passing unit tests; reconciliation trivial. → [[Tia - Decisions]] + +### TD-002 · `tier` as the single plan indicator (no separate `plan` column) +- **Date:** 2026-05-27 · **Project:** [[Tia]] +- **Decision:** Reuse existing `families.tier` ('free'/'pro'); payment logic abstracted behind `isPaidFamily(tier)` so the billing provider can be swapped in one function. +- **Why it matters:** Minimised schema churn; clean seam for provider changes. + +### TD-003 · Route migrations through a hot-apply debug endpoint +- **Date:** 2026-05-30 · **Project:** [[Tia]] +- **Context:** Drizzle silently skipped migrations 0003–0010 (hand-added 2025 timestamps < 2026 baseline). +- **Decision:** Adopt `POST /api/debug-migration` for safe, idempotent hot-fixes; **go-forward rule: new migration `when` must be `Date.now()`**. +- **Outcome:** pgvector + error_events live on prod; documented in CLAUDE.md. → [[Tia - Architecture]] + +### TD-004 · Proxy all R2 images through `/api/img` +- **Date:** ~2026-05 · **Project:** [[Tia]] (commit a3a0ddf) +- **Context:** Cloudflare Bot Management 503s cross-origin `` requests to `*.r2.dev`. +- **Decision:** Server-side proxy endpoint + `toProxyUrl()`; never use raw r2.dev URLs in `src`. +- **Outcome:** All uploaded media renders reliably. → [[Self-Hosting]] + +### TD-005 · Split app into (marketing) and (app) route groups +- **Date:** 2026-05 · **Project:** [[Tia]] +- **Decision:** `/` is always the static marketing page; app dashboard moved to `/home`. DB/auth code must never enter the (marketing) group (preserves static rendering). + +### TD-006 · Credentials only in Dokploy env, never in git +- **Date:** 2026-06 · **Project:** [[obsidian-stack]] +- **Decision:** COUCHDB_USER/PASSWORD, BASIC_AUTH_USERS live solely in the Dokploy Environment tab. → [[Self-Hosting]] + +--- + +## ✍️ Career / Life decisions to capture (prompts) +- [ ] **Why renewables?** The decision to specialise post-MBA. +- [ ] **PwC → ReNew** — what drove the move from advisory to principal-side? +- [ ] **Why build Tia?** (the founding decision — see [[Tia - Origin Story]]) +- [ ] **Self-hosting over SaaS** — the decision to run your own infra. + +## Related +[[Profile]] · [[Timeline]] · [[Tia - Decisions]] · [[Home]] diff --git a/10 - Atlas/Home.md b/10 - Atlas/Home.md index 1acfa75..e576b2c 100644 --- a/10 - Atlas/Home.md +++ b/10 - Atlas/Home.md @@ -6,6 +6,8 @@ type: dashboard > *The purpose of this vault is to think better and build better.* +**Me:** [[Profile]] · [[Timeline]] · [[Decision Log]] · [[Investment Philosophy]] · **Flagship:** [[Tia]] + --- ## ⚡ Active Projects @@ -28,6 +30,16 @@ sort priority desc | 💻 Software | [[MOC - Software]] | | 📚 Learning | [[MOC - Learning]] | +**Areas:** [[Business Overview|Business]] · [[Engineering Overview|Engineering]] · [[Finance Overview|Finance]] · [[AI Overview|AI]] · [[Renewables Overview|Renewables]] · [[Investing Overview|Investing]] · [[Operations Overview|Operations]] · [[Family Overview|Family]] · [[Health Overview|Health]] + +## 📂 All Projects +```dataview +table status, domain +from "30 - Projects" +where type = "project" +sort file.name asc +``` + --- ## 🌱 Recent Knowledge diff --git a/10 - Atlas/Profile.md b/10 - Atlas/Profile.md new file mode 100644 index 0000000..f6b82e6 --- /dev/null +++ b/10 - Atlas/Profile.md @@ -0,0 +1,65 @@ +--- +type: profile +status: verified +sources: [manohargupta.com, resume page, local repositories] +updated: 2026-06-07 +tags: [identity, profile] +--- + +# 👤 Manohar Gupta + +> *Engineer turned finance professional driving renewable energy — and a builder at heart.* + +**Location:** Gurugram, India +**Headline:** Renewable Energy Project Finance Professional & Builder +**Web:** [manohargupta.com](https://www.manohargupta.com) · **Edu email:** pgp09manoharg@iimrohtak.ac.in + +--- + +## Professional Summary +Manager at **[[Renewables Overview|ReNew]]**, one of India's leading renewable-energy companies, specialising in **project finance for utility-scale solar (50MW–300MW)**. Brings together a technical foundation (**IIT Roorkee**, Mechanical Engineering) and financial expertise (**IIM Rohtak**, MBA, Gold Medalist) to structure deals that make clean-energy projects economically viable. Beyond finance, a prolific builder of IoT projects, web apps, and AI-integrated tools that bridge technology and sustainability. + +The throughline: **the intersection of technical knowledge and financial acumen** — making renewable-energy projects bankable while building software that scales impact. + +## Personal Mission +> To make clean-energy projects economically viable and to build technical solutions that solve complex problems and scale impact. + +*(Stated on manohargupta.com. Expand in your own words — see open prompts below.)* + +## Core Identity (multi-hat) +- **Finance professional** — project finance, financial modeling, due diligence +- **Renewables expert** — utility-scale solar, 8760 simulation, rooftop design +- **Technical founder / builder** — see [[Tia]] and the [[#Featured Builds]] +- **Software developer** — Next.js, Python, full-stack +- **AI builder** — agents, LLM apps, AI-integrated products +- **Investor / market operator** — see [[Investment Philosophy]] +- **Systems thinker & research-driven learner** + +## Domains of Focus +[[MOC - Renewables|Renewables & Energy]] · [[MOC - Investing|Finance & Investing]] · [[MOC - AI|AI & Agents]] · [[MOC - Startup|Startup Building]] · [[MOC - Software|Software & Self-hosting]] · [[MOC - Learning|Knowledge Management]] + +## Technical Expertise +- **Energy:** PVsyst, Helioscope, AutoCAD, 8760 hourly simulation, solar feasibility +- **Finance:** project-finance modeling, DCF, debt sizing, due diligence, IM preparation +- **Software:** Next.js / React / TypeScript, Python (FastAPI/Flask), PostgreSQL + Drizzle, Docker +- **AI:** LLM application development, agent frameworks, MCP, prompt engineering +- **Infra:** self-hosting, Dokploy, Cloudflare R2, Tailscale (see [[Self-Hosting]]) + +## Strengths +*(inferred from track record — confirm/edit)* +- Rare finance × engineering × software combination +- High shipping velocity (20+ repos; [[Tia]] alone has 400+ commits) +- Translates messy real-world problems into working systems + +## Featured Builds +[[Tia]] · [[REModel]] · [[Credit Analyzer]] · [[TradeBuddy]] · [[Clawd Ecosystem]] · [[Economic Survey Visualizer]] + +## ✍️ Open prompts (fill these in — nothing fabricated) +- [ ] What is the *one-sentence* mission in your own words (not the website copy)? +- [ ] Top 3 **values** you make decisions by? +- [ ] Biggest **weakness / growth edge** you're actively working on? +- [ ] 3–5 year **ambition** — what does success look like? +- [ ] Who are the 3 people who most shaped your thinking? + +## Related +[[Home]] · [[Timeline]] · [[Decision Log]] · [[Investment Philosophy]] diff --git a/10 - Atlas/Timeline.md b/10 - Atlas/Timeline.md new file mode 100644 index 0000000..fcaad6f --- /dev/null +++ b/10 - Atlas/Timeline.md @@ -0,0 +1,54 @@ +--- +type: timeline +status: verified +sources: [manohargupta.com/resume, manohargupta.com/journal, git history] +updated: 2026-06-07 +tags: [identity, timeline] +--- + +# 🕰️ Life & Work Timeline + +> Chronological reconstruction from resume, journal, and repository history. Career/education entries are **verified**; build dates come from **git first-commit timestamps**. + +## Education & Early Career +| When | Milestone | +|---|---| +| **2010–2014** | **B.Tech, Mechanical Engineering — IIT Roorkee** | +| **2018–2020** | **MBA, Finance & Analytics — IIM Rohtak** · Grade 8.26/10 · **Rank #3** · 🥇 Gold Medal (Best All-Round Performance) · OPJEM Scholarship | +| **Feb 2020** | *"I Dared to Dream — Winning the Scholarship"* — won the only campus scholarship at IIM Rohtak ([[Journal]]) | +| **Apr–May 2019** | **Summer Intern, Reserve Bank of India** (Mumbai) — banking-sector research, policy impact assessment | +| **Aug 2020** | *"Story of the Making of a Gold Medalist"* — reflection on MBA 2018–20 ([[Journal]]) | + +## Professional Career +| When | Role | +|---|---| +| **Nov 2020 – Dec 2021** | **Senior Finance Analyst — Thomson Reuters** (Gurugram). Financial analysis & reporting, budget forecasting, process automation | +| **Dec 2021 – Jul 2023** | **Associate — PwC** (Gurugram). Renewable-energy project-finance **due diligence**, solar/wind modeling, information memorandums, risk assessment | +| **Aug 2023 – Present** | **Manager — [[Renewables Overview\|ReNew]]** (Gurugram). Project finance for **utility-scale solar (50–300MW)**, technical DD, financial modeling, lender & equity-investor relationships | + +## The Builder Track (from repos & journal) +| When | Build / Event | +|---|---| +| **Jul 2025** | [[Arawali Minerals]] corporate website (12 commits) | +| **Mar 2025** | Journal: *"Building Energy Analytics Platform"* — the [[8760 Energy Simulation\|8760-hour simulation]] platform journey | +| **Jan 2026** | [[Whisper Hotkey]] (Mac dictation) · [[Playschool CRM]] initial commit · Journal: *ESP32 + DHT11 IoT sensors* | +| **Feb 2026** | [[Clawd Ecosystem]] kickoff (clawd, clawdbot, TradeBuddy initial) · Journal: *Understanding 8760 Energy Simulation Models* | +| **Mar 2026** | [[Portfolio Website]] · [[CreditAnalyzer\|Credit Analyzer]] active | +| **Apr 2026** | [[Cortex]] (AI PKB) · [[OpenClaw Dashboard]] | +| **May 2026** | [[Tia]] core build sprint (400+ commits begin) · [[REModel]] (53 commits) · [[Position Tracker]] | +| **Jun 2026** | [[Tia]] billing + admin observability shipped · [[Self-Hosting\|Obsidian self-hosted stack]] built ([[obsidian-stack]]) | + +## 🧭 Inflection points (themes) +1. **Engineer → Finance** (IIT → IIM → RBI/Thomson Reuters → PwC → ReNew) +2. **Finance → Renewables specialisation** (PwC RE-DD → ReNew utility-scale solar) +3. **Operator → Builder** (2025–26 explosion of software: finance tools, AI agents, SaaS) +4. **Builder → Founder** ([[Tia]] = first real product with billing & users) + +## ✍️ Open prompts +- [ ] Birth year / hometown (for a complete personal timeline)? +- [ ] When did you start coding seriously? +- [ ] Key personal milestones (marriage, children — relevant to [[Family]] & the Tia origin story)? +- [ ] Any awards/recognition beyond the Gold Medal? + +## Related +[[Profile]] · [[Home]] · [[Decision Log]] · [[Journal]] diff --git a/20 - Journal/Journal.md b/20 - Journal/Journal.md new file mode 100644 index 0000000..5223495 --- /dev/null +++ b/20 - Journal/Journal.md @@ -0,0 +1,26 @@ +--- +type: index +tags: [journal] +--- +# 📔 Journal +> Daily/weekly/monthly notes (via Periodic Notes) + long-form posts mirrored from [manohargupta.com/journal](https://www.manohargupta.com/journal). + +## Recent daily notes +```dataview +list +from "20 - Journal/Daily" +sort file.name desc +limit 7 +``` + +## Published posts (from your site) +| Date | Post | Tags | +|---|---|---| +| Feb 2026 | Understanding 8760 Energy Simulation Models | solar, learning → [[8760 Energy Simulation]] | +| Jan 2026 | Getting Started with ESP32 and DHT11 Sensors | IoT, learning | +| Mar 2025 | Building Energy Analytics Platform — My Journey | energy, solar, analytics, IoT → [[8760 Energy Simulation]] | +| Aug 2020 | Story of the Making of a Gold Medalist | IIM Rohtak → [[Timeline]] | +| Feb 2020 | I Dared to Dream — Winning the Scholarship | IIM Rohtak → [[Timeline]] | + +## Related +[[Home]] · [[Timeline]] · [[Learning Overview]] diff --git a/30 - Projects/8760 Energy Simulation.md b/30 - Projects/8760 Energy Simulation.md new file mode 100644 index 0000000..44e587d --- /dev/null +++ b/30 - Projects/8760 Energy Simulation.md @@ -0,0 +1,23 @@ +--- +type: project +status: active +domain: [renewables, finance, software] +tech: [Python, PVsyst] +tags: [project, solar, modeling] +--- +# 🌞 8760 Energy Simulation Modeling +> Hourly (8,760 hrs/year) energy-simulation model for **solar project feasibility** using Python + PVsyst. Subject of two journal posts (Mar 2025 "Building Energy Analytics Platform"; Feb 2026 "Understanding 8760 Energy Simulation Models"). + +## What it is +Simulates solar generation for every hour of the year to drive **accurate financial modeling** — the bridge between energy yield and bankability. + +## Why it matters +Core intellectual asset: the technical heart of both [[REModel]] and the ReNew day job. Demonstrates the finance×engineering fusion better than anything. + +## Concepts to extract → [[60 - Knowledge]] +- [ ] What is an 8760 model and why hourly granularity matters +- [ ] PVsyst workflow & outputs +- [ ] From energy yield → P50/P90 → debt sizing + +## Related +[[REModel]] · [[Renewables Overview]] · [[MOC - Renewables]] · [[Finance Overview]] diff --git a/30 - Projects/Arawali Minerals.md b/30 - Projects/Arawali Minerals.md new file mode 100644 index 0000000..7486996 --- /dev/null +++ b/30 - Projects/Arawali Minerals.md @@ -0,0 +1,17 @@ +--- +type: project +status: completed +domain: [web, business] +tags: [project] +--- +# ⛏️ Arawali Minerals — Corporate Website +> Modern, responsive marketing site for **Arawali Group**, a premium industrial-minerals company. Dark/light mode, SEO-optimised. (12 commits, Jul 2025.) + +## Notes +- Client/venture website work. Live site + source on [[Profile|portfolio]]. + +## Open questions +- [ ] Family business, client, or own venture? + +## Related +[[Business Overview]] · [[Awadh Gully]] diff --git a/30 - Projects/Awadh Gully.md b/30 - Projects/Awadh Gully.md new file mode 100644 index 0000000..33d221a --- /dev/null +++ b/30 - Projects/Awadh Gully.md @@ -0,0 +1,17 @@ +--- +type: project +status: completed +domain: [web, business] +tags: [project] +--- +# 🍽️ Awadh Gully — Restaurant Website +> Elegant restaurant website: interactive menu, online reservations, rich visuals. Fully responsive. (Repo: `Awadhgully`.) + +## Notes +- A **restaurant** brand (not a playschool). Live site + source on portfolio. + +## Open questions +- [ ] Your venture, family business, or client? + +## Related +[[Business Overview]] · [[Arawali Minerals]] diff --git a/30 - Projects/Clawd Ecosystem.md b/30 - Projects/Clawd Ecosystem.md new file mode 100644 index 0000000..d531741 --- /dev/null +++ b/30 - Projects/Clawd Ecosystem.md @@ -0,0 +1,32 @@ +--- +type: project +status: active +domain: [ai, software, infra] +tags: [project, ai, agents] +repos: [clawd, clawdbot, clawd-dashboard, OpenClawDashboard, tiger-build] +--- +# 🐾 Clawd Ecosystem — Self-Hosted AI Agent Platform +> A family of repos building an **autonomous AI agent** with a managed dashboard: memory, a skills/MCP registry, and an agent control plane. + +## Components +| Repo | Role | +|---|---| +| **clawd** | Core agent (initial commit Feb 2026); "proved several architectural patterns" | +| **clawdbot** | Bot interface | +| **clawd-dashboard** | Active dashboard (24 commits, Feb–Jun 2026) | +| **OpenClawDashboard** | "Clawd Agent Dashboard" — memory mgmt (`MEMORY.md`), **Skills Registry**, MCP management (7 commits) | +| **tiger-build** | Agent UI build — activity feed, agent chips, agent-file routes, model config (large component set) | + +## Purpose +Build and operate a personal AI agent with: editable **core memory**, a browsable **skills/capabilities registry**, **MCP** server management, and an activity/observability dashboard. + +## Why it matters +This is Manohar's deepest **AI-agent infrastructure** work — directly informs [[Agent Architectures]], [[MCP]], and [[MOC - AI]]. The memory-file pattern here echoes how *this very vault's* [[Decision Log]] is structured. + +## Open questions +- [ ] Is "Clawd" a play on Claude? Is this built on the Claude Agent SDK / Claude Code? +- [ ] Which of the 5 repos is canonical/current ([[tiger-build]] vs clawd-dashboard)? +- [ ] Intended as a product or personal infra? + +## Related +[[Agent Architectures]] · [[Agent Frameworks]] · [[MCP]] · [[Cortex]] · [[MOC - AI]] diff --git a/30 - Projects/Cortex.md b/30 - Projects/Cortex.md new file mode 100644 index 0000000..c4250f8 --- /dev/null +++ b/30 - Projects/Cortex.md @@ -0,0 +1,23 @@ +--- +type: project +status: paused +domain: [ai, knowledge, software] +commits: 8 +period: 2026-04-05 +tags: [project, ai, pkm] +--- +# 🧠 Cortex — AI-Powered Personal Knowledge Base +> "AI-Powered Personal Knowledge Base" with **wiki compilation** (auto-generate concept/entity/connection structure) and **health monitoring** (consistency checks + gap detection). + +## Purpose +An automated second brain that *builds itself* — compiles structured wikis from raw inputs and detects knowledge gaps. + +## Why it matters (meta) +Cortex is the **predecessor** to this Obsidian vault. The ambition of this PKM build — reconstruct knowledge, infer relationships, detect missing notes — is exactly Cortex's stated feature set. Worth deciding: does Cortex *feed* this vault, or did this vault supersede it? + +## Open questions +- [ ] Revive Cortex as the automation layer over this Obsidian vault? +- [ ] What made it stall at 8 commits? + +## Related +[[obsidian-stack]] · [[MOC - Learning]] · [[Learning Overview]] · [[MOC - AI]] diff --git a/30 - Projects/Credit Analyzer.md b/30 - Projects/Credit Analyzer.md new file mode 100644 index 0000000..8780ed8 --- /dev/null +++ b/30 - Projects/Credit Analyzer.md @@ -0,0 +1,27 @@ +--- +type: project +status: completed +domain: [finance, ai, software] +tech: [Node/Express, Python/Flask, React] +tags: [project, finance, ai] +--- +# 💳 Credit Analyzer +> Personal-finance tool that **auto-parses bank statements** and delivers **AI-powered spending insights** with interactive dashboards. Supports **6+ bank formats** with AI categorization. + +## Purpose +Remove the manual drudgery of understanding personal cashflow — ingest statements, categorize transactions with AI, visualize spending. + +## Architecture +- **Dual backend:** Node/Express + Python/Flask (`server/`, `processor/`) +- **Frontend:** React (`client/`) +- Statement parsing pipeline → AI categorization → dashboards + +## Why it exists +Featured on [[Profile|the portfolio]] as flagship finance work; reflects the [[Finance Overview|personal-finance]] interest and AI-application skill. + +## Open questions +- [ ] Which 6 bank formats? Which AI model does categorization? +- [ ] Personal use only, or intended for others? + +## Related +[[TradeBuddy]] · [[Finance Overview]] · [[MOC - Investing]] · [[MOC - AI]] diff --git a/30 - Projects/Economic Survey Visualizer.md b/30 - Projects/Economic Survey Visualizer.md new file mode 100644 index 0000000..215f72c --- /dev/null +++ b/30 - Projects/Economic Survey Visualizer.md @@ -0,0 +1,18 @@ +--- +type: project +status: completed +domain: [finance, data, software] +tags: [project] +--- +# 📊 Economic Survey Visualizer +> Interactive web app that parses **Indian Economic Survey** PDFs and renders data visualizations with Recharts. Turns dense policy PDFs into interactive charts. + +## Notes +- Next.js app (repo: `economic-survey`). Macro/policy analysis tool. +- Sibling of [[India Economy Dashboard]]. + +## Open questions +- [ ] Annual refresh each Budget/Survey season? + +## Related +[[India Economy Dashboard]] · [[Finance Overview]] · [[MOC - Investing]] diff --git a/30 - Projects/India Economy Dashboard.md b/30 - Projects/India Economy Dashboard.md new file mode 100644 index 0000000..5dd02aa --- /dev/null +++ b/30 - Projects/India Economy Dashboard.md @@ -0,0 +1,17 @@ +--- +type: project +status: completed +domain: [finance, data] +tags: [project] +--- +# 🇮🇳 India Economy Dashboard +> React dashboard visualising Indian macroeconomic data. + +## Notes +- Companion to [[Economic Survey Visualizer]]; reflects macro-analysis interest. + +## Open questions +- [ ] Data sources (RBI, MOSPI)? Live or static? + +## Related +[[Economic Survey Visualizer]] · [[Investment Philosophy]] diff --git a/30 - Projects/OpenClaw Dashboard.md b/30 - Projects/OpenClaw Dashboard.md new file mode 100644 index 0000000..ca3e486 --- /dev/null +++ b/30 - Projects/OpenClaw Dashboard.md @@ -0,0 +1,14 @@ +--- +type: project +status: active +domain: [ai, software] +commits: 7 +period: 2026-02-10 → 2026-04-19 +tags: [project, ai, agents] +--- +# 🖥️ OpenClaw Dashboard +> "Clawd Agent Dashboard" — view/edit agent **core memory** (`MEMORY.md`), browse/manage the **Skills Registry**, and manage **MCP** servers. Part of the [[Clawd Ecosystem]]. +- [ ] Canonical dashboard, or superseded by [[tiger-build]]? + +## Related +[[Clawd Ecosystem]] · [[Agent Architectures]] · [[MCP]] diff --git a/30 - Projects/Playschool CRM.md b/30 - Projects/Playschool CRM.md new file mode 100644 index 0000000..0e0647a --- /dev/null +++ b/30 - Projects/Playschool CRM.md @@ -0,0 +1,17 @@ +--- +type: project +status: active +domain: [saas, web, business] +tags: [project] +--- +# 🏫 Playschool CRM +> Full **SaaS CRM for playschools** — student management, attendance, fee collection, parent communication. End-to-end school management. (Next.js, initial commit Jan 2026.) + +## Notes +- A real SaaS attempt alongside [[Tia]]. + +## Open questions +- [ ] Any paying schools? Relationship to Awadh Gully brand? + +## Related +[[MOC - Startup]] · [[Business Overview]] · [[Tia]] diff --git a/30 - Projects/Portfolio Website.md b/30 - Projects/Portfolio Website.md new file mode 100644 index 0000000..708ab22 --- /dev/null +++ b/30 - Projects/Portfolio Website.md @@ -0,0 +1,17 @@ +--- +type: project +status: completed +domain: [web] +tags: [project] +--- +# 🌐 Portfolio Website (manohargupta.com) +> Personal portfolio + journal at [manohargupta.com](https://www.manohargupta.com). Umami analytics, ad-blocker-resilient tracking. (21 commits, Mar–Apr 2026.) + +## Notes +- Primary public identity surface — source of [[Profile]] & [[Timeline]] facts. + +## Open questions +- [ ] Keep journal in sync with this vault's [[20 - Journal/Daily|Journal]]? + +## Related +[[Profile]] · [[Timeline]] diff --git a/30 - Projects/Position Tracker.md b/30 - Projects/Position Tracker.md new file mode 100644 index 0000000..0b86618 --- /dev/null +++ b/30 - Projects/Position Tracker.md @@ -0,0 +1,24 @@ +--- +type: project +status: active +domain: [finance, software] +commits: 49 +period: 2026-05-08 → 2026-06-06 +tags: [project, investing, trading] +--- +# 🎯 Position Tracker +> Live trading **position-tracking** service. 49 commits (May–Jun 2026). Dockerised; binds port 3457 to 127.0.0.1 (deployed behind reverse proxy). + +## Purpose +Track open trading positions and P&L in real time. Many `fix_pnl*`, `fix_market_ui`, `fix_closed_card` commits → an actively-used, iterated tool. + +## Notes +- Self-hosted via [[Self-Hosting|Dokploy]] (same convention as [[Tia]] / [[obsidian-stack]]). +- Likely the runtime companion to [[TradeBuddy]]. + +## Open questions +- [ ] Data source / broker API? +- [ ] Relationship to [[TradeBuddy]]? + +## Related +[[TradeBuddy]] · [[MOC - Investing]] · [[Self-Hosting]] diff --git a/30 - Projects/Prehab360.md b/30 - Projects/Prehab360.md new file mode 100644 index 0000000..d3c79f4 --- /dev/null +++ b/30 - Projects/Prehab360.md @@ -0,0 +1,17 @@ +--- +type: project +status: active +domain: [health, software] +tags: [project] +--- +# 🏃 Prehab360 +> Prehab / physiotherapy app (client + server, has `prehab360_prd.md`). Injury prevention & rehab. + +## Notes +- Reflects [[Health Overview|health/rehab]] interest. + +## Open questions +- [ ] Personal tool or product? What problem precisely? + +## Related +[[Health Overview]] · [[MOC - Startup]] diff --git a/30 - Projects/REModel.md b/30 - Projects/REModel.md new file mode 100644 index 0000000..a7472b0 --- /dev/null +++ b/30 - Projects/REModel.md @@ -0,0 +1,33 @@ +--- +type: project +status: active +domain: [renewables, finance, software] +tech: [Python, FastAPI, Next.js] +commits: 53 +period: 2026-05-07 → 2026-05-16 +tags: [project, renewables, finance, modeling] +--- +# ☀️ REModel — Renewable Energy Financial Modeling Platform +> Python calculation engine + FastAPI backend + Next.js frontend for **Indian renewable-energy** (solar) financial modeling. *This is the software embodiment of the day job.* + +## Purpose +Turn the manual, spreadsheet-bound work of **utility-scale solar project finance** into a structured platform — site/technical inputs → energy yield → financial model (debt sizing, returns). + +## Why it matters +Directly fuses Manohar's two strongest domains: [[Renewables Overview|renewables engineering]] and [[Finance Overview|project finance]]. The professional version of what he does at [[Renewables Overview|ReNew]]. + +## Architecture +- **Calc engine (Python):** the modeling core (links conceptually to [[8760 Energy Simulation]]) +- **API (FastAPI):** serves model runs +- **Frontend (Next.js):** inputs + visual outputs +- Docs present: `PROJECT.md`, `PRD.md`, `CODEBASE_INVESTIGATION.md`, `RE_Financial_Modeling_Platform PRD.md` + +## Status & history +53 commits over a focused **May 2026** sprint. + +## Open questions / next +- [ ] Is REModel intended as a product, an internal tool, or a portfolio piece? +- [ ] Relationship to the [[8760 Energy Simulation]] platform — same codebase or successor? + +## Lessons / related +[[8760 Energy Simulation]] · [[Renewables Overview]] · [[MOC - Renewables]] · [[Finance Overview]] diff --git a/30 - Projects/Rooftop Solar Portfolio.md b/30 - Projects/Rooftop Solar Portfolio.md new file mode 100644 index 0000000..4f919da --- /dev/null +++ b/30 - Projects/Rooftop Solar Portfolio.md @@ -0,0 +1,13 @@ +--- +type: project +status: completed +domain: [renewables, solar] +tags: [project, solar, engineering] +--- +# 🏗️ Rooftop Solar Portfolio Design +> Designed **500 kW** of rooftop solar across **3 commercial buildings** in Gurugram. Hands-on solar engineering (likely PVsyst/Helioscope). +- Real-world complement to the software [[8760 Energy Simulation]] / [[REModel]] work. +- [ ] Client project, ReNew work, or independent? + +## Related +[[Renewables Overview]] · [[8760 Energy Simulation]] · [[MOC - Renewables]] diff --git a/30 - Projects/Tia.md b/30 - Projects/Tia.md new file mode 100644 index 0000000..21ee3a5 --- /dev/null +++ b/30 - Projects/Tia.md @@ -0,0 +1,50 @@ +--- +type: project +status: active +domain: [saas, ai, software, startup] +tech: [Next.js 16, PostgreSQL, pgvector, Drizzle, LiteLLM, Cloudflare R2, Resend, Tailwind v4, Dokploy] +commits: 406 +url: https://tia.manohargupta.com +tags: [project, startup, flagship] +--- +# 👶 Tia — Family Baby-Tracking SaaS +> The flagship product. A baby/parenting tracker: **feeds, diapers, sleep, vaccinations, growth, photo memories**, an **AI assistant**, and shared **family circles** — with real **billing (₹)** and an admin observability suite. Live at [tia.manohargupta.com](https://tia.manohargupta.com). + +## At a glance +- **406 commits** · active flagship · production with paying tiers +- **Stack:** Next.js 16 (App Router) · PostgreSQL 16 + pgvector · Drizzle ORM · LiteLLM → MiniMax · Cloudflare R2 · Resend · Tailwind v4 · Dokploy +- **Auth:** DB sessions + httpOnly `tia_session` cookie + +## Feature map +| Surface | What it does | +|---|---| +| **Quick Log / Home** | One-tap logging of feeds, diapers, sleep; AI card; baby card (at `/home`) | +| **AI chat** (`/ai`) | LiteLLM→MiniMax assistant over the child's data; sessions sidebar | +| **Medical** | Vaccination tracking | +| **Growth** | Growth charts | +| **Memories** | Photo gallery (R2-backed, via `/api/img` proxy) | +| **Circles** | Shared family circles + circle chat | +| **Settings** | Theme picker, invite members, tier | +| **Admin** | Health, Errors, Audit Log, AI Usage observability + billing/subscriptions | + +## Business model +- Tiers: **free** vs **pro** (`families.tier`); free guardrails = 1 GiB storage / 2 members per family +- Billing in **₹**: subscriptions, dunning, churn alerts, webhook health; premium storage cap 50 GB +- Payment abstraction = `isPaidFamily(tier)` ([[Decision Log#TD-002]]) + +## Knowledge base +- 📖 [[Tia - Origin Story]] — why it exists +- 🎯 [[Tia - Positioning]] — vision, messaging, who it's for +- 🏗️ [[Tia - Architecture]] — the technical system +- ⚖️ [[Tia - Decisions]] — key engineering/product calls +- 🗺️ [[Tia - Roadmap]] — shipped + next +- ❓ [[Tia - Open Questions]] — what's undecided + +## Progress history (from commits) +- **early** — initial setup, Dockerfile, Node 22 / pnpm 11 +- **May 2026** — core build, route-group split, quota/member limits, SEO overhaul, AI chat fixes +- **late May** — migration journal fix, admin observability suite (health/errors/audit/AI) +- **Jun 2026** — full billing: subscriptions, real ₹ revenue, dunning, churn, storage caps + +## Related +[[MOC - Startup]] · [[Family Overview]] · [[Decision Log]] · [[Self-Hosting]] · [[Profile]] diff --git a/30 - Projects/Tia/Quota Feature.md b/30 - Projects/Tia/Quota Feature.md new file mode 100644 index 0000000..d48e3c3 --- /dev/null +++ b/30 - Projects/Tia/Quota Feature.md @@ -0,0 +1,29 @@ +--- +type: project-doc +parent: "[[Tia]]" +status: verified +branch: feature/quota-and-member-limits +tags: [tia, feature, billing] +--- +# 📦 Tia — Storage Quota & Member Limits +> Free-tier guardrails before beta. Branch `feature/quota-and-member-limits` (NOT merged to main as of 2026-05-27). + +## Limits +- **1 GiB** storage / family · **2 members** / family (free tier) + +## Key files +- `src/lib/quota.ts` — enforcement (pure fns + queries) +- `api/upload`, `api/memories/[id]/confirm`, `api/invites`, `api/storage-usage` +- `components/StorageMeter.tsx` · `__tests__/quota.test.ts` (44 tests pass) +- `drizzle/0007_subscription_status.sql` + +## Design calls +- Usage **derived** (SUM), never accumulated ([[Decision Log#TD-001]]) +- `tier` is the plan indicator; `isPaidFamily(tier)` abstraction ([[Decision Log#TD-002]]) +- Downgrade = **freeze** (keep members, block new invites) + +## Status +- [ ] **Apply migration 0007 on staging before merge.** Do not push to main yet. + +## Related +[[Tia]] · [[Tia - Decisions]] · [[Tia - Roadmap]] diff --git a/30 - Projects/Tia/Tia - Architecture.md b/30 - Projects/Tia/Tia - Architecture.md new file mode 100644 index 0000000..388a976 --- /dev/null +++ b/30 - Projects/Tia/Tia - Architecture.md @@ -0,0 +1,38 @@ +--- +type: project-doc +parent: "[[Tia]]" +status: verified +tags: [tia, architecture, engineering] +--- +# 🏗️ Tia — Architecture +> Verified from CLAUDE.md + memory files. + +## Stack +Next.js 16 (App Router, Turbopack) · PostgreSQL 16 + **pgvector** (pgvector/pgvector:pg18 on prod) · **Drizzle ORM** · **LiteLLM** gateway → **MiniMax** (minimax-2.7) · **Cloudflare R2** · **Resend** · Tailwind v4 · **Dokploy** (auto-migrate on deploy). + +## Route groups ([[Decision Log#TD-005]]) +- `(marketing)/` → `/`, `/pricing`, `/privacy`, `/terms` — **static, no DB/auth imports** +- `(app)/` → authenticated app with ThemeProvider + FamilyProvider + BottomNav; dashboard at `/home` + +## Auth +- User: `/login` → `POST /api/auth/signin` (bcrypt) → session row → httpOnly `tia_session`; routes use `requireFamily()` +- Admin: `/admin-login` → `tia_admin_session`; admin layout is a server component calling `verifyAdminSession()` + +## Data & context +- `FamilyProvider` resolves family/child from session: `{ familyId, child, children, tier, memberCount, updateChildImage }` +- Quota logic in `src/lib/quota.ts` (pure fns + queries); usage always derived via `SUM` ([[Decision Log#TD-001]]) + +## Migrations (the big gotcha) ([[Decision Log#TD-003]]) +- `migrate.mjs` runs before `server.js`; reads all SQL in `drizzle/`, applies any not in `__drizzle_migrations` +- **`when` must be `Date.now()`** (> 1779539431897) or Drizzle silently skips it +- Hot-apply via `POST /api/debug-migration` (header `x-run-migration: yes`), idempotent steps + +## Media (R2) ([[Decision Log#TD-004]]) +- 3-step upload: init → server-proxied `PUT /api/upload` → save URL +- **Never** direct cross-origin PUT; **never** raw `*.r2.dev` in `` — use `/api/img?key=` proxy + +## Observability (admin) +`error_events` table + `logError()` + `POST /api/errors`; `/admin/{health,errors,audit,ai}` over `audit_log`, `ai_usage` (p95 via `percentile_cont`). + +## Related +[[Tia]] · [[Tia - Decisions]] · [[Self-Hosting]] · [[Engineering Overview]] diff --git a/30 - Projects/Tia/Tia - Decisions.md b/30 - Projects/Tia/Tia - Decisions.md new file mode 100644 index 0000000..43628bf --- /dev/null +++ b/30 - Projects/Tia/Tia - Decisions.md @@ -0,0 +1,19 @@ +--- +type: project-doc +parent: "[[Tia]]" +status: verified +tags: [tia, decisions] +--- +# ⚖️ Tia — Key Decisions +> Pulled from the project memory files. Full entries in [[Decision Log]]. + +1. **Derived usage, never accumulated** ([[Decision Log#TD-001]]) — storage = live SUM; pending excluded. +2. **`tier` is the only plan column** ([[Decision Log#TD-002]]) — payment behind `isPaidFamily()`. +3. **Migrations via hot-apply + `Date.now()` rule** ([[Decision Log#TD-003]]) — after Drizzle silently skipped 0003–0010. +4. **R2 served through `/api/img` proxy** ([[Decision Log#TD-004]]) — Cloudflare bot-mgmt 503'd cross-origin imgs. +5. **(marketing) vs (app) route groups** ([[Decision Log#TD-005]]) — keep `/` static; dashboard at `/home`. +6. **Downgrade = freeze, not delete** — existing members keep roles; only new invites blocked. +7. **Pre-aggregate analytics with CTEs** — the engagement query was a cartesian blow-up; fixed by per-table CTEs to avoid 500s on real data. + +## Related +[[Tia]] · [[Tia - Architecture]] · [[Decision Log]] diff --git a/30 - Projects/Tia/Tia - Open Questions.md b/30 - Projects/Tia/Tia - Open Questions.md new file mode 100644 index 0000000..6cb371f --- /dev/null +++ b/30 - Projects/Tia/Tia - Open Questions.md @@ -0,0 +1,26 @@ +--- +type: project-doc +parent: "[[Tia]]" +status: stub +tags: [tia, open-questions] +--- +# ❓ Tia — Open Questions +> The decisions and unknowns worth resolving. + +## Product +- [ ] Primary persona & market (India-first vs global)? +- [ ] The defensible wedge vs. Huckleberry/BabyTracker? +- [ ] AI assistant — what's the killer use case parents actually return for? + +## Business +- [ ] Pricing validated? Free→Pro conversion target? +- [ ] How many active families today? +- [ ] CAC / acquisition channel? + +## Technical +- [ ] When to merge the quota branch? +- [ ] Native mobile vs PWA? +- [ ] Self-host Tia's infra fully (like [[obsidian-stack]])? + +## Related +[[Tia]] · [[Tia - Roadmap]] · [[Tia - Positioning]] diff --git a/30 - Projects/Tia/Tia - Origin Story.md b/30 - Projects/Tia/Tia - Origin Story.md new file mode 100644 index 0000000..9b52fab --- /dev/null +++ b/30 - Projects/Tia/Tia - Origin Story.md @@ -0,0 +1,25 @@ +--- +type: project-doc +parent: "[[Tia]]" +status: inferred +tags: [tia, startup, origin] +--- +# 📖 Tia — Origin Story +> *Reconstructed inference — confirm/rewrite. Nothing here is asserted as fact.* + +## The likely origin (inferred) +Tia is a **baby-tracking app** built by someone who ships fast and solves his own problems ([[Credit Analyzer]] for his finances, [[Whisper Hotkey]] for his workflow). The most parsimonious explanation: **Manohar became a parent**, found existing trackers lacking, and built the tool he wanted — then generalised it into a SaaS with family circles and billing. + +Evidence pointing this way: +- Deep, opinionated feature set (feeds/diapers/sleep/vaccinations/growth/memories) — the lived problem of a new parent +- **Family circles** — built for *his* family to share, then opened up +- The name **"Tia"** — likely personal/meaningful (a child's name? a term of endearment?) + +## ✍️ Confirm the real story +- [ ] Did becoming a parent trigger Tia? When? +- [ ] What does **"Tia"** mean / who is it named after? +- [ ] What existing app frustrated you enough to build your own? +- [ ] First "this has to exist" moment? + +## Related +[[Tia]] · [[Tia - Positioning]] · [[Family Overview]] diff --git a/30 - Projects/Tia/Tia - Positioning.md b/30 - Projects/Tia/Tia - Positioning.md new file mode 100644 index 0000000..c1ce27d --- /dev/null +++ b/30 - Projects/Tia/Tia - Positioning.md @@ -0,0 +1,28 @@ +--- +type: project-doc +parent: "[[Tia]]" +status: mixed +tags: [tia, positioning, marketing] +--- +# 🎯 Tia — Positioning, Vision & Messaging +> Verified surface facts + prompts for the strategy you hold in your head. + +## What it is (verified) +A **family baby-tracking SaaS**: log the essentials, track growth & vaccinations, keep photo memories, ask an **AI assistant**, and share with family via **circles**. Marketing site at `/`, app at `/home`. Indian market signals: ₹ pricing, `en-IN` lang. + +## Positioning canvas (fill in) +- **For** … *(new parents in India? globally?)* +- **Who** … *(struggling with scattered tracking / want AI help / want to share with family)* +- **Tia is a** … baby & parenting companion +- **That** … unifies logging + memories + AI insight + family sharing +- **Unlike** … *(Huckleberry / BabyTracker / paper)* → see [[Competitive Landscape]] +- **Tia** … *(your wedge — AI? family circles? privacy/self-hosted ethos?)* + +## ✍️ Prompts +- [ ] One-line pitch? +- [ ] Primary persona & geography? +- [ ] The wedge vs. Huckleberry & co. ([[Competitive Landscape]]) +- [ ] Free → Pro conversion thesis? + +## Related +[[Tia]] · [[Vision]] · [[Competitive Landscape]] · [[MOC - Startup]] diff --git a/30 - Projects/Tia/Tia - Roadmap.md b/30 - Projects/Tia/Tia - Roadmap.md new file mode 100644 index 0000000..a947949 --- /dev/null +++ b/30 - Projects/Tia/Tia - Roadmap.md @@ -0,0 +1,29 @@ +--- +type: project-doc +parent: "[[Tia]]" +status: mixed +tags: [tia, roadmap] +--- +# 🗺️ Tia — Roadmap +> Shipped = verified from commits. Next = prompts. + +## ✅ Shipped +- Core logging (feeds/diapers/sleep), growth charts, vaccinations, photo memories +- AI chat assistant (LiteLLM→MiniMax) · family circles + chat +- Marketing site + SEO overhaul (JSON-LD, sitemap, OG images) +- Quota & member limits · full billing (subscriptions, dunning, churn, ₹ revenue, 50 GB cap) +- Admin observability (health, errors, audit, AI usage) + +## 🔜 Likely next (confirm) +- [ ] Merge `feature/quota-and-member-limits` to main ([[Quota Feature]]) +- [ ] Fix CSP so Plausible analytics works (flagged, not fixed) +- [ ] Delete dead `/api/admin/analytics` route +- [ ] Public beta launch readiness + +## ✍️ Prompts +- [ ] Next 3 features by priority? +- [ ] Launch date / beta cohort? +- [ ] Mobile app (native) on the roadmap? + +## Related +[[Tia]] · [[Tia - Open Questions]] · [[Tia - Decisions]] diff --git a/30 - Projects/TradeBuddy.md b/30 - Projects/TradeBuddy.md new file mode 100644 index 0000000..89a13d3 --- /dev/null +++ b/30 - Projects/TradeBuddy.md @@ -0,0 +1,29 @@ +--- +type: project +status: active +domain: [finance, software, ai] +tech: [React 18, TypeScript, Vite, MUI v5, Redux Toolkit, Recharts] +tags: [project, investing, trading] +--- +# 📈 TradeBuddy — Trading Platform +> Production-grade trading platform: real-time data, portfolio tracking, AI insights, and **Telegram bot** integration. (Repo: `TradingApp`; "TradeBuddy Journal Redesign — Master Plan".) + +## Purpose +A serious trading journal + platform — track positions, stream real-time market data over WebSockets, surface AI insights, and interact via Telegram. + +## Architecture +- **Frontend:** React 18 + TS + Vite + MUI v5 + Redux Toolkit + Recharts +- **Real-time:** WebSocket streams for portfolio tracking +- **AI insights** layer + **Telegram bot** interface +- Companion: [[Position Tracker]] (49 commits, May–Jun 2026) — the live position-tracking service + +## Why it matters +Anchors the **active investor** identity → feeds [[Investment Philosophy]] and [[MOC - Investing]]. + +## Open questions +- [ ] TradeBuddy vs. Position Tracker — one product or two? +- [ ] Markets traded (equities, F&O, crypto)? +- [ ] Live capital or paper? + +## Related +[[Position Tracker]] · [[Investment Philosophy]] · [[Finance Overview]] · [[MOC - Investing]] diff --git a/30 - Projects/Whisper Hotkey.md b/30 - Projects/Whisper Hotkey.md new file mode 100644 index 0000000..e260bc3 --- /dev/null +++ b/30 - Projects/Whisper Hotkey.md @@ -0,0 +1,17 @@ +--- +type: project +status: completed +domain: [automation, software] +tags: [project] +--- +# 🎤 Whisper Hotkey — Mac Dictation +> Press ⌘⇧V anywhere → speak → text at cursor. Background server for instant transcription. (3 commits, Jan 2026.) + +## Notes +- Personal-automation tool; speed-optimised with a background server. + +## Open questions +- [ ] Which Whisper model? Still in daily use? + +## Related +[[Operations Overview]] · [[MOC - Software]] diff --git a/30 - Projects/dedup.md b/30 - Projects/dedup.md new file mode 100644 index 0000000..83bb01f --- /dev/null +++ b/30 - Projects/dedup.md @@ -0,0 +1,12 @@ +--- +type: project +status: unknown +domain: [software, data] +tags: [project, utility] +--- +# 🧹 dedup +> Python utility (purpose to confirm — likely data/file deduplication). +- [ ] What does dedup actually de-duplicate, and for what? + +## Related +[[MOC - Software]] diff --git a/30 - Projects/obsidian-stack.md b/30 - Projects/obsidian-stack.md new file mode 100644 index 0000000..8ebaaaf --- /dev/null +++ b/30 - Projects/obsidian-stack.md @@ -0,0 +1,29 @@ +--- +type: project +status: completed +domain: [infra, knowledge, software] +commits: 15 +period: 2026-04-26 → 2026-06-07 +tags: [project, self-hosting, pkm] +--- +# 🗄️ obsidian-stack — Self-Hosted Obsidian +> The infrastructure powering *this vault*. Self-hosted Obsidian with end-to-end sync and automated backup. + +## Components +- **CouchDB 3.3** — LiveSync backend at `couchdb.manohargupta.com` (`require_valid_user`) +- **Ignis** (`nobbe/ignis:latest`) — real Obsidian in the browser at `notes.manohargupta.com`, vault bind-mounted at `/opt/obsidian/vaults/main` +- **Self-hosted LiveSync** plugin — CouchDB sync across desktop / web / mobile +- **Hourly cron** → git commit + push to **Forgejo** (`git.manohargupta.com:2222`) +- Deployed via **[[Self-Hosting|Dokploy]]**; reachable over Tailscale `100.75.128.45` + +## Key lessons learned +- Forgejo SSH is on **port 2222** (host sshd owns 22) +- `git config --global --add safe.directory` needed (vault owned by uid 1000) +- Files created directly on disk need LiveSync **scan + unlock** before they replicate (the "remote rebuilt/corrupted" trap) → [[Self-Hosting]] +- Secrets only in Dokploy env ([[Decision Log#TD-006]]) + +## Outcome +Full bi-directional sync verified across web ↔ CouchDB ↔ desktop; 10 plugins installed (Dataview, Templater, Periodic Notes, Calendar, Tasks, QuickAdd, Tag Wrangler…). + +## Related +[[Self-Hosting]] · [[Cortex]] · [[Operations Overview]] · [[Deployment Checklist]] diff --git a/30 - Projects/tiger-build.md b/30 - Projects/tiger-build.md new file mode 100644 index 0000000..4a677d2 --- /dev/null +++ b/30 - Projects/tiger-build.md @@ -0,0 +1,12 @@ +--- +type: project +status: active +domain: [ai, software] +tags: [project, ai, agents, ui] +--- +# 🐯 tiger-build +> Agent dashboard UI build — activity feed, agent chips, agent-file routes, model config. The most recent UI layer of the [[Clawd Ecosystem]]. +- [ ] Is this the current front-end for the Clawd agent? + +## Related +[[Clawd Ecosystem]] · [[OpenClaw Dashboard]] · [[Agent Architectures]] diff --git a/40 - Areas/Business/Business Overview.md b/40 - Areas/Business/Business Overview.md new file mode 100644 index 0000000..306f439 --- /dev/null +++ b/40 - Areas/Business/Business Overview.md @@ -0,0 +1,27 @@ +--- +type: area +status: mixed +tags: [area, business] +updated: 2026-06-07 +--- +# 🏢 Business — Area Overview +> Ventures, clients, and commercial work outside the salaried role. + +## Ventures & products +- **[[Tia]]** — baby-tracking SaaS (the flagship startup) → [[MOC - Startup]] +- **[[Awadh Gully]]** — restaurant (brand + website) +- **[[Arawali Minerals]]** — industrial minerals corporate web presence +- **[[Playschool CRM]]** — SaaS for playschools + +## Commercial themes to track +- Pricing & monetisation (Tia billing in ₹, tiers) +- Positioning & messaging → [[Tia - Positioning]] +- Customer insight & feedback loops + +## ✍️ Prompts +- [ ] Is Awadh Gully a family business / your venture / a client? +- [ ] Revenue goals across ventures? +- [ ] Which of these is a *real* business vs. a portfolio/demo piece? + +## Related +[[MOC - Startup]] · [[Tia]] · [[Home]] diff --git a/40 - Areas/Engineering/Engineering Overview.md b/40 - Areas/Engineering/Engineering Overview.md new file mode 100644 index 0000000..50bd9d1 --- /dev/null +++ b/40 - Areas/Engineering/Engineering Overview.md @@ -0,0 +1,35 @@ +--- +type: area +status: verified +tags: [area, engineering, software] +updated: 2026-06-07 +--- +# 🛠️ Engineering — Area Overview +> Standards, stack, and practices for everything I build. + +## My default stack +- **Web:** Next.js (App Router) + React + TypeScript + Tailwind v4 +- **Backend:** Python (FastAPI / Flask) and Next API routes +- **DB:** PostgreSQL (+ pgvector) with Drizzle ORM +- **Infra:** Docker + Dokploy, Cloudflare R2, Tailscale — see [[Self-Hosting]] +- **AI:** LiteLLM gateway → model providers; agent frameworks → [[MOC - AI]] + +## Operating rules (battle-tested) +- ALWAYS run `pnpm build` locally **before** commit/push ([[Deployment Checklist]]) +- Secrets only in env (Dokploy), never in git ([[Decision Log#TD-006]]) +- Migrations: `when` must be `Date.now()`; SQL idempotent ([[Decision Log#TD-003]]) +- Never PUT cross-origin to R2 from the browser — proxy server-side ([[Decision Log#TD-004]]) + +## Active engineering surfaces +```dataview +table status, tech +from "30 - Projects" +where contains(domain, "software") or contains(domain, "ai") +sort file.mtime desc +``` + +## Knowledge +[[Docker]] · [[Git]] · [[Self-Hosting]] · [[Development Workflow]] · [[Linux]] + +## Related +[[MOC - Software]] · [[Profile]] · [[Home]] diff --git a/40 - Areas/Family/Family Overview.md b/40 - Areas/Family/Family Overview.md new file mode 100644 index 0000000..6f2901d --- /dev/null +++ b/40 - Areas/Family/Family Overview.md @@ -0,0 +1,21 @@ +--- +type: area +status: stub +tags: [area, family, personal] +updated: 2026-06-07 +--- +# 👨‍👩‍👧 Family — Area Overview +> Private area. Nothing here is fabricated — fill in what you want to keep. + +> [!note] Context from your work +> You built **[[Tia]]**, a baby-tracking app (feeds, sleep, diapers, vaccinations, growth, memories). That strongly suggests parenthood is a lived, current part of your life — and likely the **origin story** of Tia. See [[Tia - Origin Story]]. + +## ✍️ Prompts (answer only what you want recorded) +- [ ] Family members & relationships +- [ ] Children — ages (ties directly to Tia's product decisions) +- [ ] Family values / traditions you want to pass on +- [ ] Parenting principles → could become [[60 - Knowledge]] notes +- [ ] Important dates + +## Related +[[Tia - Origin Story]] · [[Health Overview]] · [[Profile]] diff --git a/40 - Areas/Finance/Finance Overview.md b/40 - Areas/Finance/Finance Overview.md new file mode 100644 index 0000000..21bb481 --- /dev/null +++ b/40 - Areas/Finance/Finance Overview.md @@ -0,0 +1,27 @@ +--- +type: area +status: verified +tags: [area, finance] +updated: 2026-06-07 +--- +# 💰 Finance — Area Overview +> Project finance is my profession; personal finance & markets are my practice. + +## Professional finance (the day job) +- **Domain:** utility-scale **solar project finance**, 50–300MW ([[Renewables Overview|ReNew]]) +- **Skills:** financial modeling, debt sizing, technical + financial DD, information memorandums, lender/equity relationships +- **Lineage:** [[Timeline|Thomson Reuters → PwC → ReNew]] +- See [[Renewables Overview]] for the energy side, [[8760 Energy Simulation]] for the modeling core + +## Personal finance & markets (the builds) +- [[Credit Analyzer]] — auto-parse bank statements, AI spending insights +- [[TradeBuddy]] / [[Position Tracker]] — trading platform & position tracking +- [[Economic Survey Visualizer]] / [[India Economy Dashboard]] — macro analysis +- Philosophy & theses → [[Investment Philosophy]] · [[MOC - Investing]] + +## ✍️ Prompts +- [ ] Personal financial goals / targets? +- [ ] Asset allocation framework you follow? + +## Related +[[MOC - Investing]] · [[Investment Philosophy]] · [[Profile]] diff --git a/40 - Areas/Health/Health Overview.md b/40 - Areas/Health/Health Overview.md new file mode 100644 index 0000000..3a787d1 --- /dev/null +++ b/40 - Areas/Health/Health Overview.md @@ -0,0 +1,20 @@ +--- +type: area +status: stub +tags: [area, health, personal] +updated: 2026-06-07 +--- +# 🏃 Health — Area Overview +> Personal health, fitness, and wellbeing. + +> [!note] Context from your work +> You built **[[Prehab360]]** (a prehab / physiotherapy app), hinting at interest in injury prevention & rehab. + +## ✍️ Prompts +- [ ] Current health goals (fitness, sleep, nutrition)? +- [ ] Any conditions / constraints to track? +- [ ] Routines that work for you? +- [ ] Metrics you care about? + +## Related +[[Prehab360]] · [[Profile]] diff --git a/40 - Areas/Investing/Investment Philosophy.md b/40 - Areas/Investing/Investment Philosophy.md new file mode 100644 index 0000000..c8a3e87 --- /dev/null +++ b/40 - Areas/Investing/Investment Philosophy.md @@ -0,0 +1,28 @@ +--- +type: knowledge +status: inferred +tags: [investing, philosophy, finance] +updated: 2026-06-07 +--- +# 📜 Investment Philosophy +> *Inferred starting points from your background & builds — rewrite in your own voice. Not financial advice; your principles only.* + +## What your work suggests (inferred) +- **Cashflow-literate:** project-finance career = deep comfort with DCF, debt, downside cases → likely a **fundamentals/cashflow** lean over hype +- **Systems & data:** you built [[TradeBuddy]], [[Position Tracker]], [[Economic Survey Visualizer]] — suggests a **quant/systematic, data-driven** streak +- **Macro-aware:** [[India Economy Dashboard]] + Economic Survey work → you track **macro** context +- **Sustainability thesis:** career-deep in **renewables** → plausible conviction in the energy transition as an investable secular trend + +## Principles (fill in — these are YOURS) +- [ ] Time horizon & style (long-term compounding? active trading? both, in sleeves?) +- [ ] Asset classes you play (Indian equities, US, F&O, crypto, private/angel?) +- [ ] Position sizing & risk rules +- [ ] Your edge / circle of competence (renewables? finance? tech?) +- [ ] What you refuse to do + +## Theses to develop → [[60 - Knowledge]] +- [ ] Energy transition / renewables investing thesis +- [ ] India macro thesis + +## Related +[[MOC - Investing]] · [[Finance Overview]] · [[TradeBuddy]] · [[Decision Log]] diff --git a/40 - Areas/Operations/Operations Overview.md b/40 - Areas/Operations/Operations Overview.md new file mode 100644 index 0000000..810a012 --- /dev/null +++ b/40 - Areas/Operations/Operations Overview.md @@ -0,0 +1,24 @@ +--- +type: area +status: mixed +tags: [area, operations] +updated: 2026-06-07 +--- +# ⚙️ Operations — Area Overview +> The systems that keep work and life running — automation, infra, routines. + +## Personal infrastructure (self-run) +- **[[Self-Hosting]]** — Dokploy stack on a single server (Tailscale `100.75.128.45`) +- **[[obsidian-stack]]** — self-hosted Obsidian (CouchDB LiveSync + Ignis web UI + hourly Forgejo backup) +- **[[Whisper Hotkey]]** — voice-to-text automation (⌘⇧V anywhere) + +## Routines & cadences +- Periodic notes: [[20 - Journal/Daily|Daily]] / Weekly / Monthly (Periodic Notes plugin) +- Deployment ritual: [[Deployment Checklist]] + +## ✍️ Prompts +- [ ] Weekly review cadence — do you run one? +- [ ] What recurring ops eat the most time (worth automating)? + +## Related +[[Engineering Overview]] · [[Self-Hosting]] · [[Home]] diff --git a/40 - Areas/Startup/Customer Insights.md b/40 - Areas/Startup/Customer Insights.md new file mode 100644 index 0000000..f866908 --- /dev/null +++ b/40 - Areas/Startup/Customer Insights.md @@ -0,0 +1,24 @@ +--- +type: startup-doc +status: stub +tags: [startup, customers, feedback] +--- +# 🗣️ Customer Insights & Feedback +> Verbatim quotes, support themes, churn reasons. Evidence for product decisions. + +## Sources to wire up +- [ ] Tia `audit_log` / engagement analytics → behavioural insight +- [ ] Support emails (Resend) → themes +- [ ] Churn/dunning data → why people leave + +## Insight log +| Date | Source | Insight | Action | +|---|---|---|---| +| | | | | + +## ✍️ Prompts +- [ ] Have you talked to users yet? What did you learn? +- [ ] Top requested feature? + +## Related +[[Experiments]] · [[Tia - Positioning]] · [[Weekly Metrics]] diff --git a/40 - Areas/Startup/Product/Product Ideas.md b/40 - Areas/Startup/Product/Product Ideas.md new file mode 100644 index 0000000..97a4949 --- /dev/null +++ b/40 - Areas/Startup/Product/Product Ideas.md @@ -0,0 +1,19 @@ +--- +type: startup-doc +status: stub +tags: [startup, product, ideas] +--- +# 💡 Product Ideas — Backlog +> Capture raw ideas here; promote the good ones to [[Roadmap]]. + +## Tia ideas (seed) +- [ ] AI "ask anything about my baby" weekly digest +- [ ] Shareable milestone cards (memories → social keepsake) +- [ ] Pediatrician export (growth + vaccination summary PDF) +- [ ] Multi-child households + +## Cross-product ideas +- [ ] Could [[Playschool CRM]] + Tia share a family-graph backend? + +## Related +[[Roadmap]] · [[Tia - Roadmap]] · [[Vision]] diff --git a/40 - Areas/Startup/Strategy/Experiments.md b/40 - Areas/Startup/Strategy/Experiments.md new file mode 100644 index 0000000..0b782ca --- /dev/null +++ b/40 - Areas/Startup/Strategy/Experiments.md @@ -0,0 +1,19 @@ +--- +type: startup-doc +status: stub +tags: [startup, experiments] +--- +# 🧪 Experiments Log — Tia +> Hypotheses tested, results, decisions. One row per experiment. + +| Date | Hypothesis | Test | Result | Decision | +|---|---|---|---|---| +| | | | | | + +## Backlog of experiments to run +- [ ] Pricing test (₹ tiers — willingness to pay for Pro) +- [ ] AI assistant value (do AI users retain better?) +- [ ] Activation: does the onboarding flow drive first-log within 24h? + +## Related +[[Vision]] · [[Weekly Metrics]] · [[Customer Insights]] diff --git a/40 - Areas/Startup/Strategy/Vision.md b/40 - Areas/Startup/Strategy/Vision.md index 61b6cf3..330c139 100644 --- a/40 - Areas/Startup/Strategy/Vision.md +++ b/40 - Areas/Startup/Strategy/Vision.md @@ -1,26 +1,33 @@ --- -type: startup-note -category: strategy -updated: +type: startup-doc +status: mixed +tags: [startup, vision, tia] +updated: 2026-06-07 --- +# 🌟 Vision — Tia +> The startup layer is currently centred on **[[Tia]]**, the flagship product. -# Vision +## North star (draft — confirm) +> Help every family effortlessly track, understand, and remember their child's earliest years — with AI doing the heavy lifting and family sharing built in. -## 🌟 North Star -> Where are we going in 10 years? +## Why now +- AI assistants make "ask about your baby's data" finally useful +- Parents already log on paper / scattered apps — consolidation + memory is unmet +- Solo-founder economics: self-hosted infra ([[Self-Hosting]]) keeps burn near zero -## 🎯 Mission -> What do we do and for whom? +## Strategy pillars +1. **AI-native** — the assistant is the differentiator, not a bolt-on ([[Tia - Architecture]]) +2. **Family-shared** — circles make it sticky across caregivers +3. **Memory & longevity** — photo memories → a keepsake, not just a tracker +4. **Lean & owned** — self-hosted, ₹-priced, sustainable solo -## 💡 Core Insight -> What do we believe that others do not? +## Linked docs +[[Tia - Positioning]] · [[Competitive Landscape]] · [[Roadmap]] · [[Weekly Metrics]] · [[Experiments]] · [[Product Ideas]] · [[Customer Insights]] -## 🏆 Unique Edge -> Why us? Why now? +## ✍️ Prompts +- [ ] Is Tia the *only* startup bet, or one of several ([[Playschool CRM]])? +- [ ] 3-year vision in your words? +- [ ] What would make you *kill* Tia? ---- - -## Values -1. -2. -3. +## Related +[[Tia]] · [[MOC - Startup]] · [[Startup Overview]] diff --git a/50 - Resources/AI/Agent Architectures.md b/50 - Resources/AI/Agent Architectures.md new file mode 100644 index 0000000..b37df6b --- /dev/null +++ b/50 - Resources/AI/Agent Architectures.md @@ -0,0 +1,23 @@ +--- +type: resource +status: mixed +tags: [ai, agents, architecture] +--- +# 🤖 Agent Architectures +> Patterns for building autonomous AI agents. Grounded in the [[Clawd Ecosystem]] work. + +## Core components (from Clawd) +- **Core memory** — persistent `MEMORY.md` the agent reads/edits (this vault's [[Decision Log]] mirrors the idea) +- **Skills / capability registry** — browsable, editable set of agent abilities +- **MCP** servers — tool integration layer → [[MCP]] +- **Activity feed / observability** — see what the agent did ([[tiger-build]]) +- **Agent control plane** — dashboard to manage the above ([[OpenClaw Dashboard]]) + +## Patterns to write up → [[60 - Knowledge]] +- [ ] Memory: short-term context vs. durable core memory vs. retrieval +- [ ] Skill/tool selection & routing +- [ ] Single-agent vs. multi-agent orchestration +- [ ] Human-in-the-loop checkpoints + +## Related +[[Clawd Ecosystem]] · [[Agent Frameworks]] · [[MCP]] · [[LLMs]] · [[MOC - AI]] diff --git a/50 - Resources/AI/Agent Frameworks.md b/50 - Resources/AI/Agent Frameworks.md new file mode 100644 index 0000000..f138c5a --- /dev/null +++ b/50 - Resources/AI/Agent Frameworks.md @@ -0,0 +1,19 @@ +--- +type: resource +status: stub +tags: [ai, agents, frameworks] +--- +# 🧩 Agent Frameworks & Tools +> Survey of frameworks for building agents — and which you actually use. + +## Used / explored +- **Claude Agent SDK / Claude Code** — likely basis of [[Clawd Ecosystem]] (confirm) +- **MCP** (Model Context Protocol) → [[MCP]] +- **LiteLLM** (gateway) → [[LLMs]] + +## To evaluate / note +- [ ] LangGraph, CrewAI, Autogen — tried any? +- [ ] Your build-vs-adopt stance for agent infra + +## Related +[[Agent Architectures]] · [[MCP]] · [[Clawd Ecosystem]] diff --git a/50 - Resources/AI/LLMs.md b/50 - Resources/AI/LLMs.md new file mode 100644 index 0000000..c3c5621 --- /dev/null +++ b/50 - Resources/AI/LLMs.md @@ -0,0 +1,21 @@ +--- +type: resource +status: mixed +tags: [ai, llm] +--- +# 🧬 LLMs — Working Notes +> Practical knowledge of large language models in production. + +## In my stack (verified) +- **LiteLLM** as the gateway abstraction (provider-agnostic) — used in [[Tia]] +- **MiniMax** (minimax-2.7) as a production model behind LiteLLM +- **pgvector** for embeddings/retrieval in [[Tia]] + +## Topics to capture +- [ ] Gateway pattern (LiteLLM) — why abstract the provider +- [ ] Cost/latency: p95 tracking (Tia's `/admin/ai` uses `percentile_cont`) +- [ ] Embeddings + pgvector retrieval recipe +- [ ] Model selection trade-offs + +## Related +[[Agent Architectures]] · [[Prompt Engineering]] · [[Tia - Architecture]] · [[MOC - AI]] diff --git a/50 - Resources/AI/MCP.md b/50 - Resources/AI/MCP.md new file mode 100644 index 0000000..e1f180e --- /dev/null +++ b/50 - Resources/AI/MCP.md @@ -0,0 +1,19 @@ +--- +type: resource +status: mixed +tags: [ai, mcp] +--- +# 🔌 MCP — Model Context Protocol +> Standard for connecting models to tools/data. Managed in the [[Clawd Ecosystem]] dashboards. + +## What I do with it +- Register & manage MCP servers from the [[OpenClaw Dashboard]] / [[tiger-build]] UI +- Tooling layer for the Clawd agent + +## To capture +- [ ] Anatomy of an MCP server (tools, resources, prompts) +- [ ] Building a custom MCP server (see skill: mcp-builder) +- [ ] Security model for tool exposure + +## Related +[[Agent Frameworks]] · [[Agent Architectures]] · [[Clawd Ecosystem]] diff --git a/50 - Resources/AI/Prompt Engineering.md b/50 - Resources/AI/Prompt Engineering.md new file mode 100644 index 0000000..9d4258d --- /dev/null +++ b/50 - Resources/AI/Prompt Engineering.md @@ -0,0 +1,16 @@ +--- +type: resource +status: stub +tags: [ai, prompting] +--- +# ✍️ Prompt Engineering +> Reusable prompting patterns. Pair with [[Prompt Library]] (working prompts). + +## To capture +- [ ] System-prompt structure that works for you +- [ ] Tool-use / structured-output prompting +- [ ] Eval approach — how you tell a prompt is "good" +- [ ] Patterns from building the [[Tia]] AI assistant & [[Clawd Ecosystem]] + +## Related +[[Prompt Library]] · [[LLMs]] · [[Agent Architectures]] · [[MOC - AI]] diff --git a/50 - Resources/Books/Reading Library.md b/50 - Resources/Books/Reading Library.md new file mode 100644 index 0000000..fe68222 --- /dev/null +++ b/50 - Resources/Books/Reading Library.md @@ -0,0 +1,31 @@ +--- +type: index +status: stub +tags: [reading, books, articles] +--- +# 📚 Reading Library +> Books, articles, and papers — with notes that link ideas across sources. Use [[Book Note]] / [[Article Note]] templates. + +## Books (Dataview) +```dataview +table author, status, rating +from "50 - Resources/Books" +where type = "book" +sort file.ctime desc +``` + +## Articles & papers (Dataview) +```dataview +table source, tags +from "50 - Resources/Articles" +where type = "article" +sort file.ctime desc +``` + +## ✍️ Seed the library +- [ ] List 5–10 books that shaped your thinking (finance, startups, AI, systems) +- [ ] Favourite recurring authors/blogs/newsletters +- [ ] Papers behind the [[8760 Energy Simulation]] work + +## Related +[[MOC - Learning]] · [[Learning Overview]] diff --git a/50 - Resources/Software Engineering/Deployment Checklist.md b/50 - Resources/Software Engineering/Deployment Checklist.md new file mode 100644 index 0000000..5346ced --- /dev/null +++ b/50 - Resources/Software Engineering/Deployment Checklist.md @@ -0,0 +1,23 @@ +--- +type: checklist +status: verified +tags: [devops, deployment, tia] +--- +# ✅ Deployment Checklist +> Pre-push ritual before production (primarily [[Tia]] on [[Self-Hosting|Dokploy]]). + +## Every push +1. Run `pnpm build` **locally** before committing +2. Verify build succeeds with **no errors** +3. Test login works via API call +4. Push to git +5. **Wait for deployment** before confirming success + +## Prod DB must use a pgvector image (learned 2026-05-30) +- Dokploy Postgres image **MUST** be `pgvector/pgvector:pg18` (not plain `postgres:18`) +- Schema needs it: `memories.vision_embedding vector(1536)` + ivfflat index +- **Symptom of wrong image:** `CREATE EXTENSION ... vector` says "already exists" but queries fail with `could not access file "vector"` — any query touching `memories` breaks +- **Fix:** swap image + redeploy DB (same PG18 base → data volume compatible, no dump/restore) + +## Related +[[Tia - Architecture]] · [[Self-Hosting]] · [[Decision Log#TD-003]] · [[Git]] diff --git a/50 - Resources/Software Engineering/Development Workflow.md b/50 - Resources/Software Engineering/Development Workflow.md new file mode 100644 index 0000000..5de70b0 --- /dev/null +++ b/50 - Resources/Software Engineering/Development Workflow.md @@ -0,0 +1,21 @@ +--- +type: resource +status: mixed +tags: [workflow, engineering] +--- +# 🔁 Development Workflow +> How I actually ship — heavily AI-assisted (Claude Code), self-hosted infra, fast iteration. + +## The loop +1. Build locally (Next.js / Python) — Claude Code as pair +2. `pnpm build` gate before any push ([[Deployment Checklist]]) +3. Push → Dokploy auto-deploys + auto-migrates +4. Hot-fix migrations via debug endpoint when needed ([[Decision Log#TD-003]]) +5. Observe via admin dashboards (Tia) / logs + +## Meta +- AI-agent tooling for my own workflow: [[Clawd Ecosystem]], [[Whisper Hotkey]] +- Knowledge captured in this vault + auto-memory files + +## Related +[[Git]] · [[Self-Hosting]] · [[Deployment Checklist]] · [[Engineering Overview]] diff --git a/50 - Resources/Software Engineering/Docker.md b/50 - Resources/Software Engineering/Docker.md new file mode 100644 index 0000000..d199512 --- /dev/null +++ b/50 - Resources/Software Engineering/Docker.md @@ -0,0 +1,17 @@ +--- +type: resource +status: verified +tags: [infra, docker] +--- +# 🐳 Docker +> Container patterns I rely on. + +## Patterns in use +- **Multi-stage** Next.js builds; `node migrate.mjs && node server.js` as CMD (migrate-then-boot, see [[Tia - Architecture]]) +- **Bind mounts** for data that other tooling must reach (e.g. obsidian vault git-backup) +- **Named volumes** for DB persistence across redeploys +- `user: "5984:5984"` to dodge entrypoint chown crashes (CouchDB) +- `mem_limit` caveat: on swap-heavy boxes the OOM killer fires before logs flush — sometimes omit + +## Related +[[Self-Hosting]] · [[Engineering Overview]] · [[Linux]] diff --git a/50 - Resources/Software Engineering/Git.md b/50 - Resources/Software Engineering/Git.md new file mode 100644 index 0000000..8d5f8ee --- /dev/null +++ b/50 - Resources/Software Engineering/Git.md @@ -0,0 +1,20 @@ +--- +type: resource +status: verified +tags: [infra, git] +--- +# 🌿 Git +> Workflow + the self-hosted Forgejo setup. + +## Workflow rules +- ALWAYS `pnpm build` locally before commit/push ([[Deployment Checklist]]) +- Feature branches for risky work (e.g. `feature/quota-and-member-limits`, [[Quota Feature]]) +- Conventional-ish commit messages (`feat:`, `fix:`, `chore:`) + +## Self-hosted Forgejo +- `git.manohargupta.com`, **SSH port 2222** +- Hourly cron mirrors the Obsidian vault here ([[obsidian-stack]]) +- `safe.directory` config needed when repo owned by a different uid + +## Related +[[Self-Hosting]] · [[Development Workflow]] diff --git a/50 - Resources/Software Engineering/Linux.md b/50 - Resources/Software Engineering/Linux.md new file mode 100644 index 0000000..dbf9f41 --- /dev/null +++ b/50 - Resources/Software Engineering/Linux.md @@ -0,0 +1,16 @@ +--- +type: resource +status: stub +tags: [infra, linux] +--- +# 🐧 Linux & Server Admin +> Notes from running the Ubuntu box. + +## To capture +- [ ] SSH hardening done (`sshd_hardening.backup` seen on server) +- [ ] cron patterns (hourly backup job) +- [ ] systemd / process mgmt (pm2 present) +- [ ] swap & memory tuning lessons + +## Related +[[Self-Hosting]] · [[Docker]] diff --git a/50 - Resources/Software Engineering/Self-Hosting.md b/50 - Resources/Software Engineering/Self-Hosting.md new file mode 100644 index 0000000..4c9f920 --- /dev/null +++ b/50 - Resources/Software Engineering/Self-Hosting.md @@ -0,0 +1,28 @@ +--- +type: resource +status: verified +tags: [infra, self-hosting, devops] +--- +# 🖥️ Self-Hosting +> How I run my own infrastructure. Battle-tested across [[Tia]], [[obsidian-stack]], [[Position Tracker]]. + +## The setup +- **Dokploy** (v0.29.5) — Docker-based PaaS on a single server; Compose apps +- **Reverse proxy:** Traefik (LetsEncrypt certs, basicAuth middleware) +- **Networking:** Tailscale (server at `100.75.128.45`; public IP times out externally) +- **Git:** self-hosted **Forgejo** at `git.manohargupta.com` — **SSH on port 2222** +- **Storage:** Cloudflare R2 (S3 API) + +## Hard-won lessons +- Secrets only in **Dokploy env tab**, never git ([[Decision Log#TD-006]]); bcrypt `$` must be doubled `$$` +- CouchDB: run as `5984:5984` to skip the chown-on-readonly-ini crash +- Forgejo SSH = **2222** (host sshd owns 22) +- `git config --global --add safe.directory ` for container-owned dirs (uid 1000) +- R2 `*.r2.dev` 503s cross-origin imgs → proxy server-side ([[Decision Log#TD-004]]) +- LiveSync "remote rebuilt/corrupted" → **Unlock the remote database** then replicate ([[obsidian-stack]]) + +## Hosted services +[[Tia]] (`tia.`) · Obsidian ([[obsidian-stack]]: `notes.` + `couchdb.`) · [[Position Tracker]] · portfolio + +## Related +[[Docker]] · [[Deployment Checklist]] · [[Operations Overview]] · [[MOC - Software]] diff --git a/60 - Knowledge/Missing Knowledge.md b/60 - Knowledge/Missing Knowledge.md new file mode 100644 index 0000000..954c5d7 --- /dev/null +++ b/60 - Knowledge/Missing Knowledge.md @@ -0,0 +1,32 @@ +--- +type: meta +tags: [meta, gaps] +updated: 2026-06-07 +--- +# 🕳️ Missing Knowledge & Open Loops +> Auto-detected gaps from the reconstruction. Knock these out and the vault becomes truly complete. + +## Personal (only you can fill) +- [ ] [[Profile]] — values, weaknesses, ambitions, mission in your words +- [ ] [[Timeline]] — birth year, when coding started, personal milestones +- [ ] [[Investment Philosophy]] — your actual principles +- [ ] [[Family Overview]] · [[Health Overview]] — whatever you want recorded + +## Project unknowns (quick confirms) +- [ ] [[Tia - Origin Story]] — the real founding story + what "Tia" means +- [ ] [[Clawd Ecosystem]] — which repo is canonical; built on Claude SDK? +- [ ] [[TradeBuddy]] vs [[Position Tracker]] — one product or two? +- [ ] [[Awadh Gully]] / [[Arawali Minerals]] — venture, family business, or client? +- [ ] [[REModel]] vs [[8760 Energy Simulation]] — same lineage? + +## Knowledge to write up (you have the expertise) +- [ ] 8760 modeling explainer ([[8760 Energy Simulation]]) +- [ ] Project-finance debt-sizing primer ([[Finance Overview]]) +- [ ] Agent memory patterns ([[Agent Architectures]]) +- [ ] Energy-transition investment thesis ([[Investment Philosophy]]) + +## Empty-by-design (fill as you work) +- `00 - Inbox` · `20 - Journal/Daily` · `70 - Archive` + +## Related +[[Home]] · [[Decision Log]]