Folder mutability is controlled by MUT.json.
States:
mutable— normal working area; edits are expectedimmutable— frozen evidence or released artifacts; edits are prohibitedmixed— container folder whose children may carry different states
Use the nearest mutability marker:
python tools/govchk.py state docs/review/conformance/releases/0.3.9
python tools/govchk.py state srcThe command prints the resolved state and the marker file that supplied it.
src/,tests/,tools/,examples/,benchmarks/→ mutabledocs/gov/,docs/comp/,docs/notes/,docs/adr/,docs/architecture/,docs/protocols/→ mutabledocs/review/→ mixeddocs/review/conformance/→ mixeddocs/review/conformance/releases/0.3.8/→ immutabledocs/review/conformance/releases/0.3.9/→ immutable- repository root → mixed
A folder may be flipped from mutable to immutable only when all of the following are true:
- the folder content is intended to be frozen for provenance, release, or certification
- required tests/gates for that folder are green
- required manifests/indexes/summaries are written
- the parent/current-state docs point at the frozen location
- the responsible release/governance doc records the freeze
Then:
- update or add
MUT.json - set
"state": "immutable" - record
reason,frozen_on, andscope - ensure no mutable work continues in that folder
- if only part of a tree is frozen, mark the parent
mixed
Do not thaw immutable release/evidence folders in place.
If correction is required:
- create a new mutable work area or new versioned release root
- leave the old folder immutable
- record the superseding path in current-state docs
Versioned release roots are immutable after promotion.
Corrections after promotion create a new versioned root; they do not rewrite a frozen historical root.
docs/notes/ remains mutable. Once a note becomes release evidence or historical provenance, copy or promote it into an immutable evidence tree and then stop editing the original note or mark it as closed.