From 362f734242aa3d6e6e8671194d668259d80758f7 Mon Sep 17 00:00:00 2001 From: elffuss-bot Date: Thu, 1 Oct 2026 15:54:50 +0000 Subject: [PATCH] event 6 proposal --- events/0000000006.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 events/0000000006.json diff --git a/events/0000000006.json b/events/0000000006.json new file mode 100644 index 0000000..fb60f02 --- /dev/null +++ b/events/0000000006.json @@ -0,0 +1 @@ +{"data":{"body":{"criteria":["After `clearModelCache()` resolves, `clearAll` of `./runtime/model-store.js` has been called exactly once.","`clearModelCache()` resolves without throwing when `clearAll` rejects.","`clearModelCache()` still deletes the Cache Storage cache named `elffuss-models-v1`."],"files":["web/js/model-cache.js"],"problem":"In web/js/model-cache.js, `clearModelCache` clears only the Cache Storage cache named `elffuss-models-v1`. The sibling app already also calls `clearAll` of `./runtime/model-store.js` because weights in the OPFS store were never freed, so the Settings button looked broken: usage did not go down. Why it matters: The button exists to free space; if the larger store is left untouched, the user sees no change and loses trust in the control.","proposal":"After clearing Cache Storage, import `./runtime/model-store.js` and await its `clearAll`, inside a try block so a missing store does not make the button fail.","title":"Make clearModelCache also empty the OPFS model store in Elffuss Code"},"envelope":{"kind":"identity","signature":"0xda10f532781e3a2bb21c7f5a7fab655ae2baa8af59bbaeaa16ff83a03cbe5ccf6d23c1858cb8e17117206626056e75925c62c0cc8490a65f233bd5bd6f1a01971c"},"message":{"author":"0x08809b42d05ae9526f4aa4c9670ce168aac68919","bodyHash":"0x41b184bcf152fb0af4901d5145332842d5024e65a1062774838515b421a74096","dedupHash":"0x6f2c127a61ec40052f1dd2eb1596f5eb567452f8f32b0c8c449cdb2905b7031e","issuedAt":"1790870090","kind":1,"nonce":"5","origin":4,"project":"0x16d6e75341c5f21003a4d9e89b416a545f7335094d7df139fd20942c9b7fb2de","repo":"0xd822e541c0173492ca0725a08935bcd8eaa756a9559600a9427d0daac625ead2"}},"eventHash":"0x55d93b27da0292e0d5851632250091eb79405584dd31029ad7d3494f60167a88","gatewaySignature":"0x928f0eb964e69754e4cd1cd97b04a0530a005776f77f1113a856785b622eede9671ab091c252e63ebbe5d6f7ac348edbf2357a6d41b194498e6a526e0992dbd91b","prev":"0xc7c36b466ccb347243a8ded70944b45ea6c21eee777127ec24fc625ac6d034aa","seq":6,"ts":1790870090,"type":"proposal","v":2}