Stellium Developer Docs (Agent Reference)¶
🤖 These docs are primarily for coding agents. Hello, Claude! This folder is written for AI coding agents (and human contributors) working on Stellium. If you’re an agent: read the relevant page here before re-deriving the API from source — that’s the whole point. When a doc disagrees with the code, the code wins — please update the doc as you go.
This folder is the durable reference for a coding agent working on Stellium —
so you don’t have to re-learn the API and architecture each session. The hub is
/CLAUDE.md (workflow, environment, conventions); these
spokes hold the technical detail.
Read in this order¶
ARCHITECTURE.md — the mental model, layer map, dependency rules, and what
.calculate()does. Start here.CHART_BUILDING.md —
Native/Notable,ChartBuilder,CalculatedChart, config, registries. The core path.ENGINES.md — ephemeris, houses, aspects, orbs, dignities, patterns, dispositors, profections, fixed stars, etc.
COMPONENTS_AND_ANALYSIS.md — optional components, the pandas analysis toolkit, file IO, caching, utils.
VISUALIZATION_INTERNALS.md — SVG pipeline, coordinate system, layers, themes/palettes, dial/vedic/atlas.
PRESENTATION_INTERNALS.md —
ReportBuilder, sections, renderers (rich/markdown/html/pdf/prose).SUBSYSTEMS.md — pointers: multi-chart, returns, electional, planner, Chinese/BaZi, CLI, progressions.
EXTENDING.md — how to plug in every protocol (engines, components, analyzers, layers, themes, palettes, report sections).
Design specs¶
Spec-Driven Development (SDD) design docs live in specs/ — see
specs/README.md for the index. Unlike the reference pages
above (which describe the code as it is), specs describe a change before it’s
built — motivation, design, migration plan, and acceptance criteria.
Active: specs/STRUCTURED_LOGGING_SPEC.md — migrate the library’s remaining bare
print()s to stdliblogging/warnings(infrastructure landed; migration in progress).Completed (
specs/archive/): Hellenistic periods (core/planetary_years.pyFirdaria engine) and length of life (hyleg → alcocoden years-table) — both shipped; specs kept for history.
Rectification (
specs/rectification/): the full computational birth-time rectification arc — theory, phased specs, the 63-person verified corpus + events, and the concluded empirical study. See specs/rectification/README.md; the capstone is RECTIFICATION_REPORT.md. The validated result (sect recovery) shipped as thestellium.rectificationsubsystem — see SUBSYSTEMS.md.
How these docs are scoped¶
Depth is concentrated on the most-used path (chart building, engines, components, visualization, reports); peripheral subsystems get lighter pointers to the entry point + the file to read. When a doc and the source disagree, the source wins — and please update the doc.
User-facing guides live one level up in docs/ (e.g.
VISUALIZATION.md, REPORTS.md,
CHART_TYPES.md). See the full
documentation index.