Principle Separate Before Serializing Shared State

Remove unnecessary shared write targets between concurrent actors before adding structural serialization for state that truly requires one writer.

njs14 560c073 758 B Updated

File contents

Separate shared writes

Treat the request text that activated this skill as the concurrent state boundary.

Apply separate before serializing shared state. List every actor and write target. Give independent facts separate files, branches, keys, or state objects and merge them at a read boundary. Where one canonical writer is real, use a lock, transaction, compare-and-swap, or single-writer phase. Return the ownership map and race proof.

njs14/pkstack/tree/main/.kiro/skills/principle-separate-before-serializing-shared-state commit 560c073880

Frequently asked questions

npx skillmds@latest add njs14/principle-separate-before-serializing-shared-state