{
  "id": "tanyuan_named_rules_v7",
  "version": "2026-11-17-v7.1-fanyin-scope",
  "source": {
    "title": "大六壬探原",
    "scanId": "NLC416-12jh003129-43598",
    "pdfPath": "../原典核查_v5/大六壬探原_NLC416-12jh003129-43598.pdf",
    "sha256": "E8E6E0D5CE10C5D5D68282E5FD38A0B0317A8863C381E341B4A926575E86A59D",
    "pageNumbering": "本地PDF内部页码；不等同纸本页码",
    "publicationDate": "未核；目录元数据不作定刊年证据"
  },
  "purpose": "把可执行规则、底本直载、课例推导和待决口径分开记录；非生产默认规则集",
  "rules": [
    {
      "id": "shehai_start",
      "name": "涉害起点计数",
      "pdfPages": [
        27,
        28,
        29,
        34
      ],
      "formalization": "沿计数路径将起始地支计入；720课表对照为720/720，不含起点为714/720",
      "evidenceType": [
        "规则段落",
        "worked_examples",
        "table_comparison"
      ],
      "status": "supported_for_this_scan_and_transcription",
      "limitations": [
        "720表尚未由第二人盲校全部格",
        "不能据程序吻合推出唯一古法"
      ]
    },
    {
      "id": "shehai_direction",
      "name": "涉害计数方向",
      "pdfPages": [
        27,
        28,
        29,
        34
      ],
      "formalization": "候选上神为主体；下贼按沿途克候选者计，上克按候选所克沿途者计",
      "evidenceType": [
        "worked_examples",
        "formalized_interpretation"
      ],
      "status": "supported_with_wording_caveat",
      "limitations": [
        "总则‘我’的主体指代未解决",
        "释文编辑标记不可伪装为原文"
      ]
    },
    {
      "id": "shehai_home_endpoint",
      "name": "涉害本家端点",
      "pdfPages": [
        27,
        28,
        29,
        34
      ],
      "alternatives": [
        "exclude_home_actors",
        "include_home_actors"
      ],
      "tableComparison": "两者计入起点时均匹配720/720三传；10个组合内部计数不同",
      "status": "unresolved",
      "productionDefault": null
    },
    {
      "id": "shehai_tie_rank",
      "name": "涉害深度、地盘孟仲与复等",
      "pdfPages": [
        27,
        29,
        30,
        33,
        34,
        35
      ],
      "formalization": "取涉害深者；同深按所临地盘孟优先、仲次。当前具名复等例：戊辰干上子、戊辰干上亥、戊戌干上亥",
      "status": "supported_only_for_named_examples",
      "fallbackForOtherTies": "unresolved_no_implicit_fallback"
    },
    {
      "id": "bieze_yin_day",
      "name": "阴日别责初传",
      "pdfPages": [
        38,
        39
      ],
      "printPages": [
        20,
        21
      ],
      "sourcePhrase": "取日枝前三合为初传",
      "workedExamples": [
        "子日越丑寅卯取辰",
        "辰日越巳午未取申",
        "申日同例",
        "亥日越子丑寅取卯",
        "卯日越辰巳午取未"
      ],
      "formalization": "顺行越过日支之后三支，取第四支，即下一三合支；例如子+4=辰；中末均取干上神",
      "explicitDisambiguation": "PDF p.39/print p.21 defines 天上 as the branch on the heavenly plate and explicitly rejects the reading that yin-day first transmission uses the heavenly-plate upper deity of the trine branch; take the trine branch itself.",
      "pageImageSha256": {
        "38": "9550E24A7D3F1E1828CDCF18B5A75BB5F4E80617559A3E88D480FE628C47B827",
        "39": "23F16709C9762ABF684463FEF5F7A6F433267D91E0317FDFA2CAA582F29CA033"
      },
      "implementationReference": "engine/原典核查_v6/tanyuan-research-v7.mjs: move(zhi,4)",
      "status": "source_examples_support_formalization",
      "limitations": [
        "‘前三合’离开例文易误读",
        "未完成跨版本/跨注本异说对校"
      ]
    },
    {
      "id": "noble_selected_hour_branch",
      "name": "贵人按所取占时支选昼贵/夜贵",
      "pdfPages": [
        19,
        65,
        66,
        67,
        68
      ],
      "sourceEvidence": "PDF19定义占时并列口报、签置桶中抽取、雷击枣木等取时方法；PDF65-68昼夜贵人歌例和课例按占时支运用",
      "formalization": "显式记录selectedHourBranch与timeAcquisition；所取支用于本研究昼夜贵选择，实际墙钟支和观察昼夜另记，不隐式覆盖",
      "status": "supported_as_tanyuan_profile",
      "productionDefault": null,
      "limitations": [
        "非普遍唯一贵人法",
        "未见此处规定太阳日出日落计算",
        "其他传统需保留为独立profile",
        "六壬眎斯异说按实际占课昼夜，与《探原》按所取时支规则冲突；不得统一"
      ],
      "crossSourceAudit": "evidence/noble-day-night-cross-source-audit-v1.md/.json",
      "currentDefault": "tanyuan_selected_branch; project baseline only; not a universal consensus",
      "namedVariant": {
        "profile": "shisi_actual_daynight",
        "source": "六壬眎斯 PDF p.17 / printed p.5",
        "rule": "actual occupation daylight/night selects yang/yin noble, even when selected branch belongs to opposite branch group",
        "boundary": "日暮 cited but exact transition not specified",
        "status": "preserve separately; not implemented; second reader pending"
      }
    },
    {
      "id": "fanyin_no_direct_ke_six_day_scope",
      "name": "返吟无直接贼克六日分支",
      "pdfPages": [
        41,
        42,
        43
      ],
      "sourcePhrase": "若辛未、辛丑、丁丑、己丑四日，遇此课而无贼克者，得以驿马为用……外有丁未、己未二日，俱以巳为初传，中末传皆用干上神者，以属八专故也。歌诀云：若知六日该无克，丑未同干丁己辛。",
      "namedDayGroups": {
        "horse_then_branch_and_stem_upper": [
          "辛未",
          "辛丑",
          "丁丑",
          "己丑"
        ],
        "horse_then_stem_upper_twice_bazhuan": [
          "丁未",
          "己未"
        ]
      },
      "formalization": "返吟盘式且四课无直接贼克时，六日范围由扫描歌诀与具名段落限定；四日初取日支驿马、中取支上、末取干上；丁未、己未另注明八专，初取驿马巳，中末均取干上。未列日不自动套用驿马兜底。",
      "status": "supported_for_scan_wording_and_named_scope; direct_vs_remote_ke_terminology_open",
      "candidateMatrix": {
        "inputRows": 720,
        "daysWithNoDirectKe": 6,
        "noDirectKeRows": 72,
        "unexpectedDays": 0,
        "missingNamedDays": 0
      },
      "implementationReference": "engine/原典核查_v7/tanyuan-research-v7.mjs: fanyin_no_direct_ke_horse / fanyin_bazhuan_no_direct_ke",
      "limitations": [
        "“无贼克”在此段是否包含遥克仍保留术语问题",
        "候选矩阵覆盖是程序执行检查，不是720格原典盲校",
        "复等条款及其他版本的异文另行保留",
        "不推断占断结果"
      ]
    }
  ],
  "crossTable": {
    "sourceFile": "../原典核查_v6/720课表_独立转录-v6.json",
    "sourceSha256": "9DE3EC599B8D2A4E3ACF495730CAAED35BEA44C451A9AC1E1DED1C9FB13383DE",
    "comparisonFile": "../原典核查_v6/720端点比较结果-v6.json",
    "comparisonSha256": "B1ED116E3FFDF629E9FAC165C0238FD0811EDFB771956256E8238C8A8D2D5558",
    "rows": 720,
    "independentHumanBlindReview": false,
    "currentComparison": {
      "includeStart_excludeHome": {
        "matched": 720,
        "mismatches": 0
      },
      "includeStart_includeHome": {
        "matched": 720,
        "mismatches": 0
      },
      "excludeStart_excludeHome": {
        "matched": 714,
        "mismatches": 6
      },
      "excludeStart_includeHome": {
        "matched": 714,
        "mismatches": 6
      }
    }
  },
  "evidenceBoundary": "现有程序与研究转录的可复核比较；非F09独立复算，非古法预测效验，不替代第二校者逐格影像校勘",
  "unresolved": [
    "本家寄干端点是否计数",
    "涉害总则‘我’字主体指代",
    "720格第二位人工盲校",
    "返吟‘无贼克’是否包含遥克的术语范围",
    "阴日别责跨版本/跨注本对校",
    "PDF47伏吟摘要与例/表三传次序冲突",
    "贵人其他传统与实际观测昼夜之关系"
  ]
}
