ignore per-process caches across repository tools
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
# Framework remediation plan
|
||||
|
||||
**Status: completed 2026-08-09.** Every actionable item in this plan has been
|
||||
implemented and covered by a failing-before regression or an enforceable
|
||||
ratchet. The final repository state has 102 maintained UI components, zero
|
||||
**Status: remediation behavior completed; CSS ownership cleanup remains.** The
|
||||
repository has 102 maintained UI components, zero
|
||||
undeclared non-native output emitters, zero components matching the scaffold
|
||||
definition, and local styles on every component. The core reactive runtime is
|
||||
48,124 minified bytes; component controllers ship separately at 24,027 bytes.
|
||||
|
||||
Section 4.1 remains open: the global `ui.css` still contains legacy component
|
||||
rules duplicated by local component styles. Those rules must be removed before
|
||||
the §0.1 ownership convention can be called complete.
|
||||
|
||||
Final validation passed the production, package, example, service, editor,
|
||||
showcase-generation, typecheck, lint, formatting, public-API, visual-contract,
|
||||
security, and runtime-size gates. The only skipped test is the explicitly
|
||||
@@ -497,13 +500,17 @@ whichever behaviour was chosen.
|
||||
|
||||
## 4. Delivery and the dev loop
|
||||
|
||||
### 4.1 Global `ui.css` migration — FIXED
|
||||
### 4.1 Global `ui.css` migration — PARTIAL
|
||||
|
||||
**Original issue.** `ui.css` was **175,848 bytes, 26,350 gzipped**, served on
|
||||
every page. Only **42 of 108** components had a local `style {}` block.
|
||||
|
||||
**Result.** The maintained library now has **102 of 102** components with local
|
||||
styles. Built `ui.css` is **77,410 bytes / 12,764 gzipped**.
|
||||
**Result so far.** The maintained library now has **102 of 102** components
|
||||
with local styles. After removing the unused `.wire-switch` family, built
|
||||
`ui.css` is **76,348 bytes / 12,531 gzipped**, but
|
||||
it still contains a parallel legacy component layer, including `.wire-next`,
|
||||
`.wire-btn`, `.wire-dropdown`, and related families. Local-style coverage alone
|
||||
does not complete this item; global component selectors must reach zero.
|
||||
|
||||
**Change.** Done in groups with the visual contract regenerated after each
|
||||
migration.
|
||||
@@ -512,8 +519,8 @@ migration.
|
||||
|
||||
```bash
|
||||
ls packages/ui/components/*.wrn | wc -l # 102
|
||||
grep -l '^ style {' packages/ui/components/*.wrn | wc -l # 102
|
||||
bun run build && gzip -c examples/basic-app/dist/ui.css | wc -c # 12764
|
||||
grep -lE '^[[:space:]]*style[[:space:]]*\{' packages/ui/components/*.wrn | wc -l # 102
|
||||
bun run build && gzip -c examples/basic-app/dist/ui.css | wc -c # 12531
|
||||
```
|
||||
|
||||
Add a ratchet test asserting the gzipped size only ever decreases, so this
|
||||
@@ -560,7 +567,8 @@ therefore deletes the running server's cache.
|
||||
|
||||
**Change.** The first option was implemented: each process uses
|
||||
`.wrnexus-<pid>`, normal server shutdown removes its directory, and
|
||||
`.wrnexus-*/` is gitignored so an interrupted process cannot pollute a commit.
|
||||
`.wrnexus-*/` is excluded by Git, ESLint, TypeScript, and Prettier so an
|
||||
interrupted process cannot pollute a commit or a repository-wide tool run.
|
||||
|
||||
The considered options were:
|
||||
|
||||
|
||||
@@ -104,6 +104,6 @@
|
||||
"packages/ui/components/switch.wrn": "205591decf50f1f7d190d8da6a3d969e0fd17ec5300c968fb005608da6a6e596",
|
||||
"packages/ui/components/textarea.wrn": "00b48d4dbbd5aedfe51e8e932d124b3e222383360c738ac3b15fbbf478481ff7",
|
||||
"packages/ui/components/tooltip.wrn": "40028dfbb17f6725c76c2e091af9c30ea4db6aa4dea919d38f53874ea70315d1",
|
||||
"packages/ui/ui.css": "d671a848fcbd340d1140a2855019dccecbd71a81d36276e4f1f6cee9d960da9d"
|
||||
"packages/ui/ui.css": "2cdf2ab533f0d2ad5dc9576be701408a6388b985ebac5c34e61d71a9de521a94"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user