Skip to content

feat(schema): Exercise.explanation - post-answer why (schema 1.13) - #144

Merged
astrapi69 merged 2 commits into
mainfrom
feat/exercise-explanation-field
Aug 31, 2026
Merged

feat(schema): Exercise.explanation - post-answer why (schema 1.13)#144
astrapi69 merged 2 commits into
mainfrom
feat/exercise-explanation-field

Conversation

@astrapi69

Copy link
Copy Markdown
Owner

Summary

  • New optional Exercise.explanation (Markdown, max 1000 chars, mirrors hint's shape): a post-answer "why", distinct from hint (on demand, before/during) and examples (before answering, must not spoil).
  • x-schema-version 1.12 -> 1.13 in both schemas (lockstep), quality-rules.json bumped 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

  • RED-first per repo TDD rule (schema 1.13 - explanation on exercises block in validate.test.ts)
  • make release-check (sync-types-check, schema-diagrams --check, lint, typecheck, test [927 tests], build)
  • make prose-check

astrapisixtynine and others added 2 commits August 31, 2026 11:35
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>
@astrapi69
astrapi69 merged commit c00b3a8 into main Aug 31, 2026
4 checks passed
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>
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.

2 participants