You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
- models.py: 11개 SQLModel 테이블(person/folder/project/task/task_comment/ inbox_item/inbox_classification/event/approval/goal/briefing), FK·enum·무한중첩 자기참조 - schemas.py: 전 I/O 스키마(types.ts 1:1, snake_case, 재귀 ProjectNode/TaskNode) - seed.py: 지우의 한 주(REF 4파일 그대로) — 5인/2폴더/14프로젝트/45작업/4인박스/대시보드 - Alembic: init schema 마이그레이션(+sqlmodel import), base↔head 왕복 검증 - 라우터 6종: people/tree(폴더·프로젝트 CRUD·pin)/tasks(CRUD·댓글·scaffold·risks)/ inbox(capture·reclassify·confirm 연합·dismiss)/dashboard(집계)/llm - services: risk.py(지연/쏠림/의존, TODAY=8), scaffold.py(정규식 4템플릿), classification.py - LLM 추상화: provider/ollama(format=json, think=false→수초 응답, 모델 비종속)/heuristic 폴백/prompts - inbox confirm = federation(task 실체화 + materialized_task_id) 검증: pytest 38 passed, ruff clean, 마이그레이션 왕복 OK, 시드 카운트 일치, 골든 분류 4케이스 통과(heuristic), 라이브: Ollama 분류 동작(model:ollama:qwen3.6, 13s) + 폴백 동작, 전 엔드포인트 정상 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
6 months ago | |
|---|---|---|
| backend | 6 months ago | |
| design-reference | 6 months ago | |
| dev | 6 months ago | |
| frontend | 6 months ago | |
| .gitignore | 6 months ago | |
| Makefile | 6 months ago | |
| README.md | 6 months ago | |
README.md
아리(Ari) — AI Life OS
일·삶을 한곳에서 관리하는 한국어 AI 개인비서 아리의 MVP. 핵심 철학: "적을 때는 분류하지 않는다 — 분류·배치·자동화는 아리가."
모노레포: frontend/(Next.js App Router + TS) · backend/(FastAPI + SQLite + Ollama).
개발 문서는 dev/(진입: dev/overview.md), 디자인 기준은 design-reference/.
빠른 시작 (Phase 0)
# 0) 사전 설치: Node20+/pnpm, Python3.11+/uv, Ollama
make install # 프론트+백 의존성
# 1) 환경변수
cp backend/.env.example backend/.env # 필요 시 OLLAMA_MODEL 등 수정
echo 'NEXT_PUBLIC_API_BASE=http://localhost:8000' > frontend/.env.local
# 2) (선택) Ollama
ollama serve &
ollama pull <설치할_모델> # .env 의 OLLAMA_MODEL 과 맞춤 (특정 모델 강제 아님)
# 3) 실행
make dev # 프론트 :3000 + 백 :8000
# 4) 스모크
make health # /api/health, /api/llm/health
make test # pytest + vitest
make lint # ruff + eslint
구조
workspace/
├─ frontend/ Next.js (App Router, TypeScript)
├─ backend/ FastAPI (SQLite, SQLModel, Alembic, Ollama)
├─ dev/ 개발 문서 (overview.md + phase-*.md)
└─ design-reference/ 원본 프로토타입 (픽셀 충실 재현 기준)