mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-10-30 15:10:41 +00:00
* fix(skills): capture package digests without POSIX-only dir_fd `capture_package` rejected every non-POSIX host, so `SkillMutationRuntime.state` fell back to `"unsupported-" + uuid4().hex`. That digest differs on every call, so `repository.observe()` recorded a mutation for an untouched package: `mutation_seq` kept climbing and ABA detection could never match. Walk the tree with `scandir` + `lstat` where `dir_fd`/`O_NOFOLLOW` are missing, comparing the pre-open `lstat` against the opened descriptor before reading, and leave the POSIX descriptor walk unchanged. Windows 11 / Python 3.12: test_skill_asset_versions.py 5 failed -> 23 passed; reverting this file alone brings the 5 failures back. * docs(gateway): keep guidance below CI size budget --------- Co-authored-by: Felix Shi <204130665+shi-felix@users.noreply.github.com> Co-authored-by: Willem Jiang <willem.jiang@gmail.com>