AGENTS.md v16.0: DateTime + Anonymous Guardrails + Architecture Tests #3

Merged
kjh2064 merged 8 commits from agent/db-contract-test-safety into main 2026-08-02 23:54:44 +09:00
2 changed files with 2 additions and 3 deletions
Showing only changes of commit bf172ff0d2 - Show all commits
@@ -15,7 +15,7 @@ public class PingEndpoint : Endpoint<PingRequest, PingResponse>
public override void Configure()
{
Get("/health/ping");
AllowAnonymous();
Roles("Admin", "Analyst", "System"); // Health checks require authentication
}
public override async Task HandleAsync(PingRequest req, CancellationToken ct)
@@ -36,8 +36,7 @@ public class GetMetricsEndpoint : Endpoint<EmptyRequest, MetricsResponse>
public override void Configure()
{
Get("/observability/metrics");
Roles("Admin", "Analyst");
AllowAnonymous(); // Override for demo; require auth in production
Roles("Admin", "Analyst", "Auditor"); // Financial compliance requires authentication
}
public override async Task HandleAsync(EmptyRequest req, CancellationToken ct)