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
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
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
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
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
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
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
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
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
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
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
- 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
- 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
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
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
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
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
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
- 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
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
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
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