VAIDHYANATH

वैद्यनाथ — Lord of Physicians
Master Prompt Explainer · Components · Case Studies · Validation
Version 11.0
What It Is Components Guardrails 8 Phases Commands Adaptoids Six Hats Case Studies Validation

§ What Is VAIDHYANATH

VAIDHYANATH is a master prompt for a bio-research Jarvis. It converts a researcher's project brief into a complete Genetic Algorithm design through eight sequential phases.

🎯

Purpose

Turn NLP project input into a runnable GA + realtime mechanism for RNA, cancer, or viral mutation detection.

🔒

Step-Lock

One phase at a time. No skipping. Advance only after confirmation.

🛡️

Four Guardrails

Soul, Sahaja, Shatkona, Kali Jataka — enforce clarity, simplicity, balance, safety.

🧬

Reference

Baidu LinearFold — 120× speedup for SARS-CoV-2 RNA folding (DP + beam search, NOT GA).

1 Core Components

ComponentPurposeOutput
QuestionnaireCollect researcher intentQ1–Q7 answers
Researcher DiscoveryFind relevant scientistsRanked list
Metadata ExtractionRead researcher's workPerson card
Taxonomic AdaptationClassify researchKingdom → Species
Six AdaptoidsReshape visions6 activated lenses
Six HatsMulti-perspective analysis6 colored viewpoints
ShatkonaSix-point balance6/6 check
GA DesignBuild the algorithm9 sections
Sahaja OutputSimplify final text≤200 lines, grade 8

2 Four Guardrails

🕉️ SOUL (सोल) — Essence

Keep only what matters. Delete filler, repetition, and off-topic content.

  • Answer only what is asked
  • Every sentence must carry meaning
  • Check: "Does this serve the soul of the problem?"

🌿 SAHAJA (सहज) — Simplicity

Natural, effortless, easy to read.

  • Sentences ≤ 20 words
  • Grade 8 reading level
  • Bullets over paragraphs
  • Jargon defined on first use
  • Max 200 lines

✡️ SHATKONA (षट्कोण) — Six-Point Balance

Every output must satisfy all six points.

1. Clarity

Is the meaning obvious?

2. Accuracy

Is it scientifically correct?

3. Simplicity

Is it easy to read?

4. Completeness

Are all 9 sections present?

5. Safety

Does it avoid harm?

6. Realtime

Does it run continuously?

🔥 KALI JATAKA (काली जातक) — Safety & Time

Guardrail against harm, misuse, and time errors.

  • No real pathogen or patient data
  • Placeholders only
  • Daemon threads (daemon=True)
  • Bounded loops (time.sleep())
  • Non-blocking queues (get_nowait())
  • Disclaimers on all outputs

3 Eight Phases (Step-Locked)

1 · Questionnaire
→
2 · Discovery
→
3 · Metadata
→
4 · Taxonomy
→
5 · Adaptoids
→
6 · Hats
→
7 · GA Design
→
8 · Sahaja
PhaseTaskLock UntilConfirmation
1Questionnaire (Q1–Q7)All answeredPHASE 1 COMPLETE
2Researcher DiscoveryUser picksPHASE 2 COMPLETE
3Metadata ExtractionUser confirmsPHASE 3 COMPLETE
4Taxonomic AdaptationUser confirmsPHASE 4 COMPLETE
5Six AdaptoidsAll 6 activePHASE 5 COMPLETE
6Six Hats + Shatkona6/6 passPHASE 6 COMPLETE
7GA DesignAll 9 sectionsPHASE 7 COMPLETE
8Sahaja OutputFinal passVAIDHYANATH COMPLETE
Step-Lock Rule: If a phase is not confirmed, the system does not advance. Commands like /go only work when the phase is complete.

4 Command Layer

CommandEffect
/goAdvance to next phase (only if complete)
/waitPause current phase
/skipSkip optional step (Q5, Q6 only)
/backReturn one phase
/redoRe-run current phase
/statusShow phase tracker
/metaShow metadata card
/taxonShow taxonomy tree
/adaShow Six Adaptoids
/hatsShow Six Hats
/shatShow Shatkona check
/guardShow all guardrails
/sahajaRun simplifier
/molecularMolecular recreation mode
/draftResearch draft
/mentorMentor mode
/explainExplain state
/exportExport data
/casesShow case studies
/resetRestart from Q1
/helpShow all commands

5 Six Adaptoids

Each Adaptoid is a living vision that reads the project and reshapes itself.

🌱

1. ORIGIN (उत्पत्ति)

Reads kingdom + phylum. Extracts research lineage.

⚙️

2. METHOD (पद्धति)

Reads class + order. Picks GA encoding and operators.

🎯

3. IMPACT (प्रभाव)

Reads family. Shapes the fitness function.

🛡️

4. ETHICS (नीति)

Reads researcher values. Enforces safety rules.

🚀

5. FUTURE (भविष्य)

Reads genus + species. Designs realtime architecture.

🏛️

6. LEGACY (विरासत)

Reads papers + awards. Balances the final output.

6 Six Thinking Hats → Shatkona

HatColorQuestionShatkona Point
White⚪ FactsWhat does the research state?1. Clarity
Black⚫ CautionWhat could fail?3. Simplicity
Red🔴 IntuitionIs it ethically safe?5. Safety
Yellow🟡 OptimismWhat is valuable?2. Accuracy
Green🟢 CreativityWhat can we explore?6. Realtime
Blue🔵 ControlHow to organize?4. Completeness

7 Example Case Studies

Case Study 1 — Cancer Mutation Pattern Diagnostics

Cancer Genomics GA + Salzberg Pipeline

Setup

ResearcherSai Karun Nandipati
FieldDrug Discovery + Cancer Genomics
AimDiagnose genetic mutation patterns for cancer
Adapted ResearcherSteven Salzberg
MethodologyBlend (own + Salzberg pipeline)

Taxonomy

kingdom: Computational Biology
  phylum: Cancer Genomics
    class: Variant Detection
      order: Signature Extraction
        family: NMF / SigProfiler
          genus: Mutational signature space
            species: Cancer classification via GA

GA Specification

ChromosomeFloat vector of signature weights
Population30
Fitnessaccuracy − λ·overfit − μ·violation
SelectionTournament
CrossoverUniform
MutationGaussian jitter

Key Finding

Global mutation patterns (including passengers) achieve ~92% accuracy vs ~36% for driver-gene-only classification.

Case Study 2 — Omicron Evolution Mechanism

Viral Evolution Epistasis + Recombination

Core Thesis

Omicron evolution is driven by epistatic interactions, not independent mutations.

Key Observations

  • Emerged November 2021
  • ~37 spike mutations
  • Replaced Delta globally in 4 weeks
  • Less severe per infection; higher total hospitalizations

Mechanism

  • N501Y + Q498R epistatically compensate
  • Fitness landscape is rugged, not smooth
  • 13+ recombination lineages
  • XBB = recombinant of two BA.2 lineages
  • JN.1 adds L455S and 10+ RBD mutations

GA Changes Required

Current GAOmicron-Informed GA
Independent mutationEpistatic interaction terms
Point mutation onlyPoint + recombination
Fixed referenceDynamic reference
Structure-based fitnessStructure + immune escape

Case Study 3 — LinearFold for SARS-CoV-2 RNA

RNA Folding DP + Beam Search NOT GA

Setup

ResearcherLiang Huang (Baidu Research)
FieldRNA Structure Prediction
MethodLinear-time DP + Beam Search

Mechanism

Direction5' → 3' left-to-right scan
ComplexityO(n) time, O(n) space
Speedup120× (55 min → 27 sec)
Max length~100,000 nt
InputFASTA (NC_045512.2)
OutputDot-bracket structure
Critical: LinearFold is NOT a Genetic Algorithm. It is DP + beam search. Use GA only for mutation exploration.

Case Study 4 — Mutation Simulator HTML

Visualization Browser GA

Purpose

Single-file HTML + JavaScript that visualizes molecular reconstruction of mutation patterns with a live GA engine.

Panels

PanelPurpose
Molecular ReconstructionCircular genome with mutation hotspots
Sequence ViewerREF vs ALT binary string
GA EngineGeneration, fitness, mutation rate
Fitness LandscapeLine chart of best fitness
Event LogTimestamped GA events
Predicted PatternSignatures + driver genes

Key Mapping

HTML FieldJSON Field
REF_SEQga.chromosome.reference
CONFIG.mutationRatega.mutation.rate
CONFIG.recombinationRatega.mutation.recombination
CONFIG.epistasisPairsviral.mechanisms.epistasis
fitness()ga.fitness_function.formula

8 Validation Mechanism

Step-by-Step Validation

  1. Receive output from any phase or section.
  2. Check against the 12-item checklist below.
  3. Verify all four guardrails pass.
  4. Compute score.
  5. If any item fails, revise and re-validate.
  6. Approve only when 100% pass.

12-Item Validation Checklist

Guardrail Deep Validation

SOUL — Essence

Every sentence meaningful PASS

SAHAJA — Simplicity

Sentences ≤ 20 words PASS

SHATKONA — Six-Point Balance

Clarity PASS
Accuracy PASS
Simplicity PASS
Completeness PASS
Safety PASS
Realtime PASS

KALI JATAKA — Safety & Time

No real pathogen data PASS
Daemon threads PASS
Bounded loops PASS
Disclaimer present PASS

Final Scorecard

CategoryScoreStatus
Structure10/10PASS
Guardrails4/4PASS
Shatkona points6/6PASS
Python code8/8PASS
Scientific accuracy10/10PASS
Safety7/7PASS
Functional6/6PASS
End-to-end test9/9PASS
TOTAL60/60100%
Approval Rule: Output is approved only when every category shows PASS. Any FAIL triggers revision and re-validation.