>The Star-Chart Subroutine

Under the commentary, the original Zhouyi is not a wisdom book — it is a sky-watcher's almanac, and the dragons are stars.
>OPEN dissertation.1983
In 1983 a Stanford doctoral student named Edward Shaughnessy filed a thesis titled The Composition of the Zhouyi. His advisor was David Nivison; his external examiner was David Keightley, the foremost Western reader of Shang oracle bones. The document was never sold commercially, yet it has quietly rewritten every serious Western study of the Yijing since.
The dating arguments and the divination survey read like standard Sinological apparatus. The real payload sits elsewhere — in the structural analysis, in the astronomical readings, and in the endnotes, where the most dangerous ideas were left running in the dark.
>PARSE schema
Shaughnessy decomposes the text the way an engineer decomposes a data schema. Every hexagram entry resolves into a fixed set of fields: a six-line picture, a one-word name (鼎 Ding, 睽 Kui), a terse statement, and six line statements. Each line statement decomposes further — a Topic (the image or omen), an optional Injunction (the instruction), a Prognostication (auspicious, inauspicious, danger), and a Verification ("no harm").
The telling count: only 170 of the 386 line statements carry an Injunction at all, while the Topic is almost always present. So the Zhouyi is primarily a book of images, not orders — the instructions and verdicts are scaffolding bolted around a core of condensed imagery. And the images are ordered. Ding 鼎 (50), the Cauldron, runs its six lines up the parts of a bronze vessel, feet to handle — the hexagram picture even looks like a cauldron. Xian 咸 (31) and Gen 艮 (52) climb the body: toe, calf, thigh, torso, back, cheeks. That is not interpretation. It is evidence that an editor consciously sequenced these records.
>DECODE qian.dragons
The six dragon lines of Qian 乾 (1) — the most philosophized hexagram in the canon — are a seasonal star chart. The Chinese saw a single dragon in the stars the West splits into Virgo, Libra, and Scorpius: a long curved body from Spica (the Horn, 角 Jiao) through Antares (the Heart, 心 Xin) to the Tail (尾 Wei). Watch it at dusk across a year and the visible fraction changes.
Line 1, submerged dragon — winter solstice, the whole figure below the horizon. Line 2, dragon in the fields — early March, only the horns clearing the east. Line 4, jumping in the depths — late April, the torso surfacing as Antares appears. Line 5, flying dragon in the skies — summer solstice, the full body arrayed overhead. Line 6, necked dragon — mid-August, the Neck (亢 Gang) on the western horizon, about to set. The word 亢 gang in that line is the same word as the star cluster on the horizon. This is not metaphor; it is observational astronomy, and the cycle maps exactly onto the growing season — the dragon rises when planting begins and sets after harvest. As the Tuan commentary itself says, "the seasons ride the six dragons across the skies." And yet, Shaughnessy notes, "explicit as this astronomical imagery is, it has passed remarkably unnoticed by Chinese commentators." The stars were hiding in plain sight for two thousand years.
>MAP kun.autumn
Kun 坤 (2), the pure-yin counterpart, runs the rest of the year. Treading on frost (2/1) is the ninth month, past the autumn equinox; tying the sack (2/4) is storing grain, echoing the Shijing; yellow skirts (2/5) is ritual celebration. The closing line — the dragon fights in the wilds, his blood is black and yellow — lands in the tenth month, when the Dragon (Scorpius) and the Celestial Turtle (畢 Bi) sink below the western horizon together, what Shaughnessy calls their "amorous tryst." Black blood for Chi You, tied to the Turtle and the dark north; yellow for the Yellow Emperor, who in the Shiji "has the body of a yellow dragon." The sky writes the myth.
>DECODE kui.ghosts
Kui 睽 (38) carries the most lurid imagery in the Zhouyi — Wilhelm rendered the top line as seeing one's companion "as a pig covered with dirt, as a wagon full of devils." Wen Yiduo showed in 1941 that every figure is a celestial body. Carrying ghosts, one cart is the lunar lodge 輿鬼 Yu Gui (θ Cancri), literally "Carted Ghosts." The bow first drawn and later released is the Bow-and-Arrow constellation, perpetually aimed at Sirius. The swine shouldering mud is the Heavenly Swine, the lunar lodge 奎 Kui (δ Andromedae), whose autumn appearance opened the rainy season.
Shaughnessy pushes harder. He argues 孤 gu ("orphan") in 睽孤 is a scribal slip for 狐 hu ("fox") — which is Sirius, the Dog Star, known in China as the Heavenly Wolf 天狼, the swap serving the rhyme. The name 睽 kui itself may mean "to observe the heavens," kin to 揆 kui ("to measure," used in the Shijing for astronomical measurement). Read this way, the whole hexagram is a configuration of stars, season by season.
>CAT endnote.82
In endnote 82, Shaughnessy sketches a theory he chose not to publish: four editorial hands in the text — a Human Activities editor (hexagrams 3–14, greatest coherence), an Omenist (18–34), a Narrativist (35–44, least coherence), and a Moralist (45–60), with Qian/Kun and Jiji/Weiji set at head and tail by the final redactor. He held it back waiting on a complete philological apparatus. Forty-three years later, no one has picked it up. The framing metaphor is archaeological — excavating a Western Zhou temple "constructed of ideas and images rather than of timber and thatch," stripping cult and commentary to reach the original structure.
The temple is still there. The subroutine still runs. You just have to look up.