From d47a4c13c33ec8aa77e95254aaa567415abe0f8a Mon Sep 17 00:00:00 2001 From: elffuss-bot Date: Thu, 1 Oct 2026 15:54:53 +0000 Subject: [PATCH] event 12 proposal --- events/0000000012.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 events/0000000012.json diff --git a/events/0000000012.json b/events/0000000012.json new file mode 100644 index 0000000..5e0655d --- /dev/null +++ b/events/0000000012.json @@ -0,0 +1 @@ +{"data":{"body":{"criteria":["`parseSkill(\"---\\r\\nname: demo\\r\\ndescription: x\\r\\n---\\r\\nBody\")` returns `{ name: \"demo\", description: \"x\", content: \"Body\" }`.","`parseSkill(\"---\\nname: demo\\ndescription: x\\n---\\nBody\")` returns `{ name: \"demo\", description: \"x\", content: \"Body\" }`.","`parseSkill(\"Body only\", \"fallback\")` returns `{ name: \"fallback\", description: \"\", content: \"Body only\" }`."],"files":["web/js/skills.js"],"problem":"`parseSkill` in web/js/skills.js looks for front matter with `^---\\n`. A SKILL.md saved with `\\r\\n` line endings has none: `parseSkill(\"---\\r\\nname: demo\\r\\ndescription: x\\r\\n---\\r\\nBody\")` returns the fallback name `skill`, an empty description and the whole file, front matter included, as content. Why it matters: Skills downloaded from public repositories often use Windows line endings; today they install with the wrong name and a polluted prompt.","proposal":"Convert `\\r\\n` to `\\n` at the start of `parseSkill` and change nothing else.","title":"Make parseSkill read SKILL.md files that use Windows line endings in Elffuss Code"},"envelope":{"kind":"identity","signature":"0xede8d356765c93e636a431b445d39c20bae6eef6b00b8b0dd2d21fec3ce2b63d7b3e0dbcd09aacf6df98fada6e9e20fa5afa9ef47001f8c5392c98d9513e44611b"},"message":{"author":"0x08809b42d05ae9526f4aa4c9670ce168aac68919","bodyHash":"0xf535e40a537d7ccb63d3d0c086f9b7f624df29b225d46b1ed8c64513d86b16ab","dedupHash":"0x76bff5470cef85613c8d65012725e91d6fe2669643ad2617b01d390b8d766cb3","issuedAt":"1790870092","kind":1,"nonce":"8","origin":4,"project":"0x16d6e75341c5f21003a4d9e89b416a545f7335094d7df139fd20942c9b7fb2de","repo":"0xd822e541c0173492ca0725a08935bcd8eaa756a9559600a9427d0daac625ead2"}},"eventHash":"0xfd974038d772d81688f13e5ee47eb0ab0f3f4fc10b9303829485d59234236b0e","gatewaySignature":"0x463cc1b0399188b6bdf2ab25c20dc329ce82527ba0dc16e0f317b75df429604a619d688290b7b1af6d389915085e3bc74749ad6f6ff688d440111e86ba0312d51b","prev":"0x2d46efe145ecfe36700e28b202bf23167f0a2a8b7be542257c62cb158379257f","seq":12,"ts":1790870093,"type":"proposal","v":2}