Skip to main content
Manus에서 모든 스킬 실행
원클릭으로

shared-mutable-index-rmw-race-use-marker-blob-per-item

스타2
포크0
업데이트2026년 7월 8일 11:09

Use when DESIGNING a shared "see everyone's active/in-flight/recent items" index — a dashboard sidebar, an activity feed, a "running now" list, a per-team/per-workspace/per-user recent-items list — that CONCURRENT producers add to AND a reader prunes. If you back it with ONE shared mutable container (a JSON list/array in a GCS/S3 blob, a DB array column, a shared session-cookie list, a single file) that is read-modify-written, you get a read-modify-write RACE that silently and PERMANENTLY drops entries: the reader reads the list, a producer appends X, the reader writes back its pruned copy computed before X existed → X is gone forever and the feature's whole promise ("see each other's items") is silently violated for that item. Trigger symptoms: an item a colleague just created never appears in the shared list; "self-correcting" was assumed but the add fires only once so it never re-appears; review flags a concurrency race on a shared index. Fix: ONE marker blob/row PER ITEM (`<prefix>/<item_id>`), so create

설치

Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.

SKILL.md
readonly