diff --git a/src/content/docs/graphql/guides/upgrade.mdx b/src/content/docs/graphql/guides/upgrade.mdx
index 9688936..7655f96 100644
--- a/src/content/docs/graphql/guides/upgrade.mdx
+++ b/src/content/docs/graphql/guides/upgrade.mdx
@@ -43,13 +43,13 @@ Each option is a `dotnet new` option:
| `authentication` | `--include-auth`, with `--authority` and `--audience` from inside it. Leave all three off when it's `null` |
-Your solution came from the December 2026 release or earlier. Releases come once a month, so the date of your first commit tells you which one: `git log --reverse --format=%cs | head -1`, then pick the last release on or before that date from the [releases page](https://github.com/LeanMeanCleanApps/CleanGraphQLApi/releases). The options are in the solution too:
+Your solution came from the December 2026 release or earlier. Releases come once a month, so the date of your first commit tells you which one: `git log --max-parents=0 --format=%cs`, then pick the last release on or before that date from the [releases page](https://github.com/LeanMeanCleanApps/CleanGraphQLApi/releases). The options are in the solution too:
- **Name**: your `.slnx` file's name, without the extension.
- **Author name**: `` in `src/Presentation/Presentation.csproj`. Skip it if that still says Stephen Walsh, and thanks for the credit.
- **Authentication**: you used `--include-auth` if `src/Presentation/Authentication` exists. The authority and audience are under `Authentication` in `src/Presentation/appsettings.json`, as they were when you started.
-The tag on the releases page, such as `2026.12.02.374`, works as the version below. NuGet shows the same version as `2026.12.2.374`.
+The tag on the releases page, such as `2026.12.02.245`, works as the version below. NuGet shows the same version as `2026.12.2.245`.
## Upgrade
@@ -61,7 +61,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
1. Generate a copy of the release you started from:
```bash
- dotnet new install CleanGraphQLApi.Template::2027.01.01.412
+ dotnet new install CleanGraphQLApi.Template@2027.01.01.412
dotnet new cleangraphqlapi --name WorksOnMyMachine.Movies --authorName "Jane Citizen" --include-auth --authority https://login.example.com --output ../upgrade/old --no-restore
```
@@ -75,7 +75,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
3. Diff the two copies into a patch:
```bash
- (cd ../upgrade && git diff --no-index --binary old new > template.patch)
+ git -C ../upgrade diff --no-index --binary --output=template.patch old new
```
An empty patch means the template hasn't changed anything that touches your solution. You're up to date; go and have a coffee.
@@ -90,7 +90,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
Files you never touched just take the new version. Files you changed get merged with the template's changes. Where you both changed the same lines, git leaves conflict markers, exactly like a merge, and `git status` lists the file as both modified. Sort each one out, then `git add` it.
- Git says "Falling back to direct application" for files the template added. That's fine; there was nothing to merge them with. The patch updates `.lmca.json` too, so the next upgrade starts from here.
+ Git says "Falling back to direct application" for files the template added or removed. That's fine; there was nothing to merge them with. The patch updates `.lmca.json` too, so the next upgrade starts from here.
5. Build, test and check the format, as CI would:
@@ -104,9 +104,10 @@ The commands run from your solution's folder and put their work in an `upgrade`
```bash
git commit -m "Upgrade to template release 2027.02.01.430"
- rm -rf ../upgrade
```
+ Then delete the `upgrade` folder. It's done its job.
+
@@ -121,6 +122,8 @@ The patch is yours to edit. Skip whole folders with `--exclude`, or take only so
git apply --3way -p2 --exclude='.agents/*' ../upgrade/template.patch
```
+One catch: the patch always moves `.lmca.json` to the new release, so the next upgrade starts from there and won't offer you the parts you skipped. If you might want them later, keep the patch somewhere, or add `--exclude='.lmca.json'` and stay on the old release until you've taken the lot.
+
Or open `template.patch` and read it first. Anything in `src/Application` and `src/Infrastructure` is the same in all five templates, so a fix there is usually worth having. Anything in `src/Presentation` is the API itself, where your own changes most likely live.
Coding agents are good at this. Ask yours to apply the patch, resolve the conflicts so it keeps your changes and the template's, and run the checks. It works as Jacques, so it already knows those checks from `AGENTS.md`.
@@ -129,6 +132,15 @@ Coding agents are good at this. Ask yours to apply the patch, resolve the confli
Each release's notes on GitHub link here. Each release gets a few lines below on what's worth bringing in and anything that needs care, newest first.
-### 2026.12.02.374
+### 2027.01.01
+
+{/* DRAFT: finish once the January security changes merge, then set the heading to the real release number after the 1st. */}
+
+- **`.lmca.json`.** New solutions record the release and options that made them. The patch adds it to yours, so the next upgrade can skip the detective work.
+- **Packages.** The Microsoft.Extensions testing and logging packages go back to the .NET 10 line, and Serilog and the template tooling stay on it too, so nothing in `Directory.Packages.props` runs a major ahead of the rest. Worth taking as a whole. If you've bumped any of them yourself, expect a conflict and keep whichever version you meant.
+- **Coding agents.** Jacques moves out of `.agents/agents/jacques.md` and into `AGENTS.md`, planning and handoffs move into a new `planning-and-handoff` skill, and the skill examples match the code again. If you've edited `AGENTS.md`, this is where conflicts turn up. Keep your own **Where we track work** line.
+- **Security.** To be written once the safe-by-default changes merge.
+
+### 2026.12.02.245
The release we launched with. Solutions made from it don't have a `.lmca.json`; see [Find your release and options](#find-your-release-and-options).
diff --git a/src/content/docs/graphql/reference/project-structure.mdx b/src/content/docs/graphql/reference/project-structure.mdx
index 8294204..7926461 100644
--- a/src/content/docs/graphql/reference/project-structure.mdx
+++ b/src/content/docs/graphql/reference/project-structure.mdx
@@ -56,6 +56,7 @@ import { FileTree } from '@astrojs/starlight/components';
- docker-compose.yml the API, an OpenTelemetry Collector and the Aspire dashboard
- otel-collector.yaml where the collector sends logs, traces and metrics
- global.json
+- .lmca.json the template release and options that made the solution
- NuGet.config
diff --git a/src/content/docs/lambda/guides/upgrade.mdx b/src/content/docs/lambda/guides/upgrade.mdx
index bef75bd..e644ab4 100644
--- a/src/content/docs/lambda/guides/upgrade.mdx
+++ b/src/content/docs/lambda/guides/upgrade.mdx
@@ -38,12 +38,12 @@ Each option is a `dotnet new` option:
| `authorName` | `--authorName` |
-Your solution came from the December 2026 release or earlier. Releases come once a month, so the date of your first commit tells you which one: `git log --reverse --format=%cs | head -1`, then pick the last release on or before that date from the [releases page](https://github.com/LeanMeanCleanApps/CleanLambdaFunction/releases). The options are in the solution too:
+Your solution came from the December 2026 release or earlier. Releases come once a month, so the date of your first commit tells you which one: `git log --max-parents=0 --format=%cs`, then pick the last release on or before that date from the [releases page](https://github.com/LeanMeanCleanApps/CleanLambdaFunction/releases). The options are in the solution too:
- **Name**: your `.slnx` file's name, without the extension.
- **Author name**: `` in `src/Presentation/Presentation.csproj`. Skip it if that still says Stephen Walsh, and thanks for the credit.
-The tag on the releases page, such as `2026.12.02.374`, works as the version below. NuGet shows the same version as `2026.12.2.374`.
+The tag on the releases page, such as `2026.12.02.208`, works as the version below. NuGet shows the same version as `2026.12.2.208`.
## Upgrade
@@ -55,7 +55,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
1. Generate a copy of the release you started from:
```bash
- dotnet new install CleanLambdaFunction.Template::2027.01.01.412
+ dotnet new install CleanLambdaFunction.Template@2027.01.01.412
dotnet new cleanlambdafunction --name WorksOnMyMachine.Reviews --authorName "Jane Citizen" --output ../upgrade/old --no-restore
```
@@ -69,7 +69,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
3. Diff the two copies into a patch:
```bash
- (cd ../upgrade && git diff --no-index --binary old new > template.patch)
+ git -C ../upgrade diff --no-index --binary --output=template.patch old new
```
An empty patch means the template hasn't changed anything that touches your solution. You're up to date; go and have a coffee.
@@ -84,7 +84,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
Files you never touched just take the new version. Files you changed get merged with the template's changes. Where you both changed the same lines, git leaves conflict markers, exactly like a merge, and `git status` lists the file as both modified. Sort each one out, then `git add` it.
- Git says "Falling back to direct application" for files the template added. That's fine; there was nothing to merge them with. The patch updates `.lmca.json` too, so the next upgrade starts from here.
+ Git says "Falling back to direct application" for files the template added or removed. That's fine; there was nothing to merge them with. The patch updates `.lmca.json` too, so the next upgrade starts from here.
5. Build, test and check the format, as CI would:
@@ -98,9 +98,10 @@ The commands run from your solution's folder and put their work in an `upgrade`
```bash
git commit -m "Upgrade to template release 2027.02.01.430"
- rm -rf ../upgrade
```
+ Then delete the `upgrade` folder. It's done its job.
+
@@ -115,6 +116,8 @@ The patch is yours to edit. Skip whole folders with `--exclude`, or take only so
git apply --3way -p2 --exclude='.agents/*' ../upgrade/template.patch
```
+One catch: the patch always moves `.lmca.json` to the new release, so the next upgrade starts from there and won't offer you the parts you skipped. If you might want them later, keep the patch somewhere, or add `--exclude='.lmca.json'` and stay on the old release until you've taken the lot.
+
Or open `template.patch` and read it first. Anything in `src/Application` and `src/Infrastructure` is the same in all five templates, so a fix there is usually worth having. Anything in `src/Presentation` is the function itself, where your own changes most likely live.
Coding agents are good at this. Ask yours to apply the patch, resolve the conflicts so it keeps your changes and the template's, and run the checks. It works as Jacques, so it already knows those checks from `AGENTS.md`.
@@ -123,6 +126,15 @@ Coding agents are good at this. Ask yours to apply the patch, resolve the confli
Each release's notes on GitHub link here. Each release gets a few lines below on what's worth bringing in and anything that needs care, newest first.
-### 2026.12.02.374
+### 2027.01.01
+
+{/* DRAFT: finish once the January security changes merge, then set the heading to the real release number after the 1st. */}
+
+- **`.lmca.json`.** New solutions record the release and options that made them. The patch adds it to yours, so the next upgrade can skip the detective work.
+- **Packages.** The Microsoft.Extensions testing and logging packages go back to the .NET 10 line, and Serilog and the template tooling stay on it too, so nothing in `Directory.Packages.props` runs a major ahead of the rest. Worth taking as a whole. If you've bumped any of them yourself, expect a conflict and keep whichever version you meant.
+- **Coding agents.** Jacques moves out of `.agents/agents/jacques.md` and into `AGENTS.md`, planning and handoffs move into a new `planning-and-handoff` skill, and the skill examples match the code again. If you've edited `AGENTS.md`, this is where conflicts turn up. Keep your own **Where we track work** line.
+- **Security.** To be written once the safe-by-default changes merge.
+
+### 2026.12.02.208
The release we launched with. Solutions made from it don't have a `.lmca.json`; see [Find your release and options](#find-your-release-and-options).
diff --git a/src/content/docs/lambda/reference/project-structure.mdx b/src/content/docs/lambda/reference/project-structure.mdx
index c2085d8..fa6e073 100644
--- a/src/content/docs/lambda/reference/project-structure.mdx
+++ b/src/content/docs/lambda/reference/project-structure.mdx
@@ -52,6 +52,7 @@ import { FileTree } from '@astrojs/starlight/components';
- docker-compose.yml the function, an OpenTelemetry Collector and the Aspire dashboard
- otel-collector.yaml where the collector sends logs, traces and metrics
- global.json
+- .lmca.json the template release and options that made the solution
- NuGet.config
diff --git a/src/content/docs/mcp/guides/upgrade.mdx b/src/content/docs/mcp/guides/upgrade.mdx
index dac75c5..86e2a98 100644
--- a/src/content/docs/mcp/guides/upgrade.mdx
+++ b/src/content/docs/mcp/guides/upgrade.mdx
@@ -43,13 +43,13 @@ Each option is a `dotnet new` option:
| `authentication` | `--include-auth`, with `--authority` and `--audience` from inside it. Leave all three off when it's `null` |
-Your solution came from the December 2026 release or earlier. Releases come once a month, so the date of your first commit tells you which one: `git log --reverse --format=%cs | head -1`, then pick the last release on or before that date from the [releases page](https://github.com/LeanMeanCleanApps/CleanModelContextProtocol/releases). The options are in the solution too:
+Your solution came from the December 2026 release or earlier. Releases come once a month, so the date of your first commit tells you which one: `git log --max-parents=0 --format=%cs`, then pick the last release on or before that date from the [releases page](https://github.com/LeanMeanCleanApps/CleanModelContextProtocol/releases). The options are in the solution too:
- **Name**: your `.slnx` file's name, without the extension.
- **Author name**: `` in `src/Presentation/Presentation.csproj`. Skip it if that still says Stephen Walsh, and thanks for the credit.
- **Authentication**: you used `--include-auth` if `src/Presentation/Authentication` exists. The authority and audience are under `Authentication` in `src/Presentation/appsettings.json`, as they were when you started.
-The tag on the releases page, such as `2026.12.02.374`, works as the version below. NuGet shows the same version as `2026.12.2.374`.
+The tag on the releases page, such as `2026.12.02.258`, works as the version below. NuGet shows the same version as `2026.12.2.258`.
## Upgrade
@@ -61,7 +61,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
1. Generate a copy of the release you started from:
```bash
- dotnet new install CleanModelContextProtocol.Template::2027.01.01.412
+ dotnet new install CleanModelContextProtocol.Template@2027.01.01.412
dotnet new cleanmodelcontextprotocol --name WorksOnMyMachine.Movies --authorName "Jane Citizen" --include-auth --authority https://login.example.com --output ../upgrade/old --no-restore
```
@@ -75,7 +75,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
3. Diff the two copies into a patch:
```bash
- (cd ../upgrade && git diff --no-index --binary old new > template.patch)
+ git -C ../upgrade diff --no-index --binary --output=template.patch old new
```
An empty patch means the template hasn't changed anything that touches your solution. You're up to date; go and have a coffee.
@@ -90,7 +90,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
Files you never touched just take the new version. Files you changed get merged with the template's changes. Where you both changed the same lines, git leaves conflict markers, exactly like a merge, and `git status` lists the file as both modified. Sort each one out, then `git add` it.
- Git says "Falling back to direct application" for files the template added. That's fine; there was nothing to merge them with. The patch updates `.lmca.json` too, so the next upgrade starts from here.
+ Git says "Falling back to direct application" for files the template added or removed. That's fine; there was nothing to merge them with. The patch updates `.lmca.json` too, so the next upgrade starts from here.
5. Build, test and check the format, as CI would:
@@ -104,9 +104,10 @@ The commands run from your solution's folder and put their work in an `upgrade`
```bash
git commit -m "Upgrade to template release 2027.02.01.430"
- rm -rf ../upgrade
```
+ Then delete the `upgrade` folder. It's done its job.
+
@@ -121,6 +122,8 @@ The patch is yours to edit. Skip whole folders with `--exclude`, or take only so
git apply --3way -p2 --exclude='.agents/*' ../upgrade/template.patch
```
+One catch: the patch always moves `.lmca.json` to the new release, so the next upgrade starts from there and won't offer you the parts you skipped. If you might want them later, keep the patch somewhere, or add `--exclude='.lmca.json'` and stay on the old release until you've taken the lot.
+
Or open `template.patch` and read it first. Anything in `src/Application` and `src/Infrastructure` is the same in all five templates, so a fix there is usually worth having. Anything in `src/Presentation` is the server itself, where your own changes most likely live.
Coding agents are good at this. Ask yours to apply the patch, resolve the conflicts so it keeps your changes and the template's, and run the checks. It works as Jacques, so it already knows those checks from `AGENTS.md`.
@@ -129,6 +132,15 @@ Coding agents are good at this. Ask yours to apply the patch, resolve the confli
Each release's notes on GitHub link here. Each release gets a few lines below on what's worth bringing in and anything that needs care, newest first.
-### 2026.12.02.374
+### 2027.01.01
+
+{/* DRAFT: finish once the January security changes merge, then set the heading to the real release number after the 1st. */}
+
+- **`.lmca.json`.** New solutions record the release and options that made them. The patch adds it to yours, so the next upgrade can skip the detective work.
+- **Packages.** The Microsoft.Extensions testing and logging packages go back to the .NET 10 line, and Serilog and the template tooling stay on it too, so nothing in `Directory.Packages.props` runs a major ahead of the rest. Worth taking as a whole. If you've bumped any of them yourself, expect a conflict and keep whichever version you meant.
+- **Coding agents.** Jacques moves out of `.agents/agents/jacques.md` and into `AGENTS.md`, planning and handoffs move into a new `planning-and-handoff` skill, and the skill examples match the code again. If you've edited `AGENTS.md`, this is where conflicts turn up. Keep your own **Where we track work** line.
+- **Security.** To be written once the safe-by-default changes merge.
+
+### 2026.12.02.258
The release we launched with. Solutions made from it don't have a `.lmca.json`; see [Find your release and options](#find-your-release-and-options).
diff --git a/src/content/docs/mcp/reference/project-structure.mdx b/src/content/docs/mcp/reference/project-structure.mdx
index 2981217..a5458f4 100644
--- a/src/content/docs/mcp/reference/project-structure.mdx
+++ b/src/content/docs/mcp/reference/project-structure.mdx
@@ -55,6 +55,7 @@ import { FileTree } from '@astrojs/starlight/components';
- docker-compose.yml the server, an OpenTelemetry Collector and the Aspire dashboard
- otel-collector.yaml where the collector sends logs, traces and metrics
- global.json
+- .lmca.json the template release and options that made the solution
- NuGet.config
diff --git a/src/content/docs/minimalapi/guides/upgrade.mdx b/src/content/docs/minimalapi/guides/upgrade.mdx
index a83246b..b7c8c2b 100644
--- a/src/content/docs/minimalapi/guides/upgrade.mdx
+++ b/src/content/docs/minimalapi/guides/upgrade.mdx
@@ -43,7 +43,7 @@ Each option is a `dotnet new` option:
| `authentication` | `--include-auth`, with `--authority` and `--audience` from inside it. Leave all three off when it's `null` |
-Your solution came from the December 2026 release or earlier. Releases come once a month, so the date of your first commit tells you which one: `git log --reverse --format=%cs | head -1`, then pick the last release on or before that date from the [releases page](https://github.com/LeanMeanCleanApps/CleanMinimalApi/releases). The options are in the solution too:
+Your solution came from the December 2026 release or earlier. Releases come once a month, so the date of your first commit tells you which one: `git log --max-parents=0 --format=%cs`, then pick the last release on or before that date from the [releases page](https://github.com/LeanMeanCleanApps/CleanMinimalApi/releases). The options are in the solution too:
- **Name**: your `.slnx` file's name, without the extension.
- **Author name**: `` in `src/Presentation/Presentation.csproj`. Skip it if that still says Stephen Walsh, and thanks for the credit.
@@ -61,7 +61,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
1. Generate a copy of the release you started from:
```bash
- dotnet new install CleanMinimalApi.Template::2027.01.01.412
+ dotnet new install CleanMinimalApi.Template@2027.01.01.412
dotnet new cleanminimalapi --name WorksOnMyMachine.Movies --authorName "Jane Citizen" --include-auth --authority https://login.example.com --output ../upgrade/old --no-restore
```
@@ -75,7 +75,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
3. Diff the two copies into a patch:
```bash
- (cd ../upgrade && git diff --no-index --binary old new > template.patch)
+ git -C ../upgrade diff --no-index --binary --output=template.patch old new
```
An empty patch means the template hasn't changed anything that touches your solution. You're up to date; go and have a coffee.
@@ -90,7 +90,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
Files you never touched just take the new version. Files you changed get merged with the template's changes. Where you both changed the same lines, git leaves conflict markers, exactly like a merge, and `git status` lists the file as both modified. Sort each one out, then `git add` it.
- Git says "Falling back to direct application" for files the template added. That's fine; there was nothing to merge them with. The patch updates `.lmca.json` too, so the next upgrade starts from here.
+ Git says "Falling back to direct application" for files the template added or removed. That's fine; there was nothing to merge them with. The patch updates `.lmca.json` too, so the next upgrade starts from here.
5. Build, test and check the format, as CI would:
@@ -104,9 +104,10 @@ The commands run from your solution's folder and put their work in an `upgrade`
```bash
git commit -m "Upgrade to template release 2027.02.01.430"
- rm -rf ../upgrade
```
+ Then delete the `upgrade` folder. It's done its job.
+
@@ -121,6 +122,8 @@ The patch is yours to edit. Skip whole folders with `--exclude`, or take only so
git apply --3way -p2 --exclude='.agents/*' ../upgrade/template.patch
```
+One catch: the patch always moves `.lmca.json` to the new release, so the next upgrade starts from there and won't offer you the parts you skipped. If you might want them later, keep the patch somewhere, or add `--exclude='.lmca.json'` and stay on the old release until you've taken the lot.
+
Or open `template.patch` and read it first. Anything in `src/Application` and `src/Infrastructure` is the same in all five templates, so a fix there is usually worth having. Anything in `src/Presentation` is the API itself, where your own changes most likely live.
Coding agents are good at this. Ask yours to apply the patch, resolve the conflicts so it keeps your changes and the template's, and run the checks. It works as Jacques, so it already knows those checks from `AGENTS.md`.
@@ -129,6 +132,15 @@ Coding agents are good at this. Ask yours to apply the patch, resolve the confli
Each release's notes on GitHub link here. Each release gets a few lines below on what's worth bringing in and anything that needs care, newest first.
+### 2027.01.01
+
+{/* DRAFT: finish once the January security changes merge, then set the heading to the real release number after the 1st. */}
+
+- **`.lmca.json`.** New solutions record the release and options that made them. The patch adds it to yours, so the next upgrade can skip the detective work.
+- **Packages.** The Microsoft.Extensions testing and logging packages go back to the .NET 10 line, and Serilog and the template tooling stay on it too, so nothing in `Directory.Packages.props` runs a major ahead of the rest. Worth taking as a whole. If you've bumped any of them yourself, expect a conflict and keep whichever version you meant.
+- **Coding agents.** Jacques moves out of `.agents/agents/jacques.md` and into `AGENTS.md`, planning and handoffs move into a new `planning-and-handoff` skill, and the skill examples match the code again. If you've edited `AGENTS.md`, this is where conflicts turn up. Keep your own **Where we track work** line.
+- **Security.** To be written once the safe-by-default changes merge.
+
### 2026.12.02.374
The release we launched with. Solutions made from it don't have a `.lmca.json`; see [Find your release and options](#find-your-release-and-options).
diff --git a/src/content/docs/minimalapi/reference/project-structure.mdx b/src/content/docs/minimalapi/reference/project-structure.mdx
index a770af8..662b6af 100644
--- a/src/content/docs/minimalapi/reference/project-structure.mdx
+++ b/src/content/docs/minimalapi/reference/project-structure.mdx
@@ -53,6 +53,7 @@ import { FileTree } from '@astrojs/starlight/components';
- docker-compose.yml the API, an OpenTelemetry Collector and the Aspire dashboard
- otel-collector.yaml where the collector sends logs, traces and metrics
- global.json
+- .lmca.json the template release and options that made the solution
- NuGet.config
diff --git a/src/content/docs/webapi/guides/upgrade.mdx b/src/content/docs/webapi/guides/upgrade.mdx
index 0623534..e8f11e0 100644
--- a/src/content/docs/webapi/guides/upgrade.mdx
+++ b/src/content/docs/webapi/guides/upgrade.mdx
@@ -43,13 +43,13 @@ Each option is a `dotnet new` option:
| `authentication` | `--include-auth`, with `--authority` and `--audience` from inside it. Leave all three off when it's `null` |
-Your solution came from the December 2026 release or earlier. Releases come once a month, so the date of your first commit tells you which one: `git log --reverse --format=%cs | head -1`, then pick the last release on or before that date from the [releases page](https://github.com/LeanMeanCleanApps/CleanWebApi/releases). The options are in the solution too:
+Your solution came from the December 2026 release or earlier. Releases come once a month, so the date of your first commit tells you which one: `git log --max-parents=0 --format=%cs`, then pick the last release on or before that date from the [releases page](https://github.com/LeanMeanCleanApps/CleanWebApi/releases). The options are in the solution too:
- **Name**: your `.slnx` file's name, without the extension.
- **Author name**: `` in `src/Presentation/Presentation.csproj`. Skip it if that still says Stephen Walsh, and thanks for the credit.
- **Authentication**: you used `--include-auth` if `src/Presentation/Authentication` exists. The authority and audience are under `Authentication` in `src/Presentation/appsettings.json`, as they were when you started.
-The tag on the releases page, such as `2026.12.02.374`, works as the version below. NuGet shows the same version as `2026.12.2.374`.
+The tag on the releases page, such as `2026.12.02.229`, works as the version below. NuGet shows the same version as `2026.12.2.229`.
## Upgrade
@@ -61,7 +61,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
1. Generate a copy of the release you started from:
```bash
- dotnet new install CleanWebApi.Template::2027.01.01.412
+ dotnet new install CleanWebApi.Template@2027.01.01.412
dotnet new cleanwebapi --name WorksOnMyMachine.Movies --authorName "Jane Citizen" --include-auth --authority https://login.example.com --output ../upgrade/old --no-restore
```
@@ -75,7 +75,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
3. Diff the two copies into a patch:
```bash
- (cd ../upgrade && git diff --no-index --binary old new > template.patch)
+ git -C ../upgrade diff --no-index --binary --output=template.patch old new
```
An empty patch means the template hasn't changed anything that touches your solution. You're up to date; go and have a coffee.
@@ -90,7 +90,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
Files you never touched just take the new version. Files you changed get merged with the template's changes. Where you both changed the same lines, git leaves conflict markers, exactly like a merge, and `git status` lists the file as both modified. Sort each one out, then `git add` it.
- Git says "Falling back to direct application" for files the template added. That's fine; there was nothing to merge them with. The patch updates `.lmca.json` too, so the next upgrade starts from here.
+ Git says "Falling back to direct application" for files the template added or removed. That's fine; there was nothing to merge them with. The patch updates `.lmca.json` too, so the next upgrade starts from here.
5. Build, test and check the format, as CI would:
@@ -104,9 +104,10 @@ The commands run from your solution's folder and put their work in an `upgrade`
```bash
git commit -m "Upgrade to template release 2027.02.01.430"
- rm -rf ../upgrade
```
+ Then delete the `upgrade` folder. It's done its job.
+
@@ -121,6 +122,8 @@ The patch is yours to edit. Skip whole folders with `--exclude`, or take only so
git apply --3way -p2 --exclude='.agents/*' ../upgrade/template.patch
```
+One catch: the patch always moves `.lmca.json` to the new release, so the next upgrade starts from there and won't offer you the parts you skipped. If you might want them later, keep the patch somewhere, or add `--exclude='.lmca.json'` and stay on the old release until you've taken the lot.
+
Or open `template.patch` and read it first. Anything in `src/Application` and `src/Infrastructure` is the same in all five templates, so a fix there is usually worth having. Anything in `src/Presentation` is the API itself, where your own changes most likely live.
Coding agents are good at this. Ask yours to apply the patch, resolve the conflicts so it keeps your changes and the template's, and run the checks. It works as Jacques, so it already knows those checks from `AGENTS.md`.
@@ -129,6 +132,15 @@ Coding agents are good at this. Ask yours to apply the patch, resolve the confli
Each release's notes on GitHub link here. Each release gets a few lines below on what's worth bringing in and anything that needs care, newest first.
-### 2026.12.02.374
+### 2027.01.01
+
+{/* DRAFT: finish once the January security changes merge, then set the heading to the real release number after the 1st. */}
+
+- **`.lmca.json`.** New solutions record the release and options that made them. The patch adds it to yours, so the next upgrade can skip the detective work.
+- **Packages.** The Microsoft.Extensions testing and logging packages go back to the .NET 10 line, and Serilog and the template tooling stay on it too, so nothing in `Directory.Packages.props` runs a major ahead of the rest. Worth taking as a whole. If you've bumped any of them yourself, expect a conflict and keep whichever version you meant.
+- **Coding agents.** Jacques moves out of `.agents/agents/jacques.md` and into `AGENTS.md`, planning and handoffs move into a new `planning-and-handoff` skill, and the skill examples match the code again. If you've edited `AGENTS.md`, this is where conflicts turn up. Keep your own **Where we track work** line.
+- **Security.** To be written once the safe-by-default changes merge.
+
+### 2026.12.02.229
The release we launched with. Solutions made from it don't have a `.lmca.json`; see [Find your release and options](#find-your-release-and-options).
diff --git a/src/content/docs/webapi/reference/project-structure.mdx b/src/content/docs/webapi/reference/project-structure.mdx
index 157fa13..ad65835 100644
--- a/src/content/docs/webapi/reference/project-structure.mdx
+++ b/src/content/docs/webapi/reference/project-structure.mdx
@@ -53,6 +53,7 @@ import { FileTree } from '@astrojs/starlight/components';
- docker-compose.yml the API, an OpenTelemetry Collector and the Aspire dashboard
- otel-collector.yaml where the collector sends logs, traces and metrics
- global.json
+- .lmca.json the template release and options that made the solution
- NuGet.config