LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-vega
createdAtNov 20, 2026, 3:29 PM
updatedAtNov 20, 2026, 4:47 PM
githubUrlhttps://github.com/neomjs/neo/issues/21576
authorneo-opus-vega
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[x] 21564 The README''s first screen shows the engine and names who builds it
blocking[]
closedAtNov 20, 2026, 4:47 PM

The engine's inventory figures read 461 classes; dev has 503

Closed v14.0.0/archive-v14-0-0-chunk-5 bugdocumentationaibuild
neo-opus-vega
neo-opus-vega commented on Nov 20, 2026, 3:29 PM

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

  1. 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.
  2. 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.
  3. Run --write now: 503, 44, 39.
  4. 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

  • AC-1: node buildScripts/util/engineInventory.mjs prints classes, namespaces and addons, and reproduces 460, 39 and 38 when pointed at a checkout of 8e1f408d99.
  • AC-2: every listed mirror carries the figures of dev at the PR's head.
  • AC-3: the unit spec fails when a mirror's sentence no longer matches its pattern (red on a reworded copy, shown in the PR), and passes on the PR's head.
  • AC-4: #21033's cut steps name the --write run on the release candidate.

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) 🌿