2359 Commits
Author SHA1 Message Date
ClaudeandClaude Opus 5.5 87f9440f1d fix(motion): review fixes on the 1.2 motion overhaul (BUG-2334)
Planets glide between houses (one flat body layer in fixed planet order); the
inspector fades in place without remounting (focus kept); composer entrances
play on state changes only; tabs never transition `all` and the pill follows
resizes; no height/grid-rows animations left (timeline, chart-choice fold,
drawer); one popup start (scale .96), one scrim beat, full-edge sheets, quick
disclosures; no spring curve, raw CSS durations mapped to tokens; sidebar rows
fade only for new conversations; SplitBar label rides with the line.

Measured 1440x900, 400-section page, 8 toggles: layouts 124 -> 8,
layout time 29ms -> 3ms, no frame over 20ms.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-24 21:04:46 +08:00
ClaudeandClaude Opus 5.5 7cced78e28 fix(motion): the sidebar toggle settles its contents with transform/opacity and takes its width in one layout; width var and flag live on the slot (BUG-2332)
Animating flex-basis/width (BUG-2331) re-laid-out and re-styled the whole page every
frame on long reports; the custom property on .shell-frame re-styled every element.
Measured 1440x900, 400-section page, 4 toggles: frames >20ms 5-12 -> 0, layout
0.42s -> 0.04s, style recalc 0.15s -> 0.01s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-24 20:42:51 +08:00
Claude 81f5fcd579 Merge branch 'claude/motion-shell-2331' into claude/motion-1.2
# Conflicts:
#	docs/BUG_HISTORY.md
#	frontend/src/app/globals.css
2026-11-24 20:37:50 +08:00
Claude f04d7a24a0 Merge branch 'claude/motion-reports-2330' into claude/motion-1.2
# Conflicts:
#	docs/BUG_HISTORY.md
#	frontend/src/app/globals.css
2026-11-24 20:37:39 +08:00
Claude 6d78a8309a Merge branch 'claude/motion-chart-2329' into claude/motion-1.2
# Conflicts:
#	docs/BUG_HISTORY.md
#	frontend/src/app/globals.css
2026-11-24 20:37:26 +08:00
Claude 410b8aa9a7 Merge branch 'claude/motion-chat-2328' into claude/motion-1.2 2026-11-24 20:37:12 +08:00
Claude ddf1bcb7d0 Merge branch 'claude/motion-foundation-2327' into claude/motion-1.2
# Conflicts:
#	docs/BUG_HISTORY.md
2026-11-24 20:37:12 +08:00
ClaudeandClaude Opus 5.5 4a6c93dfbd fix(motion): chart page and chat chart panel move on the motion language (BUG-2329)
- planets live in one layer keyed by planet and placed by transform, so a
  chart-type or person switch moves each planet to its new cell (standard,
  ease-out, interruptible); changed cell labels fade in quick
- north/south and skeleton -> board crossfade; caption parts crossfade
- opt-in sliding tab indicator (translate only) on the chart area's lists
- inspector body crossfades on a new selection; disclosures unfold from
  their toggle; chevrons, cell fills, yoga cards, ephemeris day, birth-sky
  control and the western redraw on tokens; reduced motion turns all off
- guard test motion-chart-2329; pinned body-position test updated

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-24 20:36:37 +08:00
ClaudeandClaude Opus 5.5 9d1bc50c7e test(motion): update three pins for the shell glide and the ticking balance (BUG-2331)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-24 20:31:09 +08:00
ClaudeandClaude Opus 5.5 08b41d848c fix(motion): chat page speaks the BUG-2327 motion language (BUG-2328)
Sent question rises from the composer, phone composer controls settle in,
send/stop and copy/like icons pop in place, follow-ups stagger, jump-to-latest
and the chart panel enter from their edges; every chat timing retimed to the
motion tokens; opacity/transform only; reduced motion off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-24 20:26:48 +08:00
ClaudeandClaude Opus 5.5 561ec70b55 fix(motion): reports, annual, synastry and rectification follow the motion language — split bar and progress move by transform, question panel slides in, disclosures and counts fade (BUG-2330)
- 生时纠正 self-choice split bar: block widths change at once; a full-width track carries the
  accent fill (translate + scaleX), the line and the reported-time mark (translate). Was
  flex-basis / left transitions, a layout every frame. Row clips horizontal overflow.
- Report and annual progress bars fill by scaleX (was a width transition).
- Report question panel slides in from its edge (emphasis, ease-sheet); width drag has no
  transition. 生时纠正 phone sheet slides from the bottom edge.
- Report / annual / synastry / rectification disclosures: the opened body rises in (quick),
  no height animation. 「提问 N」 count fades in on change. TOC selection: instant fill swap.
- Every area-C duration and curve now uses the BUG-2327 tokens; reduced motion = none.
- Frame timing (headless Chrome, 390 wide, ~400-section page): scroll, panel open and split
  moves all 16.7 ms per frame, none over 20 ms, 3 layouts in the whole run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-24 20:24:00 +08:00
ClaudeandClaude Opus 5.5 3e981c4d86 fix(motion): app shell speaks the motion language — sidebar glides on toggle, steps slide in, points tick, no overshoot, admin on the same tokens (BUG-2331)
Desktop sidebar collapse/expand glides the column one standard step (never while
the edge is dragged); session rows, menus, subject picker, account menu and
tooltips move on quick/instant with faster exits; login and onboarding steps
arrive 8px from the reading direction; points numbers tick from the side they
moved (CreditsValue); redeem success settles on emphasis + ease-out; antd
motion tokens follow lib/motion/tokens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-24 20:18:29 +08:00
ClaudeandClaude Opus 5.5 d02b1d484f fix(motion): one motion language and token-based shared primitives (BUG-2327)
- CSS tokens --motion-instant/quick/standard/emphasis/stagger and
  --ease-standard/exit/sheet (reusing --ease-out); reduced motion zeroes them
- lib/motion/tokens.ts mirrors the tokens; presets.ts derives from them
- dialog, alert-dialog, popover, dropdown-menu, tooltip, select: interruptible
  starting/ending-style transitions from the trigger origin, faster exits
- sheet/drawer/button/tabs/toggle/input-otp/inputs/table/toasts on tokens
- guard test motion-language-2327; pinned tests updated with notes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-24 20:07:57 +08:00
ClaudeandClaude Opus 5.5 18a3a299e2 fix(chat): strip labels by precedence — the sub-sub-period lord decides, long transits are the year's background, the minor side is a plain clause; follow-ups keep the previous subject; the areas row lists the route's houses and only verdict / strip citations outside it, D9 / DK / UL as the 7th on relationship answers only, the 7th named 「合作」 on career and money (BUG-2326)
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m16s
Independent Staging Quality Gate / validate-python (push) Successful in 8m2s
Independent Staging Quality Gate / publish (push) Successful in 3m38s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 19:21:46 +08:00
ClaudeandClaude Opus 5.5 aacf363df8 feat(chat): KP support and resistance as strip stretch reasons beside the BUG-2310 rules — running lord leaning to the matter's houses (with the cusp's promise) or to the negating houses; same four labels, plain words, KP names only in 判断依据 (BUG-2325)
Separate on purpose: on the public chart it turns career from 4/6 to 6/6 「有机会,但费力」 (BUG-2326), so it can be dropped until the labels weigh their reasons.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 19:06:06 +08:00
ClaudeandClaude Opus 5.5 041069ebaa feat(chat): KP dates inside the strip's stretches for career, money and relationship questions — cusp sub lord promise, running lords as significators, Sun / Moon in their stars from a bounded, cached engine tool (BUG-2325)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 19:06:06 +08:00
ClaudeandClaude Opus 5.5 e29b7e3a71 fix(mobile): the composer sits on the keyboard and at the bottom of the phone home (BUG-2323)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m51s
Independent Staging Quality Gate / validate-python (push) Successful in 7m32s
Independent Staging Quality Gate / publish (push) Successful in 3m9s
- While the chat composer has focus on a phone and the visible part is shorter by a keyboard,
  the shell takes exactly the visible part (data-chat-keyboard + --chat-kb-top/height from
  visualViewport); no window scroll is touched, WeChat's full-height viewport is left alone.
- Phone empty home: composer at the bottom (no balance row), greeting centred above, starter
  rows 44px on one line, 换一组 on the small row above them, header above the composer layer.
- Phone composer is one row while idle and empty (常用问题 icon, example, send) and the two-row
  card once focused or holding text; focus moving to its own buttons keeps it open.
- The empty composer shows a rotating example question instead of 「想聊什么都可以」.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-24 17:44:29 +08:00
ClaudeandClaude Opus 5.5 9133e58e57 fix(chat): tidy answer layout — strip in one fixed slot reserved from the first frame, dates only in the strip, one footer line, legend on the heading row, round jump button, title checks, dark strip tones (BUG-2320)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m56s
Independent Staging Quality Gate / validate-python (push) Successful in 7m56s
Independent Staging Quality Gate / publish (push) Successful in 3m40s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 16:00:23 +08:00
ClaudeandClaude Opus 5.5 40fa2b1128 fix(chat): one gradient across the whole timeline; unknown tones never print undefined (BUG-2319)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m59s
Independent Staging Quality Gate / validate-python (push) Successful in 7m55s
Independent Staging Quality Gate / publish (push) Successful in 3m24s
Each block now shows its own slice of a single horizontal gradient whose stops sit
at the middle of each stretch, instead of 有机会,但费力 carrying its own small
gradient. A tone the page does not know (a receipt from another release) shows no
words and the neutral fill.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 15:22:32 +08:00
ClaudeandClaude Fable 5.2 a30dc7a658 test(chat): raise the pinned card size limits for the strip reasons (BUG-2310 follow-up)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m47s
Independent Staging Quality Gate / validate-python (push) Successful in 7m38s
Independent Staging Quality Gate / publish (push) Successful in 3m43s
The per-stretch support / resistance reasons and the year line added to the card
push the long-range money question to 43,175 / 36,374 characters; limits move to
45,000 / 38,000 with the original value, new value and reason recorded in place.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 14:37:42 +08:00
ClaudeandClaude Opus 5.5 9d31fe4c12 fix(chat): strip tags come only from what changes inside the window; whole-year reasons are one plain year line and one 判断依据 row; hedge check on the verdict trio; plain repeat wording for strip rows (BUG-2310 review)
Independent Staging Quality Gate / validate-frontend (push) Failing after 4m24s
Independent Staging Quality Gate / validate-python (push) Successful in 7m40s
Independent Staging Quality Gate / publish (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 14:26:43 +08:00
ClaudeandClaude Opus 5.5 dd6772d842 fix(chat): the strip's status per question domain from classical rules; no 30-day Saturn line, no 平稳, Saturn cycles as background, real change points, no forced single best (BUG-2310)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 14:22:08 +08:00
ClaudeandClaude Opus 5.5 6a1fba81bf feat(login): the six code boxes submit themselves once full — email code and authenticator code, once per code; a wrong code empties the boxes; recovery codes still use the button (BUG-2314)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m46s
Independent Staging Quality Gate / validate-python (push) Successful in 7m33s
Independent Staging Quality Gate / publish (push) Successful in 3m59s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-24 14:09:37 +08:00
ClaudeandClaude Opus 5.5 1f68723303 fix(auth): logging out always ends signed out — one retry, then this browser's cookies are cleared through /api/auth/logout-local; no 退出失败 (BUG-2313)
A logout that hit the staging restart left the dialog on 正在退出 with 退出失败. signOut now
retries once (8 s each) and falls back to a same-origin POST route that only expires the
identity cookies; the dialog, the deletion gate and the admin logout always leave for /login.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-24 14:05:59 +08:00
ClaudeandClaude Opus 5.5 4153043e49 fix(report): yoga status 「检出组合」 instead of 「检测器检出,待核实」, the basis line budgets what readers see; 战死瑜伽 shown by its Sanskrit name; annual role headers, affliction words and the Mitigated status from batches 1–3 (BUG-2311, BUG-2312)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m47s
Independent Staging Quality Gate / validate-python (push) Successful in 7m40s
Independent Staging Quality Gate / publish (push) Successful in 3m30s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-24 13:51:24 +08:00
ClaudeandClaude Opus 5.5 aec43502b8 fix(chat): the AI notice shows once on the empty home, not under every composer; tighter two-layer composer on phones (BUG-2309)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m50s
Independent Staging Quality Gate / validate-python (push) Successful in 7m38s
Independent Staging Quality Gate / publish (push) Successful in 3m17s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 13:33:54 +08:00
ClaudeandClaude Opus 5.5 f733cdc40d fix(yoga): Neecha Bhanga is decided by her rules and formation check; the site-only Neecha main detector is retired, verified state is real, readers still see 「落陷;有缓解」 (BUG-2303)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-24 13:06:25 +08:00
ClaudeandClaude Opus 5.5 5cb3abcaef feat(yoga): her 35 source evaluators and 131 upstream-only rule changes, with her card fields and blocked rows; the chart page reads card_status (BUG-2301)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-24 13:06:24 +08:00
ClaudeandClaude Fable 5.2 240a14e9ba fix(chat): the timeline fill instruction names the separator in words, not with the character (BUG-2308 follow-up)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m48s
Independent Staging Quality Gate / validate-python (push) Successful in 7m33s
Independent Staging Quality Gate / publish (push) Successful in 3m28s
The no-middle-dot guard reads every literal in user-facing source; the fill prompt told the model not to write the separator by showing it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 12:48:55 +08:00
ClaudeandClaude Opus 5.5 2cf0e09f82 fix(chat): the one-year strip is a required section by structure; missing one added by one targeted call; 「最好的时候」 from the program; strip enters once, smoothly (BUG-2308)
Independent Staging Quality Gate / validate-frontend (push) Failing after 4m12s
Independent Staging Quality Gate / validate-python (push) Successful in 7m38s
Independent Staging Quality Gate / publish (push) Skipped
- first turns outside personality, time-window labels and dated stretches require the strip; the writer reads the
  program's 4-6 stretches (strip_stretches) and best_time; a missing section gets one JSON call for its words only
- 「最好的时候」 never carries a heavy word; label lines no longer sent to the pressure repair
- parser reads season headings and one-month stretches; the repair may not delete a stretch lead
- the strip mounts whole when its section is complete, 260ms ease-out entrance; tones/panels cross-fade; evidence,
  icons and questions fade in; reduced motion respected

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 12:38:08 +08:00
ClaudeandClaude Opus 5.5 5f1182f4b9 test(home): wait for the panel's lazy import instead of fixed ticks; preload the panel while the first-chart reveal plays (BUG-2307)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m43s
Independent Staging Quality Gate / validate-python (push) Successful in 7m27s
Independent Staging Quality Gate / publish (push) Successful in 4m8s
Gate run 8517 failed on the new BUG-2307 desktop test: it waited 8 x 10 ms
for the panel's dynamic import, which a loaded CI runner exceeds. The test
now awaits the same import promise inside act. The open state is read from
the store, so the product never sticks on an empty or closed panel, but its
code and chart only started loading once the reveal ended; the home now
preloads them as soon as the chart can be drawn.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 12:05:49 +08:00
ClaudeandClaude Opus 5.5 c000d77500 fix(home): no natal panel or chart button until there is a chart; open it once the first chart exists (BUG-2307)
Independent Staging Quality Gate / validate-frontend (push) Failing after 4m10s
Independent Staging Quality Gate / validate-python (push) Successful in 7m22s
Independent Staging Quality Gate / publish (push) Skipped
During onboarding (and for a chosen person without usable birth data) the
desktop panel opened by default and showed only the no-birth-data line.
The panel and its top-bar button now render only when homeChartShown():
onboarding finished, the person's birth data complete, the first-chart
reveal over. Owner 2026-11-24 reversed BUG-2201's folded newcomer default:
the newcomer fold (useStarterChartFold, starter_chart_details_open) is
removed and the regular panel state (open unless closed) applies. Phone
shows the button only. Beside the panel the starter cards stack when the
column is narrower than 640px. The empty-state line now names 星盘档案.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 11:46:04 +08:00
ClaudeandClaude Opus 5.5 aaed85471f fix(chat): retry the answer once when the provider drops the stream before any text; log each failed run's kind (BUG-2306)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m49s
Independent Staging Quality Gate / validate-python (push) Successful in 7m25s
Independent Staging Quality Gate / publish (push) Successful in 3m14s
A follow-up showed only 「咨询暂时无法完成,本次不会扣点。」: the model provider closed the
stream (undici "terminated", other side closed) after the chart was computed and before any
answer text. The run now rewrites the answer once from the cached calculation; the dropped
stream's usage counts as unknown so settlement still succeeds; every failed run logs
[consult-run-failed] with kind, phase and last step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 10:54:51 +08:00
ClaudeandClaude Opus 5.5 4c1e5d7324 fix(chat): waiting chart from the send frame, labelled switched chart, shimmering step, answer end order and evidence box, no layout jump at completion, domain-first areas, follow-up strips (BUG-2305)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m43s
Independent Staging Quality Gate / validate-python (push) Successful in 7m19s
Independent Staging Quality Gate / publish (push) Successful in 3m6s
- Waiting: natal chat turns draw the chart on the send frame with one step 「正在看你的问题」; the switched D9/D10
  chart lights its ascendant and the routed domain's area with names; the current step uses ShimmerText.
- Answer end: evidence box (判断依据 / 盘面数据, owner's style 3) → action icons → the answer's own questions; the
  visible 「接着问」 label is gone (accessible name kept).
- No jump at completion: the 「这是从你的星盘里看出来的」 row shows from the verdict card on with the wait's areas,
  fixed height; the strip reserves its legend and birth-time lines; a time section written after the body is drawn there.
- Areas lead with the question's domain (routing requiredLayers); period rows add no house.
- Follow-up timelines: tolerant stretch parser (「## 时间」, plain titles, ranges in or after the title), whole-section
  fallback; tones from period keys or the stretch's own words; follow-up writing rule asks for the first-turn format.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 10:27:09 +08:00
ClaudeandClaude Opus 5.5 83f57d7b0f fix(chat): guarantee detection splits sentences without a lookbehind (BUG-2285 follow-up)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m37s
Independent Staging Quality Gate / validate-python (push) Successful in 7m15s
Independent Staging Quality Gate / publish (push) Successful in 3m8s
Older Safari / WeChat webviews cannot parse lookbehind (sentence-split.test.ts); behaviour unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 08:55:37 +08:00
ClaudeandClaude Opus 5.5 c56708add6 fix(chat): post-answer steps keep the direct reply; no ask-only or canned replacements; free when nothing was answered (BUG-2285–2288)
- Pass 4: negated / hedged / asked guarantee forms are not guarantees; a real one is softened in place and sent to repair, never dropped.
- Clean-up: front / backstage sentences stay when the user asked (unkeyed ones go to repair); meta and stage drops never remove the verdict or empty a section.
- Fact guard / repair: protected sentences are corrected from the card or kept; final keepDirectReply restores an emptied section or deleted verdict; deletions logged.
- Plan timing: answer the period first, then ask; ask-only or no-minute-refusal turns settle free.
- Rectification opens only for a birth-time-only message (onlyAsksForBirthTimeCheck); produced answers are never discarded.
- No-birth-time daily keeps the user's words; model must name domains; 「我」 kept where it is the asker.
- Prompt-extraction guard checks only the current message, bare 「密钥」 dropped; report chats replace only a bare 「没算到」 reply.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 08:40:19 +08:00
ClaudeandClaude Opus 5.5 0573e30082 fix(chat): always classify smalltalk, no degraded note on no-chart replies, closing question only when needed (BUG-2284)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m28s
Independent Staging Quality Gate / validate-python (push) Successful in 7m24s
Independent Staging Quality Gate / publish (push) Successful in 3m13s
- Smalltalk classifier runs every turn (3 s cap, fail-open to a normal turn) and
  sees previous_turn: the user's last line, the assistant's question to the user,
  and the tail of its visible body. lastAssistantAskedUser removed.
- New reply-without-chart tool: the writer declares a turn that only says where
  to change birth data (or only answers a greeting). No degraded note, no
  contract retry, free settlement (completeFeedback), stored.
- 「问你一句」 rule: written only when the answer splits on a fact only the user
  knows and has not given; otherwise none. First turns and follow-ups.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 07:38:00 +08:00
ClaudeandClaude Opus 5.5 9604ced6c0 fix(chat): answer every message directly — remove the turn split and the feedback-only reply (BUG-2284)
Owner decision 2026-11-24: users pay per question; no rewriting of what they
said and no "noted" reply instead of an answer.

- Main chat and the three report chats send the user's message verbatim; the
  split call, its regex backstops, the feedback-only reply and pendingQuestion
  routing are deleted (consultation-turn-split.ts, consultation-feedback-reply.ts).
- Main chat history is the stored turns as written, free replies included (the
  fixed plan-timing question now stays with the user's answer); the last
  exchange is always kept.
- The astrologer's rule is a writing instruction (LIFE_REPORT_RULE, report chat
  rules); whether the birth time was settled in 生时纠正 is a fact line.
- Smalltalk: definition tightened (model-judged, no keywords); not run after an
  answer that asked the user something.
- 改出生资料 points to 星盘档案 instead of the rectification tool.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 07:37:59 +08:00
ClaudeandClaude Opus 5.5 28e71786d9 fix: carry the user's reply to a pending question verbatim (BUG-2284 follow-up)
The split model completed the user's answer with a clause they never said.
The answer line is now assembled by program from the user's own clauses;
situation statements without a pending question are carried the same way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 07:37:59 +08:00
ClaudeandClaude Opus 5.5 836dde813e fix: a reply to the answer's own narrowing question is a follow-up, not feedback (BUG-2284)
The question an answer puts to the user is stored with it (pendingQuestion); the next turn
reads it structurally and narrows the earlier answer. The split call now sees the previous
answer and returns a route (question / situation / verification) with a reason; only a
confident pure verification gets the free feedback-only reply. No 生时纠正 pointer when the
chart's time was already adopted or confirmed.

Merged onto the chat UX branch (BUG-2281): the answer writes the one thing it asks the user
in its own 「## 问你一句」 section; the route reads it from the answer text (no extra model
call, the follow-up call no longer writes 「问用户:」). The page shows it as the body's last
line; 接着问 chips that repeat it are dropped. The fixed plan-timing reply keeps its own
recognition. The fallback follow-up call keeps thinking off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 07:37:59 +08:00
ClaudeandClaude Opus 5.5 2b56213d34 fix(chat): review fixes on the merged chat UX (BUG-2281/2282/2283)
- follow-ups write the body like first turns: plain, a key after every bold conclusion,
  「判断依据」 always; the verdict card takes only the first paragraph
- each period row carries its strip tone; a segment worded against it goes to the
  sentence repair; pressure counts only inside the months a line states
- the birth-time sentence shows once, quietly, under the strip when the card marks it
- 接着问 sits after 判断依据 and 盘面数据, just above the composer
- waiting chart: plain names centred in lit areas, too-long names listed under the caption
- arrive page: one heading only; refresh icon at the right end of the row above the questions
- strip note no longer checked as a stretch; repairs may not add months, day counts or 运期
- answer paragraphs scoped so `.message p` no longer overrides their size

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 07:37:59 +08:00
ClaudeandClaude Opus 5.5 7562b79a6a feat(chat): questions on every new conversation with a refresh icon (BUG-2282); the waiting screen draws the person's chart and plain steps from the run's real events (BUG-2283)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 07:37:59 +08:00
ClaudeandClaude Opus 5.5 e0492edeb9 feat(chat): answers open with a verdict card, a chart row of the areas used, a one-year strip, a short plain body and 接着问 (BUG-2281)
The answer stays one streamed markdown text in fixed headings (## 结论, ## 接下来一年, five body blocks per domain,
section it cannot read, and every answer stored before, renders as plain markdown as before. Lit areas and the
「偏吃力」 tone come from the answer's evidence keys and the Saturn-pressure coverage of the cited period rows (program,
on the receipt); 「有机会」 is wired but unassigned until the astrologer's rule (#340). The writing rules describe the
reader, keep every BUG-2247 check, and target about 1,200-1,600 characters of body.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 07:37:58 +08:00
ClaudeandClaude Opus 5.5 331d1c3f92 fix: a detected Neecha Bhanga reads 「落陷;有缓解」 everywhere — no 「缓解条件待核」「有没有缓解还没核实」 hedges (BUG-2280)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m41s
Independent Staging Quality Gate / validate-python (push) Successful in 7m30s
Independent Staging Quality Gate / publish (push) Successful in 3m36s
Owner 2026-11-23 (astrologer's suggestion): when mitigation conditions are detected, readers see one plain
wording, verified or not; the verification state stays in backend data.
- chart page labels, yoga cards and mitigation lines; varga table follows
- reports: short cells, table notes, marker footnotes, reading-facts labels, Neecha Bhanga page layers,
  yoga-table status for Neecha Bhanga rows (有缓解 / Mitigated; other rows unchanged, keys unchanged)
- annual replacement table; chat card labels, evidence pack, owner wording table, internal words,
  C9 rewrite, voice rule; removed the BUG-2169 neecha_mitigation fact-guard check
- contract note after G-26; guard test neecha-plain-2280; updated pinned tests (原值/新值/原因)
Frozen files untouched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-24 00:44:43 +08:00
ClaudeandClaude Opus 5.5 5e9fbb917c fix(synastry): 新增星盘 saves a person whose birth time is 不知道; the picker note still says they need a time to pair (BUG-2278)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m49s
Independent Staging Quality Gate / validate-python (push) Successful in 8m9s
Independent Staging Quality Gate / publish (push) Successful in 3m27s
BUG-2240 made the add dialog the 星盘档案 form, which offers 不知道 and folds the clock away, but the
synastry-only 「还差:出生时间」 gate (BUG-2083) stayed, so 保存并选中 never turned on. The dialog now uses
the archive's own missing hints; pairing still requires a clock time (server unchanged), and the BUG-2083
note under the picker names the person with links to fill a time or open 生时纠正.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-24 00:32:35 +08:00
ClaudeandClaude Opus 5.5 0aa17da25d fix(ui): every modal overlay is the frosted veil — Dialog, AlertDialog, Sheet, Drawer and admin antd masks (BUG-2276)
Independent Staging Quality Gate / publish (push) Canceled after 0s
Independent Staging Quality Gate / validate-python (push) Canceled after 4m11s
Independent Staging Quality Gate / validate-frontend (push) Canceled after 4m2s
The owner (2026-11-23): 「只要是出现弹窗…背景没有磨砂的,需要加上这个」. The four kit overlays
used shadcn's bg-black/10, so the page showed through the 星盘类型 dialog and every other
modal. They now share .modal-scrim: the annual start veil's canvas at 72% plus a 6px blur,
near-solid without backdrop-filter or with reduced transparency. BUG-2252's one-off rule
for the report start dialog is folded in; the admin's antd masks get the same veil.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-24 00:28:40 +08:00
ClaudeandClaude Opus 5.5 73a44dba38 fix(prod): chart-choice waits 180 s for an adaptive scan; the private API's default limit is 3000/min, not one 120/min bucket for the whole site (BUG-2274)
Independent Staging Quality Gate / validate-frontend (push) Canceled after 0s
Independent Staging Quality Gate / publish (push) Canceled after 0s
Independent Staging Quality Gate / validate-python (push) Canceled after 22s
Production 2-core host: adaptive packet scans measured 21-163 s cold, the web
side aborted at 8 s (BrokenPipe, 「排盘服务暂时没有响应」). The API's per-IP
limiter saw only the web container, so every user shared 120 calls a minute
(jyotish_api_429 on launch night). Frozen-file change limited to the limiter
default, owner-approved for production blockers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-24 00:26:21 +08:00
ClaudeandClaude Opus 5.5 31be8b97ee fix(mobile): never reset the window scroll while a text field has focus, so the keyboard stops flashing in WeChat (BUG-2277)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m31s
Independent Staging Quality Gate / validate-python (push) Successful in 7m29s
Independent Staging Quality Gate / publish (push) Successful in 3m10s
In WeChat's in-app browser (WKWebView) the visual viewport can report the full
height while the keyboard is up. ViewportScrollLock (BUG-920) then took the
keyboard for closed and reset the window scroll on every visualViewport event;
iOS scrolled the composer back into view, the next event reset it again, and the
page jumped up and down while the user typed. A focused text field now counts
as an open keyboard; the reset after the field loses focus is kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-24 00:16:27 +08:00
ClaudeandClaude Opus 5.5 0a5a676e82 fix(picker): 本人 in every top-bar picker shows the user's own name and account avatar right after onboarding, not 「我」 / 「这份资料还不完整」 (BUG-2275)
Independent Staging Quality Gate / publish (push) Canceled after 0s
Independent Staging Quality Gate / validate-frontend (push) Canceled after 26s
Independent Staging Quality Gate / validate-python (push) Canceled after 32s
The people list builds 本人 from the account, and the account read was cached from
before onboarding finished, so 本人 was missing until a full reload. Refreshing the
list now re-reads the account; onboarding, 星盘档案 and the chart page's birth editor
re-read it after a self save. The chip and the 本人 row wear the sidebar's UserAvatar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-23 23:45:25 +08:00
ClaudeandClaude Opus 5.5 27e173738f fix(chart): the board caption names what house 1 is counted from — 月亮 X on the Moon board, 本命上升 X on transit, 和本命上升同一个星座 on a matching varga (BUG-2273)
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m2s
Independent Staging Quality Gate / validate-python (push) Successful in 8m22s
Independent Staging Quality Gate / publish (push) Successful in 3m45s
Every board read 「上升 X」 from the natal ascendant's cell, so the Moon and transit
boards and a varga sharing D1's ascendant all looked like the natal chart.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-23 23:12:36 +08:00