utils/leetcode_coach/leetcode_coach/relay/__init__.py
Krzysztof kuhy Rudnicki 716231a7f3 leetcode_coach: shared package, SQL shape gate
Standalone utils subproject (pyproject, pre-commit, CI, install.sh,
README with the library API). It no longer imports leetcode_guard:
guard_bridge resolves the three read-only calls on demand.

Q5: SQL problems skip req: and ask for an OUTPUT SHAPE (columns,
rows, grouping) before code; algorithm problems keep req:.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWYGW5NZL5uVpnqmNKo
2026-11-02 15:02:38 +01:00

12 lines
571 B
Python

"""The coach relay: one PC service behind the app's guided coaching UI.
``DOCS-coach-relay.md`` is the contract. The desktop app reaches it over a
loopback HTTP API (``http_api``), the phone through Firebase RTDB (``phone``);
both feed one paced serial lane (``lane``) into the session backend
(``coach``), which grades the five steps and runs the coaching chat.
Nothing here can reach the gate's ledger, credits or unlocks: the only
``leetcode_guard`` modules reachable are the read-only ones `guard_bridge`
names, imported on demand (``test_guard_boundary.py``).
"""