Files
Jyotisha/docs/architecture/professional_report_reference_contract_v1.md
T
ClaudeandClaude Opus 5.5 6a57faacdb feat(consult): run the astrologer's upstream skill in full (BUG-1696, BUG-1697, BUG-1698)
- root SKILL.md is her upstream file (body byte-identical to the 5fb8379c mirror; description quoted so YAML parses and Mastra can load the skill)
- chat binds the whole SKILL.md plus references/product_runtime_contract.md (safety-only) instead of a ~477-character excerpt
- every turn carries her full strict-workflow-router (synced to upstream) and the domain's event-judgment file; product lists follow as an extra layer
- import her 10 sub-skills, family router, interpretation status contract, technique ontology and the 54 files her method names
- tests/test_upstream_skill_parity.py (in the quick gate) fails whenever her skill and ours drift
- 18 frontend guards that locked the excerpt design updated with 原值/新值/原因 notes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-07 14:02:26 +08:00

1.5 KiB

Professional Report Reference Contract v1

Name

PL9 is a legacy internal shorthand. Product, handoff, and contributor-facing docs should describe it as:

  • professional_report_reference
  • PL9_reference_report when the legacy code path must remain visible

Product Meaning

The professional report reference is a quality benchmark for a long Jyotish personal report. It defines expected coverage, evidence labels, source-pointer discipline, and report density. It is not a promise that the local engine has copied, reproduced, or verified every private reference-report calculation.

Runtime Boundary

Keep existing code identifiers such as pl9-export, render_pl9_markdown, and pl9_* modules until a migration can be done without breaking API callers. Every new public document should include the clearer product term first and the legacy PL9 alias second.

Fast Test Boundary

Default contributor checks should prefer packet-level and renderer-level tests:

python3 -m pytest -q tests/test_pl9_markdown_envelope_rendering.py tests/test_report_language_export_visibility.py

Full CLI export tests remain useful as slow validation, but they should not be the only gate for small renderer, terminology, or privacy changes.

Privacy Boundary

Reference-report evidence may store page ranges, hashes, source pointers, field-level comparisons, and derived status labels. It must not commit private reference-report prose, raw proprietary text, private user birth data, or full report payloads intended only for local review.