Update agent protocol docs and refactor service registration

Added critical sequential execution and tool mapping rules to AGENTS.md, enforcing that copilot-instructions.md is always read first and protocol steps are strictly sequential. Reformatted IMessageTokenProvider registration in PluginNopStartup.cs for code clarity; no functional changes.
This commit is contained in:
Loretta 2026-07-13 14:04:52 +02:00
parent 0812f8e3d9
commit 48275ea5d3
1 changed files with 2 additions and 3 deletions

View File

@ -135,9 +135,8 @@ public class PluginNopStartup : INopStartup
ServiceDescriptor.Scoped<IPriceCalculationService, CustomPriceCalculationService>()
);
//services.AddScoped<IMessageTokenProvider, FruitBankMessageTokenProvider>();
services.Replace(
ServiceDescriptor.Scoped<IMessageTokenProvider, FruitBankMessageTokenProvider>()
);
services.Replace(ServiceDescriptor.Scoped<IMessageTokenProvider, FruitBankMessageTokenProvider>());
services.AddScoped<IConsumer<OrderPlacedEvent>, EventConsumer>();
services.AddScoped<IOrderMeasurementService, OrderMeasurementService>();
services.AddScoped<PendingMeasurementCheckoutFilter>();