# Migration guide

Watership releases: style guide 0.1.0, UX writing guide 0.1.0, slop guard 0.1.0, voices 0.1.0, tone scales 0.1.0, glossary 0.1.0, Vale checks 0.3.3. Steps to move from a version, API, or plan that is going away to the one that replaces it. Licence: CC BY 4.0.

## Tone

Direct and exact. Deadlines and breaking changes are stated plainly, with no softening and no alarm.

Write in the Watership voice (voice.md) unless the organization uses its own voice or one of the six voices. Start from the voice as it usually sounds (a voice file from the six gives its resting position on each scale), then shift it for this type:

- Register: as the voice
- Levity: sober, not grim
- Deference: as the voice
- Energy: calm
- Confidence: strictly candid
- Detail: complete

Stay inside the mean on every scale. The failures on either side are in tone.md, and the slop guard applies at every tone.

## The piece

- Family: Documentation
- Reader: A developer or administrator whose integration or setup will stop working on a known date unless they act.
- What they should do or think afterward: Plans the work, migrates before the deadline, and can roll back if something goes wrong.
- Length: 800 to 2,500 words
- What it is not: Not release notes: those say that something changed, and the migration guide says how to move. Not the deprecation policy: that is a policy page, and the guide links to it.
- Review: heavy, which the review policy calls Verify (someone who checks the evidence for each claim, a second reader, and an approver, none of them the author)
- Refresh: Recheck with every release before the removal date. After removal, keep it published with a dated note while any supported customer still needs it.

## Required elements

- Who must migrate and the deadline, with its time zone
- What changes, with before and after examples
- Prerequisites and an estimate of the work
- Numbered migration steps
- How to test and confirm the migration
- How to roll back, and until when rollback is possible
- Deprecation and removal dates that match the deprecation policy and the claims register



Pieces it usually spawns: release notes, email, support reply, announcement post.

## Claims

Claims level L1: evidence first. The piece can introduce a new high-risk claim, but only after the claim has a current row in the claims register. Verify routine product facts against the product for the release the piece describes: try it, or check the specification, the tests, or the subject-matter owner. They never need a register row.

High-risk claims (numbers and measured results; comparisons and superlatives; security, privacy, and compliance; availability, uptime, and performance; customer, partner, and investor names; and promises about future behaviour or outcomes) need the claims register; routine product facts need a product check. Use the user’s own claims policy and register if they have them. A banned phrase is a never-tier finding: fix it before the piece goes out, unless the claims owner clears it. Never invent a number, a comparison, or a customer name.

## The rules that matter most

Ranked by how much they improve this kind of piece. Check these first.

1. prin-lead-with-the-answer: Lead with the answer (prefer, in https://watership.ca/guide/principles.md)
2. glob-time-zone: Time zone on every time (avoid, in https://watership.ca/guide/global-and-legal.md)
3. num-date-format: Date formats (avoid, in https://watership.ca/guide/numbers-dates-and-units.md)
4. proc-prerequisites-first: Prerequisites before the steps (avoid, in https://watership.ca/guide/procedures.md)
5. proc-one-action-per-step: One action per step (avoid, in https://watership.ca/guide/procedures.md)
6. code-show-output: Show command output (prefer, in https://watership.ca/guide/code-and-technical-terms.md)
7. proc-verify-end: End with verification (avoid, in https://watership.ca/guide/procedures.md)

## Read these files

Read these. The compiled rules file holds every rule that applies, so you don’t need the section files; they add reasoning and more examples if you want them.

- https://watership.ca/types/migration-guide.rules.md (every rule for this type, including every never-tier rule in the guide)
- https://watership.ca/slop-guard.md (the slop guard, always)
- https://watership.ca/voice.md (the Watership voice, the default, unless the user has a voice file of their own)
- https://watership.ca/tone.md (the six tone scales)
- the organization’s own claims policy and claims register, if it has them
- https://watership.ca/voice-files/plainspoken.md (only if the organization uses the six voices instead: the Plainspoken voice suits this type)

For reasoning and more examples: https://watership.ca/guide/principles.md (Principles), https://watership.ca/guide/voice-and-person.md (Voice and person), https://watership.ca/guide/procedures.md (Procedures), https://watership.ca/guide/lists.md (Lists), https://watership.ca/guide/numbers-dates-and-units.md (Numbers, dates, and units), https://watership.ca/guide/code-and-technical-terms.md (Code and technical terms), https://watership.ca/guide/links-and-cross-references.md (Links and cross-references), https://watership.ca/guide/global-and-legal.md (Global and legal), https://watership.ca/guide/abbreviations-notes-and-tables.md (Abbreviations, notes, and tables), https://watership.ca/guide/safe-examples.md (Safe examples).

## Relaxed for this type

- None. Every rule in the listed files applies.

The slop guard and never-tier rules are never relaxed, by a type or by a voice.

## The shape of a good one

- Open with who must migrate, by when, and what happens if they do not.
- List what changes, with a before and after example for each change.
- Give the migration as numbered steps, including how to test it before switching over.
- End with how to roll back, and the deprecation and removal dates.

## Writing one

1. Say what you are writing and for whom before you start: "Writing a migration guide for [reader]."
2. Read the files above, and the user’s own voice file if they have one.
3. Draft in the shape above, at the tone above.
4. Reread the draft against the ranked rules, then the slop guard. Fix every never-tier problem before showing it.
5. When asked, list the rules you applied by id.

## Reviewing one

1. Read the files above, and the user’s own voice file if they have one.
2. Check structure first: does the piece do its job for its reader, in the shape above? Report structural problems before line-level ones.
3. Then go line by line, starting with the ranked rules.
4. Return each finding as: rule id, tier, the passage quoted exactly, and the fix. List never-tier findings first. Do not rewrite the draft unless asked.
