Commit Graph
82 Commits
Author SHA1 Message Date
Jesse_ChenandCursor 4ef4c4064f fix(report): name final-parse guards and scrub blocked wording
Independent Staging Quality Gate / validate (push) Successful in 12m11s
Independent Staging Quality Gate / publish (push) Successful in 1m57s
Five-theme assemble cleared the chart and actionNotes caps, then failed
three anonymous guards. Log field path plus kind only, and strip
deterministic phrases from sections the producer already marked blocked.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 23:09:21 +08:00
Jesse_ChenandCursor a75929c139 fix(report): keep actionNotes within the document cap at assemble
Independent Staging Quality Gate / validate (push) Successful in 12m42s
Independent Staging Quality Gate / publish (push) Successful in 1m56s
Five-theme personal_full still failed final parse after the charts cap
fix because writer output exceeded actionNotes.max(24). Truncate at
assemble; do not raise the schema cap.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 22:22:38 +08:00
Jesse_ChenandCursor d4627a5019 fix(rectification): dedupe post-adopt verify and skip this probe only
Independent Staging Quality Gate / validate (push) Successful in 14m31s
Independent Staging Quality Gate / publish (push) Successful in 1m59s
Adopted reverse-verify repeated already-asked collect stems, treated 「这题跳过」 as stopping the case, and promised holdout/OOS checks that never ran. Collect spoken stems no longer prefix a year.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 21:51:59 +08:00
Jesse_ChenandCursor 6119469069 fix(report): bind v2 chart cap to CHART_IDS.length
Five-theme personal_full assembled nine charts after health vargas landed, but the document schema still capped at six. Bind the count to the enum, align JSON/Python contracts, and log final-parse paths without values.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 21:33:27 +08:00
Jesse_ChenandCursor e27d5dc5a7 fix(report): accept section: job progress phases on read-back
Independent Staging Quality Gate / validate (push) Successful in 8m41s
Independent Staging Quality Gate / publish (push) Successful in 1m53s
Heartbeat and GET were parsing progress_phase with a pattern that rejects the colon prefix the writer already persists, which aborted generation after the first chapter.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 20:10:52 +08:00
Jesse_ChenandCursor a793edb1ad fix(rectification): keep opening greeting across set-focus
Independent Staging Quality Gate / validate (push) Successful in 9m24s
Independent Staging Quality Gate / publish (push) Successful in 1m57s
set-focus only attaches the question stem. Retracting live Chinese before
it wiped the opening hello with an empty replace. Other public tools still
retract planning prose.

BUG-533.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 19:51:24 +08:00
Jesse_ChenandCursor be6cf145c2 docs(changelog): restore the collect-direction-fix entry after rebase
Independent Staging Quality Gate / validate (push) Successful in 8m51s
Independent Staging Quality Gate / publish (push) Successful in 1m51s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 19:17:46 +08:00
Jesse_ChenandCursor 7baf230066 fix(report): load candidate ranges through a read-only RPC
Accepted profiles were selecting a revoked rectification table and failing the report before the engine ran. Degrade to a null window when that optional read fails.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 19:17:14 +08:00
Jesse_ChenandCursor 0be51e65f5 fix(rectification): ask relationship and career before dated collect
Independent Staging Quality Gate / validate (push) Successful in 10m6s
Independent Staging Quality Gate / publish (push) Has been cancelled
Move nextDatedCollectFollowup after family coverage so a new case still
asks D9 then D10. Dated third-event collect stays education → finance →
relocation → health. Admin input padding contract follows --space-3.

BUG-531 and BUG-532.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 19:06:54 +08:00
Jesse_ChenandCursor 3847e9c91d fix(rectification): collect a dated third event before OOS and occupation
Independent Staging Quality Gate / validate (push) Failing after 8m39s
Independent Staging Quality Gate / publish (push) Has been skipped
Holdout stays closed until the training gate opens and skips declined domains.
Dated collect order is shared with exhaustion; spoken prompts must name the domain; progress copy uses collection_progress only.

BUG-527 through BUG-530.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 18:17:17 +08:00
Jesse_ChenandCursor 7ee7f8258a fix(ui): collapse product weights and radii onto the shared Button
Independent Staging Quality Gate / validate (push) Failing after 9m39s
Independent Staging Quality Gate / publish (push) Has been skipped
Chat body, type weights, and radii were still a second scale; membership purchase now uses the shared Button so the filled terracotta action is one implementation.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 17:29:11 +08:00
Jesse_ChenandCursor 7b1354a79b fix(ui): restyle personal report pages to the product reading room
Independent Staging Quality Gate / validate (push) Successful in 8m31s
Independent Staging Quality Gate / publish (push) Successful in 1m58s
The report centre and reader were a second newspaper identity. They now reuse canvas, hairline, and serif display tokens so the document feels like the rest of Jyotisha.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 16:30:44 +08:00
Jesse_ChenandCursor 13dded9fff fix(rectification): run adopt narration on the last discriminator click
Independent Staging Quality Gate / validate (push) Failing after 9m46s
Independent Staging Quality Gate / publish (push) Has been skipped
The early-exit reused the pre-click dossier, so the agent never ran on the common path. Use this-turn decision, log agent vs template outcome, and time out after 8s.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 14:59:15 +08:00
Jesse_ChenandCursor 0aaa0d702e fix(rectification): narrate exhausted-probe adopt instead of keep-collecting
Independent Staging Quality Gate / validate (push) Successful in 10m33s
Independent Staging Quality Gate / publish (push) Successful in 1m55s
When leftover probes cannot split adjacent minutes, skip frameless follow-ups and let a no-tool agent explain the stop. Distinguish-card "no" no longer closes a whole evidence domain.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 14:22:13 +08:00
Jesse_Chen 4ee79210ef fix: restore upstream sync consultation contracts
Independent Staging Quality Gate / validate (push) Successful in 9m48s
Independent Staging Quality Gate / publish (push) Successful in 2m1s
2026-09-04 11:03:59 +08:00
Jesse_Chen 71f63f8a84 docs(tasks): close upstream capability acceptance
Independent Staging Quality Gate / validate (push) Failing after 10m24s
Independent Staging Quality Gate / publish (push) Has been skipped
2026-09-04 04:01:02 +08:00
Jesse_ChenandCursor 734d20590c feat(upstream): wire merged engine fields into chat and reports
Independent Staging Quality Gate / validate (push) Failing after 31m48s
Independent Staging Quality Gate / publish (push) Has been skipped
Consultation and personal reports otherwise ignore the merged friendship table, timing seed, module audit, and Pratyantar windows.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 20:58:47 +08:00
Jesse_ChenandCursor 45d132588f feat(upstream): snapshot a6f47abd, REST VedAstro path, and 116-technique truth layer
Advance the one-way import to git commit a6f47abd with consultation keypath golden, switch official VedAstro comparison to the REST Calculate bridge, and receive the 25 new registry entries behind research_only_blocked.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 17:35:26 +08:00
Jesse_ChenandCursor b6a70aa7df fix(ayanamsa): pin Lahiri on reference sets and add a user setting
Product default stays Raman. Public-case revalidation and fixture dashas now pass --ayanamsa lahiri; profiles store the four selectable values.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 16:33:46 +08:00
Jesse_ChenandCursor 85b14b13ae fix(rectification): close non-converging range offer without an exit
Independent Staging Quality Gate / validate (push) Successful in 11m3s
Independent Staging Quality Gate / publish (push) Successful in 8m48s
When coverage still blocks adopt and no renderable discriminator remains, narrate the numeric range and persist a spoken collect instead of promising a time card that cannot be clicked. Recompute probe information gain on active candidates and drop zero-split probes explicitly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 18:35:16 +08:00
Jesse_ChenandCursor 52477306cc fix(rectification): server-append spoken collect stems after free-text turns
Independent Staging Quality Gate / validate (push) Successful in 10m43s
Independent Staging Quality Gate / publish (push) Successful in 9m8s
Choice path already wrote spokenFollowupForUser into the body; free-text
dropped that stem and only filled empty answers, so a new collect_spoken
focus stayed invisible after “记下了”.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 15:49:20 +08:00
Jesse_ChenandCursor 04b2ccdbe2 feat(rectification): expand dated dasha_boundary probe supply
Independent Staging Quality Gate / validate (push) Successful in 12m41s
Independent Staging Quality Gate / publish (push) Successful in 9m33s
Distinguish-stage reverse-verify questions were exhausting after 1–3
dated probes. Union boundary windows across representative pairs, keep
multiple years per domain, raise the public cap, and allow activation
fallback without relaxing MIN_BOUNDARY_DAYS or scoring.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 11:46:30 +08:00
732642856 23b8b6e5cf chore: harden release checks and sync capability docs 2026-06-21 16:50:46 +08:00
732642856 33fd7e07fa Complete v6.9.14 precision modules 2026-06-13 16:18:37 +08:00
732642856 c4c0eff67a v6.1.12: Chara Dasha KN Rao Benchmark正式通过(95.83%)
PyJHora oracle benchmark 10案例×120字段:
- Sign Sequence: 120/120 = 100.00%
- Duration: 110/120 = 91.67%
- Overall: 230/240 = 95.83% >= 95%  PASS

修复:
- <=0检查顺序对齐PyJHora(先于尊贵调整)
- _PLANET_DIGNITY_KNRAO表(含Rahu/Ketu+set检查+Mercury own sign排除)
- _resolve_chara_dasha_lord()动态宫主判定框架
- bench脚本含Rahu/Ketu行星映射

已知限制: ~4.2%差异来自Aquarius/Scorpio共主动态判定(未来优化)
2026-06-11 13:40:50 +08:00
732642856 066c59bee3 v6.1.11: Solar/Lunar Yogas恢复 + 全量碎片审计
从Git dangling commit f19369c恢复遗失代码:
- scripts/yoga_engine.py: 新增_detect_solar_lunar_yogas()
  - Solar Yogas: Veshi/Voshi/Ubhayachari (太阳第2/12宫判断)
  - Lunar Yogas: Sunapha/Anapha/Durudhura (月亮第2/12宫判断)
- technique_registry: 新增solar_lunar_yogas条目 (covered)

全量碎片审计完成(28个文件 + Git + Desktop + Downloads + auto-generated)
- Brain: 5份P0文件提取待整合
- Git: 7个dangling commits确认 - f19369c代码已恢复,其余自然吸收
- New open-source: 12个项目发现 (vedic-calc/vedic-astro-skills/VedicAstro等)
2026-06-11 11:28:31 +08:00
732642856 55853336b5 v6.1.11 Chara Dasha重写为KN Rao Method
完成P0核心差距修复:彻底重写calc_chara_dasha()和calc_chara_dasha_with_antardasha()

- 旧算法:简化版12-planets_in_sign,仅24.17%匹配PyJHora
- 新算法:完整KN Rao Method
  - 序列:从上升起,第9宫为偶数脚→逆向(对齐PyJHora _dhasa_progression_knrao_method)
  - 时长:基于宫主所在宫位,奇数脚顺数/偶数脚倒数,Exalted+1/Debilitated-1
  - Antardasha:等分12份,序列偏移1位(PyJHora method=2)
- 状态:partial → covered
- 参考PyJHora AGPL算法翻译为MIT独立实现
- 参考jaimini-tropical MIT架构设计
2026-06-10 21:54:52 +08:00
732642856 068a8e2818 v6.1.10: Wire DK and RTN into theme reports 2026-06-08 14:06:13 +08:00
732642856 d2cd5a369f v6.1.9: Add public benchmarks and research roadmap
- Add sanitized Jyotish benchmark suite with fictional/public smoke samples
- Include benchmark scripts and markdown reports while excluding raw JSON/CSV outputs
- Add open-source Jyotish project comparison research
- Add complete technique coverage roadmap
- Add privacy-safe PDF chart validation methodology
- Update SKILL.md and CHANGELOG with v6.1.9 scope and privacy boundaries

Validation:
- py_compile benchmarks/jyotish/scripts/*.py passed
- quality gate passed with 35 pytest tests and golden case
2026-06-08 13:16:42 +08:00
732642856 3b167e28c3 v6.1.8: Improve Nishkapata yoga recall 2026-06-08 10:57:42 +08:00
732642856 ae959f362b docs: align v6.1.7 skill entry and validation report
- Update SKILL.md to reflect five-system Dasa Convergence wording
- Clarify v6.1.7 as D9/D60 YogaContext integration plus Sankha tightening
- Refresh validation_logic_report.json after verification run (F1=95.02, FP=36, FN=67)
2026-06-08 10:30:02 +08:00
732642856 3c64e4576f v6.1.7: Push Yoga validation F1 above 95 percent
- Inject D9/D60/Panchanga context into yoga and full-reading flows
- Add --context-json support for explicit YogaContext payloads
- Tighten Sankha Yoga movable-sign branch to require distinct L1/L10 lords
- Regenerate validation_logic_report: FP 36, FN 67, F1 95.02%
2026-06-08 10:27:57 +08:00
732642856 57e426515d v6.1.6: Add five-system dasha convergence 2026-06-07 20:16:47 +08:00
732642856 0003d0be88 Release v6.0.44 fix JD timezone bug in reference data
- Fix: _compute_one_chart.py JD calculation used PyJHora's
  gregorian_to_jd() which ALWAYS returns noon JD regardless of time.
  Changed to swe.julday() with correct UTC hour.
- Impact: All 60 test charts with non-noon birth times had wrong
  ascendants and house assignments (e.g. Einstein went from
  Scorpio Asc -> Gemini Asc, matching Swiss Ephemeris)
- Cross-validated: Swiss Ephemeris (industry gold standard) and
  xalen-ephemeris (Rust, 5M chart oracle test)
- New baseline: F1=93.50% (Precision=93.82%, Recall=93.18%)
- Regenerated: standard_test_charts.json, planet_positions_60.json,
  validation_logic_report.json
- Quality gate: compile/json/audit/BPHS/pytest/golden all passed
2026-06-06 14:43:11 +08:00
732642856 26835f80b8 Release v6.0.43 Yoga F1 93.76%
- Fix 3 PyJHora source bugs (kalaanidhi Yoga JUPITER_ID->VENUS_ID x2,
  krisanga Yoga missing return)
- Implement planet_in_house_with_aspect_or_conjunction semantic condition
- Fix lagna_lord_in_dry_sign: dry_signs set correction (Capricorn->Taurus),
  add ll_owner_dry check using dynamic co-lord resolution
- Regenerate reference data against fixed PyJHora
- F1 93.28% -> 93.76% (FN 96->86, FP 44 unchanged)
2026-06-06 09:58:28 +08:00
732642856 0d582dbaa3 Release v6.0.42 Yoga source parity 2026-06-06 00:28:17 +08:00
732642856 86e7d03c4a Release v6.0.41 Yoga source parity 2026-06-05 23:20:53 +08:00
732642856 ede8b96d2c Release v6.0.40 Yoga source parity 2026-06-05 22:37:25 +08:00
732642856 94be318d56 Release v6.0.39 Yoga source parity 2026-06-05 22:03:06 +08:00
732642856 58fc615b16 fix: align yoga source rules 2026-06-05 20:31:14 +08:00
732642856 975f00f5f2 fix: improve context-aware yoga precision 2026-06-05 18:00:00 +08:00
732642856 93610326fe feat: add yoga context validation fixtures 2026-06-05 17:16:23 +08:00
732642856 4b840b5c2a fix: tighten yoga precision pass 2026-06-05 16:39:05 +08:00
732642856 44221191f6 fix: align high-impact yoga logic 2026-06-05 16:17:38 +08:00
732642856 625deb4007 chore: add engineering quality gate 2026-06-05 15:58:06 +08:00
732642856 8da45c56b3 feat: add yoga logic validation and varga fixes 2026-06-05 14:30:20 +08:00
732642856 ad69744617 docs: update validation report & CHANGELOG with Yoga expansion results
- validation-einstein-2026-06-04.md: update Yoga section (15→24 detected)
- CHANGELOG.md: add Yoga expansion details to v6.0.25 section
- List all 4 categories (A-D) with specific Yoga names
2026-06-04 17:03:22 +08:00
732642856 00bce757eb chore: bump version to v6.0.25, update validation report & CHANGELOG
- SKILL.md: v6.0.24-mcp-server -> v6.0.25-bugfix
- technique_registry.json: v6.0.24-mcp-server -> v6.0.25-bugfix
- CHANGELOG.md: add v6.0.25 section with 4 bug fixes
- benchmark/validation-einstein-2026-06-04.md: update with post-fix results
  (ascendant 16.67°, Dasha Moon Maha/Jupiter Antar,
   15 yogas detected, Nakshatra Jyeshtha Pada 2)
2026-06-04 16:46:55 +08:00
732642856 fc26dbcd09 v6.0.24 MCP Server + registry warnings cleanup
## v6.0.24-mcp-server(2026-06-05)

### New Features
- Add mcp_server.py (v1.0): Full MCP Server with 12 tools + 3 resources
  - Tools: calculate_chart, calculate_dasha, calculate_shadbala,
           calculate_ashtakavarga, calculate_varga, calculate_varga_full,
           analyze_nakshatra, calculate_yogas, calculate_transit,
           full_reading, get_audit_status, strict_workflow
  - Resources: jyotish://technique-registry, jyotish://quick-reference,
                jyotish://competitive-analysis
  - All tools wrap CLI via subprocess (no engine code modification)
  - Graceful degradation when Swiss Ephemeris unavailable

### Registry Cleanup (P0)
- Add limitation fields to all 14 partial techniques
- Fix 7 knowledge_refs paths (add missing references/ prefix)
- Create 2 placeholder reference files:
  - references/bphs-ch48-narayana-dasha.md
  - references/muhurta-complete-guide.md
- audit_capabilities.py --mode validate: valid=true, problem_count=0, warning_count=0

### Documentation
- Rewrite README.md as professional English documentation
- Add competitive comparison table (vs PyJHora/VedAstro/Maitreya)
- Add honest self-assessment (Traditional Algo Accuracy 7.3/10 etc.)
- Add Quick Start with 5-minute full-reading example
- Add Technique Coverage table (44 techniques with status)
- Add Development Rules and Contributing guidelines

### Files Changed
- CHANGELOG.md: Add v6.0.24 release notes
- references/technique_registry.json: version v6.0.24-mcp-server
- references/competitive-analysis-2026-06-05.md: New file
- README.md: Complete rewrite
- mcp_server.py: New file (MCP Server implementation)
- references/bphs-ch48-narayana-dasha.md: New placeholder
- references/muhurta-complete-guide.md: New placeholder

### Verification
- py_compile: ALL OK (mcp_server.py + all scripts/*.py)
- audit_capabilities.py --mode validate: 0 problems, 0 warnings
- full-reading regression: modules_computed=45, errors=0, status=complete
- MCP Server test: initialize OK, 12 tools registered, capabilities OK
2026-06-04 14:08:39 +08:00
732642856 28f6292a9a Fix full reading regression modules 2026-06-04 12:32:45 +08:00