111 lines
3.0 KiB
Markdown
111 lines
3.0 KiB
Markdown
<!-- file: deltas/0.0.1/rel.001.md -->
|
|
<!-- version: 1 -->
|
|
|
|
# Delta 0.0.1 rel.001 — stable promotion
|
|
|
|
## Baseline
|
|
|
|
Version attendue avant application :
|
|
|
|
```text
|
|
0.0.1-rc.1.fix.1
|
|
```
|
|
|
|
Le history `history/0.0.1/rc.1.fix.1.md` MUST avoir été appliqué et committé avant ce delta.
|
|
|
|
Version après application :
|
|
|
|
```text
|
|
0.0.1
|
|
```
|
|
|
|
`rel.001` est l'identifiant opérationnel de cette clôture stable ; il ne fait pas partie de la version SemVer produit.
|
|
|
|
## Objet
|
|
|
|
Promouvoir mécaniquement la release candidate validée vers la stable `0.0.1`, finaliser les métadonnées vivantes de la release et préparer le commit/tag stable.
|
|
|
|
Cette tranche n'introduit aucune nouvelle règle normative ni aucun nouveau scope fonctionnel.
|
|
|
|
## Scope
|
|
|
|
REPLACE :
|
|
|
|
```text
|
|
VERSION
|
|
README.md
|
|
ROADMAP.md
|
|
docs/plans/001-V0_0_1_FOUNDATION_PLAN.md
|
|
```
|
|
|
|
ADD :
|
|
|
|
```text
|
|
deltas/0.0.1/rel.001.md
|
|
```
|
|
|
|
DELETE : aucun.
|
|
|
|
## Changements
|
|
|
|
- `VERSION` devient `0.0.1` ;
|
|
- `README.md` décrit `0.0.1` comme fondation établie et le plan `0.0.1` comme historique ;
|
|
- `ROADMAP.md` marque `0.0.1` terminé ;
|
|
- le plan `0.0.1` est clôturé et consigne le passage par `rc.1.fix.1` sans transformer le plan en journal de prereleases ;
|
|
- `CHANGELOG.md` n'est pas modifié : l'entrée stable `0.0.1` préparée en RC est déjà finalisée ;
|
|
- le prompt `0.0.2` n'est pas modifié : il cible déjà la future baseline taggée `v0.0.1`.
|
|
|
|
## Validation opérateur
|
|
|
|
```bash
|
|
test "$(cat VERSION)" = "0.0.1"
|
|
|
|
grep -F 'La release `0.0.1` établit la gouvernance normative et documentaire' README.md
|
|
grep -F 'plan historique de fondation `0.0.1`' README.md
|
|
grep -F -- '- `(x) 0.0.1`' ROADMAP.md
|
|
grep -F 'Plan clôturé par la promotion stable `0.0.1`' docs/plans/001-V0_0_1_FOUNDATION_PLAN.md
|
|
grep -F '`rc.1.fix.1`' docs/plans/001-V0_0_1_FOUNDATION_PLAN.md
|
|
grep -Fx '## 0.0.1' CHANGELOG.md
|
|
|
|
test -f prompts/002-V0_0_2_START_PROMPT.md
|
|
grep -F 'v0.0.1' prompts/002-V0_0_2_START_PROMPT.md
|
|
|
|
while IFS= read -r file; do
|
|
relative="${file#./}"
|
|
printf -v expected_header '<!-- file: %s -->' "$relative"
|
|
grep -Fx "$expected_header" "$file" >/dev/null || {
|
|
echo "Missing or invalid file header: ${relative}" >&2
|
|
exit 1
|
|
}
|
|
grep -Eq '^<!-- version: [1-9][0-9]* -->$' "$file" || {
|
|
echo "Missing or invalid version header: ${relative}" >&2
|
|
exit 1
|
|
}
|
|
done < <(find . -type f -name '*.md' -not -path './.git/*' | sort)
|
|
|
|
git diff --check
|
|
|
|
git add VERSION README.md ROADMAP.md docs/plans/001-V0_0_1_FOUNDATION_PLAN.md \
|
|
deltas/0.0.1/rel.001.md
|
|
|
|
git diff --cached --check
|
|
|
|
git status --short
|
|
```
|
|
|
|
La sortie attendue avant ajout du history est :
|
|
|
|
```text
|
|
M README.md
|
|
M ROADMAP.md
|
|
M VERSION
|
|
A deltas/0.0.1/rel.001.md
|
|
M docs/plans/001-V0_0_1_FOUNDATION_PLAN.md
|
|
```
|
|
|
|
## Transition
|
|
|
|
PASS : enregistrer `history/0.0.1/rel.001.md`, committer la stable `0.0.1`, créer le tag `v0.0.1`, puis télécharger l'archive source produite depuis ce tag et exécuter la vérification post-tag `publish.001`.
|
|
|
|
FAIL : ne pas créer le tag. Corriger la promotion stable dans une nouvelle tranche de clôture explicite avant toute publication.
|