docs(ws3): record session 1c completion (boundaries enforcement)

- ARCH-CONSOLIDATION-2026-04.md: add Sessie 1c entry under WS-3 voortgang
- CLAUDE.md: add Frontend import boundaries section
- BACKLOG.md: add four follow-up tickets
  - TECH-AXIOS-STORE-COUPLING
  - TECH-DELETE-DEAD-VIEWS
  - TECH-WS3-BOUNDARIES-SUBZONES
  - TECH-WS3-BOUNDARIES-ROUTER-ZONE

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-04-30 23:52:15 +02:00
parent fe3a2e1a52
commit 9cccbe08ce
3 changed files with 175 additions and 0 deletions

View File

@@ -551,6 +551,30 @@ Zie §4 voor scope en stappen.
drie geplande wijzigingen, doorschuiven naar follow-up. WS-3 lint
cleanup workstream effectief afgerond; sessie 1c
(eslint-plugin-boundaries) kan starten op een schone baseline.
- **Sessie 1c (2026-04-30)** — _import-boundaries enforcement, klaar._
`eslint-plugin-boundaries@6.0.2` (MIT, ESLint ≥6 peer-dep, Node ≥18.18)
toegevoegd als directe devDep aan `apps/app/package.json` per de
TECH-PORTAL-ESLINT-DEPS lesson, en geactiveerd in `apps/app/.eslintrc.cjs`
met layered-architecture matrix: 10 zones (`types`, `utils`, `lib`,
`plugins`, `composables`, `stores`, `navigation`, `components`, `layouts`,
`pages`) met richtgevende edges (rationale + bewijs in
`dev-docs/WS-3-SESSION-1C-AUDIT.md`). Vendored `@core/`, `@layouts/`,
het dode `views/` bestand en orchestratie-roots `App.vue` + `main.ts`
staan in `boundaries/ignore`. Vier `lib → stores` violations in
`lib/axios.ts` (regels 3, 4, 61, 72) gemarkeerd met per-line
`eslint-disable-next-line` comments referencerend naar
`TECH-AXIOS-STORE-COUPLING` — de structurele decoupling van axios is
bewust uitgesteld naar een dedicated sessie omdat het architectuurwerk
is, geen tooling-cleanup. Boundary-rule blijft `error`, matrix blijft
strict; toekomstige `lib/X.ts` schrijvers stoten alsnog tegen de regel.
Lint baseline 0 errors / 0 warnings; build smoke groen; Vitest groen
(49 tests). Drie backlog-items aangemaakt voor toekomstige actie:
`TECH-AXIOS-STORE-COUPLING` (decouple axios), `TECH-DELETE-DEAD-VIEWS`
(verwijder `src/views/`), `TECH-WS3-BOUNDARIES-SUBZONES` (sub-zone
enforcement na PR-B), `TECH-WS3-BOUNDARIES-ROUTER-ZONE` (matrix-update
wanneer `plugins/1.router/` naar `router/` verhuist). WS-3 lint cleanup
+ boundaries enforcement effectief afgerond; volgende WS-3 stap is PR-B
(portal merge) zodra WS-6 sessie 2 in main is geland.
**Klaar-criteria:**
- `apps/portal/` is verwijderd