Files
Jyotisha/scripts/reader_appendix_language.rules.json
T
jesse-uxandClaude Code a12f2c0d26
Independent Staging Quality Gate / validate (push) Failing after 11m4s
Independent Staging Quality Gate / publish (push) Skipped
fix(report): make density facts readable and printable
Unify reader cleanup rules, lock writer table guards, and register the exact fictional timestamp collision. Preserve existing ordinary-report safety contracts and source-data gaps.

Validation: report Node 165/165, final safety 29/29, Python 101/101, Chrome 28/28; both PDFs retain all 130 rows. Full Node 3704 tests with the same 91 baseline failures. Privacy test: 62 passed, 1 failed due to 17 protected-file READ_ERRORs; not a green gate. Build, DB, manual checklist and controlled-login gaps remain documented. User explicitly authorized staging push with these gaps disclosed.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-23 15:26:25 +08:00

47 lines
1.9 KiB
JSON

{
"chartFencePattern": "(^[ \\t]*```jyotish-chart[^\\n]*\\n[\\s\\S]*?^[ \\t]*```[^\\n]*(?:\\n|$))",
"rules": [
{
"pattern": "\\b(parameter_sensitive|pyjhora_behavior_only|not_multiengine_parity|unresolved_external_tuple_boundary|partial_verified|raw_appendix_only|missing_in_local|internal_reference_omitted)\\b",
"labels": {
"parameter_sensitive": "参数敏感",
"pyjhora_behavior_only": "仅单一外部参照,未做多引擎核对",
"not_multiengine_parity": "仅单一外部参照,未做多引擎核对",
"unresolved_external_tuple_boundary": "外部边界未对齐",
"partial_verified": "部分核验",
"raw_appendix_only": "仅原始附录可见",
"missing_in_local": "本地暂无",
"internal_reference_omitted": "内部参照已省略"
},
"labelGroup": 0
},
{
"pattern": "\\b(?:jyotish_engine\\.)?(?:cmd_[a-z0-9_]+|render_pl9_markdown|build_professional_report_reference_packet)\\b",
"replacement": "本地计算"
},
{
"pattern": "\\b(?:[a-z0-9_]+pl9[a-z0-9_]*|pl9_[a-z0-9_]+)(?:\\.v\\d+)?\\b",
"ignoreCase": true,
"replacement": "外部参照资料"
},
{
"pattern": "\\bPL9\\b(?:\\.pdf)?(?:[ \\t]*(?:第[ \\t]*\\d+(?:[ \\t]*[–—/-][ \\t]*\\d+)*[ \\t]*页|(?:pages?|p)[ \\t-]*\\d+(?:[ \\t]*[–—/-][ \\t]*\\d+)*))?",
"ignoreCase": true,
"replacement": "外部参照资料"
},
{
"pattern": "\\b(?:PyJHora|JHora)\\b",
"ignoreCase": true,
"replacement": "外部参照引擎"
},
{
"pattern": "\\|([ \\t]*)(`?)(blocked|executed|available|computed)\\2([ \\t]*)(?=\\|)",
"labels": { "blocked": "暂不可用", "executed": "已执行", "available": "可用", "computed": "已计算" },
"labelGroup": 3,
"prefix": "|",
"beforeGroups": [1, 2],
"afterGroups": [2, 4]
}
]
}