3266 Commits
Author SHA1 Message Date
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 cf53e1625e fix(annual): rows that would form only if one planet were already in its next sign are no longer counted as this year's formed annual yogas — labelled counterfactual-only and kept apart (BUG-2322)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m56s
Independent Staging Quality Gate / validate-python (push) Successful in 7m37s
Independent Staging Quality Gate / publish (push) Successful in 3m21s
Ports the astrologer's counterfactual relabel from upstream 58f37ee5b (draft
and authority). The annual named-yoga field read by the report tables, the
writer's facts, the annual service and the chat card moves those rows to
counterfactual_rows. The two public charts have none in 2016-2040, so their
reports are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-24 17:14:37 +08:00
ClaudeandClaude Opus 5.5 04f9e20f92 feat(annual): saving a chart pre-computes the three report years' continuous motion in a low-priority background worker, so the first report no longer waits for it (BUG-2321)
One daemon thread, bounded queue (drop oldest), coalesced per chart, pauses
whenever the heavy-compute gate or a consult warm is busy, and scans each year
in 15-day sub-ranges merged exactly into the whole-year result. Same cache keys
as the report (verified: a report after prewarm scans nothing).
JYOTISH_ANNUAL_MOTION_PREWARM=0 turns it off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-24 17:14:37 +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 f5aa7a52f4 docs(bug-history): BUG-2315 cold and warm full report timings
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m59s
Independent Staging Quality Gate / validate-python (push) Successful in 8m18s
Independent Staging Quality Gate / publish (push) Successful in 3m50s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-24 15:44:33 +08:00
ClaudeandClaude Opus 5.5 f22db59dfc fix(annual): the shared annual pack never runs the motion scan — the audit row also read the motion request, so every annual-service and chat pack scanned a whole year (BUG-2315)
The motion inputs are stripped at the pack's entry; only the solar-return
field's tajika_motion keeps them for the report.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-24 15:44:33 +08:00
ClaudeandClaude Opus 5.5 40b01b82e6 feat(reading): the writer's annual facts carry each year's bounded motion summary — up to 20 dated contacts, sign changes and stations tied to the year's named yogas and lords — with the astrologer's boundary sentence (BUG-2318)
Fictional-chart facts grow 119,739 -> 126,181; budget unchanged at 140,000.
Test sessions keep the motion cache in a temporary directory.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-24 15:44:33 +08:00
ClaudeandClaude Opus 5.5 0ff2d1d395 feat(report): annual appendix chapter per year — range and method, the year's exact contacts, sign changes and stations in time order, and each named yoga's own contacts; Chinese and English (BUG-2317)
Lists in full the events of the year's named-yoga pairs and of the year lord
and Muntha lord; the Moon's and all other events are counted by kind.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-24 15:44:32 +08:00
ClaudeandClaude Opus 5.5 defa105774 feat(annual): every annual named-yoga row, helper and interferer rows included, carries its own pair's computed contacts and motion changes for that year (BUG-2316)
Ports the astrologer's _row_motion_evidence (upstream 58f37ee5b). Stored as
indexes into the year's event list, so rows do not repeat hundreds of events.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-24 15:44:32 +08:00
ClaudeandClaude Opus 5.5 9358cb01ff feat(annual): each report year computes its own continuous Tajika motion — exact contacts, ingresses and stations from this return to the next — cached per year and time-bounded (BUG-2315)
Ports the astrologer's transit_search.py verbatim (upstream 58f37ee5b), the
solar-return motion request and the annual condition status pack. The scan
runs only in the full-data report (report_render/annual_motion.py), never in
the chat annual card.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-24 15:44:32 +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 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 62539c7fd7 fix(yoga): her source evaluators' combinations carry her English, so the English edition prints no translation-missing marker (BUG-2304 follow-up)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m51s
Independent Staging Quality Gate / validate-python (push) Successful in 7m34s
Independent Staging Quality Gate / publish (push) Successful in 3m21s
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 63ab433e5a fix(report): no 「待核」-type wording from the merged yoga code reaches readers or the writer; plain gate sentences, her pending clauses dropped from reader text, rule grade keys as words (BUG-2304)
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 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 601b83fbde fix(yoga): the 67 rules both sides or only we changed, resolved per ruling — keep ours where a BUG ruling exists, take her source definitions and retirements otherwise (BUG-2302)
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 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 Opus 5.5 529fd45cb6 fix(report): every yoga consumer reads the engine's effect gate — pages, tables, alias rows, writer facts and the orchestrator never put a withheld traditional verdict back (BUG-2300)
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 Opus 5.5 9f5158c15d fix(yoga): her detect status layer — effect_assessment and method_review gates, row status fields, shared-lordship dependencies, blocked rows kept apart from yogas (BUG-2299)
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 Opus 5.5 1810cd7957 fix(yoga): her formation guardrails and English delivery modules, source degrees and Shashtiamsa/Vaiseshikamsa as missing input, four more retired rules (BUG-2298)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-24 13:06:23 +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 60fc81b1bf fix(yoga): the historical rule generator never overwrites the live rule library (BUG-2297)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m45s
Independent Staging Quality Gate / validate-python (push) Successful in 7m22s
Independent Staging Quality Gate / publish (push) Successful in 2m46s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-24 09:25:00 +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 713deb83f7 fix(report): the expression-path hook lives in the report API, not in the frozen jyotish_engine.py; public test reports attach it the same way (BUG-2296)
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 2m42s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-24 07:51:43 +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 abc5d0091a feat(report): the astrologer's Yoga expression paths — alternative and partial formation, Yogada, same-topic support without a named yoga, annual help and obstruction, period links — copied verbatim and wired into both editions and the writer's facts (BUG-2296)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-24 07:06:07 +08:00
ClaudeandClaude Opus 5.5 eb706f5d0e feat(report): data we already compute reaches the report and the writer — whole dispositor chains, Argala by planet with method, every planet of annual named yogas, each yoga's supporting and limiting factors, functional-role states, English audit notes that stand alone; yoga participants recorded where computed (BUG-2289–2295)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-24 06:55:14 +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
ClaudeandClaude Opus 5.5 01b6c4fa5b fix(rect): self-choice cards ask a life question and show a plain portrait per side; positions fold under 依据 (BUG-2272)
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m3s
Independent Staging Quality Gate / validate-python (push) Successful in 8m23s
Independent Staging Quality Gate / publish (push) Canceled after 3m42s
Owner 2026-11-23 overrides the BUG-2132 structure-only copy for this page: each card asks
e.g. 「工作上你更像哪一种?」, each side gets a short label and one or two tendency sentences
from the fixed tables in scripts/chart_choice/portraits.py (phrase table drafted by
jyotisha-ac), built only from the positions that differ; never two identical portraits.
Positions move to a folded 「依据」 as 「金星在第 10 宫(事业)」. Old lines without a
portrait still list their differences.

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