Guide for AI development agents working on the Semantic-Bus codebase
Before making any changes, consult the specifications directory:
| Document | Description |
|---|---|
| specifications/architecture.md | System architecture, packages, databases, messaging |
| specifications/development-guide.md | Code standards, conventions, common tasks, testing |
| specifications/components-catalog.md | Complete catalog of workflow components |
| specifications/configuration.md | Configuration options reference |
- Read the architecture to understand the monorepo structure
- Follow the development guide for code conventions and workflows
- Check the components catalog when working on components
- Review configuration for environment setup
- DO NOT create intermediate report or analysis files unless explicitly requested by the user
- Examples of files to avoid creating automatically:
- Analysis reports (
.md,.txt) - Summary documents
- Debug logs or trace files
- Temporary documentation files
- Analysis reports (
- If analysis is needed, provide it directly in the chat response
- Only create such files when the user explicitly asks for them
Règle : toute feature/modif touchant l'interface (client/static) doit être validée localement par un test E2E Playwright AVANT de merger la PR.
- Démarrer l'infra locale :
docker compose -f docker-compose.yaml up -d rabbitmq mongodb scylla main - Le container
mainmonte./packages/mainet./packages/coreen volume → les changements front sont servis sans rebuild. - Créer un user admin en base (ou réutiliser un compte admin existant).
node tests/e2e/admin-users-render.js # écran admin (liste users + tri)Variables d'env optionnelles : BASE_URL, ADMIN_EMAIL, ADMIN_PASS, CHROMIUM_PATH.
Le script échoue (exit 1) si : le tag ne monte pas, la liste est vide, le header est incomplet, ou une erreur console survient. Ne merger la PR que si le test passe.
docker compose -f docker-compose.yaml kill && docker compose -f docker-compose.yaml rm -fvTo deploy changes to production, follow these steps:
-
Commit changes on master branch
git add . git commit -m "Your commit message"
-
Push master branch
git push origin master
-
Switch to production branch
git checkout production
-
Commit on production branch
git merge master git commit -m "Deploy to production" -
Push production branch
git push origin production
-
Switch back to master branch
git checkout master