You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Branch:main | Base commit:8fba633 | Session: CI Hardening + CodeAnt AI + E2E Stabilisation + Docs Perfection Session type: Crash-recovery continuation (VS Code OOM during typecheck forced-close)
What Was Done
Session Recovery
Reconstructed context from git log, memory files, and CI run history after VS Code force-close during a typecheck full-run. 8 commits were already on main but not pushed; the CI was broken; context was fully recovered.
CI Fixes (Priority 1)
Fix
Commit
Root Cause
pnpm-lock.yaml regenerated
ec3889e
@xenova/transformers β @huggingface/transformers migration had no lockfile update β ERR_PNPM_OUTDATED_LOCKFILE
AI Layer-3 model collision
6e892d5
aiCoreFallbackPaths.test.ts expected layer:'transformers' got 'heuristic' β ONNX and Transformers.js used same model; Layer-3 now always uses Xenova/distilgpt2
VRT baselines committed
7135653
4 Chromium 1280Γ720 PNGs from CI artifact (home, writer, characters, settings)
actions/cache v4βv5 (node24)
e99a7b2
Storybook job used v4.2.3 (node20, deprecated June 16 2026)
Scorecard transient failure
re-run
api.scorecard.dev network timeout; re-running resolved it
14 CodeAnt AI Issues Fixed (commit 827a512)
#
File
Issue
Fix
1
webllmOptimizer.ts
No dispose() on eviction
void entry.engine.dispose?.()
2
webllmOptimizer.ts
releaseWebLlm one variant only
Deletes both high-performance + low-power
3
listenerMiddleware.ts
await missing on releaseAllOnnxSessions
Added await
4
computeShaderFactory.ts
getComputeDevice race condition
deviceInitPromise mutex
5
listenerMiddleware.ts
Adaptive engine window gate not set on cold start
initAdaptiveAiOnStartup() in App.tsx
6
localAiDeviceProfiler.ts
transformers-webgpu when WebGPU unavailable
Changed to onnx-wasm
7
adaptiveAiEngine.ts
WarmedModelEntry missing task field
Added task: AiTaskType
8
telemetryService.ts
Writes even when flag is off
setTelemetryEnabled() gate + App.tsx sync
9
listenerMiddleware.ts
window access without SSR guard
typeof window !== 'undefined'
10
AiSections.tsx
useAdaptiveAi runs when feature disabled
Parent-level conditional mount
11-14
AdaptiveAiHardwarePanel.tsx
7 hardcoded strings
t() calls + 7 new i18n keys Γ 5 locales
E2E Stabilisation: 24 Failures β ~0
Fix
Commits
WelcomePortal: contrast WCAG AA (2.03β2.91:1 β 4.5:1+)
1b71b11
waitForSpaReady: wait for body theme class before axe runs
68ab7b7
seedGeminiApiKey: use role="switch" (not checkbox) + disable localStorageOnly