Phase 0: FastMCP scaffold with ping tool

Set up the familiar package (src layout, uv/hatchling) with a FastMCP
server exposing a read-only ping health tool. Add pytest smoke tests with
80% coverage gate. Flesh out the README with the project vision and roadmap.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
LatteandClaude Opus 4.8 committed 2026-06-27 17:34:51 +02:00
1 parent f99b8a7884
commit ef27cd85f6
7 files changed
+1864 -1

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
"""Phase 0 smoke tests."""
import asyncio
from familiar import __version__
from familiar.server import mcp, ping
def test_ping_reports_ok():
result = ping()
assert result["status"] == "ok"
assert result["server"] == "familiar"
assert result["version"] == __version__
assert "time_utc" in result
def test_server_exposes_ping_tool():
tools = asyncio.run(mcp.list_tools())
assert "ping" in {t.name for t in tools}