feat(report): ship full-mode longform appendix beside the five-chapter report
Independent Staging Quality Gate / validate (push) Failing after 9m41s
Independent Staging Quality Gate / publish (push) Has been skipped

Web export now calls the same full pack as the long skill report and caches an owner-only Markdown download. Appendix failure stays unavailable and does not change the main report status.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jesse_Chen
2026-09-05 11:10:44 +08:00
co-authored by Cursor
parent 18a5a48843
commit bab0718700
42 changed files with 6289 additions and 88 deletions
@@ -21,6 +21,7 @@ from scripts.jyotish_engine import (
)
from scripts.professional_report_reference import (
ProfessionalReportReferenceInputError,
_export_args,
build_professional_report_reference,
)
@@ -96,6 +97,16 @@ def test_json_and_markdown_reuse_one_full_reading_and_normalize_packs() -> None:
assert engine.calls[-1][2] == ["full"]
def test_export_args_fill_today_target_year_and_age_for_full_mode() -> None:
args = _export_args({**BIRTH, "today": None})
assert args.today
assert args.target_year == int(str(args.today)[:4])
assert args.age == args.target_year - 1990
explicit = _export_args({**BIRTH, "today": "2026-09-05", "age": 36})
assert explicit.target_year == 2026
assert explicit.age == 36
def test_public_markdown_sanitizer_removes_renderer_authored_internal_references() -> None:
unsafe = (
"| audit | `raw_full_reading.modules.private_engine` |\n"