Molt expects production-grade changes, not opportunistic patches.
- Read AGENTS.md, docs/CANONICALS.md, and docs/ROOT_LAYOUT.md before changing behavior, structure, or docs.
- Keep work on
mainunless explicit user approval says otherwise. - Use canonical artifact roots only:
target/for Cargo/build statebench/results/for benchmark outputslogs/for durable logstmp/for scratch and quarantine material
- Update docs in the same change when structure, workflow, or semantics move.
- Remove dead files, duplicate paths, and stale references instead of preserving legacy layout.
- Prefer canonical homes over ad hoc files or directories.
- No silent fallback paths for missing features or missing infrastructure.
- No test-only hacks, compatibility shims, or narrow fixes that leave structural debt behind.
- Keep repo-facing docs and examples accurate after every move or rename.
- Verify claims with fresh command output before committing.
- Run the smallest command set that proves the touched paths still work.
- Prefer the canonical CLI DX surface for repo-wide proof:
molt setupmolt doctormolt validate --suite smokemolt validate
- For repo-structure changes, verify:
- moved paths are updated everywhere relevant
- canonical docs link to live files
- no stale references remain to removed directories
- artifact and cache locations follow policy
docs/is canonical, reader-facing documentation only.- Internal planning, agent memory, scratch notes, and quarantine bundles stay outside the repo.
- Root should stay limited to stable entrypoints, manifests, and approved top-level directories.