···11+# AGENTS.md
22+33+This file is the canonical source of truth for AI agents working on this project. It also serves as
44+a reference for contributors to the project.
55+66+## Project Overview
77+88+Malfestio is a learning OS combining flashcards, notes, lectures, and articles for daily study built on top of the
99+AT Protocol. It implements a local-first approach with social features for publishing, sharing, and remixing learning artifacts.
1010+1111+## Development Commands
1212+1313+### Rust Backend
1414+1515+```bash
1616+# Build the workspace
1717+cargo build
1818+1919+# Run the server via CLI
2020+cargo run --bin malfestio-cli start
2121+2222+# Run tests
2323+cargo test
2424+2525+# Run tests for specific crate
2626+cargo test -p malfestio-server
2727+cargo test -p malfestio-core
2828+2929+# Check without building
3030+cargo check
3131+3232+# Run clippy lints
3333+cargo clippy
3434+```
3535+3636+### Frontend (SolidJS)
3737+3838+```bash
3939+# Install dependencies
4040+cd web && pnpm install
4141+4242+# Run development server
4343+pnpm dev
4444+4545+# Build for production
4646+pnpm build
4747+4848+# Run tests
4949+pnpm test
5050+5151+# Type check without building
5252+pnpm check
5353+```
5454+5555+## Project Structure
5656+5757+```sh
5858+# tree
5959+.
6060+├── crates
6161+│ ├── core
6262+│ ├── server
6363+│ └── cli
6464+└── web
6565+```
6666+6767+## Rules & Workflows
6868+6969+- *todo*