---
id: HSCP-T-007
titre: "Version support calendar: promised duration, notice kept, fixes delivered separately"
titre_court: "Check the version support calendar"
type: note
objet: test
langue: en
statut: brouillon
version: 0.1
verifie_le: 2026-12-02
traduit_de: LISEZ-MOI.md
traduit_de_version: 0.1
traduit_de_empreinte: 5923e52b39e8d92a
traduction: modèle de langue, glossaire catalogue/glossaire-en.yaml
source: traduction de LISEZ-MOI.md, version 0.1
sensibilite: interne
licence: Apache-2.0
gestes: [HSCP-G-161]
recette: HSCP-R-020
piece: registre
---

# Version support calendar: promised duration, notice kept, fixes delivered separately

## What the test checks

The evidence is the version support calendar, one JSON object per version (JSON Lines), following the recipe's data model:

| Field | Required | Meaning |
|---|---|---|
| `version` | yes | branch or major version |
| `sortie` | yes | release date (YYYY-MM-DD) |
| `fin_evolutions` | yes | date from which the version only receives fixes |
| `fin_correctifs` | yes | end-of-support date |
| `annonce_fin` | yes | date on which end of support is or was announced |
| `correctifs_separes` | yes | `true` if fixes are delivered without new features |
| `remplacee_par` | once support has ended | recommended version |

The maintenance plan sets two values, passed to the test: the minimum support duration (`--assistance-mois`) and the announcement notice (`--preavis-mois`). The test accepts the calendar if, for each version:

- dates are readable and in order: release, end of new features, end of fixes;
- support lasts at least the plan's duration;
- end of support is announced at least the plan's notice before the end of fixes;
- a version still supported on the day of the check receives its fixes separately from new features;
- a version whose support has ended names its replacement.

It reports, without refusing, an end-of-support announcement due within 90 days.

## Running the test

```sh
python3 verifier.py calendrier.jsonl --assistance-mois 36 --preavis-mois 6
```

`--date` sets the day of the check, `--json` returns the answer as JSON. Exit code: 0 evidence accepted, 1 evidence refused, 2 incorrect call. Python 3.10 or later, no dependency.

## Examples

- `exemples/valide/`: two versions, 36 months of support, announcement 6 months ahead, separate fixes, replacement named. Accepted.
- `exemples/refuse/`: one version stopped too early, announced too late and without a replacement; one supported version whose fixes come with new features; one version with dates out of order. Refused.

## What the test does not say

- It does not say that the promised fixes are actually published: matching against the release history remains a review.
- It does not say that the announcement was made or read.
- It checks neither the decommissioning plan, nor what happens to the data at shutdown, nor the integrity of the record: these are reviews in the recipe.
