Milestone 544, step 6217 (follow-up to #1778, which rewrote features.md and api-reference.md in July but left architecture.md and configuration.md alone). - architecture.md, configuration.md, development.md: rewritten against the code. They still described Ollama, chat, SSE generation, voice, project summaries, image caching, Docker secrets that the compose files don't use, a raw-SQL migration convention the migrations no longer follow, a 27-entry migration list, CalVer YY.MM.DD.N tags and the removed infra/ files. - features.md: adds what shipped since July (spikes, claims, moments, rule versions and verification, lessons, reply shapes, snippets and the shape ledger, forge integration, family canon, design systems, retrieval tuning) and corrects the Settings tabs and keyboard shortcuts (g g is the graph). - api-reference.md: adds the endpoints for snippets, lessons, design systems, family canon, platforms, shared areas, retrieval, rule versions, relations and verification, forge connections, webhooks, scheduled backups and the newer plugin hooks. - api-keys-and-mcp.md: Settings tab is "MCP Access"; a plugin install section; the tool-family table matches the tools that exist. - design-system.md: the dated "decisions in progress" changelog (April PR log, chat/journal/calendar surfaces) becomes a short present-tense section; the stored design system is named as the authority. - sso-oauth.md: the app is Scribe, not "Fabled Assistant". - README: feature summary and doc table brought current. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
47 lines
860 B
Makefile
47 lines
860 B
Makefile
.PHONY: build up down logs health migrate lint typecheck test fmt mint-plugin
|
|
|
|
# --- Docker ---
|
|
|
|
build:
|
|
docker compose build
|
|
|
|
up:
|
|
docker compose up -d
|
|
|
|
down:
|
|
docker compose down
|
|
|
|
logs:
|
|
docker compose logs -f
|
|
|
|
health:
|
|
curl -s http://localhost:5000/api/health
|
|
|
|
migrate:
|
|
docker compose exec app alembic upgrade head
|
|
|
|
# --- Local dev (requires: uv sync --extra dev and cd frontend && npm ci) ---
|
|
|
|
lint:
|
|
ruff check src/
|
|
|
|
fmt:
|
|
ruff format src/
|
|
|
|
typecheck:
|
|
cd frontend && npx vue-tsc --noEmit
|
|
|
|
test:
|
|
pytest tests/ -v
|
|
|
|
# Run all checks in one shot (mirrors what CI does)
|
|
check: lint typecheck test
|
|
|
|
# --- Plugin ---
|
|
|
|
# Run after changing plugin/ or .claude-plugin/, before committing: the plugin
|
|
# ships from git with no build step, so its version is minted here. CI fails if
|
|
# the version wasn't bumped.
|
|
mint-plugin:
|
|
python3 scripts/mint_plugin_version.py
|