7 Commits
Author SHA1 Message Date
ClaudeandClaude Fable 5.2 2b3113abc5 fix: Neecha Bhanga has one named default rule read by both the planet label and the main detector (BUG-2012)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-19 13:11:48 +08:00
ClaudeandClaude Opus 5.5 c8da0a5efa fix: Neecha Bhanga judged per planet keeps one row, id and cancels edge per planet (BUG-1988)
The main detector forms a cancellation for each debilitated planet with the same name and
rule_id. The detected-list merge, the route sieve and the yoga layer each treated the second
planet as a repeat, so Einstein's Moon kept its status label but lost its row, id and edge.
Per-object rules now dedupe by (rule_id, planet): instance key and evidence id name the planet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-18 19:01:19 +08:00
ClaudeandClaude Opus 5.5 e9e5fb207f feat: wealth evidence pack behind a staging switch, with named-rule cancellations and full dependency closure (BUG-1985)
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m17s
Independent Staging Quality Gate / validate-python (push) Successful in 8m14s
Independent Staging Quality Gate / publish (push) Successful in 3m40s
Evidence-pack step 2, one-topic vertical slice (owner 2026-11-18; the astrologer's 11-18
review §二.4–二.6, §三 questions 1 and 3, §六 step 2).

- The evidence base gains the one relation the data states with a named rule: the Neecha
  Bhanga main detector cancels the debilitation effect of its planet (the placement stays),
  and depends on the witnesses it cites. No weakens edge: there is no named rule for one.
- lib/evidence-pack.ts builds the wealth pack from the card's own indexed facts: direct
  evidence; limits (cancellations with their witnesses, engine-stated yoga reductions,
  coexisting pressure); time (only when the question asks about time, range from the
  question); gaps and disagreements. The dependency closure follows every level with a
  visited set, cycle record and budget; a stopped walk is a visible gap.
- CONSULT_EVIDENCE_PACK_DOMAINS (default off; wealth on staging only) swaps the wealth key
  block for the pack; off, the model view is byte-identical. The time scope comes from the
  split question, never from user feedback (test E).
- The backtest harness reads a whole facts packet; timing.horizon is registered as non-fact.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-18 17:30:50 +08:00
ClaudeandClaude Opus 5.5 a4d6a5cf83 feat: every citable fact on the chat card resolves to an evidence id through a compact evidence index (BUG-1982)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m51s
Independent Staging Quality Gate / validate-python (push) Successful in 7m23s
Independent Staging Quality Gate / publish (push) Successful in 4m27s
The card's model view gains evidence_index: the snapshot id and coverage, one id
template per fact path, status codes with a legend and the per-id exceptions.
Positions, houses, roles, afflictions, Arudha and derived houses, points, SAV,
KP, Argala, transits, double transit, Saturn cycles, the annual chart, every
dasha level, judgment and participation rows now resolve; rows that name their
own id keep it. Branch rows carry their #br: id from the facts packet. A
coverage check lists any card leaf that is neither a fact nor marked not
citable; it is empty on all public golden cards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-18 16:23:02 +08:00
ClaudeandClaude Opus 5.5 dd4eab82df fix: evidence ids name objects not values; snapshot v2 with subject, profile and times; four status fields; evidenced edges; dependency closure (BUG-1978)
Per the astrologer's 2026-11-18 review of the evidence-pack draft (§二 1-5, §五.3, §五.5):
logical_key / snapshot-scoped evidence_id / content_hash; birth-branch ids bound to the parent
range and intervals; snapshot over opaque subject, birth input revision, calculation profile,
rule versions, retractions, observation instant and coverage (calculation time recorded only);
execution / formation / interpretation / source status; base-level edges with type, scope,
conditions, method version, basis and review status (engineering dependencies only);
dependency_closure with visited set, cycle report and budget; interpretation_key; a parseable
synthetic fixture and the review's test list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-18 16:22:52 +08:00
ClaudeandClaude Opus 5.5 8c1564dfff feat: stable evidence ids and a snapshot id across the chat card and report facts (BUG-1976)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m41s
Independent Staging Quality Gate / validate-python (push) Successful in 7m13s
Independent Staging Quality Gate / publish (push) Successful in 3m15s
Evidence-pack step 1 (owner 2026-11-18). One ASCII form, ev:<family>:<body>, for D1 and varga
placements, AL/UL derived houses, special points, Shadbala, dasha periods, transits, double
transit and yoga rule instances; an evidence base with links taken only from what the data
states; a snapshot id binding the birth input revision, calculation date and rule versions.
The internal-word check drops ids from the basis section and logs them in the body.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-18 14:37:42 +08:00
ClaudeandClaude Opus 5.5 45ec5974de feat: AL / UL derived houses and Pranapada branch across the birth window (BUG-1969)
The chat now carries the birth window the personal report reads
(consultationBirthTimeWindow). The facts packet samples the chart every
60 s across it, bisects each change to 1 s and recomputes every dependent
field per branch (scripts/consult_facts/birth_range_branches.py). Without
a declared window, or with only the default 30-minute trial, the rows stay
not_evaluated; a sample that does not reproduce the card is not branched.
A self-chosen side only orders branches. The key block lists the branches
and the relations line states what they share first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-18 09:52:40 +08:00