feat(schema): Exercise.explanation - post-answer why (schema 1.13) - #144
Merged
Conversation
hint is shown on demand before/during answering, examples are worked examples shown before answering that must not spoil it - neither fits "explain the French word-order rule after the learner answers". Exercise gains an optional explanation (Markdown, max 1000 chars, mirrors hint's shape), not restricted to any exercise type. x-schema-version 1.12 -> 1.13 in both schemas (lockstep). Additive: content without the new field validates unchanged. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2 tasks
astrapi69
pushed a commit
that referenced
this pull request
Aug 31, 2026
…DME export audit - ext:ref-audio-choice, ext:ref-audio-tiles, ext:ref-speak-and-record (#143) - Exercise.explanation, post-answer "why" (#144, #146; schema 1.12 -> 1.13) - README public-API table + export audit (missing type exports, SetReviewStatus/SetAttribution actually exported now) Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Exercise.explanation(Markdown, max 1000 chars, mirrorshint's shape): a post-answer "why", distinct fromhint(on demand, before/during) andexamples(before answering, must not spoil).x-schema-version1.12->1.13in both schemas (lockstep),quality-rules.jsonbumped to match, TS types regenerated, schema-baseline fixtures re-synced, schema-diagrams regenerated, stale "currently 1.12" doc claims updated (docs-version-claims gate).Test plan
schema 1.13 - explanation on exercisesblock invalidate.test.ts)make release-check(sync-types-check, schema-diagrams --check, lint, typecheck, test [927 tests], build)make prose-check