Files
DeepTutor/web/contracts
yuanyyt 14292b808f feat: clear or move a tutor thread's source message
quoted_message_id now follows the create_target rule: the key's presence
is authoritative. A value moves the thread, an explicit null clears it,
and omitting the key leaves the stored anchor untouched. A new selection
moves the thread to the passage just asked about.

The message-level popover gains a detach action that clears the anchor
through the organization PATCH without deleting the conversation, and a
deliberate clear also stops the legacy backfill from re-attaching it.
2026-10-30 13:55:30 +08:00
..

Generated frontend contracts

The backend owns the wire contract. Do not edit files under schema/ or generated/ by hand.

From the repository root, refresh both layers after a backend contract change:

python scripts/export_frontend_contracts.py
cd web && npm run contracts:generate

CI runs python scripts/export_frontend_contracts.py --check in backend contract tests and npm run contracts:check before frontend typechecking. A drift failure means the committed artifacts must be regenerated with the commands above.