textbook-grounding
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTextbook Grounding v2.0
教材锚定 v2.0
λ: Query → Tensor Activation → Syntopical Analysis → Grounded Response with Citations
Generate examination-optimized responses grounded in systematic cross-textbook analysis using Hegelian dialectical synthesis with orthogonal tensor integration.
λ:查询 → 张量激活 → 主题分析 → 带引用的锚定回答
利用黑格尔辩证合成与正交张量整合,基于系统跨教材分析生成优化的考试应答内容。
Core Philosophy
核心理念
Syntopical Reading (Mortimer Adler)
主题阅读(Mortimer Adler)
The highest level of reading—comparing multiple authoritative sources on the same topic to synthesize understanding unavailable from any single source.
最高层级的阅读方式——对比同一主题的多个权威来源,合成单一来源无法提供的理解。
Hegelian Dialectic
Hegelian Dialectic(黑格尔辩证法)
"A higher level of understanding and insight could be achieved by creating the two most diametrically opposed viewpoints, the mutual contradiction being reconciled on a higher level of truth." — Model of Dialectical Learning
- Thesis: Each textbook's interpretation/claim
- Antithesis: Contradictions, variations, nuances across sources
- Synthesis: Universal principles emerging from resolved tensions
"通过构建两个完全对立的观点,在更高层次的真理上调和相互矛盾,可实现更高水平的理解与洞察。" — 辩证学习模型
- Thesis(论点):各教材的解读/主张
- Antithesis(反论点):不同来源间的矛盾、差异与细微差别
- Synthesis(合成):从已解决的矛盾中浮现的普适原则
Orthogonal Tensor Integration
正交张量整合
This skill participates in the 5D tensor routing space:
- S dimension: Activates [saq, dialectical, critique, constraints]
- T dimension: Integrates [pdf-search, perplexity, relate]
- L dimension: Leverages [pdf-brain, docling, qmd]
- Cross-dimensional synergy: S×T×L = 0.95
该技能参与5D张量路由空间:
- S维度:激活[saq, dialectical, critique, constraints]
- T维度:整合[pdf-search, perplexity, relate]
- L维度:利用[pdf-brain, docling, qmd]
- 跨维度协同:S×T×L = 0.95
Architecture v2.0
v2.0架构
┌─────────────────────────────────────────────────────────────────────────────┐
│ ORTHOGONAL TEXTBOOK GROUNDING PIPELINE │
├─────────────────────────────────────────────────────────────────────────────┤
│ │
│ Φ0: TENSOR ACTIVATE ───────────────────────────────────────────────────── │
│ └─ Score dimensions, detect synergies, compose execution plan │
│ │
│ Φ1: QUERY DECOMPOSE ───────────────────────────────────────────────────── │
│ └─ Parse topic, domains, complexity; route to skill stack │
│ │
│ Φ2: PARALLEL SEARCH ───────────────────────────────────────────────────── │
│ └─ Multi-query semantic search across pdf-embeddings + web │
│ └─ Execute via T×L synergy: pdf-search × pdf-brain × docling │
│ │
│ Φ3: THESIS EXTRACTION ─────────────────────────────────────────────────── │
│ └─ Extract T_i from each source with page-level citations │
│ └─ Classify: definitional | mechanistic | quantitative | clinical │
│ │
│ Φ4: ANTITHESIS DETECTION ──────────────────────────────────────────────── │
│ └─ Compare thesis pairs for tensions A_ij │
│ └─ Classify: contradiction | refinement | extension | context_dependent│
│ │
│ Φ5: DIALECTICAL SYNTHESIS ─────────────────────────────────────────────── │
│ └─ Invoke dialectical skill for α-β-γ structure │
│ └─ Apply constraints skill for deontic obligations │
│ │
│ Φ6: MULTI-LENS CRITIQUE ───────────────────────────────────────────────── │
│ └─ STRUCTURAL × EVIDENTIAL × SCOPE × ADVERSARIAL × PRAGMATIC │
│ └─ Per-thesis evaluation with aggregate scoring │
│ │
│ Φ7: ABDUCTIVE SYNTHESIS ───────────────────────────────────────────────── │
│ └─ Abduce minimal universal principles S resolving tensions │
│ └─ Validate: ∀T_i. ∃s ∈ S. subsumes(s, T_i) │
│ │
│ Φ8: RESPONSE GENERATION ───────────────────────────────────────────────── │
│ └─ Invoke saq skill for template routing │
│ └─ Apply symbol lexicon, word count constraints │
│ │
│ Φ9: CITATION WEAVING ──────────────────────────────────────────────────── │
│ └─ Systematic footnote generation with page references │
│ └─ Apply deontic constraints: O(cite), O(page), F(uncited) │
│ │
│ Φ10: VALIDATION & QA ──────────────────────────────────────────────────── │
│ └─ Coverage, parsimony, confidence floor checks │
│ └─ Examiner expectation alignment │
│ │
└─────────────────────────────────────────────────────────────────────────────┘┌─────────────────────────────────────────────────────────────────────────────┐
│ ORTHOGONAL TEXTBOOK GROUNDING PIPELINE │
├─────────────────────────────────────────────────────────────────────────────┤
│ │
│ Φ0: TENSOR ACTIVATE ───────────────────────────────────────────────────── │
│ └─ Score dimensions, detect synergies, compose execution plan │
│ │
│ Φ1: QUERY DECOMPOSE ───────────────────────────────────────────────────── │
│ └─ Parse topic, domains, complexity; route to skill stack │
│ │
│ Φ2: PARALLEL SEARCH ───────────────────────────────────────────────────── │
│ └─ Multi-query semantic search across pdf-embeddings + web │
│ └─ Execute via T×L synergy: pdf-search × pdf-brain × docling │
│ │
│ Φ3: THESIS EXTRACTION ─────────────────────────────────────────────────── │
│ └─ Extract T_i from each source with page-level citations │
│ └─ Classify: definitional | mechanistic | quantitative | clinical │
│ │
│ Φ4: ANTITHESIS DETECTION ──────────────────────────────────────────────── │
│ └─ Compare thesis pairs for tensions A_ij │
│ └─ Classify: contradiction | refinement | extension | context_dependent│
│ │
│ Φ5: DIALECTICAL SYNTHESIS ─────────────────────────────────────────────── │
│ └─ Invoke dialectical skill for α-β-γ structure │
│ └─ Apply constraints skill for deontic obligations │
│ │
│ Φ6: MULTI-LENS CRITIQUE ───────────────────────────────────────────────── │
│ └─ STRUCTURAL × EVIDENTIAL × SCOPE × ADVERSARIAL × PRAGMATIC │
│ └─ Per-thesis evaluation with aggregate scoring │
│ │
│ Φ7: ABDUCTIVE SYNTHESIS ───────────────────────────────────────────────── │
│ └─ Abduce minimal universal principles S resolving tensions │
│ └─ Validate: ∀T_i. ∃s ∈ S. subsumes(s, T_i) │
│ │
│ Φ8: RESPONSE GENERATION ───────────────────────────────────────────────── │
│ └─ Invoke saq skill for template routing │
│ └─ Apply symbol lexicon, word count constraints │
│ │
│ Φ9: CITATION WEAVING ──────────────────────────────────────────────────── │
│ └─ Systematic footnote generation with page references │
│ └─ Apply deontic constraints: O(cite), O(page), F(uncited) │
│ │
│ Φ10: VALIDATION & QA ──────────────────────────────────────────────────── │
│ └─ Coverage, parsimony, confidence floor checks │
│ └─ Examiner expectation alignment │
│ │
└─────────────────────────────────────────────────────────────────────────────┘Phase Execution Details
阶段执行细节
Φ0: Tensor Activation
Φ0: 张量激活
When invoked via , this skill receives tensor context:
/myaml
tensor_context:
prompt: "{original_query}"
activated_dimensions:
C: sc:document (0.70)
A: researcher (0.75)
S: textbook-grounding (0.95), saq (0.90), dialectical (0.80), critique (0.75)
T: perplexity (0.65), pdf-search (0.90)
L: pdf-brain (0.90), docling (0.75), qmd (0.70)
synergies:
S×T×L: textbook-grounding × pdf-search × qmd = 0.95
S×S×S: saq × dialectical × critique = 0.90
execution_mode: sequentialSynergy Exploitation:
IF synergy(S×T×L) > 0.9:
activate_parallel_search() # pdf-brain + pdf-search + perplexity
IF synergy(S×S×S) > 0.85:
chain_skill_stack() # dialectical → critique → saq通过调用时,该技能接收张量上下文:
/myaml
tensor_context:
prompt: "{original_query}"
activated_dimensions:
C: sc:document (0.70)
A: researcher (0.75)
S: textbook-grounding (0.95), saq (0.90), dialectical (0.80), critique (0.75)
T: perplexity (0.65), pdf-search (0.90)
L: pdf-brain (0.90), docling (0.75), qmd (0.70)
synergies:
S×T×L: textbook-grounding × pdf-search × qmd = 0.95
S×S×S: saq × dialectical × critique = 0.90
execution_mode: sequential协同效应利用:
IF synergy(S×T×L) > 0.9:
activate_parallel_search() # pdf-brain + pdf-search + perplexity
IF synergy(S×S×S) > 0.85:
chain_skill_stack() # dialectical → critique → saqΦ1: Query Decomposition
Φ1: 查询分解
yaml
inputs:
query: "Describe the pharmacology of propofol with textbook citations"
context: ANZCA_primary | CICM_primary | VIVA | concept | academic
outputs:
topic: "propofol pharmacology"
domains: [pharmacology, anaesthetics, sedation, critical_care]
question_verb: describe
estimated_sources: 8-12
complexity: standard | deep | comprehensive
skill_stack: [textbook-grounding, dialectical, saq, critique]
tool_stack: [pdf-search, pdf-brain, perplexity]
cli_stack: [docling, qmd]Complexity Routing:
IF context = VIVA OR context = comprehensive:
complexity = deep
search_depth = 25
skill_chain = [dialectical, critique, constraints, saq]
ELIF context ∈ {ANZCA_primary, CICM_primary}:
complexity = standard
search_depth = 15
skill_chain = [dialectical, saq]
ELIF context = academic:
complexity = comprehensive
search_depth = 30
skill_chain = [dialectical, critique, deep-research]
ELSE:
complexity = standard
search_depth = 10
skill_chain = [saq]yaml
inputs:
query: "Describe the pharmacology of propofol with textbook citations"
context: ANZCA_primary | CICM_primary | VIVA | concept | academic
outputs:
topic: "propofol pharmacology"
domains: [pharmacology, anaesthetics, sedation, critical_care]
question_verb: describe
estimated_sources: 8-12
complexity: standard | deep | comprehensive
skill_stack: [textbook-grounding, dialectical, saq, critique]
tool_stack: [pdf-search, pdf-brain, perplexity]
cli_stack: [docling, qmd]复杂度路由:
IF context = VIVA OR context = comprehensive:
complexity = deep
search_depth = 25
skill_chain = [dialectical, critique, constraints, saq]
ELIF context ∈ {ANZCA_primary, CICM_primary}:
complexity = standard
search_depth = 15
skill_chain = [dialectical, saq]
ELIF context = academic:
complexity = comprehensive
search_depth = 30
skill_chain = [dialectical, critique, deep-research]
ELSE:
complexity = standard
search_depth = 10
skill_chain = [saq]Φ2: Parallel Search (T×L Synergy)
Φ2: 并行搜索(T×L协同)
Execute multi-query semantic search across sources:
bash
undefined跨源执行多查询语义搜索:
bash
undefinedPrimary searches (parallel via T×L synergy)
Primary searches (parallel via T×L synergy)
pdf-search "{topic} {key_terms}" --limit {search_depth} &
pdf-brain search "{topic}" --semantic --top-k 10 &
docling convert *.pdf --extract-sections "{topic}" &
pdf-search "{topic} {key_terms}" --limit {search_depth} &
pdf-brain search "{topic}" --semantic --top-k 10 &
docling convert *.pdf --extract-sections "{topic}" &
Secondary enrichment (sequential)
Secondary enrichment (sequential)
perplexity search "{topic} latest research 2024 2025"
**Search Strategy Matrix:**
| Query Type | Tool | Purpose | Weight |
|:-----------|:-----|:--------|:-------|
| Core topic | pdf-search | Textbook passages | 0.40 |
| Mechanism | pdf-brain | Mechanistic detail | 0.25 |
| Clinical | perplexity | Current practice | 0.20 |
| Comparison | docling | Cross-source compare | 0.15 |
**Multi-Query Expansion:**Primary: "{topic} {domain_terms}"
Mechanism: "how {topic} works mechanism"
Clinical: "{topic} clinical application"
Comparison: "{topic} vs alternatives"
Exceptions: "{topic} exceptions limitations"
undefinedperplexity search "{topic} latest research 2024 2025"
**搜索策略矩阵:**
| 查询类型 | 工具 | 目的 | 权重 |
|:-----------|:-----|:--------|:-------|
| 核心主题 | pdf-search | 教材段落 | 0.40 |
| 机制解析 | pdf-brain | 机制细节 | 0.25 |
| 临床应用 | perplexity | 当前实践 | 0.20 |
| 跨源对比 | docling | 多源比较 | 0.15 |
**多查询扩展:**Primary: "{topic} {domain_terms}"
Mechanism: "how {topic} works mechanism"
Clinical: "{topic} clinical application"
Comparison: "{topic} vs alternatives"
Exceptions: "{topic} exceptions limitations"
undefinedΦ3: Thesis Extraction
Φ3: 论点提取
For each unique source, extract claims with full provenance:
yaml
thesis:
id: T_01
source: "Middleton B et al. Physics in Anaesthesia. 3rd ed."
page: 115
chapter: "Fluid Dynamics"
claim: "Reynolds number is dimensionless"
claim_type: definitional | mechanistic | quantitative | clinical
confidence: 0.95
context: "The Reynolds number is a dimensionless quantity, i.e. it has no units."
quote: true
extraction_method: pdf-search | manual | perplexity
classification:
definitional:
description: "What something IS"
priority: HIGH
focus: "examine consensus across sources"
mechanistic:
description: "How something WORKS"
priority: HIGH
focus: "examine completeness of explanation"
quantitative:
description: "Numeric values/thresholds"
priority: CRITICAL
focus: "examine variation, cite ranges"
clinical:
description: "Application/relevance"
priority: MEDIUM
focus: "context-dependent, may vary by source"针对每个独特来源,提取带有完整溯源信息的主张:
yaml
thesis:
id: T_01
source: "Middleton B et al. Physics in Anaesthesia. 3rd ed."
page: 115
chapter: "Fluid Dynamics"
claim: "Reynolds number is dimensionless"
claim_type: definitional | mechanistic | quantitative | clinical
confidence: 0.95
context: "The Reynolds number is a dimensionless quantity, i.e. it has no units."
quote: true
extraction_method: pdf-search | manual | perplexity
classification:
definitional:
description: "What something IS"
priority: HIGH
focus: "examine consensus across sources"
mechanistic:
description: "How something WORKS"
priority: HIGH
focus: "examine completeness of explanation"
quantitative:
description: "Numeric values/thresholds"
priority: CRITICAL
focus: "examine variation, cite ranges"
clinical:
description: "Application/relevance"
priority: MEDIUM
focus: "context-dependent, may vary by source"Φ4: Antithesis Detection
Φ4: 反论点检测
Compare all thesis pairs for tensions:
yaml
antithesis:
id: A_01_02
thesis_1: T_01 # "Re < 2000 = laminar"
thesis_2: T_02 # "Re < 1000 = laminar"
tension_type: contradiction | refinement | extension | context_dependent
description: "Threshold for laminar flow varies: 2000 vs 1000"
resolution_candidates:
- "2000 is generally accepted; 1000 is conservative"
- "Context matters: ideal vs physiological conditions"
evidence_weight:
T_01: 0.85 # More sources agree
T_02: 0.70 # Single source
tension_types:
contradiction:
definition: "Mutually exclusive claims"
resolution: "Authority + recency + specificity + consensus"
refinement:
definition: "One claim more precise than other"
resolution: "Accept refined version with acknowledgment"
extension:
definition: "One claim adds to another"
resolution: "Merge with attribution to both"
context_dependent:
definition: "Both true in different contexts"
resolution: "State conditions explicitly"对比所有论点对,识别矛盾:
yaml
antithesis:
id: A_01_02
thesis_1: T_01 # "Re < 2000 = laminar"
thesis_2: T_02 # "Re < 1000 = laminar"
tension_type: contradiction | refinement | extension | context_dependent
description: "Threshold for laminar flow varies: 2000 vs 1000"
resolution_candidates:
- "2000 is generally accepted; 1000 is conservative"
- "Context matters: ideal vs physiological conditions"
evidence_weight:
T_01: 0.85 # More sources agree
T_02: 0.70 # Single source
tension_types:
contradiction:
definition: "Mutually exclusive claims"
resolution: "Authority + recency + specificity + consensus"
refinement:
definition: "One claim more precise than other"
resolution: "Accept refined version with acknowledgment"
extension:
definition: "One claim adds to another"
resolution: "Merge with attribution to both"
context_dependent:
definition: "Both true in different contexts"
resolution: "State conditions explicitly"Φ5: Dialectical Synthesis (S×S Synergy)
Φ5: 辩证合成(S×S协同)
Invoke dialectical skill for structured synthesis:
yaml
dialectical_structure:
α_AGONAL:
purpose: "Establish consensus with paradox awareness"
content: "Synthesized universal principles from majority sources"
citations: [highest_authority_sources]
β_MAIEUTIC:
purpose: "Guide through mechanisms with Socratic clarity"
content: "Resolved tensions with evidence-weighted decisions"
method: "Show reasoning process, not just conclusions"
γ_APOPHATIC:
purpose: "Acknowledge limitations with academic humility"
content: "Noted variations, exceptions, context dependencies"
tone: "Scholarship, not overconfidence"Integration with Constraints Skill:
yaml
deontic_obligations:
O(cite): "All claims MUST have at least one citation"
O(page): "Page numbers OBLIGATORY for all citations"
O(synthesis): "Must produce synthesis, not mere aggregation"
P(multi_cite): "Multiple citations PERMITTED for consensus"
P(quote): "Direct quotes PERMITTED for key definitions"
F(uncited): "Uncited claims are FORBIDDEN"
F(single_source): "Single-source claims FORBIDDEN for consensus"调用dialectical技能进行结构化合成:
yaml
dialectical_structure:
α_AGONAL:
purpose: "Establish consensus with paradox awareness"
content: "Synthesized universal principles from majority sources"
citations: [highest_authority_sources]
β_MAIEUTIC:
purpose: "Guide through mechanisms with Socratic clarity"
content: "Resolved tensions with evidence-weighted decisions"
method: "Show reasoning process, not just conclusions"
γ_APOPHATIC:
purpose: "Acknowledge limitations with academic humility"
content: "Noted variations, exceptions, context dependencies"
tone: "Scholarship, not overconfidence"与Constraints技能的整合:
yaml
deontic_obligations:
O(cite): "All claims MUST have at least one citation"
O(page): "Page numbers OBLIGATORY for all citations"
O(synthesis): "Must produce synthesis, not mere aggregation"
P(multi_cite): "Multiple citations PERMITTED for consensus"
P(quote): "Direct quotes PERMITTED for key definitions"
F(uncited): "Uncited claims are FORBIDDEN"
F(single_source): "Single-source claims FORBIDDEN for consensus"Φ6: Multi-Lens Critique (S Synergy)
Φ6: 多视角批判(S协同)
Apply critique skill's five lenses:
yaml
lenses:
STRUCTURAL:
question: "Are theses logically coherent?"
weight: 0.20
validation: [internal_consistency, logical_flow]
EVIDENTIAL:
question: "What's the evidence quality?"
weight: 0.25
validation: [source_authority, peer_review, recency]
SCOPE:
question: "Do claims overgeneralize?"
weight: 0.20
validation: [boundary_conditions, exceptions_noted]
ADVERSARIAL:
question: "What would examiners challenge?"
weight: 0.20
validation: [anticipate_objections, prepare_defenses]
PRAGMATIC:
question: "Does this work clinically?"
weight: 0.15
validation: [clinical_utility, practical_application]
per_thesis_evaluation:
thesis: T_01
lens_scores:
S: 0.90 # Clear logical structure
E: 0.95 # Peer-reviewed source
O: 0.75 # May not apply to all fluids
A: 0.80 # Standard examiner expectation
P: 0.85 # Clinically applicable
aggregate: 0.85
issues:
- "Scope: Applies to Newtonian fluids; blood is non-Newtonian"应用critique技能的五个视角:
yaml
lenses:
STRUCTURAL:
question: "Are theses logically coherent?"
weight: 0.20
validation: [internal_consistency, logical_flow]
EVIDENTIAL:
question: "What's the evidence quality?"
weight: 0.25
validation: [source_authority, peer_review, recency]
SCOPE:
question: "Do claims overgeneralize?"
weight: 0.20
validation: [boundary_conditions, exceptions_noted]
ADVERSARIAL:
question: "What would examiners challenge?"
weight: 0.20
validation: [anticipate_objections, prepare_defenses]
PRAGMATIC:
question: "Does this work clinically?"
weight: 0.15
validation: [clinical_utility, practical_application]
per_thesis_evaluation:
thesis: T_01
lens_scores:
S: 0.90 # Clear logical structure
E: 0.95 # Peer-reviewed source
O: 0.75 # May not apply to all fluids
A: 0.80 # Standard examiner expectation
P: 0.85 # Clinically applicable
aggregate: 0.85
issues:
- "Scope: Applies to Newtonian fluids; blood is non-Newtonian"Φ7: Abductive Synthesis
Φ7: 溯因合成
Generate minimal set of universal principles:
ABDUCTION PROTOCOL
──────────────────
1. Cluster theses by claim_type
2. For each cluster:
a. Identify consensus claims (≥80% agreement)
b. Resolve contested claims (40-79%) via critique lens priority
c. Flag unique claims with high individual confidence (>0.8)
3. Compose synthesis S that:
a. Subsumes all consensus claims
b. Includes resolved contested claims with caveats
c. Optionally includes unique claims as extensions
4. Validate: ∀T_i. ∃s ∈ S. subsumes(s, T_i)
5. Check parsimony: |S| ≤ min(|T|/2, 10)
6. Verify confidence floor: ∀s ∈ S. confidence(s) ≥ 0.60Synthesis Schema:
yaml
synthesis:
universal_principles:
- id: S_01
claim: "Reynolds number predicts flow type (laminar vs turbulent)"
type: universal
supporting_theses: [T_01, T_02, T_03, T_05, T_08]
confidence: 0.95
resolved_tensions:
- antithesis: A_01_02
resolution: "Re < 2000 generally indicates laminar; stricter thresholds exist"
resolution_type: context_dependent
caveats: ["ideal conditions", "physiological variation"]
acknowledged_variations:
- topic: "Critical threshold"
range: "1000-4000 depending on source"
recommendation: "Use Re < 2000 = laminar, Re > 3000 = turbulent"生成最小集的普适原则:
ABDUCTION PROTOCOL
──────────────────
1. Cluster theses by claim_type
2. For each cluster:
a. Identify consensus claims (≥80% agreement)
b. Resolve contested claims (40-79%) via critique lens priority
c. Flag unique claims with high individual confidence (>0.8)
3. Compose synthesis S that:
a. Subsumes all consensus claims
b. Includes resolved contested claims with caveats
c. Optionally includes unique claims as extensions
4. Validate: ∀T_i. ∃s ∈ S. subsumes(s, T_i)
5. Check parsimony: |S| ≤ min(|T|/2, 10)
6. Verify confidence floor: ∀s ∈ S. confidence(s) ≥ 0.60合成 schema:
yaml
synthesis:
universal_principles:
- id: S_01
claim: "Reynolds number predicts flow type (laminar vs turbulent)"
type: universal
supporting_theses: [T_01, T_02, T_03, T_05, T_08]
confidence: 0.95
resolved_tensions:
- antithesis: A_01_02
resolution: "Re < 2000 generally indicates laminar; stricter thresholds exist"
resolution_type: context_dependent
caveats: ["ideal conditions", "physiological variation"]
acknowledged_variations:
- topic: "Critical threshold"
range: "1000-4000 depending on source"
recommendation: "Use Re < 2000 = laminar, Re > 3000 = turbulent"Φ8: Response Generation (S Synergy with SAQ)
Φ8: 应答生成(与SAQ的S协同)
Route to saq skill for template-based generation:
yaml
template_routing:
IF question_verb = describe AND domain = pharmacology:
template = saq/references/pharmacology-template.md
ELIF question_verb = describe AND domain = physiology:
template = saq/references/physiology-template.md
ELIF question_verb ∈ {compare, contrast}:
template = saq/references/comparison-template.md
ELIF context = VIVA:
template = viva-extended-template.md
ELSE:
template = saq/references/physiology-template.md
generation_constraints:
SAQ_mode:
word_count: 180-220
structure: 2-3 A4 pages handwritten
time: 8 minutes
format: dot points, symbols, minimal prose
VIVA_mode:
word_count: 500-800
structure: extended mechanistic detail
includes: [examiner_anticipation, deep_dive, edge_cases, clinical_vignettes]
Academic_mode:
word_count: 1000-2000
structure: full scholarly format
includes: [literature_review, methodology, discussion]路由至saq技能进行模板化生成:
yaml
template_routing:
IF question_verb = describe AND domain = pharmacology:
template = saq/references/pharmacology-template.md
ELIF question_verb = describe AND domain = physiology:
template = saq/references/physiology-template.md
ELIF question_verb ∈ {compare, contrast}:
template = saq/references/comparison-template.md
ELIF context = VIVA:
template = viva-extended-template.md
ELSE:
template = saq/references/physiology-template.md
generation_constraints:
SAQ_mode:
word_count: 180-220
structure: 2-3 A4 pages handwritten
time: 8 minutes
format: dot points, symbols, minimal prose
VIVA_mode:
word_count: 500-800
structure: extended mechanistic detail
includes: [examiner_anticipation, deep_dive, edge_cases, clinical_vignettes]
Academic_mode:
word_count: 1000-2000
structure: full scholarly format
includes: [literature_review, methodology, discussion]Φ9: Citation Weaving
Φ9: 引用整合
Footnote Format:
markdown
[^n]: Author(s). *Title*. Edition. Publisher, Year; p. page. "Verbatim quote."Citation Priority Weights:
| Source Type | Weight | Usage |
|---|---|---|
| Examiner reports (CICM/ANZCA) | 0.95 | Gold standard |
| Core textbooks | 0.85 | Primary evidence |
| Review articles | 0.80 | Synthesis support |
| Primary research | 0.75 | Novel findings |
| Clinical guidelines | 0.85 | Practice standards |
| Web sources | 0.50 | Triangulation required |
Citation Density Requirements:
yaml
SAQ: 5-10 citations (1 per major claim)
VIVA: 15-25 citations (comprehensive)
Academic: 30-50 citations (scholarly)脚注格式:
markdown
[^n]: Author(s). *Title*. Edition. Publisher, Year; p. page. "Verbatim quote."引用优先级权重:
| 来源类型 | 权重 | 使用场景 |
|---|---|---|
| 考官报告(CICM/ANZCA) | 0.95 | 黄金标准 |
| 核心教材 | 0.85 | 主要证据 |
| 综述文章 | 0.80 | 合成支撑 |
| 原始研究 | 0.75 | 新发现 |
| 临床指南 | 0.85 | 实践标准 |
| 网络来源 | 0.50 | 需交叉验证 |
引用密度要求:
yaml
SAQ: 5-10 citations (1 per major claim)
VIVA: 15-25 citations (comprehensive)
Academic: 30-50 citations (scholarly)Φ10: Validation & QA
Φ10: 验证与质量保证
python
def validate_grounded_response(response, theses, synthesis):
checks = {
# Coverage checks
"citation_coverage": all_claims_cited(response),
"synthesis_reflected": synthesis_in_response(response, synthesis),
"thesis_coverage": all_theses_subsumed(theses, synthesis),
# Format checks
"word_count": word_count_in_range(response, mode),
"cascade_preserved": no_decomposed_cascades(response),
"values_contextualized": all_values_have_context(response),
# Quality checks
"tensions_acknowledged": variations_noted(response),
"deontic_compliance": deontic_constraints_met(response),
"examiner_optimized": meets_examiner_expectations(response),
# Parsimony checks
"synthesis_minimal": len(synthesis) <= len(theses) / 2,
"confidence_floor": all(s.confidence >= 0.60 for s in synthesis)
}
return ValidationResult(
valid=all(checks.values()),
issues=[k for k, v in checks.items() if not v],
score=sum(checks.values()) / len(checks)
)python
def validate_grounded_response(response, theses, synthesis):
checks = {
# Coverage checks
"citation_coverage": all_claims_cited(response),
"synthesis_reflected": synthesis_in_response(response, synthesis),
"thesis_coverage": all_theses_subsumed(theses, synthesis),
# Format checks
"word_count": word_count_in_range(response, mode),
"cascade_preserved": no_decomposed_cascades(response),
"values_contextualized": all_values_have_context(response),
# Quality checks
"tensions_acknowledged": variations_noted(response),
"deontic_compliance": deontic_constraints_met(response),
"examiner_optimized": meets_examiner_expectations(response),
# Parsimony checks
"synthesis_minimal": len(synthesis) <= len(theses) / 2,
"confidence_floor": all(s.confidence >= 0.60 for s in synthesis)
}
return ValidationResult(
valid=all(checks.values()),
issues=[k for k, v in checks.items() if not v],
score=sum(checks.values()) / len(checks)
)Output Structures
输出结构
SAQ Mode Output
SAQ模式输出
markdown
---
topic: "{topic}"
type: saq-model-response
textbooks-analyzed: {n}
theses-extracted: {m}
antitheses-identified: {k}
citations: {c}
confidence: {0.85}
---markdown
---
topic: "{topic}"
type: saq-model-response
textbooks-analyzed: {n}
theses-extracted: {m}
antitheses-identified: {k}
citations: {c}
confidence: {0.85}
---{Topic}
{Topic}
[!abstract] Definition {Core definition with citation}[^1]
[!abstract] Definition {Core definition with citation}[^1]
{Domain Heading 1}
{Domain Heading 1}
- {Cascade with context}[^2]
- {Value with clinical relevance}[^3]
- {Cascade with context}[^2]
- {Value with clinical relevance}[^3]
{Domain Heading 2}
{Domain Heading 2}
...
...
Syntopical Analysis
Syntopical Analysis
[!warning] Key Variation {Identified discrepancy with resolution}[^4][^5]
[!warning] Key Variation {Identified discrepancy with resolution}[^4][^5]
References
References
undefinedundefinedVIVA Mode Output
VIVA模式输出
Extends SAQ mode with:
- Examiner Anticipation: Likely follow-up questions with prepared responses
- Deep Dive: Extended mechanistic detail on key points
- Edge Cases: Acknowledged limitations and exceptions
- Clinical Vignettes: Application scenarios
- Recovery Strategies: If caught off-guard
在SAQ模式基础上扩展:
- 考官预判:可能的跟进问题及准备好的应答
- 深度解析:关键要点的扩展机制细节
- 边缘案例:已确认的局限性与例外情况
- 临床案例:应用场景
- 应对策略:若被问住时的补救方法
Academic Mode Output
学术模式输出
Full scholarly structure:
- Abstract: Synthesis summary
- Introduction: Context and scope
- Literature Review: Organized theses with critical analysis
- Methodology: Syntopical approach description
- Results: Synthesis with tension resolution
- Discussion: Implications and limitations
- Conclusion: Universal principles
- References: Complete bibliography
完整学术结构:
- 摘要:合成内容总结
- 引言:背景与范围
- 文献综述:结构化论点及批判性分析
- 方法论:主题分析方法描述
- 结果:带矛盾解决的合成内容
- 讨论:意义与局限性
- 结论:普适原则
- 参考文献:完整书目
Integration Points
集成点
With /m Universal Meta-Router
与/m通用元路由器
yaml
tensor_activation:
on_prompt: "Generate SAQ on propofol pharmacology with citations"
decomposition:
C: sc:document (0.70)
A: researcher (0.75)
S: textbook-grounding (0.95)
T: pdf-search (0.90)
L: pdf-brain (0.90)
synergies_activated:
S×T×L: 0.95 → parallel_search_mode
S×S×S: 0.90 → skill_chain_mode
execution_plan:
mode: sequential
steps:
1: T×L → parallel search (pdf-brain + pdf-search + perplexity)
2: S → textbook-grounding (thesis extraction + antithesis detection)
3: S×S → dialectical → critique (synthesis + validation)
4: S → saq (template + formatting)yaml
tensor_activation:
on_prompt: "Generate SAQ on propofol pharmacology with citations"
decomposition:
C: sc:document (0.70)
A: researcher (0.75)
S: textbook-grounding (0.95)
T: pdf-search (0.90)
L: pdf-brain (0.90)
synergies_activated:
S×T×L: 0.95 → parallel_search_mode
S×S×S: 0.90 → skill_chain_mode
execution_plan:
mode: sequential
steps:
1: T×L → parallel search (pdf-brain + pdf-search + perplexity)
2: S → textbook-grounding (thesis extraction + antithesis detection)
3: S×S → dialectical → critique (synthesis + validation)
4: S → saq (template + formatting)With pdf-search / pdf-brain (Primary T×L)
与pdf-search / pdf-brain(核心T×L)
bash
undefinedbash
undefinedParallel search execution
Parallel search execution
pdf-search "{query}" --limit 15 &
pdf-brain search "{query}" --semantic --top-k 10 &
wait
pdf-search "{query}" --limit 15 &
pdf-brain search "{query}" --semantic --top-k 10 &
wait
Merge and deduplicate results
Merge and deduplicate results
Weight by source quality
Weight by source quality
undefinedundefinedWith SAQ Skill (S Synergy)
与SAQ技能(S协同)
yaml
handoff:
from: textbook-grounding
to: saq
data:
synthesis: universal_principles
citations: formatted_footnotes
constraints: word_count, symbol_lexiconyaml
handoff:
from: textbook-grounding
to: saq
data:
synthesis: universal_principles
citations: formatted_footnotes
constraints: word_count, symbol_lexiconWith Critique Skill (S Synergy)
与Critique技能(S协同)
yaml
invocation:
purpose: "Multi-lens thesis evaluation"
lenses: [STRUCTURAL, EVIDENTIAL, SCOPE, ADVERSARIAL, PRAGMATIC]
output: per_thesis_scores, aggregate_confidenceyaml
invocation:
purpose: "Multi-lens thesis evaluation"
lenses: [STRUCTURAL, EVIDENTIAL, SCOPE, ADVERSARIAL, PRAGMATIC]
output: per_thesis_scores, aggregate_confidenceWith Dialectical Skill (S Synergy)
与Dialectical技能(S协同)
yaml
structure:
α_AGONAL: consensus_with_paradox
β_MAIEUTIC: mechanism_through_questioning
γ_APOPHATIC: limitations_with_humilityyaml
structure:
α_AGONAL: consensus_with_paradox
β_MAIEUTIC: mechanism_through_questioning
γ_APOPHATIC: limitations_with_humilityWith Constraints Skill (S Synergy)
与Constraints技能(S协同)
yaml
deontic_framework:
O: [cite, page, synthesis]
P: [multi_cite, quote]
F: [uncited, single_source_consensus]yaml
deontic_framework:
O: [cite, page, synthesis]
P: [multi_cite, quote]
F: [uncited, single_source_consensus]With knowledge-orchestrator (Meta-S)
与knowledge-orchestrator(元S)
yaml
delegation:
IF task.requires_multi_skill:
delegate_to: knowledge-orchestrator
skills: [textbook-grounding, dialectical, critique, saq]
coordination: confidence-weightedyaml
delegation:
IF task.requires_multi_skill:
delegate_to: knowledge-orchestrator
skills: [textbook-grounding, dialectical, critique, saq]
coordination: confidence-weightedExtended Examples
扩展示例
Example 1: Reynolds Number SAQ
示例1:雷诺数SAQ
Input: "Describe the Reynolds number and factors affecting flow type"
Φ2 Search Results:
- Physics in Anaesthesia (Middleton) p.115
- Ganong's Review of Medical Physiology p.567
- West's Respiratory Physiology p.112
- Nunn's Applied Respiratory Physiology p.89
- Power & Kam Physiology p.203
Φ3 Theses Extracted: 25 from 12 sources
Φ4 Antitheses Identified: 5 (threshold variations, equation forms)
Φ7 Synthesis: 6 universal principles + 2 resolved tensions
Φ8 Response (198 words):
undefined输入: "Describe the Reynolds number and factors affecting flow type"
Φ2搜索结果:
- Physics in Anaesthesia (Middleton) p.115
- Ganong's Review of Medical Physiology p.567
- West's Respiratory Physiology p.112
- Nunn's Applied Respiratory Physiology p.89
- Power & Kam Physiology p.203
Φ3提取论点: 12个来源共25个
Φ4识别反论点: 5个(阈值差异、方程形式)
Φ7合成内容: 6条普适原则 + 2个已解决矛盾
Φ8应答(198词):
undefinedDefinition
Definition
- Dimensionless ratio of inertial/viscous forces[^1]
- Re = ρvd/μ = vd/ν (kinematic form)[^2]
- Dimensionless ratio of inertial/viscous forces[^1]
- Re = ρvd/μ = vd/ν (kinematic form)[^2]
Factors
Factors
- ↑ρ (density) → ↑Re → ↑turbulence[^3]
- ↑v (velocity) → ↑Re → most significant clinically[^4]
- ↑d (diameter) → ↑Re → larger airways turbulent[^5]
- ↓μ (viscosity) → ↑Re → ↑turbulence[^6]
- ↑ρ (density) → ↑Re → ↑turbulence[^3]
- ↑v (velocity) → ↑Re → most significant clinically[^4]
- ↑d (diameter) → ↑Re → larger airways turbulent[^5]
- ↓μ (viscosity) → ↑Re → ↑turbulence[^6]
Critical Values
Critical Values
- Re < 2000 → laminar (generally)[^7]
- 2000 < Re < 4000 → transitional[^8]
- Re > 4000 → turbulent[^9]
[!warning] Variation Some sources cite Re < 1000 for laminar (conservative)[^10]
- Re < 2000 → laminar (generally)[^7]
- 2000 < Re < 4000 → transitional[^8]
- Re > 4000 → turbulent[^9]
[!warning] Variation Some sources cite Re < 1000 for laminar (conservative)[^10]
Clinical Integration
Clinical Integration
- Heliox: ↓density → ↓Re → ↓turbulence → ↓WOB in UAO[^11]
- ETT: ↓diameter → ↓Re → more laminar despite ↑velocity[^12]
- Blood: non-Newtonian → Re applicability limited[^13]
- Heliox: ↓density → ↓Re → ↓turbulence → ↓WOB in UAO[^11]
- ETT: ↓diameter → ↓Re → more laminar despite ↑velocity[^12]
- Blood: non-Newtonian → Re applicability limited[^13]
References
References
undefinedundefinedExample 2: VIVA Depth Response
示例2:VIVA深度应答
Input: "VIVA preparation on propofol including pharmacokinetics and clinical applications"
Execution: Full Φ0-Φ10 with VIVA mode
Output includes:
- Extended mechanistic cascades (800 words)
- Anticipated examiner questions with prepared answers
- Edge cases (propofol infusion syndrome, allergies)
- Clinical vignettes (TCI, sedation, induction)
- 25 citations with page references
输入: "VIVA preparation on propofol including pharmacokinetics and clinical applications"
执行流程: 完整Φ0-Φ10流程,启用VIVA模式
输出包含:
- 扩展机制链(800词)
- 预判考官问题及准备好的答案
- 边缘案例(丙泊酚输注综合征、过敏)
- 临床案例(TCI、镇静、诱导)
- 25个带页码的引用
Anti-Patterns
反模式
| Pattern | Why Harmful | Fix |
|---|---|---|
| Single-source claims | Fails syntopical requirement | Multi-source validation |
| Uncited variations | Undermines credibility | Always cite discrepancies |
| Ignored tensions | Appears superficial | Acknowledge and resolve |
| Over-complex synthesis | Violates Pareto parsimony | Minimal principle set |
| Generic citations | Loses precision | Page-level references |
| Decomposed cascades | Loses mechanistic flow | Preserve as single chains |
| Values without context | Appears rote | Same-line clinical meaning |
| 模式 | 危害原因 | 修复方案 |
|---|---|---|
| 单来源主张 | 不符合主题分析要求 | 多源验证 |
| 未引用的差异 | 削弱可信度 | 始终引用矛盾点 |
| 忽略矛盾 | 显得肤浅 | 承认并解决矛盾 |
| 过度复杂的合成 | 违反帕累托简约原则 | 最小化原则集 |
| 通用引用 | 缺乏精度 | 页码级引用 |
| 分解的机制链 | 丢失机制流 | 保留为单链 |
| 无上下文的数值 | 显得机械 | 同句附带临床意义 |
File Reference
文件参考
| Purpose | Location |
|---|---|
| Synthesis protocol | |
| Citation formats | |
| Examiner expectations | |
| Validation script | |
| VIVA template | |
| Academic template | |
| 用途 | 位置 |
|---|---|
| 合成协议 | |
| 引用格式 | |
| 考官预期 | |
| 验证脚本 | |
| VIVA模板 | |
| 学术模板 | |
Quality Metrics
质量指标
yaml
grounding_quality:
citation_density: citations_per_claim >= 1.0
source_diversity: unique_sources >= 5
synthesis_ratio: |synthesis| / |theses| <= 0.5
confidence_floor: all_confidence >= 0.60
tension_coverage: all_antitheses_resolved
examiner_alignment: meets_expectations >= 0.85Core Insight: Orthogonal tensor integration transforms textbook grounding from isolated skill to synergistic capability. Cross-dimensional activation (S×T×L) enables parallel search, skill chaining, and optimal composition. The Hegelian dialectic ensures tensions are not hidden but resolved through evidence-weighted abduction, producing responses that withstand examiner scrutiny.
Research Sources:
yaml
grounding_quality:
citation_density: citations_per_claim >= 1.0
source_diversity: unique_sources >= 5
synthesis_ratio: |synthesis| / |theses| <= 0.5
confidence_floor: all_confidence >= 0.60
tension_coverage: all_antitheses_resolved
examiner_alignment: meets_expectations >= 0.85核心洞察:正交张量整合将教材锚定从孤立技能转变为协同能力。跨维度激活(S×T×L)实现并行搜索、技能链化与最优组合。黑格尔辩证法确保矛盾不被隐藏,而是通过证据加权溯因解决,生成能经受考官 scrutiny的应答。
研究来源: