AGENTS.md
Rama main · réplica de lectura del repositorio original.
# NasDash agent guide
This file is public repository guidance for maintainers and AI agents. Inspect the current branch, working tree, code, configuration and documentation before changing anything. Preserve unrelated work.
## Product boundaries
NasDash is a self-hosted cockpit for homelab services, infrastructure telemetry and Docker operations. Treat Docker access, credentials, topology, persistent data and network exposure as security-sensitive. Public demos must remain fictional and isolated.
## Development
- Install reproducibly with `npm ci`; use `npm install` only when intentionally changing dependencies.
- Local development: `npm run dev`; trusted-LAN development: `npm run dev:lan`.
- Validate normal changes with `npm test` and `npm run build`.
- Keep user-facing copy complete in English, French, Spanish, German, and Italian; run `npm run check:i18n` after interface changes.
- Keep operational logs and supplied fresh-install examples in canonical English. The i18n gate also checks these surfaces; never rename existing user data to repair example copy.
- Use `npm run test:e2e` and the container checks documented in `TESTING.md` when the affected surface requires them.
- Keep the Docker Compose example, ports, volumes, environment variables and persistence guidance synchronized with the real configuration.
## Repository expectations
- Update tests, the README quick start, canonical documentation and `CHANGELOG.md` when behavior or user-facing compatibility changes.
- User/operator guides are canonical at https://docs.nasdash.lucas-homelab.fr in English, French, Spanish, German and Italian. Maintain all five versions in the dedicated documentation repository; link there instead of recreating installation, access, backup/restore, demo, CSS or troubleshooting Markdown here. Publish and verify destinations before retiring links.
- Keep community policies, test/release rules, screenshot/fixture maintenance and source-local contracts in the product. Dated historical audits are evidence, not current certification.
- Never commit `.env` values, real `data/`, backups, private addresses, tokens or infrastructure inventories.
- Follow `CONTRIBUTING.md` for pull requests and `SECURITY.md` for vulnerabilities.
- GitHub is the public review surface; maintainers integrate the exact accepted result into authoritative Forgejo history.
Local machine notes belong in ignored `AGENTS.override.md` and `.project-local/`, never in this public file.