feat(v0.5): expand Tibetan + Theravāda each from 1 → 3 masters (15 total)

Second cross-tradition expansion. v0.4 introduced Milarepa + Ajahn
Chah; this release adds the major foundational figures of each
non-Chinese tradition that were missing.

藏传 (Tibetan): now 3 — Atiśa, Tsongkhapa, Milarepa
南传 (Theravāda): now 3 — Buddhaghosa, Mahasi Sayadaw, Ajahn Chah
汉传 (Chinese): unchanged at 8

New masters
-----------
* prebuilt/atisha/ — Atiśa Dīpaṃkara (982-1054). 噶当派 founder,
  Indo-Tibetan bridge. Sources: Toh 4465 Bodhipathapradīpa + Toh
  3948 self-commentary + 噶当口耳传承 Pha chos / Bu chos. Coverage:
  three scopes, bodhicitta (七因果 + 自他相换 from Suvarṇadvīpa
  Dharmakīrti), 戒律严持, 噶当六论, 依止善知识. HARD-GATE:
  NO_ESOTERIC_INSTRUCTION + NO_ANACHRONISTIC_ATTRIBUTION (don't
  project later Gelug analytical Madhyamaka onto Atiśa's era).

* prebuilt/tsongkhapa/ — Tsongkhapa Lobsang Drakpa (1357-1419).
  Gelug founder, basis of Dalai Lama / Panchen Lama lineages.
  Sources: 宗喀巴全集 gsung 'bum (BDRC searchable) — Lam rim chen
  mo, sNgags rim chen mo, Drang nges legs bshad snying po, 入中论
  善显密意疏, 三主要道. Coverage: 三主要道 (出离心 / 菩提心 / 清净
  见), lamrim, 应成中观, 三聚戒, 闻思修, 五部大论. HARD-GATE:
  NO_ESOTERIC_INSTRUCTION + NO_CROSS_SCHOOL_CONTAMINATION (don't
  blend Dzogchen / Mahāmudrā into Gelug positions) +
  NO_UNVERIFIED_BDRC_W_NUMBERS (descriptive guidance instead of
  fabricated W-IDs; lessons-learned from v0.4 fixup).

* prebuilt/buddhaghosa/ — Buddhaghosa (5th century). 上座部
  commentarial summit. Sources: PTS Vism + four Nikāya aṭṭhakathā
  + Samantapāsādikā (Vinaya) + Atthasālinī (Abhidhamma). Coverage:
  戒定慧三学, 四十种业处, 七清净十六观智, 缘起十二支 (three-life-
  two-causations interpretation), 阿毗达摩 paramattha vs paññatti,
  六义诠释 commentarial method. HARD-GATE:
  NO_MAHAYANA_CONTAMINATION + NO_MAHAVIHARA_PRIMACY_OVERSTATEMENT.

* prebuilt/mahasi-sayadaw/ — Mahāsi Sayādaw U Sobhana (1904-1982).
  Burmese Vipassanā tradition / Mahasi Method. Sources: Manual of
  Insight (Wisdom Publications 2016) + Progress of Insight (BPS
  Sri Lanka Wheel No. 280) + Practical Vipassanā Meditation
  Exercises (Mahasi Sasana Yeiktha) + SC + PTS Vism. Coverage:
  标记法 Noting Method, 腹部起伏 rising-falling primary object,
  七清净十六观智 progress, khaṇika-samādhi & vipassanā-jhāna,
  '初果可证' ethos, MN 10 Satipaṭṭhāna foundation. HARD-GATE:
  NO_FABRICATED_QUOTES + **NO_ATTAINMENT_JUDGMENT** (the strictest
  guardrail in this release — Mahasi's stages-of-insight framework
  is famous for inducing self-attainment delusions; AI is forbidden
  from confirming any individual's observed jhāna stage / fruition).

Each master ships the standard v0.3 progressive-disclosure shape:
SKILL.md (decision tree + HARD-GATE + Quick Reference) + meta.json +
references/{voice,teaching}.md + sources/INDEX.md + ≥1 excerpts file
+ tests/fidelity.jsonl with 12-13 cases each.

ETHICS updates
--------------
* Tier A grows from 9 → 12: Atiśa (>970yr), Tsongkhapa (>600yr),
  Buddhaghosa (>1500yr) all join based on age + open-canon sourcing.
* Tier B 特例 grows from 1 → 2: Mahasi Sayadaw codified under same
  Forest-Sangha-style rationale as Ajahn Chah, with explicit
  NO_ATTAINMENT_JUDGMENT addendum specific to his lineage's risks.
* Sectarian-judgment policy explicit extension: covers Theravāda
  intra-tradition meditation lineages (Mahasi vs Pa-Auk vs Goenka
  vs Thai Forest) — no superiority claims permitted.

compare-masters meta-skill
--------------------------
prebuilt/compare/SKILL.md updated:
* 可用祖师 table now lists all 15 masters by tradition.
* Topic mapping fallback table extended with rows pairing the new
  masters: 中观 (kumarajiva + tsongkhapa), 道次第 (atisha +
  tsongkhapa), 心识 (xuanzang + buddhaghosa + huineng), 戒律
  (xuyun + atisha + buddhaghosa), 禅修方法 (buddhaghosa + mahasi
  + ajahn-chah), 七清净 (buddhaghosa + mahasi), 论师风格 (xuanzang
  + tsongkhapa + buddhaghosa), 三大传统对比 (huineng + tsongkhapa
  + buddhaghosa).
* New cross-tradition guardrails: don't blend traditions (don't
  project Gelug positions onto Atiśa's era; don't put Mahāmudrā
  into Gelug; don't put Tathāgatagarbha into Theravāda).

Surface bumps
-------------
* All 4 plugin manifests + package.json + gemini-extension.json
  bumped 0.4.0 → 0.5.0 with description updated to "15 prebuilt
  masters".
* SKILL.md (project-level) preset list expanded to 8/3/3.
* README.md + README_EN.md: situational guidance table extended
  with cross-tradition rows for the 4 new entries; new master cards
  added with provenance notes; v0.5 release banner appended above
  v0.4 banner.

Validation
----------
* python scripts/validate.py --strict   →  15 masters pass
* python scripts/validate-fidelity.py   →  all valid
* python scripts/test-fidelity.py --all --dry-run  → 
* pytest tests/                          →  31 passed, 6 skipped

Notes
-----
* fojin_text_ids=[] for new masters — FoJin DB still hasn't imported
  BDRC Tibetan canon nor PTS Vism / SuttaCentral Pali full text;
  RAG falls back to the global corpus and each prompt explicitly
  notes this.
* The two Tibetan masters intentionally use descriptive BDRC
  guidance ("BDRC: 见宗喀巴 gsung 'bum") rather than fabricated
  W-numbers, applying lessons learned from the v0.4 fixup where
  W29193 was mistakenly assigned to two different works in early
  drafts. Toh (Tohoku) numbers are kept where they're well-attested
  in 藏学界 (Toh 4465 for Bodhipathapradīpa).
* CompanionPRs in xr843/fojin (#507 + #508) already synchronized
  the chat-mode subset of these 6 cross-tradition masters; v0.5 of
  this repo brings the Master-skill side to parity.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
xianren
2026-05-02 18:35:38 +08:00
parent 75a31a9be8
commit 9b2039e12a
40 changed files with 3334 additions and 36 deletions
+23 -9
View File
@@ -37,13 +37,21 @@ verified_at: 2026-04-06
| 判教 / 圆融 / 止观 | zhiyi + fazang | 天台 vs 华严 |
| 修行次第 / 综合法门 | ouyi + yinguang | 综合 vs 专修 |
| 戒律 / 行持 / 日常 | xuyun + yinguang + ajahn-chah | 禅门戒律 vs 净土行持 vs 上座部律仪 |
| 般若 / 空性 | kumarajiva + huineng + milarepa | 中观 · 禅宗直指 · 大手印明空 |
| 心识 / 阿赖耶 | xuanzang + huineng | 唯识分析 vs 禅宗直指 |
| 般若 / 空性 | kumarajiva + tsongkhapa + huineng | 早期中观译师 · 应成中观精确分判 · 禅宗直指 |
| 中观 / 缘起性空 / 应成 | kumarajiva + tsongkhapa | 印度中观东渡 vs 藏地后期精确化 |
| 道次第 / 三士道 / lam rim | atisha + tsongkhapa | 印藏桥梁源头 vs 格鲁派系统化 |
| 心识 / 阿赖耶 / 心所 | xuanzang + buddhaghosa + huineng | 唯识 vs 上座部阿毗达摩 vs 禅宗直指 |
| 戒律 / 持戒 / 律仪 | xuyun + atisha + buddhaghosa | 汉传禅门律 vs 印藏菩萨律 vs 上座部律藏注释 |
| 苦行 / 闭关 / 山中修行 | xuyun + milarepa | 汉传禅门头陀 vs 藏传瑜伽士传统 |
| 正念 / 观心 / 觉知 | huineng + ajahn-chah + xuyun | 禅宗自性 vs 南传 sati vs 参话头 |
| 出离心 / 暇满 / 无常 | yinguang + milarepa + ajahn-chah | 净土 · 噶举 · 上座部三大传统对比 |
| 上师 / 善知识 / 依止 | xuyun + milarepa | 汉传亲近善知识 vs 藏传上师瑜伽 |
| 三大传统对比(明确要求) | huineng + milarepa + ajahn-chah | · 大手印 · 森林禅,最经典三方对照 |
| 正念 / 观心 / 觉知 | huineng + ajahn-chah + mahasi-sayadaw | 禅宗自性 vs 南传 sati 朴素 vs 缅甸标记法 |
| 禅修方法 / 业处 / 所缘 | buddhaghosa + mahasi-sayadaw + ajahn-chah | 论藏四十种业处 vs 标记法腹部起伏 vs 朴素观心 |
| 七清净 / 十六观智 / 道次第 | buddhaghosa + mahasi-sayadaw | 《清净道论》原典 vs 现代缅甸应用 |
| 出离心 / 暇满 / 无常 | yinguang + atisha + ajahn-chah | 净土 · 噶当 · 上座部三大传统出离观对比 |
| 菩提心 / 慈悲 | atisha + ouyi | 印藏自他相换 vs 跨宗派融通 |
| 上师 / 善知识 / 依止 | xuyun + atisha + tsongkhapa | 汉传善知识 vs 噶当依止论 vs 格鲁视师如佛 |
| 论师风格 / 经院严密 | xuanzang + tsongkhapa + buddhaghosa | 唯识 · 应成中观 · 上座部三大论师传统 |
| 三大传统对比(明确要求) | huineng + tsongkhapa + buddhaghosa | 禅 · 应成中观 · 上座部论藏,三方系统对照 |
| 三大传统禅修对比 | huineng + milarepa + ajahn-chah | 禅 · 大手印 · 森林禅,三大传统禅修法 |
| 其他 | kumarajiva + yinguang | 中观 + 净土两大传统 |
## 工作流程
@@ -228,7 +236,7 @@ verified_at: 2026-04-06
5. **首轮身份中立**:同各 master skill 的规则
6. **回答末尾**附:"如需深入学习,可在 FoJin (fojin.app) 查阅原典。"
## 可用祖师(10 位 · 三大传统)
## 可用祖师(15 位 · 三大传统)
### 汉传
@@ -247,20 +255,26 @@ verified_at: 2026-04-06
| slug | 名称 | 传承 |
|------|------|------|
| atisha | 阿底峡尊者 | 噶当派(三士道 / 印藏桥梁) |
| tsongkhapa | 宗喀巴大师 | 格鲁派(三主要道 / 应成中观) |
| milarepa | 米拉日巴尊者 | 噶举派(大手印 / 那洛六法) |
### 南传
| slug | 名称 | 传承 |
|------|------|------|
| buddhaghosa | 觉音尊者 | 上座部论师(《清净道论》/ 大寺派) |
| mahasi-sayadaw | 马哈希尊者 | 缅甸内观(标记法 / Mahasi Method |
| ajahn-chah | 阿姜查 | 上座部(泰国森林禅林派) |
## 跨传统对比注意事项
- 跨传统对比时,**先建立共同语境再展示差异**("三大传统都强调无常/苦/苦的止息,而具体进路不同……"),避免营造对立感
- 不在跨传统对比中论"哪个传承更究竟"——三大传统皆是佛陀正法的不同面向
- 涉及密法时(藏传一侧),仅介绍义理,不传授具体步骤;这是 milarepa skill 自身 HARD-GATE 的延伸
- 涉及 Ajahn Chah 引述时,必须可追溯至公开开示集(Food for the Heart / A Still Forest Pool / Living Dhamma),不可自行编造对话
- 涉及密法时(藏传 atisha / tsongkhapa / milarepa 一侧),仅介绍义理,不传授具体步骤;这是各自 skill HARD-GATE 的延伸
- 涉及阿姜查与马哈希尊者引述时,必须可追溯至公开开示集(Forest Sangha / BPS Sri Lanka / Wisdom Publications / Mahasi Sasana Yeiktha),不可自行编造对话
- 涉及禅修印证时(特别是马哈希内观法的十六观智阶位),**AI 不得对个体作证果判定**——这是 mahasi-sayadaw skill 最严肃的 guardrail
- 不混入跨传统观点为他派立场(如把如来藏 / 唯识 / 净土归于上座部;把大圆满 / 大手印归于格鲁;把应成派精确分判归于阿底峡时代)
## 禁忌