Skip to content

fix(schema): a parametric variable's description says the engine samples and evaluates; release 0.42.1 (#277) - #278

Merged
astrapi69 merged 2 commits into
mainfrom
fix/277-variable-description
Oct 22, 2026
Merged

astrapi69 merged 2 commits into
mainfrom
fix/277-variable-description

Conversation

@astrapi69

Copy link
Copy Markdown
Owner

Closes #277

What

Why now

Found by adaptive-learner's docs audit for its v2.17.0 release (adaptive-learner#3831). The app generates its developer page lesson-format-reference.md in 8 help languages from the schema mirror, so it publishes the false sentence. After this release the app re-pins (make sync-schema), and the page follows. The content repos need no re-pin: they generate nothing from descriptions.

Gates

  • make release-check: green. 77 test files, 2076 tests, lint, typecheck, build. The docs-version-claims test first found the three stale "0.42.0" claims in docs/comparative-analysis.md.
  • make prose-check: OK.
  • npm run docs:api:check: OK.

Docs audit (.claude/rules/release.md)

For each change in the 0.42.1 section I searched README, CONTRIBUTING, docs/, both blog languages and the in-code docs:

After merge

Tag v0.42.1, make publish, wait for the registry, GitHub release, then the app re-pin.

🤖 Generated with Claude Code

astrapisixtynine and others added 2 commits October 22, 2026 13:13
…les and evaluates (#277)

The ExerciseVariable description ended "The engine validates the contract
and never samples or evaluates", false since engine#220:
resolveExerciseVariables samples and evaluates and evaluateExpression is
exported. It now names both helpers and that the random source is a
parameter. The frozen schema baseline takes the same text (the byte test
went red on the edit, as it should); make sync-types regenerated the
doc comment in lesson-schema.generated.ts. No type, field or rule
changes; x-schema-version stays 1.19.

Found by adaptive-learner's v2.17.0 docs audit: its generated
lesson-format reference publishes the sentence in eight languages.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Patch release: the ExerciseVariable description (#277), plus the Pages
site changes already on main (engine#272, engine#274), which ship
nothing in the package. CHANGELOG dated, version claims in
docs/comparative-analysis.md moved to 0.42.1 (the docs-version-claims
test found the three). make release-check, make prose-check and
npm run docs:api:check are green.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@astrapi69
astrapi69 merged commit db23178 into main Oct 22, 2026
4 checks passed
@astrapi69
astrapi69 deleted the fix/277-variable-description branch October 22, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

schema: a parametric variable's description says the engine never samples or evaluates; since engine#220 it does

2 participants