diff --git a/.github/tests/test_template.py b/.github/tests/test_template.py index fd5fd0d..95b4535 100755 --- a/.github/tests/test_template.py +++ b/.github/tests/test_template.py @@ -211,8 +211,8 @@ def validate_file_structure(self) -> bool: # Template version marker: every release bumps this deliberately. marker = self.project_path / ".github" / "template-version.txt" if marker.exists(): - if marker.read_text().strip() != "reloaded-templates-rust:1.4.4": - logger.error("✗ template-version.txt does not match 1.4.4") + if marker.read_text().strip() != "reloaded-templates-rust:1.4.5": + logger.error("✗ template-version.txt does not match 1.4.5") errors += 1 else: logger.error("✗ template-version.txt not found") @@ -685,8 +685,10 @@ def validate_v1_1_4_template_updates(self) -> bool: if agents_path.exists(): agents_text = agents_path.read_text() for line in ( - "After changes, find and run `.llm/verify.{sh,ps1}` to test + lint.", - "Print all output.", + "After changes, run your platform's `verify.sh` or `verify.ps1` in `.llm/` or", + "`src/.llm/` if present.", + "It runs project verification, including tests and linting.", + "Print all output; do not repeat checks it already runs.", "Performance:", "- Keep dependency footprint minimal.", ): diff --git a/docs/migration/about.md b/docs/migration/about.md index 0bb83a0..ecdee82 100644 --- a/docs/migration/about.md +++ b/docs/migration/about.md @@ -26,6 +26,7 @@ For information about migrating between template versions, see the following gui - **[v1.4.2]** - Slim `.llm` guidance, tidy in verify, `core` over `std` lint - **[v1.4.3]** - Verify scripts run the file-altering steps first - **[v1.4.4]** - Update rust-llm-tidy action to v2 +- **[v1.4.5]** - Update the verification script path in `src/AGENTS.md` [v1.0.0]: v1.0.0.md [v1.0.1]: v1.0.1.md @@ -42,3 +43,4 @@ For information about migrating between template versions, see the following gui [v1.4.2]: v1.4.2.md [v1.4.3]: v1.4.3.md [v1.4.4]: v1.4.4.md +[v1.4.5]: v1.4.5.md diff --git a/docs/migration/v1.4.5.md b/docs/migration/v1.4.5.md new file mode 100644 index 0000000..5091561 --- /dev/null +++ b/docs/migration/v1.4.5.md @@ -0,0 +1,24 @@ +# Migration to v1.4.5 + +From `v1.4.4` to `v1.4.5`. + +## 1. Update the verification script locations + +Update `src/AGENTS.md`: + +```diff +-After changes, find and run `.llm/verify.{sh,ps1}` to test + lint. +-Print all output. ++After changes, run your platform's `verify.sh` or `verify.ps1` in `.llm/` or ++`src/.llm/` if present. ++ ++It runs project verification, including tests and linting. ++Print all output; do not repeat checks it already runs. +``` + +## 2. Update the template version marker + +```diff +-reloaded-templates-rust:1.4.4 ++reloaded-templates-rust:1.4.5 +``` diff --git a/mkdocs.yml b/mkdocs.yml index 698895b..c449f7c 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -95,5 +95,6 @@ nav: - To v1.4.2: migration/v1.4.2.md - To v1.4.3: migration/v1.4.3.md - To v1.4.4: migration/v1.4.4.md + - To v1.4.5: migration/v1.4.5.md - License: https://reloaded-project.github.io/Reloaded.MkDocsMaterial.Themes.R2/Pages/license.html - How to Document: https://reloaded-project.github.io/Reloaded.MkDocsMaterial.Themes.R2/Pages/contributing.html diff --git a/templates/general/.github/template-version.txt b/templates/general/.github/template-version.txt index 62e5d28..f879f09 100644 --- a/templates/general/.github/template-version.txt +++ b/templates/general/.github/template-version.txt @@ -1 +1 @@ -reloaded-templates-rust:1.4.4 +reloaded-templates-rust:1.4.5 diff --git a/templates/general/src/AGENTS.md b/templates/general/src/AGENTS.md index f095553..2383a29 100644 --- a/templates/general/src/AGENTS.md +++ b/templates/general/src/AGENTS.md @@ -1,5 +1,8 @@ -After changes, find and run `.llm/verify.{sh,ps1}` to test + lint. -Print all output. +After changes, run your platform's `verify.sh` or `verify.ps1` in `.llm/` or +`src/.llm/` if present. + +It runs project verification, including tests and linting. +Print all output; do not repeat checks it already runs. Performance: