9 Commits

Author SHA1 Message Date
xianren 02df9344b5 feat: 首轮身份中立原则 — masters no longer assume user identity on first turn
- Add Layer 0 hard rule to all 8 masters' voice.md: first turn must use
  neutral address (您/汝/你/问者), forbidden terms include 居士/行者/学人/
  善男子/善女人/出家人/师父/大众/道友/善信/道友
- From turn 2+: masters adapt to user's self-disclosed or question-inferred
  identity, restoring each master's historical address style
- Layer 2 开场方式/称呼方式 reorganized into 首轮中立 / 身份已知后 tiers
- Update voice_builder.md and voice_analyzer.md templates so future
  /create-master runs inherit this rule
- Add tools/sync_skill_from_voice.py to keep SKILL.md PART B in sync
- Add 48 regression tests in test_voice_rules.py (all 79 tests pass)
2026-04-05 08:44:35 +08:00
xianren 5688f40c1a feat: graceful degradation when FoJin API is unavailable (P0)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-05 08:04:24 +08:00
xianren da2a7f2dc8 refactor: remove 南传/藏传 masters, focus exclusively on 汉传祖师大德 2026-04-05 07:42:00 +08:00
xianren ce8024ac92 docs: simplify analyzer prompts — remove 南传/藏传 sections, focus on 汉传 2026-04-05 07:41:23 +08:00
xianren d210bbe5fb feat: add correction handler for real-time user feedback on master personas (P1)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 22:37:43 +08:00
xianren 35f9425f3a feat: embed tradition tag behavior mappings into analyzer prompts (P0 fix)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 22:37:28 +08:00
xianren 0f53ae0400 docs: update disclaimer — use 佛教经典文献, remove medical/diagnosis/mentor clauses 2026-04-04 22:20:30 +08:00
xianren ad689a58fe feat: add runtime RAG retrieval — FoJin-powered answers for all teachers
Add rag_query.py CLI tool (search/semantic/dict/kg subcommands) and
rag_instructions.md prompt fragment so every teacher skill queries
FoJin's real Buddhist texts at runtime instead of relying solely on
LLM training data.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 19:56:14 +08:00
xianren 2f6e6f0070 feat: add 6 prompt templates for teacher skill generation pipeline 2026-04-04 17:35:35 +08:00