Heimdall Gitea / Detect CI scope (push) Successful in 5s
Heimdall Gitea / Build and tests (push) Skipped
Heimdall Gitea / Build and scan server image (push) Skipped
Heimdall Gitea / Build and scan agent image (push) Skipped
Heimdall Gitea / Build and scan NVIDIA Agent image (push) Skipped
Heimdall Gitea / Publish versioned installer release (push) Skipped
Heimdall Gitea / CI policy (push) Successful in 2s
Closes #321 Closes #323 ## Résumé - Ajoute un skill projet pour utiliser le MCP Infisical sans divulguer les valeurs et relie les workflows concernés. - Définit une évaluation automatique des releases et du SemVer, sans demander à l’utilisateur si une release est souhaitée ou quel numéro choisir. - Les docs/skills seules ne déclenchent pas de release. ## Évaluation de release Aucune release pour cette PR : elle ne contient que de la documentation et des skills. La version stable reste `1.0.0`; aucun tag ne sera créé. ## Validation - `git diff origin/main...HEAD --check` : réussi. - Inventaire Infisical limité aux noms de clés; aucune valeur secrète dans le diff. - Les checks Gitea de la première révision passaient; les nouveaux checks sont en cours après la mise à jour. - Tests applicatifs non exécutés : changement documentaire uniquement. Reviewed-on: #322 Co-authored-by: Arnaud Dartois <admin@tordais.cc>
2.1 KiB
2.1 KiB
name, description
| name | description |
|---|---|
| first-admin-bootstrap | Implement or diagnose Heimdall's mandatory first administrator setup and restrict later account creation to admins. |
First administrator setup
For deployment bootstrap credentials, follow Infisical secrets and retrieve only the explicitly selected environment's required keys. Disposable acceptance must use generated accounts and passwords, never vault credentials.
Use this skill when changing account bootstrap, signup, login routing, user creation, or initial deployment guidance.
- The first account is created through a dedicated setup assistant that is reachable only while the database has no users. Do not seed a production password or print credentials to logs.
- Make first-admin creation one-time and race-safe at the server/API boundary. The UI hiding a link is not an authorization control.
- After bootstrap, disable anonymous registration regardless of old public-registration settings. Further accounts are created through authenticated, admin-authorized user-management endpoints only.
- Existing installations with users skip setup and keep their accounts. The bootstrap flow must not overwrite or replace existing users.
- Update FR/EN resources, route behavior, API client behavior, and tests together. Remove public registration links and ensure direct calls to the old registration route are rejected after setup.
- For every implementation change, follow
compose-disposable-recipeand validate both an empty database (setup and first admin) and an initialized database (setup closed, anonymous registration rejected, admin account creation available). - Record a unique tag for every source-built Central image and install an EXIT cleanup trap before build/start. Remove the project and verify zero containers/volumes/networks, then remove and verify absence of each exact local tag even after failure; retain shared PostgreSQL/.NET base images and report cleanup errors.
Never use credentials supplied for a real deployment in tests. Use generated credentials in the disposable Compose environment and sanitize logs.