docs: capture exploration — plugin-layout-winter-directories

This commit is contained in:
Jakub Zych
2026-09-18 01:59:59 +02:00
parent b2fd726501
commit 0f767edc9e
2 changed files with 77 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
---
title: Verify the models-leaf layout rule against keios.eu and a jz/pxpx plugin before Phase 5
date: 2026-09-18
priority: medium
area: plugin layout / conversion
---
Before the bulk model port (Phase 5) and before any second-project port, repeat the dependency probe done for Fonoteka on 2026-09-18 (see `.planning/notes/plugin-layout-winter-directories.md`) on at least:
- one keios.eu stack plugin with models and services (`/media/nvme/dev/golem15/keios.eu/plugins/golem15/user` or `paymentgateway`)
- one jz project plugin
- one pxpx project plugin
For each, count `models/ → classes/` (and `models/ → any sibling dir`) `use` edges and classify them as cast / service-calling hook / other. The rule holds if every edge falls into "cast moves into models" or "hook becomes a callback registered from classes/plugin.go". Any "other" category means the rule (or the note) needs amending before agents apply it at scale.
```
grep -rl "Vendor\\\\Plugin\\\\Classes" plugins/vendor/plugin/models | wc -l
grep -rn "Vendor\\\\Plugin\\\\Classes" plugins/vendor/plugin/models
```