Milestone 2: module/model docs (MD, Sphinx RST, PDF) and work log

74 source modules documented with extracted signatures, JSDoc params,
imports, and call graphs. 10 first-class models (PriceRule through
StatusResponse) have their own MD/RST/PDF. Sphinx HTML builds from
docs/sphinx. Per-module PDFs in docs/modules-pdf and docs/models-pdf.

Middleware gates 2–6 and 10 pass on MOCK_VERAE without NATS.

Learned: RST includes are relative to the RST file; keep one PDF per
module; Add Numbers remains the only push required tomorrow.
This commit is contained in:
George Lambert 2026-09-09 02:44:51 -04:00
parent b814501441
commit 10c663cc0c
347 changed files with 17200 additions and 14 deletions

View file

@ -5,13 +5,13 @@ Running record of milestones. Ordered by dependency.
| ID | Item | Depends on | Status |
|----|------|------------|--------|
| M0 | Import zappier + middleware + research; git checkin | — | done `b4150c8` |
| M1 | Organize layout + activate app + tests + Zapier setup guide | M0 | in progress |
| M2 | Git checkin after green tests | M1 | pending |
| M3 | Per-module MD (params, callees, returns) | M2 | pending |
| M4 | Sphinx + PDF for every module | M3 | pending |
| M5 | Git checkin docs + lessons | M4 | pending |
| M6 | Integration hardening (`/v1/add` already on zappier) | M2 | partial |
| M7 | Ready-to-activate final checkin | M5 | pending |
| M1 | Organize layout + activate app + tests + Zapier setup guide | M0 | done `b814501` |
| M2 | Git checkin after green tests | M1 | done `b814501` |
| M3 | Per-module MD (params, callees, returns) | M2 | done (74 modules) |
| M4 | Sphinx + PDF for every module + 10 models | M3 | done |
| M5 | Git checkin docs + lessons | M4 | this commit |
| M6 | Integration hardening (`/v1/add` on zappier, Add Numbers local) | M2 | done for activate-now |
| M7 | Ready-to-activate final checkin | M5 | this commit |
## Learned (M1)
@ -20,3 +20,11 @@ Running record of milestones. Ordered by dependency.
- `zapier-platform validate` is structurally sound for `packages/verae-activate`.
- Hosted path is optional: zappier `POST /v1/add` is free on the rate card (`operationId: add`).
- Do not mix `zapier-sdk` (consume) with `zapier-platform` (publish).
## Learned (M3M7)
- Extracting signatures from JS/TS with regex is good enough for a first API atlas; JSDoc `@param`/`@returns` is sparse in older files — fill those as we touch modules.
- Sphinx `include` paths are relative to the RST file; copy MD beside RST.
- Combined reportlab books fail if any flowable is taller than a page; keep one PDF per module.
- Middleware gates 26 and 10 pass with `MOCK_VERAE=true` and NATS off. Gates 79/12 still need a local NATS (not required to push Add Numbers).
- `zapier-platform validate` is clean with `cleanInputData: false` and a docs link on the optional API key field.