Maintenance pass
Run on the maintainer’s request, advised after a Stable and before opening a work package. It covers the five product repositories and this one. A pass never changes behavior: an anomaly found becomes an entry in status.md, handled in a work package.
- Start from a clean state: every checkout on an up-to-date main, no leftover worktree or branch, open pull requests merged, closed or listed, remote branches without a pull request listed for decision.
- Measure without changing anything: function and file length, complexity, catch-all modules, one domain per file, rules written twice, hard-coded lists, dead code (vulture, knip, cargo machete, clippy), comments, internal references, English names, symbols and emoji, links (lychee), secrets in history (gitleaks), dependency audits (pip-audit, npm audit, cargo deny), GitHub settings, documentation size.
- Fix at once what is proven safe (proven dead code, comments against the rules, lint, outdated documentation). Removals of files, functions, branches or dependencies, splits and settings changes wait for the maintainer’s decision.
- One pull request per repository, or per domain in Bobine; refactors, comments and behavior changes never mixed; names after the technical object.
- A code rule worth a guard becomes a test or a lint run by the existing CI; no new workflow.
- Bring this repository in line with the facts, then close: every pull request merged green, branches removed, checkouts on main.