swexcel

SWExcel Rework: Public Windows Toolkit

Summary

Create a new toolkit under /Users/kiryll/Development/swexcel/rework/, preserving the existing project as a reference.

V1 delivers a downloadable .xlsm workbook, Swiss Ephemeris DLL, data, readable VBA source, and documentation. It targets 64-bit Microsoft 365 Excel on Windows and exposes the full Swiss Ephemeris API through native VBA wrappers and appropriate worksheet functions.

Calculation and API design

Workbook and downloadable package

Implementation and acceptance

  1. Prove integration first: In your Parallels Windows Excel installation, verify DLL loading, string/pointer handling, one scalar formula, and one spilling array formula. Record Excel build and process architecture.
  2. Complete API coverage: Implement and verify every catalog entry, including configuration, diagnostics, and special output buffers.
  3. Build the reference workbook: Connect documented examples to the tested functions and add setup/data diagnostics.
  4. Validate the packaged release: Test the actual ZIP after extraction and reopening.

Required checks:

Windows Excel acceptance is required before calling v1 ready for public distribution.

Documentation, versions, and roadmap

During implementation, save the specification and future work in rework/PLAN.md and rework/ROADMAP.md. Establish project versioning, a Keep a Changelog changelog, and Conventional Commits. At each completed code checkpoint: run relevant tests, fix failures, update version/documentation, then commit. Use development versions before the first public 1.0.0.

Record these future phases explicitly:

V1/V2/V3 describe roadmap phases; actual version numbers follow Semantic Versioning.

Implementation stop requested by the user

Implement only until real testing via Parallels is needed, then pause and report. The first checkpoint prepares integration step 1: source, native ABI inventory, loader, scalar/spill probes, guided workbook build and pinned package assets. Complete the remaining API/workbook work after the foundational Windows test passes. Do not start or resume the VM during this checkpoint.

Latest-engine amendment

The user requested the latest Swiss Ephemeris version during implementation. The latest official release is v2.10.3bfinal; its source still declares runtime version 2.10.03. The published Windows archive DLL is byte-identical to the original repository DLL. Therefore build a fresh x64 DLL and matching swetest from the pinned latest source at the Windows gate, retain source/compiler/export/hash evidence, and distinguish release/source identity from the runtime version string. Published prebuilts in the checkpoint are inspection references, not proof of a latest-source build.

Authorized continuation, 2026-10-05/06

The user lifted the pre-Parallels stop, requested full API implementation, and authorized scripted Excel compilation/builds with temporary VBA-project access restored afterward. The earlier stop section is historical. Version 0.1.0-dev.4 implements the full API/workbook scope; see verification/2026-10-06/README.md for executed evidence and limits. Public-release download/onboarding acceptance is explicitly deferred; compatibility and optional data-pack phases remain on ROADMAP.md.

Authorized release preparation, 2026-10-07

The user authorized completion of the Windows checks using computer use and alternative automation. The actual browser-downloaded dev.4 package passed live calculation and all 25 desktop checks after file-specific unblocking. Publish it as an explicitly labeled development prerelease with first-use instructions. This existing-profile run does not establish clean-profile acceptance; stable 1.0 remains pending that gate. See verification/2026-10-07/README.md.