Skip to content

batchcode v0.3.3

Latest

Choose a tag to compare

@YiJieqwq YiJieqwq released this 27 Sep 17:52

Changes

  • session del all safely retires both per-ID management and running lock files, preserving artifacts and global locks. Busy target refuses deletion before changes; other running sessions can continue.
  • Gate registration checks and lock acquisition behind the index lock, and make session-list activity probing non-creating. Delayed references/list snapshots cannot recreate deleted locks. Recovery journals include lock retirement; inode/permissions checks fail closed.
  • Install-time housekeeping removes historical orphan lock pairs only when safely identified: generated ID, not indexed, no session entry, empty regular single-link files and no lock holder. Busy/unsafe files retained; no runtime GC or artifact purge.
  • Shared system instruction: answer contains only the actual body, no extraneous tag/XML/function-call/end wrappers. Explicit user-requested markup/code remains valid; no regex rewriting of answers/history.

Validation

208 offline/mock tests passed locally and GitHub Actions Python 3.10/3.12/3.14 (run 36338208151), including real subprocess lock interleavings, inherited FDs, stale openers, recovery, independent task deletion and installer cleanup.
Clean final ZIP install/query/cleanup/del-all/uninstall/reinstall passed. The revised prompt has not been live-API tested; mocks verify the instruction and raw preservation, not guaranteed model compliance.

Upgrade

Same v0.3.x schema/config/CLI. Run install.sh after updating code to clean safe historical orphan locks. Do not overlay filled profile files; ZIP defaults contain empty keys. Existing artifacts stay put. A local rollback install of v0.3.2 is retained by the developer, not part of the release.

ZIP + SHA256 below; no private keys/history or DNS repair code included.