Commit 7be1220
authored
feat(skills/update-stack): drop ledger condition + auto-derive scan list (#4232)
* feat(skills/update-stack): drop ledger condition + auto-derive scan list (#4231)
Three coupled changes to step 3ter drift gate:
1. Drop `DOWNSTREAM_PATCHES.md` ledger exception — block on ANY shared
non-test file divergence vs `devkit-vue/master`. User decision
2026-06-02 (memory `feedback_no_dev_in_shared_modules`). Resolution
path becomes revert / promote-up / relocate.
2. Replace hardcoded module list (`src/modules/home auth users tasks core
app secure`) with `src/modules src/lib src/config`. Old enum silently
missed `src/modules/admin`, `app`, `billing`, `core`, `legal`,
`organizations` AND included a non-existent `src/modules/secure`.
Re-audit on trawl_vue with corrected scan surfaced 13 undeclared
drifts (~700 LOC).
3. Drop stale `src/modules/secure` entry — never existed on devkit Vue
origin/master.
Operational note: `src/modules/app/app.router.js` historically diverges on
every downstream (downstream routes). Under no-ledger it MUST be refactored
to keep `app.router.js` stack-iso. Until then the gate will block every
Vue downstream `/update-stack` — forcing function as intended.
Mirrors infra#37 (PRF Phase 0.5 gate) for `/update-stack`-time enforcement.
* docs(skills/update-stack): address Copilot + critical-review (#4232)
- Rewrite Phase 1 'Stack modules' line + 3bis 'stack code' line to point
at auto-discovery (no hardcoded enumeration).
- Tighten test-files exclusion description to match the actual regex.
- Add Rules bullet noting e2e helpers under src/lib/helpers/e2e/ are
scanned (stack-managed). Surfaced by critical-review fallback.
- Refine app.router.js Rules text: clarify that the extension hook
needed for downstream route registration does NOT currently exist;
the refactor must add it. Surfaced by Copilot review.
Separate follow-up issue will be filed for switching the scan source
from downstream `git ls-files` to upstream `git ls-tree` — closes
the coverage gap for stack files missing on downstream (Copilot review
finding, out of scope for this PR).1 parent 0560aab commit 7be1220
1 file changed
Lines changed: 16 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
114 | 113 | | |
115 | | - | |
| 114 | + | |
116 | 115 | | |
117 | 116 | | |
118 | 117 | | |
119 | | - | |
| 118 | + | |
120 | 119 | | |
121 | 120 | | |
122 | 121 | | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
0 commit comments