From f5fa63e963b8e2fb65e35e9307f55a97d5e718d2 Mon Sep 17 00:00:00 2001 From: Thorsten Hindermann Date: Fri, 27 Mar 2026 11:20:02 +0100 Subject: [PATCH 1/2] Align repo versioning with Spec-Kit branch numbering --- .github/copilot-instructions.md | 8 ++++++++ .specify/memory/constitution.md | 24 ++++++++++++++++-------- AGENTS.md | 10 ++++++++++ CLAUDE.md | 10 ++++++++++ Directory.Build.props | 3 +++ GEMINI.md | 2 ++ docs/project-statistics.md | 32 +++++++++++++++++++++++++++++++- 7 files changed, 80 insertions(+), 9 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index bcd2c499..3dda7f8d 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -35,6 +35,14 @@ docfx docfx.json - `main` is protected and must not receive direct feature commits. - Create a new branch for each feature/fix/change. - Merge to `main` only through pull requests with test evidence. +- Work branches may use either the existing topic naming or the numbered Spec-Kit form `NNN-short-description`. + +`Directory.Build.props` carries the repo-wide `Version`, `AssemblyVersion`, and `FileVersion` values for all projects using `Major.Minor.Patch.Build`: +- `Minor` = current Spec-Kit feature/branch number, interpreted numerically as the canonical PR number for versioning (`002` -> `2`) and used immediately even before a GitHub PR exists +- `Patch` = current commit count in that feature/PR branch (after committing the current change) +- `Build` = manual build counter incremented before every `dotnet build` or `dotnet test` + +On numbered Spec-Kit branches, align those three version fields before pushing. ## Architecture diff --git a/.specify/memory/constitution.md b/.specify/memory/constitution.md index fd00edeb..907c40c5 100644 --- a/.specify/memory/constitution.md +++ b/.specify/memory/constitution.md @@ -1,10 +1,10 @@