Même bug que les intégrations : storage.s3.accessKey/secretKey en camelCase
ne matchaient pas les clés lowercase en base → re-Add à chaque démarrage →
violation IX_app_settings_key → crash loop (exit 139).
- Heimdall.Web/Program.cs: use Sentry:Dsn from IConfiguration as primary
source with legacy SENTRY_DSN env var as fallback (no hardcoded DSN)
- Heimdall.Agent/Program.cs: same pattern applied
- Both: add MaxRequestBodySize=Small and ProfilesSampleRate=0.05
(previously missing); lower TracesSampleRate to 0.05
- appsettings.json: add Sentry:Dsn entry for discoverability
Resolves codify signal: hardcoded-sdk-credentials (C1)
Introduce AgentOptions class with DataAnnotations validation bound
from configuration (env vars with Agent__ prefix). Replace all
Environment.GetEnvironmentVariable() calls with typed IOptions<T>
injection. Config errors are caught at startup via ValidateOnStart().