Skip to content

Commit 66a0b73

Browse files
V10.2.2/service update (#29)
🔧 configure bot workspace exclusion ⬆️ upgrade dependencies 💬 add agent instructions
1 parent e2c214a commit 66a0b73

7 files changed

Lines changed: 108 additions & 7 deletions

File tree

.bot/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# .bot Workspace
2+
3+
This folder is reserved for local-only AI working material such as:
4+
5+
- brainstorm notes
6+
- draft implementation plans
7+
- design alternatives
8+
- temporary agent state
9+
10+
Keep this folder out of source control. Move only finalized, non-confidential guidance into `AGENTS.md` or `.github/copilot-instructions.md`.

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,4 +374,8 @@ FodyWeavers.xsd
374374
*.code-workspace
375375

376376
# Strong-Name Key
377-
*.snk
377+
*.snk
378+
379+
# Bot workspace (local-only AI agent ideation, PRDs, and agentic loop state)
380+
.bot/*
381+
!.bot/README.md

.nuget/Codebelt.Extensions.Swashbuckle.AspNetCore.ModelContextProtocol/PackageReleaseNotes.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Version: 10.2.2
2+
Availability: .NET 10 and .NET 9
3+
4+
# ALM
5+
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
6+
17
Version: 10.2.1
28
Availability: .NET 10 and .NET 9
39

.nuget/Codebelt.Extensions.Swashbuckle.AspNetCore/PackageReleaseNotes.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Version: 10.2.2
2+
Availability: .NET 10 and .NET 9
3+
4+
# ALM
5+
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
6+
17
Version: 10.2.1
28
Availability: .NET 10 and .NET 9
39

AGENTS.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# Agent Instructions for Codebelt.Extensions.Swashbuckle.AspNetCore
2+
3+
This document provides guidance for AI agents working in this repository.
4+
5+
## Project Overview
6+
7+
Codebelt.Extensions.Swashbuckle.AspNetCore is a suite of .NET libraries providing uniform, opinionated, and extensible APIs for Swagger and OpenAPI documentation with ASP.NET Core. The solution targets .NET 10.0 and .NET 9.0. It includes:
8+
9+
- **Codebelt.Extensions.Swashbuckle.AspNetCore** — Core extensions for Swagger/OpenAPI generation, customization, and configuration with ASP.NET Core.
10+
- **Codebelt.Extensions.Swashbuckle.AspNetCore.ModelContextProtocol** — Model Context Protocol (MCP) integration for Swagger/OpenAPI documentation discovery and tooling.
11+
12+
## Coding Standards
13+
14+
- **Text encoding:** UTF-8 for text files (enforced via `.editorconfig`)
15+
- **Template rewrites:** Preserve UTF-8 explicitly when scripts or tools rewrite text files; avoid locale-dependent encoding defaults
16+
- **Namespaces:** File-scoped namespaces are required (enforced via `.editorconfig`)
17+
- **Top-level statements:** Not allowed (enforced via `.editorconfig`)
18+
- **Language version:** Always use the latest C# features (`LangVersion=latest`)
19+
- **Nullable:** Enable nullable reference types in all new code
20+
- **XML documentation:** All public APIs must have XML documentation comments
21+
- **Testing:** Use xUnit v3 with Codebelt.Extensions.Xunit.App base classes
22+
23+
## Project Structure
24+
25+
- `src/` — Production source code
26+
- `Codebelt.Extensions.Swashbuckle.AspNetCore/` — Core Swagger/OpenAPI extensions and ASP.NET Core integration
27+
- `Codebelt.Extensions.Swashbuckle.AspNetCore.ModelContextProtocol/` — Model Context Protocol (MCP) integration
28+
- `test/` — Unit and functional tests (project names end with `Tests` or `FunctionalTests`)
29+
- `tooling/` — Development tools and example applications
30+
- `.nuget/` — Per-package NuGet metadata (icon, README, release notes)
31+
- `.docfx/` — DocFX documentation configuration
32+
- `.github/` — CI/CD workflows, contributing guidelines, Copilot instructions
33+
34+
## Test Conventions
35+
36+
- Test project names must end with `Tests` (unit tests) or `FunctionalTests` (integration/functional tests)
37+
- Test classes should inherit from the `Test` base class in `Codebelt.Extensions.Xunit`
38+
- Use `Microsoft.Testing.Platform` as the test runner (`UseMicrosoftTestingPlatformRunner=true`)
39+
- All tests are executable (`OutputType=Exe`)
40+
- Test namespaces must match the SUT namespace (System Under Test), without `.Tests` or `.FunctionalTests` suffix
41+
- See `.github/copilot-instructions.md` for detailed test writing guidelines
42+
43+
## Build & CI
44+
45+
- Centralized package versions via `Directory.Packages.props`
46+
- Resolve new or updated `Directory.Packages.props` versions from NuGet.org and keep them on the latest stable listed releases
47+
- Centralized build configuration via `Directory.Build.props`
48+
- MinVer for semantic versioning from Git tags
49+
- Strong-name signing is enabled in CI environments (`CI=true`)
50+
- Keep `.github/dependabot.yml` enabled at the repo root so central NuGet package management stays current
51+
52+
## .bot/ Folder
53+
54+
If a `.bot/` folder exists at the root, it contains **confidential, local-only** working material for AI agents — product requirement documents (PRDs), design proposals, agentic loop state, and brainstorming outputs. This folder is gitignored and never committed.
55+
56+
When starting creative or design work (new features, architecture decisions, PRD drafts), use the [brainstorming skill](https://skills.sh/obra/superpowers/brainstorming) and save outputs to `.bot/`. Only move finalized, non-confidential instructions into `AGENTS.md` or `.github/copilot-instructions.md`.
57+
58+
## Git Operations Safeguards
59+
60+
Agents must never automatically commit code changes or push to remote repositories. Both actions require explicit user approval:
61+
62+
- **Commits**: Always request confirmation from the user before staging and committing code. Present a clear summary of the changes and wait for approval before executing the commit.
63+
- **Remote Operations**: Do not push, pull, fetch, or interact with `origin` or any remote repository without explicit user instruction. These operations modify repository history and can cause data loss if performed unexpectedly.
64+
65+
**Rationale:** Automatic commits can clutter history with incomplete work, temporary debugging code, or unintended changes. Unexpected remote operations risk overwriting or losing commits on shared branches. Always require explicit user approval before performing these actions.
66+
67+
## Official Documentation
68+
69+
- Public API conventions belong in `.docfx/api/namespaces/` and should be treated as the official documentation source for library behavior and naming vocabulary.
70+
- When adding or renaming public APIs, update the relevant namespace page in `.docfx/api/namespaces/` if the change introduces or clarifies a convention.
71+
- Keep internal reasoning, exploratory notes, and agent discussion out of DocFX pages; summarize only stable public guidance.

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ For more details, please refer to `PackageReleaseNotes.txt` on a per assembly ba
77
> [!NOTE]
88
> Changelog entries prior to version 8.4.0 was migrated from previous versions of Codebelt.Extensions.Swashbuckle.AspNetCore.
99
10+
## [10.2.2] - 2026-06-06
11+
12+
This is a service update that focuses on package dependencies.
13+
1014
## [10.2.1] - 2026-05-26
1115

1216
This is a patch release that focuses on package dependencies, CI infrastructure improvements, test coverage expansion, and code guidance refinements.

Directory.Packages.props

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
44
</PropertyGroup>
55
<ItemGroup>
6-
<PackageVersion Include="Codebelt.Bootstrapper.Web" Version="5.0.7" />
7-
<PackageVersion Include="Codebelt.Extensions.Asp.Versioning" Version="10.0.7" />
8-
<PackageVersion Include="Codebelt.Extensions.Xunit.App" Version="11.0.10" />
6+
<PackageVersion Include="Codebelt.Bootstrapper.Web" Version="5.1.0" />
7+
<PackageVersion Include="Codebelt.Extensions.Asp.Versioning" Version="10.0.8" />
8+
<PackageVersion Include="Codebelt.Extensions.Xunit.App" Version="11.1.0" />
99
<PackageVersion Include="Codebelt.SharedKernel" Version="5.4.0" />
10-
<PackageVersion Include="Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json" Version="10.5.2" />
10+
<PackageVersion Include="Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json" Version="10.5.3" />
1111
<PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="10.0.8" />
1212
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.6.0" />
1313
<PackageVersion Include="MinVer" Version="7.0.0" />
14-
<PackageVersion Include="ModelContextProtocol" Version="1.3.0" />
15-
<PackageVersion Include="Swashbuckle.AspNetCore" Version="10.1.7" />
14+
<PackageVersion Include="ModelContextProtocol" Version="1.4.0" />
15+
<PackageVersion Include="Swashbuckle.AspNetCore" Version="10.2.1" />
1616
<PackageVersion Include="coverlet.collector" Version="10.0.1" />
1717
<PackageVersion Include="coverlet.msbuild" Version="10.0.1" />
1818
<PackageVersion Include="xunit.v3" Version="3.2.2" />

0 commit comments

Comments
 (0)