Understand how it is built
For anyone who develops, integrates or audits: the model, the rules, the API, the build.
Planning Équipes is a Quarkus application that embeds the Timefold solver, an Angular interface and a PostgreSQL database, all in a single service. These pages show how the pieces fit together, why each rule exists and what a change must not break.
If you are new to the code, read the overview, how the schedule is solved and the data model in that order. Otherwise, start from the question you have.
I am discovering the project
- I want to know how the code is organised: The stack and how the code is split.
- I want to know how editions stay separate: One edition, one partition of the data.
- I want to know who can do what: Accounts, roles and access.
- I want to know what runs without being launched, and what goes out by e-mail or webhook: Background jobs and notifications.
- I am working on the interface: The Angular frontend.
I want to understand the solve
- From problem to plan: the solver and its two engines
- The data model and its invariants
- Hours, consignes and effective windows of stands
- Locks, freeze, re-planning, swaps and the published plan
- Shifts, legal settings, meals and quality
- Ad hoc exceptions and their contradictions
I want to know why a rule exists, or add one
- The solver’s rules and their catalogue
- Breaks, meals and legal durations
- Rest, weeks and consecutive days
- Coverage, fairness and comfort
- Weighting a rule, switching it off
- Adding a rule
I call the API or connect an assistant
- Edition, authentication and errors
- Starting, following and stopping a solve
- Consignes, publication and reference data freeze
- Rules, explanations and repairs
- The reference data, their hours and input warnings
- Event day and the wall display, feasibility and breaks, the staff espace
- Webhooks, weather, journal, exports
- Connecting an AI assistant, the MCP tool rules and the tools
I load or export data
- The YAML scenario file
- CSV imports
- PDF, ICS, CSV and end-of-event archive
- Starting from an edition, restoring after an import
I contribute
- Setting up the environment and running
- Tests and load scenarios
- Load testing a public demo
- Tune the solver
- Continuous integration and delivery, Renovate and licences
- Repository conventions
What lives in the repository
Architecture decisions are one page per choice in docs/decisions/ (external site). The API contract is docs/schema/openapi.json (external site). Diagrams are PlantUML sources in docs/diagrammes/ (external site). The project memory (external site) gathers the measurements and the abandoned leads behind some solver settings.
To host the application rather than modify it, see Install it yourself; to use it, The rules of the game.