Heimdall Gitea / Detect CI scope (push) Successful in 17s
Heimdall Gitea / Build and tests (push) Successful in 25m35s
Heimdall Gitea / Publish versioned release (push) Skipped
Heimdall Gitea / Build and scan server image (push) Successful in 15m3s
Heimdall Gitea / Build and scan NVIDIA Agent image (push) Successful in 27m31s
Heimdall Gitea / Build and scan agent image (push) Successful in 16m55s
Heimdall Gitea / Publish Docker Hub latest tags (push) Successful in 39s
Heimdall Gitea / CI policy (push) Successful in 1s
Refs #169 ## Changements - Remplace `todo.md` par les issues Gitea comme source de suivi; crée un skill dédié au format de ticket, aux labels, aux maquettes, à la liaison PR et à la clôture. - Met à jour les skills et guides qui pointaient vers le backlog supprimé. - Ajuste le plan CI et ajoute un test ciblé pour s’assurer que la suppression de `todo.md` ne devient pas un changement documentaire ignoré. ## Vérifications - `python3 scripts/ci/test_ci.py TestPlanTests` — 4 tests réussis. - `git diff --check` — réussi. - Aucun test .NET exécuté; le plan CI déclenche les suites pertinentes sur cette PR. La tentative de créer la taxonomie de labels dans Gitea a expiré côté API; le skill documente les règles, mais les labels doivent encore être créés et appliqués lorsque l’écriture API sera disponible. Reviewed-on: #170 Co-authored-by: Arnaud Dartois <admin@tordais.cc>
3.4 KiB
3.4 KiB
Heimdall contributor rules
- For every feature, fix, operational change, or meaningful documentation change, create or update a focused skill under
skills/in the same PR. The skill must capture the project-specific implementation and acceptance workflow, not restate generic guidance. - Every behavior or deployment change must pass an acceptance recipe in a disposable Docker Compose project built from the changed source. Use isolated generated credentials, ports, volumes, project names, and unique tags for locally built acceptance images; never reuse production configuration/data. Tear down only that project and confirm its containers/volumes/networks are gone, then remove and verify absence of only the exact image tags built by that recipe. Keep shared upstream/base images. Never use broad image pruning. Do not skip this recipe silently when Docker is unavailable.
- Use Gitea project issues as the sole backlog and work-status source. Before changing code, find or create the focused issue, keep its acceptance evidence current, and link the issue from the PR (
Closes #Nonly when all criteria are complete; otherwiseRefs #N). Follow skills/gitea-ticket-workflow/SKILL.md. Do not create or maintain atodo.mdbacklog. - Keep
Domainindependent of infrastructure. Put use cases and interfaces inApplication, adapters and EF Core persistence inInfrastructure, HTTP/UI composition inWeb, and camera/runtime behavior inAgent. - Target the SDK pinned by
global.jsonand .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. - Use EF Core for production database reads and writes. Do not use direct ADO.NET or provider commands in production code; provider-specific EF SQL is allowed only for capabilities LINQ cannot express, with a nearby rationale and a test. The CI persistence policy enforces this boundary. Preserve PostgreSQL behavior, add migrations for schema changes, and verify translation, concurrency, and deletion semantics with relational tests. Never reuse a
DbContextacross 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]. Keeprunner-aajaoutside 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. For database access, also follow skills/ef-core-persistence/SKILL.md; the CI persistence policy checks production source for direct database commands and requires documented provider-specific exceptions. For behavior changes, use skills/compose-disposable-recipe/SKILL.md; account bootstrap changes also use skills/first-admin-bootstrap/SKILL.md. For Central installer, Compose, or server image update changes, also use skills/central-auto-updates/SKILL.md.