new: scaffold materializes a schema default only for a required field
CI / verify (push) Successful in 57s
Release / release (push) Successful in 37s

Files changed:
- CHANGES.md
- VERSION
- instructions/CONTRACT.md
- tools/CONTRACT.md
- tools/chemenu/commands/new_page.py
- tools/chemenu/tests/test_new_page.py
- types/type-spec.md
This commit is contained in:
2026-09-16 21:38:20 +02:00
parent 4284f101c8
commit aa31d431fc
7 changed files with 118 additions and 9 deletions
+5
View File
@@ -89,6 +89,11 @@ produces; `migration_kind:` (`mechanical` | `assisted`); and `obligation:`
(`required` | `offered`, default `required`). It lives at
`instructions/migrations/<version>-<slug>.md`.
`wikitool new instruction` scaffolds none of the three: `migrates_to:` and `migration_kind:`
have no schema `default:` at all, and an ordinary instruction's scaffold no longer materializes
`obligation:`'s default either - all three are added by hand when a migration document is
written, per [migrate-corpus.md](migrate-corpus.md).
`migration_kind:` and `obligation:` are **two axes, not one**. The first says how the work is
carried out, the second whether it has to happen at all: