Commit Graph
1983 Commits
Author SHA1 Message Date
ClaudeandClaude Opus 5.5 7a573bc64a fix(synastry): a debilitated planet with detected mitigation reads 落陷;有缓解 in the pair evidence and chat tables (BUG-2409)
The synastry dossier and the chat table helper cut the engine label
「落陷取消(Neecha Bhanga)」 at its bracket and left a bare 「落陷取消」.
Both now give the owner's 11-23 wording, as the report and chat card do.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp3RzgZVEpT1PXxkwHj
2026-11-26 07:42:41 +08:00
ClaudeandClaude Opus 5.5 d8f5a2c163 fix(admin): stats route in the capability list, no unstyled class names, campaign names without 「·」 (BUG-2408 follow-up)
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m20s
Independent Staging Quality Gate / validate-python (push) Successful in 8m2s
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_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-26 07:09:54 +08:00
ClaudeandClaude Opus 5.5 b67def1a8f feat(admin): 数据统计 page with first-party visit stats, sign-up attribution and campaign links (BUG-2408)
Independent Staging Quality Gate / validate-frontend (push) Failing after 4m46s
Independent Staging Quality Gate / validate-python (push) Failing after 7m59s
Independent Staging Quality Gate / publish (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-26 06:59:48 +08:00
ClaudeandClaude Opus 5.5 1056a3175d fix(birth): 中国出生写「北京时间」,不写 UTC+8 或 IANA 名 (BUG-2405)
Form location line, chart page birth chips/出生时区 and transit caption, and the
Chinese report's birth tables use one rule: +8 北京时间, +9 in a 1986-1991 summer
北京时间(夏令时), +6 at a Xinjiang place 新疆时间; elsewhere and English keep UTC.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-26 05:56:16 +08:00
ClaudeandClaude Opus 5.5 bf876bbcf8 fix(home): composer settles smoothly when the empty-home notice goes away on send (BUG-2356)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-26 05:52:39 +08:00
ClaudeandClaude Opus 5.5 6af6fb6dd5 fix(home): AI notice sits right under the composer on the empty home (BUG-2356)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-26 05:52:39 +08:00
ClaudeandClaude Opus 5.5 c363d1bed8 feat(release): one product version shown in settings and health; production deploy refuses a reused number and tags v<version>; release log (BUG-2407)
Independent Staging Quality Gate / publish (push) Canceled after 0s
Independent Staging Quality Gate / validate-frontend (push) Canceled after 4m38s
Independent Staging Quality Gate / validate-python (push) Canceled after 4m48s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-26 05:36:01 +08:00
ClaudeandClaude Opus 5.5 ef18403f54 fix(report): one yoga status table for report and chat; English cell fold keeps real words (BUG-2403)
Independent Staging Quality Gate / validate-python (push) Successful in 6m34s
Independent Staging Quality Gate / validate-frontend (push) Successful in 7m38s
Independent Staging Quality Gate / publish (push) Successful in 4m45s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-26 04:43:51 +08:00
ClaudeandClaude Opus 5.5 51063e84c3 fix(people): one tile style for the profile actions; 编辑 is a corner icon (BUG-2404)
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m17s
Independent Staging Quality Gate / validate-python (push) Successful in 7m58s
Independent Staging Quality Gate / publish (push) Successful in 2m51s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-26 04:35:33 +08:00
ClaudeandClaude Opus 5.5 a8129e55c6 fix(signup): account read stays safe outside a request scope; pinned gender test follows the new column (BUG-2402)
Independent Staging Quality Gate / validate-python (push) Successful in 7m3s
Independent Staging Quality Gate / validate-frontend (push) Failing after 5m37s
Independent Staging Quality Gate / publish (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-26 00:42:20 +08:00
ClaudeandClaude Opus 5.5 7e1c392246 fix(signup): free first question screened per device, address and inbox; per-email code cap; risk-only Turnstile; chat counters in the database (BUG-2402, #353)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-26 00:42:20 +08:00
ClaudeandClaude Opus 5.5 76e303fbcc fix(admin): the console says 点数 like the user side, not 积分 (BUG-2401)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-26 00:42:19 +08:00
ClaudeandClaude Opus 5.5 7ce74d81b1 fix(people): 问 TA 的事 instead of 和 TA 对话, and a 生时纠正 button on the profile card (BUG-2400)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-26 00:42:11 +08:00
ClaudeandClaude Opus 5.5 227577d0a2 fix(people): 填写精确经纬度 sits with the place, only before a place resolves; typed coordinates fold into the status line with 改 (BUG-2399)
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m20s
Independent Staging Quality Gate / validate-python (push) Successful in 8m21s
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_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-26 00:26:38 +08:00
ClaudeandClaude Opus 5.5 6d42160d61 fix(rectification): result page says which charts keep their rising sign in one sentence and a list (BUG-2398)
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 26s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-26 00:10:03 +08:00
ClaudeandClaude Opus 5.5 463d79ac2e fix(people): adding a person from a flow returns to it with the new person current (BUG-2397)
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m18s
Independent Staging Quality Gate / validate-python (push) Successful in 8m19s
Independent Staging Quality Gate / publish (push) Successful in 3m34s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-25 23:56:30 +08:00
ClaudeandClaude Opus 5.5 a7b6645314 feat(admin): add credits to one user from the customer list, audited and idempotent (BUG-2396)
Independent Staging Quality Gate / validate-python (push) Successful in 9m19s
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m22s
Independent Staging Quality Gate / publish (push) Successful in 4m3s
Owner 2026-11-25: beta testers who report bugs get credits. A new additive
migration allows the ledger type admin_grant and adds admin_grant_credits
(billing.adjustments.write, verified actor, 1-10000 credits, reason required,
one ledger row + one audit row, idempotent by request id). The customer list
gets a 加积分 action showing the new balance; the user's ledger reads 赠送点数.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp3RzgZVEpT1PXxkwHj
2026-11-25 22:34:04 +08:00
ClaudeandClaude Opus 5.5 a56bfc6e60 fix(login): suggest the fix for a mistyped email domain and never send a code to one (BUG-2395)
Independent Staging Quality Gate / validate-python (push) Successful in 7m59s
Independent Staging Quality Gate / validate-frontend (push) Successful in 7m10s
Independent Staging Quality Gate / publish (push) Successful in 3m59s
Codes sent to addresses like x@qq.con bounced; the bounce rate rose to 21%,
far above the provider's risk line. The email field now offers the corrected
address inline, and the server refuses the four code-sending endpoints for
suffixes no mail domain uses, before a code is made.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp3RzgZVEpT1PXxkwHj
2026-11-25 22:25:16 +08:00
ClaudeandClaude Opus 5.5 f30b029459 fix(intake): ask Beijing or Xinjiang time and the clock-change side (BUG-2355, closes BUG-1507)
A Xinjiang place asks 「这个时间是北京时间还是新疆时间?」 with Beijing time by
default; a repeated clock-change hour asks 「那天拨钟前还是拨钟后?」 and holds the
save until answered; a skipped hour says what it equals on the new clock.
The answer is stored as the profile's timezone_offset (no new column), which
the chart, rectification, reports and chat already read. Offsets come from
the engine's timezone endpoint (Beijing coordinates for Beijing time, the
day before / after for the two sides of a change).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-25 21:48:08 +08:00
ClaudeandClaude Opus 5.5 a9070f4cfd fix(rect): system decides tied and all-unsure lines from per-card picks (BUG-2355)
Ties and all-unsure lines keep the side holding the reported time (toward it
once it has left the range) and the flow continues; the page shows only
上一步 / 下一步. Choices now carry the per-card picks, the tally and how the
side was decided; old line_at + side choices still read.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-25 21:48:08 +08:00
ClaudeandClaude Opus 5.5 e1dacca3c1 fix(chat): how / where / what-kind channel read from KP and Parashari together (BUG-2354)
Independent Staging Quality Gate / validate-python (push) Successful in 7m37s
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m43s
Independent Staging Quality Gate / publish (push) Successful in 6m33s
KP stays a required input: the KC promise row (houses and levels only) says whether
the matter is promised; the channel comes from the KP star-lord row and new keyed PC
rows (7th lord, planets in the 7th, A7, DK, Venus / 10th lord, planets in the 10th,
D10 10th and lagna lords, AmK / 2nd and 11th lords, planets in them, A2, A11), read
with the same house meanings, with a per-house agreement row. Writing rule: agreeing
houses lead, one-system houses are the second route, no event upgrade. The basis
drops the back-office phrase 来路那一层写得很具体.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-25 21:34:19 +08:00
ClaudeandClaude Opus 5.5 6d338f25d8 fix(chat): bold headings survive sentence clean-ups; final markdown pass (BUG-2393)
Independent Staging Quality Gate / validate-frontend (push) Failing after 4m25s
Independent Staging Quality Gate / validate-python (push) Successful in 8m19s
Independent Staging Quality Gate / publish (push) Skipped
Career stage clean-up split sentences inside a bold numbered heading and
left a literal '** ' (item 二 lost its heading). Sentence units now keep
bold spans whole and never delete headings; lone ** at line edges is
removed; a deterministic final markdown pass balances **, drops emptied
bold and closes numbering gaps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-25 20:51:49 +08:00
ClaudeandClaude Opus 5.5 c34ffc855e fix(yoga): astrologer 11-25 review items 4–8 — Raja structure formed with modifiers, exchange recall by houses, actual vs illustrated diagrams (BUG-2392)
Owner approved the yoga_engine.py change for items 4, 5, 6 and 8.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-25 20:22:29 +08:00
ClaudeandClaude Opus 5.5 e54db1a756 feat(yoga): Maha, Khala and Dainya parivartana as formed named yogas (BUG-2388)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m43s
Independent Staging Quality Gate / validate-python (push) Successful in 7m43s
Independent Staging Quality Gate / publish (push) Successful in 2m59s
Owner 2026-11-25 option A. Kind by the two exchanged houses (Phaladeepika ch.6:
28 Maha / 8 Khala / 30 Dainya). yoga_engine.py (frozen) edit approved by the
owner for exactly these three rules: parivartana_class condition, product
formation contracts looked up before hers, sign_exchange/house_class checks.
Chart page drops the plain exchange support card when a named one is formed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-25 18:05:17 +08:00
ClaudeandClaude Opus 5.5 cb0d1ce2fd fix(chart): only the fallen body gets a neecha card with its real conditions; every yoga card draws a diagram (BUG-2387)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m44s
Independent Staging Quality Gate / validate-python (push) Successful in 7m38s
Independent Staging Quality Gate / publish (push) Failing after 2m20s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-25 17:35:35 +08:00
ClaudeandClaude Opus 5.5 83905a3670 fix(reports): report list rows titled like their export files, one shared title builder (BUG-2362)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m48s
Independent Staging Quality Gate / validate-python (push) Successful in 7m34s
Independent Staging Quality Gate / publish (push) Successful in 3m47s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-25 16:33:56 +08:00
ClaudeandClaude Opus 5.5 2043b758f6 fix(ui): pada shown as 第 N 分区 everywhere users or the model read it — second sweep + shape guards (BUG-2349 follow-up)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-25 16:33:55 +08:00
ClaudeandClaude Opus 5.5 d0a01bf935 fix(chat): KP reading of the question's own cusp drives how / where / what-kind answers without the user naming KP (BUG-2353)
Independent Staging Quality Gate / validate-python (push) Successful in 6m47s
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m20s
Independent Staging Quality Gate / publish (push) Successful in 3m29s
The relationship, career and money cards now carry the program's KP reading of the
domain cusp (sub lord promise and nature, its star lord's houses as the source /
channel / kind, A-D levels and node agency, meanings per question type) as keyed
KC rows; checklist and status rules no longer call KP optional; the areas row lists
the KP-named areas.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-25 16:14:02 +08:00
ClaudeandClaude Opus 5.5 f8c6d47625 fix(chart): drop the two fixed birth-time disclaimers under the chart title (BUG-2363)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m51s
Independent Staging Quality Gate / validate-python (push) Successful in 7m38s
Independent Staging Quality Gate / publish (push) Canceled after 3m31s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-25 16:06:07 +08:00
ClaudeandClaude Opus 5.5 dff2a0c2dc fix(ui): desktop redeem entry — 兑换码 row in the account menu, the balance opens 点数与兑换码, icon-only controls named on hover (BUG-2361)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m45s
Independent Staging Quality Gate / validate-python (push) Successful in 7m34s
Independent Staging Quality Gate / publish (push) Successful in 3m24s
A beta user on a computer could not find where to redeem a code, and hovering
the icons named nothing. The account menu now has its own 兑换码 row that opens
账户与点数 on its 兑换码 page with the box focused (desktop only); the balance
on the account row is its own button (opens 账户与点数, tooltip 点数与兑换码);
the desktop sidebar toggle and the collapsed rail's avatar are named on hover,
and the rail's screen-reader name is Chinese.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-25 15:53:08 +08:00
ClaudeandClaude Opus 5.5 bd0d94cb06 fix(ui): nakshatra pada reads 星宿分区 / 第 N 分区 everywhere users see it (BUG-2349)
Independent Staging Quality Gate / validate-python (push) Canceled after 0s
Independent Staging Quality Gate / validate-frontend (push) Canceled after 0s
Independent Staging Quality Gate / publish (push) Canceled after 0s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-25 12:20:17 +08:00
ClaudeandClaude Opus 5.5 5dfa71bc9a fix(reports): deploys hand running report jobs back and retries resume finished sections (BUG-2352, #347)
Independent Staging Quality Gate / validate-python (push) Canceled after 0s
Independent Staging Quality Gate / validate-frontend (push) Canceled after 0s
Independent Staging Quality Gate / publish (push) Canceled after 0s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-25 11:22:14 +08:00
ClaudeandClaude Opus 5.5 df16a108db fix(reports): a busy compute service no longer spends report attempts (BUG-2351, #346)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-25 11:22:14 +08:00
ClaudeandClaude Opus 5.5 d4b61ff998 fix(web): pages left in front learn about a new deploy on focus and chat send (BUG-2350, #359)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-25 11:22:14 +08:00
ClaudeandClaude Opus 5.5 caf3af6b7e fix(monitor): alerts by Feishu and email, host checks, OTP retry, off-host probe (BUG-2348)
- notify-feishu.sh: add a Resend email channel (key read from .env.production
  via a header file, never argv/stdout); both channels when configured, one
  acceptance counts; fixed Chinese labels on every alert line.
- classify_error_log.py: per-code thresholds for low-volume signals, the
  [ops-signal] marker, api access-log 429/5xx counted without query strings.
- ops-check.sh: container restarts/OOM, host memory, report queue wait, new
  feedback count (no content).
- OTP sender: retry network/429/5xx once with the same idempotency key; final
  failure logs otp_send_failed (no address).
- install-production-monitor.sh: idempotent cron install + --test-alert.
- monitor-public-health.yml: off-host probe every 5 minutes on the runner.
- Tests: tests/test_monitor_alerts_2348.py (on the quick list), OTP sender and
  ops-signal tests. Issues #350, #354.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-25 11:03:45 +08:00
ClaudeandClaude Opus 5.5 049614ffa0 fix(model): the admin's fallback model answers when the default provider fails (BUG-2347, #352)
Independent Staging Quality Gate / validate-python (push) Successful in 6m38s
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m48s
Independent Staging Quality Gate / publish (push) Successful in 7m54s
- A provider-side failure (401/403/408/409/429/5xx, timeout, network) before any
  answer content reached the user moves the call once to the published fallback
  model; a stream is never switched after content has streamed.
- Settlement prices the tokens with the model that answered (per-request /
  per-job scope); credits charged are unchanged.
- 功能开关「暂停聊天」 (ops.chat_paused): an emergency stop, answered before any
  credit is reserved; a failed read keeps chat open.
- Daily model spend alert from usage_ledger (MODEL_DAILY_SPEND_ALERT_USD, default
  $30), throttled, forwarded by the monitor on first occurrence; per-user spend
  view on /admin/usage.

Checks: tsc clean; eslint 0 errors; new tests model-fallback-2347 (11) and
model-spend-alert-2347 (5) pass; digest Python tests pass; Python quick gate
passed; full frontend suite 5334 tests, 28 failures, all the known
environment set (PostgreSQL, compose, YAML, staging sync, swisseph).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-25 10:58:47 +08:00
ClaudeandClaude Opus 5.5 a026ea9c11 fix(chat): basis rows say yogas, neecha-bhanga and Narayana plainly; no 「见上面」 (BUG-2344)
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m8s
Independent Staging Quality Gate / validate-python (push) Successful in 7m44s
Independent Staging Quality Gate / publish (push) Successful in 2m57s
Program-printed 「判断依据」 rows: detected yoga as 「有 X(条件)」, neecha-bhanga as
「落陷;有缓解」, Narayana without the start-year disagreement note, a row cited
twice restated by its first clause. Rewrite table no longer produces
还没核实 / 从哪年起算还有分歧. Backstage status fields unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-25 10:43:13 +08:00
ClaudeandClaude Opus 5.5 63c28d0f13 fix(db): one connection budget for every web pool; max_connections 60 (BUG-2345, #349)
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m10s
Independent Staging Quality Gate / validate-python (push) Successful in 7m44s
Independent Staging Quality Gate / publish (push) Successful in 3m32s
Four pools at max 10 each (40) ran against max_connections=30. Pool maxima now
come from lib/db/pool-limits.ts (identity 6, app 12, service 8, admin 3,
health 1 = 30, env-tunable 1-20) with a reserve of 10 for backup, migration,
psql and the second web container during a deploy. Idle connections close
after 10 s. Postgres max_connections 30 -> 60. A test pins the budget against
the compose file and forbids hard-coded pool maxima.

Production picks this up on the next deploy: run-production-deploy.sh runs
`compose up -d --wait postgres`, which recreates the Postgres container once
(a few seconds; data stays on the volume).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-25 10:25:23 +08:00
ClaudeandClaude Opus 5.5 042489a5ae fix(login): the authenticator step after a password sign-in starts idle and sends its code (BUG-2346)
signInWithPassword set busy and returned on twoFactorRedirect without
resetting it, so the two-step step showed 「验证中」 and verifyTwoFactor
returned before sending the six digits. The admin login is password-only,
so every MFA-enrolled operator was stuck; reproduced in headless Chrome
on staging with a throwaway account.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-25 10:21:03 +08:00
ClaudeandClaude Opus 5.5 6bb596926f fix(chat): Western answers clean by structure — writer-declared scope, program-enforced shape (BUG-2342 round 2)
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m11s
Independent Staging Quality Gate / validate-python (push) Successful in 8m7s
Independent Staging Quality Gate / publish (push) Successful in 15m3s
western_chart is now "only" | "both" (true = "only"), the writer's judgment.
"only": no day calendar, the time section and time label removed, Indian
paragraphs sent to the one repair call (dropped if they survive), the
evidence box is Western rows printed from western_natal (Indian keys and
items dropped and logged), no Indian method rows or chart-data table.
"both": the body sits under 印度盘怎么看 / 西洋盘怎么看 (missing headings are
regrouped by the same repair call, kept as written when the reply fails its
checks), the verdict names both sides, rewrites keep the side they name,
mixed basis items are split and the box shows 印度盘 / 西洋盘 groups. Ties in
the top element / modality are given to the writer and a single-winner
sentence or title goes to the repair. Backstage notes (几种方法一致 and
similar) are cleaned from every answer. Non-Western cards are byte-identical.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-25 10:05:43 +08:00
ClaudeandClaude Opus 5.5 570d69e7fc fix(chat): Western-astrology questions read the Western chart, not the Indian card (BUG-2342)
run-jyotish-consultation takes an optional western_chart flag (the writer's
judgment); when set, the result carries western_natal next to the card: the
Western tab's facts from /api/western (ten-planet element / modality /
hemisphere counts, dignities, angles, stelliums, patterns, every major
aspect). The western:natal lookup returns the same facts. Without the flag
the result and the card are byte-identical. The writing rule bases Western
claims only on these facts; the fact guard accepts Western positions the
writer read, and Western basis items borrow no Indian rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-25 10:05:35 +08:00
ClaudeandClaude Opus 5.5 84176c3a4a fix(chat): week/month calendar answer says each day once (BUG-2343)
Independent Staging Quality Gate / publish (push) Canceled after 0s
Independent Staging Quality Gate / validate-python (push) Canceled after 4m38s
Independent Staging Quality Gate / validate-frontend (push) Canceled after 3m48s
- Verdict card is its sentence only when the day calendar is shown; writing
  rule asks for one direct sentence, no label rows.
- verdict_meta check: a verdict opening that talks about the answer goes to
  the existing rewrite; a rewrite still meta is refused. One-line verdicts
  naming both sides are read clause by clause.
- Detail title is the date only.
- Detail box sized to this calendar's own longest panel (texts stacked
  unseen in one grid cell); tool.completed carries the texts so the
  skeleton reserves the same height.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-25 09:55:48 +08:00
ClaudeandClaude Opus 5.5 fab333c39d feat(chart): Western tab redesign per the approved prototype; node out of element counts (BUG-2340)
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m13s
Independent Staging Quality Gate / validate-python (push) Failing after 7m44s
Independent Staging Quality Gate / publish (push) Skipped
- /api/western (non-frozen western_chart_engine + new western_page_layers):
  classical layer (sect, dignities, bound lords, Lots of Fortune and Spirit)
  and, with transit_date, today's slow transits, profection and progressed
  Moon. Element/modality counts skip the north node.
- chart-view-load sends today's date (cache scope western:<date>); mapWestern
  maps MC, ruler chains, classical, transits, the person's ayanamsa offset and
  recounts elements/modalities over the ten planets with member names.
- ChartWesternTab rebuilt: wheel card (420px) + 「这张盘的样子」 summary,
  five-column planet table with dignity words, grouped aspects with
  fade-only filters, element/modality/hemisphere bars, folded 「更多数据」.
- BUG_HISTORY: BUG-2340 (fixed-pending-verify), BUG-2341 zodiacal-release L2
  lengths (investigating, not fixed).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-25 00:27:09 +08:00
ClaudeandClaude Opus 5.5 c4aa1790cc fix(chat): strip slot reserves the panel's worst case by slot width; enforce 36/24/24 stretch lengths (BUG-2339)
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m13s
Independent Staging Quality Gate / validate-python (push) Successful in 8m7s
Independent Staging Quality Gate / publish (push) Successful in 3m53s
The strip grew 300 -> 317px at completion on desktop (a 54-character
sentence). Stretches longer than 36 / 24 / 24 characters now go to the
existing segment rewrite (rejected again if still long; program-written
strips refused); nothing is cut. The reserved height follows the slot's own
width (container query: 436 / 392 / 324 / 300px), each band at its measured
worst case, so skeleton, cross-fade and final heights are equal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 23:41:59 +08:00
ClaudeandClaude Opus 5.5 99074e916a fix(chat): skeletons for the strip / week / month calendar while streaming, one cross-fade at completion (BUG-2339)
The answer slot shows a skeleton of what it will hold (strip, or the day
calendar for the writer's day_range) built from the real component's boxes,
with the chart pages' slow-pulse skeleton blocks; when the whole answer is
complete the component is drawn in the same grid cell and the two cross-fade
once (opacity, --motion-standard / --ease-standard; instant under reduced
motion). Dark 平 legend chip gets a tertiary-ink hairline ring.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 23:25:02 +08:00
ClaudeandClaude Opus 5.5 87e043bd78 fix(chat): open the precise-timing gate for chat answers only; reports keep today's gate (BUG-2335)
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m23s
Independent Staging Quality Gate / validate-python (push) Successful in 8m57s
Independent Staging Quality Gate / publish (push) Successful in 5m4s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 22:33:11 +08:00
ClaudeandClaude Opus 5.5 66b5500f12 feat(chat): in-answer day calendar in the strip slot (BUG-2337)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 22:33:11 +08:00
ClaudeandClaude Opus 5.5 8aef250370 feat(chat): personal day calendar on the card for the writer's day range, checked against the answer (BUG-2336)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 22:33:10 +08:00
ClaudeandClaude Opus 5.5 64ad0b140f fix(chat): dates by birth-time source, precise timing closed only without a birth minute, no 'cannot be more precise' lines, running periods named once (BUG-2335)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-24 22:33:10 +08:00
ClaudeandClaude Opus 5.5 62106f3b64 fix(chart): keep the board up while the next chart type loads (BUG-2338)
Independent Staging Quality Gate / publish (push) Canceled after 0s
Independent Staging Quality Gate / validate-python (push) Canceled after 3m22s
Independent Staging Quality Gate / validate-frontend (push) Canceled after 3m22s
Switching to a chart type whose layer had not arrived swapped the board for the
waiting skeleton, so the layer landed on a freshly mounted drawing and the
planets popped in instead of moving between cells. The card now holds the board
just drawn (dimmed after a short wait, not clickable, aria-busy) and the same
nodes move when the layer lands. The skeleton stays for the first draw only;
a failed layer still shows its note and retry.

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