IronMurphy 6103c7b6c2
fix(lark): publish the skill file and manifest atomically (#6683)
* fix(lark): publish the skill file and manifest atomically

_write_skill_file and _write_manifest wrote their final paths with a truncating
write, while the runtime files in the same module already go through
_publish_bytes_atomically. A partial skill file or manifest is unparseable, and
the manifest carries the content hash the install is verified against, so a
half-written one cannot be repaired. Route both through the existing helper.

* fix(lark): address skill publication review feedback

---------

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-10-11 17:46:29 +08:00
..