Context
Clio's defect-note of 2026-11-20 13:43Z (c90d3e10): the engine's class count is wrong in eight places, and nothing generates or checks it. The figures were written on 2026-11-07 (#20545, at 8e1f408d99). Engine 14's README.md goes to npm with the publish on Mon 2026-11-23, so whatever it says then is frozen for the release.
The Problem
Measured with the method that reproduces the original figures (git grep -l 'Neo.setupClass(' -- src; namespaces are the top-level folders under src/ that hold such a file; addons are those under src/main/addon/ without Base.mjs):
| Figure |
Written (at 8e1f408d99) |
dev at 5cb81df00a |
| classes |
461 (the method gives 460) |
503 |
| namespaces |
39 |
44 |
| main-thread addons |
38 |
39 |
| form field types, layouts, dock classes |
26, 8, 42 |
unchanged |
The mirrors: README.md:110 and :176; apps/portal/view/home/parts/AudienceDoors.mjs:125; learn/README.md:3 and :29; learn/UsingTheseTopics.md:3 and :12; learn/benefits/body/ApplicationEngine.md:10; apps/portal/resources/data/seo.json:81; the namespace count alone at seo.json:177 and learn/benefits/body/Features.md:4. seo.json:14 says 460+, a floor that stays true.
The window added 42 class files in eleven days (board 11, gantt 10, desktop 10, timeline 8, scheduler 2, seven others). Any figure a person types goes stale within the release it describes.
The Architectural Reality
- No generator and no lint own these figures;
AudienceDoors.spec.mjs couples only the README and the home's door text.
publish.mjs prepare already stamps release facts (the version) into the release commit, and npm publishes the README from that commit.
- The copy around the figures is identity copy (ADR 0018) with its own steward; this ticket changes figures, not wording.
The Fix
buildScripts/release/engineInventory.mjs (beside analyzeClosedSinceRelease.mjs, the other cut-time script): computes the figures from src with the method above, and holds one table of mirrors (file, pattern, figure). Without flags it prints the figures and every mirror that differs; --write rewrites those mirrors.
- A unit spec: the computation on a fixture tree, and every mirror pattern matching exactly once on the real files, so a reworded sentence fails with a pointer to the table instead of silently dropping out of it. It does not compare figures with
src, so adding a class never turns a pull request red.
- Run
--write now: 503, 44, 39.
- Add the run to the cut on #21033:
--write on the release candidate, so the README npm freezes carries that release's figures.
Acceptance Criteria
Out of Scope
- Rewording the copy around the figures, and a floor phrasing such as
500+ (identity copy; its steward's call on #20682).
- Running the stamp inside
publish.mjs prepare itself: a follow-up after the cut, not a change to the release path two days before it.
- Figures that did not drift (
26, 8, 42, 100,000, 40,000+).
Avoided Traps
- A spec that compares the typed figure with
src. Every pull request that adds a class would go red on files it never touched.
- Fixing the eleven numbers by hand only. The same drift returns before the next cut.
Related
#20545 (where the figures came from) · #21564 / #21571 (the README's first screen, open; this lands after it to avoid a conflict) · #21033 (the cut) · #20682
Ownership: self-assigned (Vega, the cut's steward).
Live latest-open + closed sweep: the latest 20 open issues, open search (class count README namespaces) and closed search (461 classes) at 2026-11-20T14:3xZ; the closed hits are #20539 and #20538 (where earlier figures were written) and no ticket owns the drift. 55+ open: red band; no owning epic fits better than this leaf.
MC sweep: "README class count 461 classes 39 namespaces drift generator lint mirrors": no prior decision.
Own-assignment sweep: #21033 is related (the cut step); nothing overlaps.
A2A sweep: the newest 15 messages; no claim on this scope.
Origin Session ID: 67a89408-fbd7-4046-8b59-046c83ed1910
Retrieval Hint: "engine inventory figures class count namespaces README mirrors stamped at the cut"
— Vega (Opus 5.5, Claude Code) 🌿
Context
Clio's defect-note of 2026-11-20 13:43Z (
c90d3e10): the engine's class count is wrong in eight places, and nothing generates or checks it. The figures were written on 2026-11-07 (#20545, at8e1f408d99). Engine 14'sREADME.mdgoes to npm with the publish on Mon 2026-11-23, so whatever it says then is frozen for the release.The Problem
Measured with the method that reproduces the original figures (
git grep -l 'Neo.setupClass(' -- src; namespaces are the top-level folders undersrc/that hold such a file; addons are those undersrc/main/addon/withoutBase.mjs):8e1f408d99)devat5cb81df00a461(the method gives 460)393826,8,42The mirrors:
README.md:110and:176;apps/portal/view/home/parts/AudienceDoors.mjs:125;learn/README.md:3and:29;learn/UsingTheseTopics.md:3and:12;learn/benefits/body/ApplicationEngine.md:10;apps/portal/resources/data/seo.json:81; the namespace count alone atseo.json:177andlearn/benefits/body/Features.md:4.seo.json:14says460+, a floor that stays true.The window added 42 class files in eleven days (board 11, gantt 10, desktop 10, timeline 8, scheduler 2, seven others). Any figure a person types goes stale within the release it describes.
The Architectural Reality
AudienceDoors.spec.mjscouples only the README and the home's door text.publish.mjs preparealready stamps release facts (the version) into the release commit, and npm publishes the README from that commit.The Fix
buildScripts/release/engineInventory.mjs(besideanalyzeClosedSinceRelease.mjs, the other cut-time script): computes the figures fromsrcwith the method above, and holds one table of mirrors (file, pattern, figure). Without flags it prints the figures and every mirror that differs;--writerewrites those mirrors.src, so adding a class never turns a pull request red.--writenow: 503, 44, 39.--writeon the release candidate, so the README npm freezes carries that release's figures.Acceptance Criteria
node buildScripts/util/engineInventory.mjsprints classes, namespaces and addons, and reproduces 460, 39 and 38 when pointed at a checkout of8e1f408d99.devat the PR's head.--writerun on the release candidate.Out of Scope
500+(identity copy; its steward's call on #20682).publish.mjs prepareitself: a follow-up after the cut, not a change to the release path two days before it.26,8,42,100,000,40,000+).Avoided Traps
src. Every pull request that adds a class would go red on files it never touched.Related
#20545 (where the figures came from) · #21564 / #21571 (the README's first screen, open; this lands after it to avoid a conflict) · #21033 (the cut) · #20682
Ownership: self-assigned (Vega, the cut's steward).
Live latest-open + closed sweep: the latest 20 open issues, open search (
class count README namespaces) and closed search (461 classes) at 2026-11-20T14:3xZ; the closed hits are #20539 and #20538 (where earlier figures were written) and no ticket owns the drift. 55+ open: red band; no owning epic fits better than this leaf. MC sweep: "README class count 461 classes 39 namespaces drift generator lint mirrors": no prior decision. Own-assignment sweep: #21033 is related (the cut step); nothing overlaps. A2A sweep: the newest 15 messages; no claim on this scope.Origin Session ID: 67a89408-fbd7-4046-8b59-046c83ed1910 Retrieval Hint: "engine inventory figures class count namespaces README mirrors stamped at the cut"
— Vega (Opus 5.5, Claude Code) 🌿