Jesse_Chen and Claude Opus 5
dc8cae316e
test(contract): 让前端源码合同跟上搬家,快速门 Python 段恢复全绿(BUG-736)
...
Independent Staging Quality Gate / validate (push) Failing after 10m4s
Independent Staging Quality Gate / publish (push) Skipped
三条断言过期,不是保证丢了:
- 149e1ec4 把创建路由改走 chatSessionCreateInsertRow(...),`user_id: user.id`
字面量消失。按三栏改成路由断 `userId: user.id`、write-contract 断
`user_id: input.userId`,两处都断,不放宽。
- 状态下沉第二批把合盘搬进新建的 use-synastry.ts,而 _home_surface() 只拼
OPTIONAL_HOME_HOOKS 白名单,于是 fetch("/api/synastry" 与「未能存入历史」
在并集里找不到。白名单补上该 hook 并注明新增 Home 级 hook 必须同步登记。
为什么没被拦住:这几条是 Python 测试,断言对象却是前端源码;前端轮次的验收
口径不含快速门,AGENTS §10 又只要求「任何 Python 改动」跑快速门——纯前端改动
落在两张网中间。验收方两轮都只跑前端套件,带红合入。防复发写进 BUG-736。
验证:test_supabase_user_data_contract.py 8 条全绿;快速门 pytest 段
792 passed / 1 skipped / 0 failed(此前 3 failed)。整体仍退出 1,剩余唯一
原因是本机无 rsync、无 Docker 的既有环境缺口。
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01JUei7K13cYxLHE3Axe4A45
2026-09-16 02:12:36 +00:00
Jesse_Chen and Cursor
bf6989eccf
refactor(chat): extract profile onboarding and rectification surface hooks
...
Close the home-page split by moving account/onboarding and rectification glue out of page.tsx without relocating React state, keeping the route static and hook order intact.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-02 05:56:58 +08:00
Jesse_Chen and Cursor
551d6317ae
refactor(chat): extract consultation and session hooks after contract repairs
...
Independent Staging Quality Gate / validate (push) Has been cancelled
Independent Staging Quality Gate / publish (push) Has been cancelled
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 >
2026-09-02 04:34:14 +08:00
Jesse_Chen and Cursor
54269fcfcc
refactor(chat): extract home helpers, chart library, and starter surfaces
...
Independent Staging Quality Gate / validate (push) Has been cancelled
Independent Staging Quality Gate / publish (push) Has been cancelled
page.tsx still owns the chat main chain, but the first product surfaces now
live in their own modules so later splits can land without editing the 4k-line
Home. Source-lock tests follow the moved tokens; the orphan user-data contract
is aligned and added to the quick gate.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-01 22:58:02 +08:00
Jesse_Chen and Cursor
ce6a8a7e72
fix(chat): make cloud the only truth for charts, synastry, and pin/archive
...
Independent Staging Quality Gate / validate (push) Has been cancelled
Independent Staging Quality Gate / publish (push) Has been cancelled
Local fallbacks were creating fake saves and resurrecting deleted rows.
Pin and archive now live on chat_sessions so they follow the account.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-01 21:38:21 +08:00
Jesse_Chen
d5453681ad
fix(frontend): streamline birth time onboarding
2026-07-22 02:35:31 +08:00
732642856
3d4fc40dae
fix: recover interrupted chat and candidate birth time adoption
2026-07-21 16:56:19 +08:00
732642856
d757602e7c
fix: reject array profile payloads
2026-07-20 18:27:29 +08:00
732642856
4441d0f089
fix: report missing chart profile deletes
2026-07-20 17:58:46 +08:00
732642856 and GitHub
b3bca954da
fix: insert other chart profiles directly ( #15 )
2026-07-20 17:45:31 +08:00
Jesse_Chen
597b3ab50f
Merge local main changes into origin/main
2026-07-19 15:43:25 +08:00
Jesse_Chen
293f6216e3
fix: repair profile data migrations
2026-07-19 14:46:57 +08:00
732642856
ab04cd70c5
chore: add manual supabase profile migration workflow
2026-07-19 10:01:34 +08:00
732642856
efaa8fa9b6
Persist synastry report history in Supabase
2026-07-17 19:29:35 +08:00
732642856
aeb6852aa7
Persist local synastry report history
2026-07-17 18:42:39 +08:00
732642856
4fc98f4e92
Show synastry evidence report card
2026-07-17 18:07:11 +08:00
732642856
618a01f65e
Add relationship summary to synastry evidence
2026-07-17 17:53:49 +08:00
732642856
f7674cca66
Add D9 and Moon evidence to synastry API
2026-07-17 17:39:55 +08:00
732642856
a6aa84e905
Compute synastry from chart library profiles
2026-07-17 17:27:11 +08:00
732642856
05e747f84e
Draft synastry questions from chart library
2026-07-17 17:16:18 +08:00
732642856
b8e6ee9112
Sync chart library profiles to Supabase
2026-07-17 16:42:36 +08:00
Jesse_Chen
2f5d673a32
feat: add safe consultation cancellation
2026-07-17 11:56:29 +08:00
Jesse_Chen
4aa0105fa4
feat: add Railway-ready Jyotish chat product
2026-07-15 22:23:17 +08:00