Last time we verified how the Eight Spirits are placed. This time: the Eight Gates (Ba Men) — if you learn only one layer of a Qimen chart, learn this one. The gates answer the most direct question: how should this be done, and from where?
Layer 1 · The Verse (public-domain classical text)
Shāng yí bǔ liè zhōng xū huò, Dù hǎo yāo zhē jí yǐn xíng.
Jǐng shàng tóu shū bìng pò zhèn, Jīng néng qín sòng yǒu shēng míng.
Ruò wèn Sǐ mén hé suǒ zhǔ, zhǐ yí diào sǐ yǔ xíng xíng. — Yanbo Diaosou Song (Northern Song, rev. Ming dynasty)
Four lines cover seven gates (Xiu is inside the first) — the densest "user manual" in the whole song.
Layer 2 · What It Means
Want to test this timing?
Cast a free chart with 3 readings — no signup needed.
Try Qimen Now →
First, correct the most common misreading: the gates are not eight good/bad stickers. A gate is a mode of action; its fortune depends on whether it matches your question. The verse itself works this way — Shang (伤) is a "malefic" gate, yet for hunting and competitive bids, "Shang favors the hunt, and the hunt succeeds." Si (死) is the grimmest, yet for closing accounts and endings, it is exactly the right gate.
| Gate | Classical sense | Modern translation |
| Kai 开 (Open) | beginning | Launch a project, open for business, open a new channel |
| Xiu 休 (Rest) | recuperation | Pause, buffer, reconcile, meet a mentor |
| Sheng 生 (Growth) | growing | Invest, expand, scale — first choice for money matters |
| Shang 伤 (Harm) | competition, attrition | Compete, bid, negotiate hard — winnable, but it costs you |
| Du 杜 (Block) | closure, concealment | Keep it private, defend, cut off — no publicity |
| Jing 景 (Scene) | documents, display | Publish, pitch, brand campaigns — beware style over substance |
| Jing 惊 (Alarm) | dispute, alarm | Disputes, litigation, crisis response — speak carefully |
| Si 死 (Death) | ending | Stop-loss, close out, settle old accounts — never start new things here |
Note the two homophones: Jing 景 (Scene) and Jing 惊 (Alarm) sound identical in Mandarin but are different gates — one reason we keep the hanzi alongside pinyin in everything we publish.
Layer 3 · The Verification (three sources, one loop)
Test 1: a published hand-drawn chart, replayed
Same anchor case as part one: Zhang Zhichun's Kaiwu zhi Men p. 107-108, August 20, 2001, 16:10, Yin cycle 5th bureau. Engine replay, gate by gate:
| Palace | 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 |
| Book | Xiu | Si | Shang | Du | Kai | Jing 惊 | Sheng | Jing 景 |
| Engine | Xiu | Si | Shang | Du | Kai | Jing 惊 | Sheng | Jing 景 |
Test 2: the rigidity of the ring
Rotational Qimen has a hidden law (Zhang Zhichun stresses it on p. 106): the gates' relative positions are permanently fixed; the whole ring rotates. We checked three random charts (2001, 2026-10-04, 1998-03-15) along the palace ring — all three exactly follow the fixed sequence Xiu → Sheng → Shang → Du → Jing 景 → Si → Jing 惊 → Kai. Which gate is on duty and where it lands changes; the ring itself never deforms. That is what "rotational" mathematically means.
Test 3: the 61-case aggregate
The gate algorithm is part of our 61 documented historical case replays (61/61 match). A single replay shows one chart is right; the aggregate shows the algorithm implements the rule.
Layer 4 · Why Gates First
Stars describe the environment, spirits describe the posture — but gates hand you a verb: open, pause, invest, contend, hide, publish, speak, stop. The ancients used gates to pick timing and direction; it is fundamentally a matching list between action modes and situations. In our product, the first layer of every palace reading is the gate — in Case Review #1, the reasoning chain starts there too.
Next in the series: the hardest technical line in the whole song — "five days make one yuan; superseding the solstice and receiving the qi are the standard." Why can two different apps chart the same moment into different bureaus?