relative links - Update all Homelab documents and engineering journals with core tags (`architecture`, `security`, `operations`, `ADR`). - Replace machine-specific `file:///` URLS and absolute local paths with portable relative Markdown links and code backticks. - Align Homelab project landing page and documentation status with current infrastructure topology
9.3 KiB
type, status, project, tags
| type | status | project | tags | |||||
|---|---|---|---|---|---|---|---|---|
| plan | active | learning |
|
Specification & Roadmap: Personal Engineering Learning Platform (learning)
1. Executive Summary & Vision
The Learning Platform (Sites/learning) is an integrated personal development environment for an aspiring software engineer. It bridges structured course learning with high-intensity technical interview preparation and deliberate practice.
Rather than being just a static web UI, it is designed as a hybrid system:
- A Web Dashboard: Visualizing active courses, study streaks, and a DSA pattern mastery matrix.
- A Tactical CLI Tool: Zero-friction terminal commands (
learning daily,learning draft,learning review) for local problem-solving sessions. - An MCP & REST Service: Acting as the stateful backend consumed by the Supervisor System to ambiently monitor learning objectives, active study sessions, and milestone verification.
2. Repository Transition & Git History Preservation
To reuse the full commit history without losing provenance:
- Elevate
Sites/dashboard/learning/to the root of the repository. - Retire migrated Homepage configuration files (now living permanently in
Core/config/homepage/). - Rename directory from
Sites/dashboardtoSites/learning(and clean up the empty placeholderSites/courses). - Update
app.yaml:- Name:
learning - Domain:
learning.roadtotech.me(orcourses.roadtotech.me) - Aliases:
['learn', 'courses', 'dsa'] - Group:
Media & ProductivityorKnowledge & Notes
- Name:
graph LR
subgraph OldState ["Legacy Sites/dashboard"]
D_GIT[".git (history)"]
D_HP["config/ & docker-compose (Homepage)"]
D_APP["learning/ (FastAPI + Turso)"]
end
subgraph NewState ["Sites/learning"]
L_GIT[".git (retained history)"]
L_ROOT["Root App (FastAPI + CLI + MCP)"]
L_APP_YAML["app.yaml (learning.roadtotech.me)"]
end
D_GIT --> L_GIT
D_APP --> L_ROOT
D_HP -.->|"Already migrated"| CORE["~/Homelab/Core"]
3. Brainstorming: Features for an Aspiring Software Engineer
Beyond raw course links and basic problem lists, a top-tier learning companion for modern software engineering should reinforce retention, intuition, and architectural thinking:
Pillar 1: Deliberate DSA Practice (The "Gym")
- Daily Challenge Scaffolder:
- Fetches today's LeetCode problem via official LeetCode GraphQL API.
- Generates documentation file at
~/Brain/practice/LeetCode/00##-problem-slug.mdadhering strictly to your established structure:- Frontmatter (
type: practice,status: in-progress,topics: [...]). - Problem Statement, Constraints, and Examples.
- Starter Markdown headings:
## Intuition,### The Algorithm(with starter Mermaid flowchart),### Implementation,### Complexity Analysis,### Takeaways.
- Frontmatter (
- Generates Python solution stub at
~/Brain/practice/LeetCode/Solutions/00##-problem-slug.pywith type hints and test execution harnesses.
- AI Mock Interviewer & Code Reviewer (Gemini):
- Given your solution
.pyand documentation.md, the AI evaluates your submission across 5 dimensions:- Time & Space Complexity: Verification of Big-O analysis vs actual code.
- Edge Cases: Empty input, integer boundaries, duplicate elements.
- Code Cleanliness & Idioms: Pythonic practices, readability, type annotations.
- Communication Clarity: Did you articulate why the algorithm works in the Intuition section as you would to an interviewer?
- Alternative Approaches: Socratic hints toward optimal trade-offs (e.g. hashmap vs two-pointer).
- Given your solution
- Pattern Exposure & Blind-Spot Radar:
- Tracking exposure across the 16 core patterns identified in
00-practiced-patterns.md(Two Pointers, Sliding Window, Monotonic Stack, Backtracking, DP, Graphs, etc.). - Visualizing coverage: "You have solved 6 HashMap problems, but 0 Sliding Window or Graph problems this month."
- Tracking exposure across the 16 core patterns identified in
- Spaced Repetition & Weakness Queue:
- Problems tagged as
struggledorneed-reviewautomatically resurface on a Leitner-style schedule (e.g. 3 days, 10 days, 30 days).
- Problems tagged as
Pillar 2: Structured Course & Concept Tracker
- Curriculum Kanban:
- Stages:
Planning,In-Progress,Completed,Archived. - Track active chapters, completion percentage, and deep link to the exact timestamp/URL (
last_link).
- Stages:
- System Design & Core CS Flashpoints:
- Micro-exercises on systems fundamentals: e.g. SQL indexing mechanics, distributed locking, cache eviction policies, CAP theorem tradeoffs.
- Linked to your Obsidian notes in
~/Brain/learning/.
Pillar 3: Supervisor & MCP Integration (Autonomous Navigation)
Following the Supervisor System Specification:
- Expose an MCP Server (Model Context Protocol) directly from the Learning application so AI tools (like Antigravity or Supervisor) can:
get_daily_challenge(): Inspect today's problem.get_active_curriculum(): Check what courses or chapters are currently on deck.submit_solution_review(problem_id): Trigger an objective critique on uncommitted code/notes.record_practice_session(minutes, topic, notes): Log deliberate practice time.
4. Database Schema (Turso / LibSQL)
Expanding the existing database schema to maintain backwards compatibility with existing course records while introducing LeetCode and session entities:
erDiagram
COURSES {
int id PK
string title
string description
string main_link
string last_link
string status
datetime created_at
datetime updated_at
}
LEETCODE_EXERCISES {
int id PK
int problem_number UK
string slug UK
string title
string difficulty
string primary_pattern
json topics
string status
string leetcode_url
string solution_file_path
string doc_file_path
string time_complexity
string space_complexity
datetime completed_at
}
PRACTICE_REVIEWS {
int id PK
int exercise_id FK
text review_markdown
int score_complexity
int score_cleanliness
int score_intuition
json suggested_improvements
datetime reviewed_at
}
COURSES ||--o{ PRACTICE_REVIEWS : has
LEETCODE_EXERCISES ||--o{ PRACTICE_REVIEWS : logs
5. Execution Roadmap
flowchart TD
P1["Phase 1: Repository Migration & Baseline Stabilization"] --> P2["Phase 2: LeetCode Daily GraphQL & Scaffolding Engine"]
P2 --> P3["Phase 3: AI Code Review & Feedback Service"]
P3 --> P4["Phase 4: Dashboard UI & Supervisor MCP Endpoint"]
Phase 1: Repository Migration & Baseline Stabilization
- Rename
Sites/dashboardtoSites/learning, elevatinglearning/*to the repository root. - Remove legacy Homepage config files and placeholder
Sites/courses. - Update
app.yaml,docker-compose.yml, andpyproject.tomlwithlearningmetadata. - Verify
appctl status learningand database connectivity against Turso.
Phase 2: LeetCode Daily GraphQL & Scaffolding Engine
- Implement
leetcode_client.py:- GraphQL query to fetch
activeDailyCodingChallengeQuestion(title, number, slug, difficulty, description, topics, code snippets). - Method to fetch any arbitrary question by title slug or number.
- GraphQL query to fetch
- Implement
scaffolder.py:- Generate
~/Brain/practice/LeetCode/00##-problem-slug.mdmatching your exact formatting. - Generate
~/Brain/practice/LeetCode/Solutions/00##-problem-slug.pywith class skeleton and doctests.
- Generate
- Expose CLI commands via Click / Typer:
learning daily: Fetch and draft today's challenge.learning new <slug|number>: Scaffold any specific problem.
Phase 3: AI Code Review & Feedback Service
- Implement
evaluator.py:- Read solution Python code and Markdown documentation.
- Prompt Gemini API with a structured prompt evaluating time/space complexity, edge cases, intuition clarity, and test thoroughness.
- Output formatted terminal feedback with actionable takeaways.
- Persist review outcomes to
practice_reviewsin Turso.
Phase 4: Dashboard UI & Supervisor MCP Integration
- Enhance web UI with:
- Courses Kanban Board (Planning / WIP / Completed).
- LeetCode Exercise Table with pattern filter.
- Daily challenge action card.
- Add lightweight MCP server module exposing tools to the Supervisor system.
6. Open Questions for User Alignment
Note
Since you are tired right now, take your time to review these points whenever you are rested.
- Domain Preference: Should the service be hosted on
https://learning.roadtotech.meor remain onhttps://courses.roadtotech.me(or have one redirect to the other)? - AI Reviewer Model: Do you prefer using Google's
gemini-2.5-flash(fast, free tier available via Google AI Studio API key) or another model for the review loop? - Repository Scope: Would you prefer the CLI (
learning daily,learning review) to be installable globally on your machine (e.g. viauv tool install) so you can run it from any terminal directory?