Skip to main content

neo-immutability-and-versioning

Explains NeoHaskell's DEPLOYED-CODE IMMUTABILITY model and how to change a frozen domain file: the .locked-files manifest, how neo lock and the neo build pre-build gate freeze every file under Commands/ Events/ Queries/, and the exact V-BUMP rule (change Foo.hs by creating a byte-new sibling FooV2.hs whose type is FooV2, leaving the original untouched), plus add-only entity evolution (entities are never locked/versioned). Use whenever you need to change, fix, rename, or delete a command, event payload, or query; when neo build or a git commit fails with a lock violation ('Build refused: N locked file(s) violate the lock'); or when tempted to edit a file under Commands/Events/Queries — even without the words 'lock' or 'versioning'. Do NOT use to write the V2 file's decide/wire it (implement- command / wire-feature), to add a field to an entity record (expand-entity), or for the neo lock SUBCOMMAND flag reference (neo-cli).

설치로 이동

소스 정보

저장소
neohaskell/skills
최근 소스 활동
2026년 7월 1일 22:02
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.