Qi Men Dun Jia Nine Palaces Specimen Prototype
Luo Shu Magic Square · Four Plates Taxonomic Architecture & Ancient Cosmological Orientation
Rooted in ancient Chinese strategic astrolabes and solar calendrical mathematics, Qi Men Dun Jia structures time and space across concentric cosmic plates. This static educational prototype presents the foundational Luo Shu Nine Palaces grid (oriented with South on top and North at bottom), Nine Stars, Eight Gates, and Eight Deities. Decoupled from personal fortune-telling, without real-time casting.
- Zero Personal Data: Does not read or collect birth date, time, coordinates, or user information
- Zero Casting API: Purely static React Server Component without calculation API requests
- Zero Storage Mutation: Never writes to localStorage, sessionStorage, or cookies
- Strict Separation: Decouples symbolic catalogues from dynamic casting and rotation rules
Luo Shu Mathematical Properties & Spatial Orientation
South on Top, North at Bottom, East on Left, West on Right
While modern cartography conventionally places North at the top, classical Chinese cosmological diagrams frequently adopt a perspective facing South from the polar center. For pedagogical clarity and consistency, this educational specimen adopts the convention of 'South on top, North at bottom, East on left, West on right' across all three languages.
- Top Row (Southern Rim): Xun Palace 4 (SE), Li Palace 9 (South), Kun Palace 2 (SW)
- Middle Row (Central Belt): Zhen Palace 3 (East), Central Palace 5 (Center), Dui Palace 7 (West)
- Bottom Row (Northern Rim): Gen Palace 8 (NE), Kan Palace 1 (North), Qian Palace 6 (NW)
Luo Shu Numerical Formula & Mingtang Textual Distinction
Wearing Nine, treading One; Three on left, Seven on right; Two and Four are shoulders; Six and Eight are feet; Five resides in the center.
The Han ritual text 'Dadai Liji (Mingtang)' records the ancient nine-chamber numbers as '2-9-4, 7-5-3, 6-1-8', while the popular mnemonic verse 'wearing nine and treading one' is a later Song Dynasty pedagogical formulation (e.g., Zhu Xi's Yixue Qimeng). Both describe the same order-3 magic square summing to 15, but originate from distinct historical periods and are not the same original text.
Luo Shu Nine Palaces Structural Board
Every Number 1..9 Occurs Exactly Once · Spatial Directions & Native Mappings
Inspect any palace cell to review its number, trigram, elemental phase, and original native celestial pairings:
1. Kan Palace 1 (坎一宫)
Luo Shu Path Order #12. Kun Palace 2 (坤二宫)
Luo Shu Path Order #23. Zhen Palace 3 (震三宫)
Luo Shu Path Order #34. Xun Palace 4 (巽四宫)
Luo Shu Path Order #45. Central Palace 5 (中五宫)
Luo Shu Path Order #56. Qian Palace 6 (乾六宫)
Luo Shu Path Order #67. Dui Palace 7 (兑七宫)
Luo Shu Path Order #78. Gen Palace 8 (艮八宫)
Luo Shu Path Order #89. Li Palace 9 (离九宫)
Luo Shu Path Order #9Three Concentric Symbolic Plates
Heaven Plate (Nine Stars) · Human Plate (Eight Gates) · Deity Plate (Eight Deities)
In Qi Men Dun Jia cosmology, strategic situations are modeled through nested concentric plates: the Earth Plate provides static spatial grounding, Nine Stars symbolize macroscopic climatic timing, Eight Gates reflect human conditions and behavioral avenues, and Eight Deities represent subtle psychological currents. All mindful reflections are project original educational interpretations, not classical fortune-telling verdicts. Here, symbols are presented in their native taxonomy without dynamic compounding.
Heaven Plate · Nine Stars (Macro Timing)
天蓬星 · Tian Peng Star
Water · Native Base Palace #1Originating in Kan 1; Yang Water; governs strategy, turbulent challenge, and fluid adaptability
Tian Peng embodies the turbulent force of deep water and keen intellect, calling for lucid discernment amidst uncertainty.
When facing turbulent change or unknown terrain, avoid reckless haste; navigate calmly with the fluid resilience of water.
天芮星 · Tian Rui Star
Earth · Native Base Palace #2Originating in Kun 2; Yin Earth; governs learning, apprenticeship, introspection, and physical restoration
Historically associated with vulnerabilities or scholarly guidance, Tian Rui illuminates latent flaws to encourage humble study and restorative care.
Acknowledge physical fatigue and cognitive blind spots; transform pause into profound restoration and disciplined learning.
天冲星 · Tian Chong Star
Wood · Native Base Palace #3Originating in Zhen 3; Yang Wood; governs decisive initiative, thunderous resolve, and swift breakthroughs
Aligning with the spring thunder of the East, Tian Chong represents pioneering courage and energetic breakthrough, tempered by the need to avoid overextension.
Step forward decisively when opportunity calls, while mindfully assessing momentum to balance vigor with enduring pacing.
天辅星 · Tian Fu Star
Wood · Native Base Palace #4Originating in Xun 4; Yin Wood; governs cultural education, gentle mentorship, collaborative assistance, and refined scholarship
Tian Fu operates like a gentle spring breeze, nurturing growth through scholarly discipline, ethical character, and constructive companionship.
Cultivate thoughtful articulation and empathy; resolve tension through patient guidance and trustworthy collaboration.
天禽星 · Tian Qin Star
Earth · Native Base Palace #5Originating in Central Palace 5; Central Earth; governs integrity, central arbitration, balance, and stabilizing stewardship
Positioned at the pivot of the Nine Palaces, Tian Qin represents impartial justice, steadfast containment, and comprehensive integration.
Amid external turbulence, anchor yourself in core integrity; become a source of grounded reassurance and equitable judgment.
天心星 · Tian Xin Star
Metal · Native Base Palace #6Originating in Qian 6; Yang Metal; governs analytical planning, healing wisdom, administrative structure, and sound judgment
Combining structural firmness with restorative benevolence, Tian Xin excels at macro-planning, systematic diagnosis, and institutional clarity.
Disentangle intricate dilemmas with lucid logic, diagnosing core issues with dispassionate precision and constructive care.
天柱星 · Tian Zhu Star
Metal · Native Base Palace #7Originating in Dui 7; Yin Metal; governs articulate argument, critical evaluation, resistance to pressure, and verbal scrutiny
Tian Zhu stands like an unyielding pillar against adverse winds, signifying both trenchant scrutiny and resilient steadfastness under pressure.
Defend sound principles with conviction, while delivering critical insights with constructive tact and respect.
天任星 · Tian Ren Star
Earth · Native Base Palace #8Originating in Gen 8; Yang Earth; governs steadfast diligence, reliability, quiet endurance, and patient cultivation
Embodying the dignity of enduring mountains, Tian Ren values quiet industry and substantive achievement over superficial display.
Do not chase transient applause or superficial shortcuts; trust in the incremental strength of steady, disciplined persistence.
天英星 · Tian Ying Star
Fire · Native Base Palace #9Originating in Li 9; Yin Fire; governs visible brilliance, cultural ceremony, aesthetic expression, and fervent radiance
Occupying the southern apex, Tian Ying signifies brilliant manifestation and artistic excellence, requiring poise to prevent excessive pride.
Share your creative gifts generously, while sustaining inner composure to ensure that outward prominence is backed by genuine depth.
Human Plate · Eight Gates (Human Conduct)
休门 · Rest Gate (Xiu Men)
Water · Native Base Palace #1Dwelling in northern Kan, Xiu Men represents restful restoration and tranquil consolidation, ideal for recuperation and diplomacy.
Know when to step back from strain; replenish inner reserves through quiet mindfulness and deliberate pause.
生门 · Life Gate (Sheng Men)
Earth · Native Base Palace #8Rooted in north-eastern Gen at the onset of spring, Sheng Men embodies regenerative vigor, productive enterprise, and organic growth.
Embrace generative opportunities; direct creative enthusiasm toward constructive goals that nurture long-term vitality.
伤门 · Harm Gate (Shang Men)
Wood · Native Base Palace #3Located in eastern Zhen, Shang Men denotes direct collision and energetic rupture, traditionally utilized for pursuit or athletic contest.
Notice rising irritability or combative impulses; channel intense tension away from interpersonal strife and into constructive exertion.
杜门 · Hidden Gate (Du Men)
Wood · Native Base Palace #4Occupying south-eastern Xun, Du Men represents cloistered seclusion, secure containment, and disciplined proprietary research.
Preserve your private focus amidst external noise; refrain from premature exposure and refine your craftsmanship in quiet solitude.
景门 · Scenery Gate (Jing Men)
Fire · Native Base Palace #9Stationed in southern Li, Jing Men radiates cultural distinction, documentation, and aesthetic celebration, requiring restraint against vanity.
Engage public recognition with authentic modesty; ensure that outward prestige reflects genuine substance rather than superficial posturing.
死门 · Death Gate (Si Men)
Earth · Native Base Palace #2Placed in south-western Kun, Si Men marks the irreversible closure of cycles and solemn finality, warning against rigid stagnation.
Accept the necessary conclusion of outworn chapters with grace; release stubborn attachments to prepare space for true renewal.
惊门 · Alarm Gate (Jing Men)
Metal · Native Base Palace #7Situated in western Dui, Jing Men resonates with acute alarm and adversarial debate, demanding discernment between real peril and baseless anxiety.
When surrounded by alarming rumors, do not react from panic; employ objective scrutiny to separate genuine risk from empty noise.
开门 · Open Gate (Kai Men)
Metal · Native Base Palace #6Anchored in north-western Qian, Kai Men represents auspicious inauguration, transparent enterprise, and upright civic endeavor.
Embark upon new frontiers with ethical candor; cultivate open communication and principled integrity in every undertaking.
Deity Plate · Eight Deities (Subtle Undercurrents)
值符 · Zhi Fu (Chief Leader)
Central Earth · #1Paramount leader of the Eight Deities; governs sovereign integrity, benevolent protection, and ethical focus
Acting as the supreme commander, Zhi Fu embodies core direction and moral gravity that anchors the entire strategic layout.
Clarify your core mission and ethical compass; act as the conscious captain of your journey with unswerving accountability.
腾蛇 · Teng She (Soaring Snake)
Yin Fire · #2Volatile illusion, mental restlessness, unexpected twists, and fluctuating anxieties
Teng She represents mercurial turbulence and psychological mirages, cautioning against phantom dread and spiraling rumination.
When intangible anxieties arise, separate hard facts from emotional projections; ground your mind in present reality.
太阴 · Tai Yin (Great Lunar)
Western Metal · #3Quiet discretion, subtle safeguarding, meticulous strategic thought, and modest containment
Shining like serene moonlight, Tai Yin preserves strength in discreet shadows, excelling at thoughtful planning and quiet refuge.
Do not seek hasty visibility; value moments of solitary contemplation to refine subtle strategies with calm wisdom.
六合 · Liu He (Six Harmonies)
Eastern Wood · #4Mediation, contractual alliance, constructive cooperation, and diplomatic synthesis
Embodying the integration of Heaven, Earth, and the Four Quarters, Liu He fosters amicable consensus, constructive bridge-building, and mutual benefit.
Seek common ground beyond zero-sum competition; bridge divergent viewpoints with sincere listening and constructive goodwill.
白虎 · Bai Hu (White Tiger)
Western Metal · #5Unyielding force, decisive rigor, severe testing, physical courage, and unsparing confrontation
Representing both fierce majesty and stern severity, Bai Hu brings formidable trials that test resolve and demand unyielding discipline.
Stand firm when facing demanding adversity; let external hardship temper your inner resilience into unbreakable strength.
玄武 · Xuan Wu (Dark Warrior)
Northern Water · #6Ambiguity, elusive currents, hidden deception, and deep intuitive perception through fog
Dwelling in northern abyss, Xuan Wu warns of hidden leakage and deceptive appearances, urging sharp vigilance against covert blind spots.
When evidence is hazy and narratives ambiguous, do not be swayed by flattery; inspect underlying facts with calm skepticism.
九地 · Jiu Di (Nine Earths)
Enduring Earth · #7Deep subterranean foundation, protective stillness, steadfast grounding, and resilient endurance
As classical strategy notes, the expert in defense conceals forces beneath the Nine Earths; Jiu Di signifies ultimate stability and deep endurance.
Remain quietly dedicated to building deep foundations; embrace the patient endurance of the earth to sustain lasting endeavors.
九天 · Jiu Tian (Nine Heavens)
Celestial Metal · #8Elevated aspiration, expansive outlook, visionary reach, and soaring dynamic initiative
As ancient strategy advises, the expert in initiative strikes from above the Nine Heavens; Jiu Tian represents panoramic vision and bold reach.
Elevate your perspective above petty grievances; view the broad horizon with expansive clarity and daring vision.
Strict Decoupling of Catalogues and Placement Rules
Rejecting Deterministic Divination · Upholding Objective Cultural Taxonomy
To prevent superstitious misrepresentation, XuanPath establishes clear architectural boundaries:
Symbol Taxonomy Decoupled from Casting
This specimen categorizes Nine Stars, Eight Gates, and Eight Deities as cultural heritage without invoking real-time temporal casting or generating personal horoscopes.
Abolition of Fatalistic Scoring
Traditional categories of 'auspicious' and 'inauspicious' are stripped of predictive divination and reframed into modern situational and psychological reflections (all project original interpretations), strictly rejecting fear-based doom or manipulative fatalism.
Algorithmic Controversies Kept Pending
Disputes between Rotating (Zhuan Pan) and Flying (Fei Pan) methods, or Ju setting rules (Chaibu vs Zhirun vs Maoshan), remain explicitly Pending (XP-090-DEC01..04).
Historical Sources & Pending Governance
Verifiable Primary Citations · Open Philological Items
Verifiable Ancient Primary Citations
Dadai Liji: Chapter on the Mingtang Hall (Mingtang Di Liu Shi Qi)
Records the ancient Luo Shu nine-palace numbers '2, 9, 4; 7, 5, 3; 6, 1, 8' (ancient commentary: 'recording nine chambers modeled on turtle markings to illuminate the system'). This prototype strictly distinguishes these ancient recorded numbers from the later Song Dynasty pedagogical formula ('wearing nine and treading one'), treating architectural structural descriptions as modern project editorial commentary.
Siku Quanshu Zongmu Tiyao: Critical Notice on Dunjia Yanyi (Fascicle 109)
Imperial scholarly evaluation of Dunjia Yanyi (Fascicle 109). Examines the historical transmission of Qi Men and its roots in Luo Shu and the Nine Palaces, explicitly documenting that 'its method takes the Nine Palaces as foundation, interlaced with the Three Wonders, Six Instruments, Eight Gates, and Nine Stars', and that 'the Sun is born of Yi, the Moon shines at Bing, and Ding is the stellar essence, hence Yi, Bing, and Ding are called Wonders', commending the work as concise and comprehensive.
Dunjia Yanyi: Formula of Eight Gates and Nine Stars Hourly Progression (Siku Edition)
Classical formula explicitly detailing: 'Assuming Yang Dun Ju 1 at Jia Zi hour, Peng Star resides in Palace 1 and Xiu Gate resides in Palace 1...', providing direct verifiable textual grounding for the pedagogical hand-calculated baseline specimen.
Dunjia Yanyi: Historical Origin of Dunjia (Siku Edition)
Classical narrative detailing the traditional origins of Qi Men (legend of 4,320 patterns condensed to 1,080 by Feng Hou and further to 18 by Zhang Liang), solstice demarcations between Yin and Yang Dun, and the mechanical alignment of rotating concentric plates.
Architectural & Calculation Decisions (Pending)
XP-090-DEC01 · Qi Men Chart Calculation Paradigm (Rotating vs Flying Plate)
Candidate Proposal: Propose Zhuan Pan (Rotating Plate) hourly Qi Men as common pedagogical baseline candidate (recommended candidate), preserving Fei Pan strategy slot. Pending Codex review and governance decision; no algorithm frozen.
XP-090-DEC02 · Ju Setting Methodology (Chaibu vs Zhirun vs Maoshan)
Candidate Proposal: Propose Chaibu method for transparent deterministic transitions at solar terms as baseline research candidate (recommended candidate), preserving Zhirun and Maoshan modes. Pending Codex review and governance decision.
XP-090-DEC03 · Central Palace 5 Lodging Rule Specification (Uniform Kun 2 vs Yang-Kun/Yin-Gen vs Yang-Gen/Yin-Kun)
Candidate Proposal: Central Palace 5 / Tian Qin lodging candidate options encompass uniform Kun 2, Yang Dun Kun 2 / Yin Dun Gen 8, and Yang Dun Gen 8 / Yin Dun Kun 2 disputes. The prototype documents these traditions neutrally without selecting a rule, pending philological validation.
XP-090-DEC04 · Eight Deities Direction & Sequence Specification (Yang-Clockwise/Yin-Counterclockwise vs Constant Clockwise)
Candidate Proposal: Spirit plate deployment options include Yang-clockwise / Yin-counterclockwise vs uniform clockwise rotation. Maintained as Pending awaiting calculation engine acceptance.
Philological Investigation Register (Pending Review)
D05-CH-01 · Philological Distinction Between Dadai Liji Mingtang Numerical Notation and Later Song Formula
Strictly differentiate the ancient Han Dynasty Mingtang nine-chamber distribution ('2-9-4, 7-5-3, 6-1-8') from the later Song Dynasty pedagogical verse ('wearing nine and treading one'), not claiming them as identical original text.
D05-CH-02 · Textual Transmission of Dunjia Yanyi in Siku Tiyao Vol. 109 vs Unverified Ming/Qing Edition Claims
Retract unverified 'Ming Wanli/Chongzhen Palace Edition' claims; correct Gujin Tushu Jicheng catalogue classification (vols 681-685 are actually Xuanze section); anchor citations to verifiable Siku Quanshu text while keeping edition lineage pending.
D05-CH-03 · Philological Lineage Variants of Central Palace 5 / Tian Qin Lodging and Instrument Interaction
Collate textual disputes on whether Tian Qin lodges in Kun 2, Gen 8, or splits by Yin/Yang Dun; clarify absence of native gate in Central Palace 5 and defer interaction rules to future engine validation.
D05-CH-04 · Yin Dun Deities Variants (Gou Chen/Zhu Que), San Qi Textual Variants, and Multilingual Terminology Standardization
Document Yin Dun deity variants (Gou Chen replacing Bai Hu, Zhu Que replacing Xuan Wu); record San Qi as Yi-Sun, Bing-Moon, Ding-Star according to Siku Tiyao Fascicle 109 ('Sun born of Yi, Moon shines at Bing, Ding is stellar essence') while noting variant traditions (Bing-Star, Ding-Moon); and standardize multilingual terms (Chief vs Commander, Envoy vs Officer).