Skip to content

feat(docs): add AGENTS.md iterative development cycle#8

Merged
oliver254 merged 2 commits into
devfrom
feature/1-agents-iterative-cycle
Mar 20, 2026
Merged

feat(docs): add AGENTS.md iterative development cycle#8
oliver254 merged 2 commits into
devfrom
feature/1-agents-iterative-cycle

Conversation

@oliver254
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds an AGENTS.md guide intended to be the “source of truth” for AI agents working on the BrilliantMediator codebase, documenting product context, repo structure, roles, and an iterative delivery process.

Changes:

  • Added AGENTS.md describing project context, structure, quality gates, and an iterative workflow template.
  • Added samples/EcommerceDDD/EcommerceDDD.Api/EcommerceDDD.WebApi.csproj.new (currently empty).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 4 comments.

File Description
AGENTS.md Adds an AI-agent onboarding / workflow “source of truth” for the repo.
samples/EcommerceDDD/EcommerceDDD.Api/EcommerceDDD.WebApi.csproj.new Introduces a .new csproj file (empty as committed).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread AGENTS.md
Comment on lines +73 to +76
- Tu maintiens la règle fondamentale : **zéro réflexion dans le chemin critique**.
- Tu identifies les impacts sur l'API publique (`IMediator`, `ICommand`, `IQuery`, `IEvent`).
- Tu documentes chaque décision sous forme d'ADR dans `docs/spec.md`.
- Tu veilles à la compatibilité avec le Source Generator (`BrilliantMediator.SourceGenerator`).
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cette section impose de documenter les décisions dans docs/spec.md, mais ce fichier n’existe pas actuellement. Pour éviter des références mortes, soit créer docs/spec.md, soit pointer vers le fichier réellement utilisé pour les ADR (ou indiquer explicitement qu’il est à créer).

Copilot uses AI. Check for mistakes.
Comment thread AGENTS.md Outdated
- **DI-first** — intégration native avec `Microsoft.Extensions.DependencyInjection`
- **Source Generator** — enregistrement automatique des handlers via `BrilliantMediator.SourceGenerator`

Stack : .NET 10 — C# — xUnit — NuGet (`Monbsoft.BrilliantMediator`)
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

La ligne indique un package NuGet Monbsoft.BrilliantMediator, mais le dépôt publie/consomme le package sous l’ID BrilliantMediator (voir src/BrilliantMediator/BrilliantMediator.csproj <PackageId> et docs/NuGetReadme.md). Mettre à jour cette mention pour éviter de casser les instructions d’installation (ex: référencer BrilliantMediator comme nom de package, et garder Monbsoft.BrilliantMediator pour le namespace).

Suggested change
Stack : .NET 10 — C# — xUnit — NuGet (`Monbsoft.BrilliantMediator`)
Stack : .NET 10 — C# — xUnit — NuGet (`BrilliantMediator`)

Copilot uses AI. Check for mistakes.
Comment thread AGENTS.md
Comment on lines +16 to +18
- **DI-first** — intégration native avec `Microsoft.Extensions.DependencyInjection`
- **Source Generator** — enregistrement automatique des handlers via `BrilliantMediator.SourceGenerator`

Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Le document affirme l’existence d’un projet BrilliantMediator.SourceGenerator et d’un "Source Generator" associé, mais il n’y a aucun projet/dossier correspondant dans le repo actuel (aucun match SourceGenerator sous src/). Soit ajouter le projet, soit retirer/adapter ces mentions pour que ce fichier reste une source de vérité.

Copilot uses AI. Check for mistakes.
Comment thread AGENTS.md
Comment on lines +55 to +58
├── spec.md Source de vérité architecture + ADR
├── GUIDE.md
├── EXAMPLES.md
└── CHANGELOG.md
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

La structure du projet référence docs/spec.md comme source de vérité, mais ce fichier n’existe pas dans docs/ (GUIDE/EXAMPLES/CHANGELOG/NuGetReadme uniquement). Ajuster la structure pour refléter les fichiers présents, ou ajouter docs/spec.md si c’est intentionnel.

Suggested change
├── spec.md Source de vérité architecture + ADR
├── GUIDE.md
├── EXAMPLES.md
└── CHANGELOG.md
├── GUIDE.md
├── EXAMPLES.md
├── CHANGELOG.md
└── NuGetReadme.md

Copilot uses AI. Check for mistakes.
@oliver254 oliver254 merged commit 6511f49 into dev Mar 20, 2026
1 check passed
@oliver254 oliver254 deleted the feature/1-agents-iterative-cycle branch March 20, 2026 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants