refactor(chat): extract consultation and session hooks after contract repairs
Keep archive as a PATCH of archived_at rather than DELETE, pass entry_mode through onboarding, and let popstate to the default chat reuse selectSession. Then move send/stop/recovery and session management out of page.tsx so the home surface stays within the batch-two line budget. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -65,6 +65,10 @@ CORE_PYTEST_TARGETS = [
|
||||
"tests/test_rectification_*.py",
|
||||
# This file regexes frontend source. Home-split and other page.tsx moves must keep it green.
|
||||
"tests/test_supabase_user_data_contract.py",
|
||||
# Locks archive as PATCH archived_at, never HTTP DELETE (data-safety).
|
||||
"tests/test_session_management_entrypoints.py",
|
||||
# Pure source/SQL regex for the birth-time journey; no runtime services.
|
||||
"tests/test_birth_time_journey_contract.py",
|
||||
]
|
||||
|
||||
RUNTIME_TRUTH_PYTEST_TARGETS = [
|
||||
|
||||
Reference in New Issue
Block a user