docs: keep only reference documentation, archive one-offs

This commit is contained in:
Pontoporeia
2026-09-18 16:26:36 +02:00
parent 8accb88452
commit d5c1dfb23d
27 changed files with 108 additions and 78 deletions
+13 -53
View File
@@ -1,17 +1,16 @@
# Documentation index
This directory separates **current reference** docs, **proposals/plans**, and
**historical/archived** analysis (in [`archive/`](archive/)).
`docs/` holds **current reference** documentation describing how the system
actually works today. Everything else — proposals, plans, incident reports,
analyses, original requirements, one-off helpers — is in [`archive/`](archive/).
> **Note on naming:** XAMXAM was previously *Post-ERG* (and the code was once
> organised under `posterg-website/`, `apps/`, `front-backend/`,
> `/var/www/posterg/`). References to `posterg`, `apps/public/inc/header.php`,
> `posterg.db`, `just serve`, `php-live-reload`, `tests/run-tests.php`, etc. in
> historical docs reflect the old layout. The live paths are now `app/`,
> **Note on naming:** XAMXAM was previously *Post-ERG* (code once organised
> under `posterg-website/`, `apps/`, `front-backend/`, `/var/www/posterg/`).
> Historical docs may reference the old layout; the live paths are now `app/`,
> `app/public/`, `app/storage/xamxam.db`, `just dev`, PHPUnit, and
> `/var/www/xamxam/` on the server.
## Current reference (kept up to date)
## Reference docs
| Doc | Contents |
|-----|----------|
@@ -26,50 +25,12 @@ This directory separates **current reference** docs, **proposals/plans**, and
| [security.md](security.md) | Current security posture |
| [file-uploads.md](file-uploads.md) | Upload surfaces, types, storage layout |
| [CSS.md](CSS.md) | CSS architecture + build |
| [bookmarklet.md](bookmarklet.md) | Form auto-fill test helper |
## Proposals / plans (proposed, not all implemented)
## Archive
| Doc | Status |
|-----|--------|
| [ldap.md](ldap.md) | LDAP login — **not implemented** (merged plan + spec) |
| [monolog-plan.md](monolog-plan.md) | Single Monolog logger replacing AppLogger/AdminLogger/ErrorHandler/Audit — **plan** |
| [de-librairisation.md](de-librairisation.md) | Replace bespoke SMTP/Markdown/HTTP/crypto with libraries (partly done) |
| [refactoring.md](refactoring.md) | Older refactoring proposal |
| [ANALYSIS_STRUCTURE_REORG.md](ANALYSIS_STRUCTURE_REORG.md) | Proposed structure reorg |
| [ANALYSIS_INLINE_JS_CSS_MINIFY.md](ANALYSIS_INLINE_JS_CSS_MINIFY.md) | Inline JS/CSS/minify analysis (largely actioned by the build system) |
| [backup-plan.md](backup-plan.md) | Backup plan — largely implemented (see deployment.md) |
| [repertoire-mobile-propositions.md](repertoire-mobile-propositions.md) | Mobile repertoire UI proposals |
| [spec-sheet.md](spec-sheet.md) | Original requirements fiche technique (incl. client notes appendix) |
## Active investigations (unresolved)
| Doc | Status |
|-----|--------|
| [filepond-crash-analysis.md](filepond-crash-analysis.md) | FilePond upload crash — **unresolved**, root cause in vendor code (merged race-investigation appendix) |
| [peertube-sso-incident.md](peertube-sso-incident.md) | PeerTube `invalid_grant` diagnosis & ownership |
| [autosave-system.md](autosave-system.md) | Autosave architecture & HTMX migration assessment |
## Historical / archived (in [`archive/`](archive/))
Kept for context — may reference the old codebase. Not maintained.
| Doc | Contents |
|-----|----------|
| `vm-crash-incident.md` | VM crash root-cause (merged final report + reports + evidence + fix) |
| `CURRENT_ISSUES.md` | Issue log (2026-05-10) — many since resolved |
| `LIVRAISONS_PAR_MOIS.md` | Monthly delivery log grouped by functional family |
| `migration-history.md` | History of major structural migrations |
| `php-vs-flask.md` | Language choice decision |
| `orm-assessment.md` | ORM evaluation |
| `css.md` | Old Bulma-removal writeup (see CSS.md for current) |
| `system-setup.md` | PHP-extension inventory |
| `SETUP.md` | Earlier setup snapshot (see development.md) |
| `testing.md` | PHP testing best-practices writeup |
| `SMTP_550_POSTFIX_FIX.md` | SMTP troubleshooting record |
| `cms-migration-plan.html` | CMS migration plan |
| `Proposition procédure licences_V2.pdf` | Licence procedure proposal |
| `pi-session-2026-05-10T*.html` | Captured session log |
Non-documentation material (proposals, plans, incident reports, analyses,
requirements, one-off helpers) is preserved read-only in
[`archive/`](archive/) for context. It is not maintained.
## Related documentation elsewhere
@@ -79,6 +40,5 @@ Kept for context — may reference the old codebase. Not maintained.
---
**Maintenance guidance:** when updating code, update the matching *current
reference* doc in the table above. Leave *archived* docs untouched (read-only
context). Move newly-written analysis into the appropriate section.
**Maintenance guidance:** when updating code, update the matching reference doc
above. Do not move analysis/proposals into `docs/` — put them in `archive/`.