Development Documentation
For contributors and maintainers. All changes start with this handbook, and each type of change has its own set of rules.
Before You Start (Required Reading)
| What you want to do | Entry point (unified self-check) | Rules |
|---|---|---|
| Change code | HOWTO.md §1 | coding-rules.md |
| Change documentation | HOWTO.md §2 | docs-rules.md |
Not sure which category applies? Read Step 0 of HOWTO first; it will determine the category for you.
Compiler Architecture
architecture/ Contains the companion design documents for the RFC-039 refactoring: 01 Feature Routing, 02 Phase Contracts, 03 Type Representation, 04 SSA, 05 Frontend Paradigms, 06 Cleanup Checklist, 07 Equivalence Criteria, 08 Maintenance Mechanisms.
Tool Design Specifications
- design/check/: Design specifications for the yx check static analysis tool (zero-false-positive principle, cross-file analysis, incremental checking)
- design/formatter/: Behavioral specifications for the yx format formatter
User-facing command usage is documented in the reference directory: check, format, and test.
Processes and Standards
- Contribution Guide: How to participate in development
- Commit Guidelines: Git commit message format
- Branch Maintenance Guide: Branch management strategy
- Release Process: Releasing versions and distributing artifacts
- Test Specifications: Test tiering, corpus organization, and quality gates
What Does Not Belong Here
- Proposals and final decisions on language features → rfc/
- Language philosophy and manifesto → explanation/
- User-facing command documentation → reference/
