Files
Heimdall/AGENTS.md
T
Arnaud Dartois 1144b7fb83
Heimdall Gitea / Build and tests (pull_request) Failing after 6m13s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
ci: split affected tests and publish main images to Docker Hub
2026-10-23 22:23:11 +02:00

1.5 KiB

Heimdall contributor rules

  • Read todo.md before changing code. Update its status and acceptance notes in the same PR as each correction or feature. Remove a completed item only after the behavior is verified; keep a short completion entry for traceability.
  • Keep Domain independent of infrastructure. Put use cases and interfaces in Application, adapters and EF Core persistence in Infrastructure, HTTP/UI composition in Web, and camera/runtime behavior in Agent.
  • Target the SDK pinned by global.json and .NET 10 or newer. Use nullable reference types, cancellation tokens for I/O, and explicit options validation. Do not weaken locked restore or suppress a new warning without a reason.
  • For EF Core changes, preserve PostgreSQL behavior, add a migration for schema changes, and verify queries with an integration test when translation, concurrency, or deletion semantics matter. Never reuse a DbContext across concurrent operations.
  • Keep tenant/site and camera authorization checks at API and application boundaries. Do not log credentials, RTSP URLs, embeddings, or raw tokens.
  • CI jobs run only on [ubuntu-latest, build-agent]. Keep runner-aaja outside that label. Never use release credentials in pull request jobs.
  • A PR touching deployment or publication must document required secrets and prove the relevant script locally. Do not claim a runner, registry, camera, or object store was validated without a real run.

See skills/heimdall-dotnet/SKILL.md for project-specific implementation guidance.