2 Commits

Author SHA1 Message Date
d-robotics
4d6203fbc5 🧊 Give each request-cache lookup its own copy of the human item
annotationReadCache handed the same *HumanItemRecord to every lookup in a
request, and write handlers mutate the item they load (version, status,
assignment, payload keys) before the versioned write. After a failed or
conflicting write, later lookups in that request would see unsaved state.
Keep the single store read per request but return a copy per lookup, with
the payload, assignment and processing-job input maps cloned.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 23:39:38 +08:00
d-robotics
9289a95d04 🐛 Recover annotation saves and separate pending task views
Some checks are pending
web-ci / checks (push) Waiting to run
2026-10-16 16:13:41 +08:00