docs: reorganize documentation layout
- docs/roadmap/ -> docs/plan/ (implementation-plan.md becomes plan/README.md) - docs/reference/design-decisions.md -> docs/design/decisions.md (+ DD-008..010) - SPEC.md and docs/spec/INDEX.md merged into docs/spec/README.md - new docs/design/open-questions.md: spec gaps found so far (Q-001..Q-018) - new docs/dev/architecture.md and docs/dev/testing.md - docs/README.md: layout, precedence, where new documents go - update links in README, AGENTS, CONTRIBUTING, sources and test docs
This commit is contained in:
1 parent
17a55a7fef
commit
4e4d753090
17 files changed
+384
-95
No files matched your search
+4
-2
@@ -24,7 +24,9 @@ CI runs `zig fmt --check`, `zig build test` and `zig build conformance` on every
|
||||
docs/spec/ normative specification
|
||||
docs/rfcs/ design RFCs (template: 0000-template.md)
|
||||
docs/reference/ grammar, error codes, intrinsics, glossary
|
||||
docs/roadmap/ implementation plan, phase task breakdowns
|
||||
docs/design/ design decisions log, open questions
|
||||
docs/plan/ implementation plan, phase task breakdowns
|
||||
docs/dev/ implementation architecture, testing guide
|
||||
src/ reference implementation (Zig)
|
||||
root.zig library root
|
||||
diag.zig diagnostic envelope + error-code registry
|
||||
@@ -42,7 +44,7 @@ Everything under `src/` except `main.zig` is part of the trusted computing base
|
||||
|
||||
## Workflow for a change
|
||||
|
||||
1. **Find the governing text.** Precedence: accepted RFCs → `docs/spec/` → `docs/reference/` → examples → README.
|
||||
1. **Find the governing text.** Precedence: accepted RFCs → `docs/spec/` → `docs/reference/` → examples → README. If the spec does not answer the question, add a `Q-NNN` entry to `docs/design/open-questions.md` and resolve it in the spec before relying on an answer.
|
||||
2. **Spec first.** If the behavior is not specified, change the spec (or write an RFC for major changes) before code. Never let the implementation define semantics silently.
|
||||
3. **Tests first.** Add conformance tests (`accept` and `reject`) for every verifier rule touched.
|
||||
4. **Implement.**
|
||||
|
||||
Reference in new issue
Block a user