NUIF (Neutral User Interface Format) is a research project and reference implementation for a vendor-neutral authored user-interface document model. Read README.md, then docs/whitepaper/, spec/, conformance/PLAN.md and apps/editor/ before changing anything. docs/roadmap.md states the phase gates.
- Commit messages: one line,
<type>: <subject>, imperative, lower-case, no body, no trailers, no co-author or tool attribution of any kind. Skill:git-commit. Enforced by.githooks/commit-msgand CI. - Never commit or push unless asked. Never force-push
main. - Persisted prose follows the research register: established terminology, no marketing language, no invented brand terms, no AI writing patterns, locators for every non-obvious claim. Skill:
research-register; glossary in.claude/skills/research-register/references/terminology.md. - Chat replies follow
terse-chat. - Research records in
research/items/validate againstresearch/schema/research-item.schema.json(kindandstatusfrom the enumerations). Runtools/research/validate.shafter editingresearch/. - Normative text lives only in
spec/; research and whitepapers motivate, they do not define. Do not call NUIF a standard. - Core crates stay independent of the editor and of vendor adapters. Every editor gesture lowers to protocol operations; the CLI/API is the primary test surface, GUI automation is supplementary.
- Rust: toolchain pinned in
rust-toolchain.toml(latest stable),rust-version= toolchain − 2 or the highest dependency MSRV (ADR 0006),resolver = "3",unsafe_code = "forbid"incrates/, clippy pedantic clean,cargo fmtclean,deny.tomllicence allow-list. - Do not add features, files or dependencies beyond the request. Do not add "nice to have" UI to the test editor; its scope is fixed in
apps/editor/UI-SPEC.md. - Fidelity loss is never silent: import, export, lowering and migration paths emit fidelity records.
research/evidence corpus (items, claims, questions, experiments, coverage, index)docs/whitepaper/synthesis;docs/roadmap.mdphasesspec/draft normative modules;rfcs/proposals;adrs/implementation decisionscrates/Rust workspace seams;apps/editor/reference test editor;conformance/suites and fixtures;tools/repository tooling