Commit 81d128e
chore(tidy): T-3 — move loose root docs into the docs/ subtree (#365)
## Summary
Phase T-3 of the repo-tidy stack. Twelve loose root-level documents
migrated into the existing `docs/` subtree, plus two new subdirectories
where the existing taxonomy had no obvious home for the content. Root
drops from 17 loose `.md`/`.adoc` files to 5 (the
RSR-template-compatible minimum: README, CONTRIBUTING, CODE_OF_CONDUCT,
SECURITY, MAINTAINERS).
## Moves
| From (root) | To (docs/...) |
|---|---|
| `ABI-FFI-README.md` | `reference/ABI-FFI.md` |
| `ALPHA-1-RELEASE-NOTES.md` | `history/ALPHA-1-RELEASE-NOTES.md` |
| `BACKEND-ANALYSIS.md` | `architecture/BACKEND-ANALYSIS.md` |
| `BACKEND-IMPLEMENTATION.md` | `architecture/BACKEND-IMPLEMENTATION.md`
|
| `COMPILER-CAPABILITIES.md` | `reference/COMPILER-CAPABILITIES.md` |
| `EXPLAINME.adoc` | `EXPLAINME.adoc` |
| `KNOWN-ISSUES.md` | `KNOWN-ISSUES.md` |
| `LICENSING-GUIDE.md` | `governance/LICENSING-GUIDE.md` |
| `NAVIGATION.adoc` | `NAVIGATION.adoc` |
| `PROOF-NEEDS.md` | `PROOF-NEEDS.md` |
| `ROADMAP.adoc` | `ROADMAP.adoc` |
| `RSR_OUTLINE.adoc` | `standards/RSR-OUTLINE.adoc` |
| `SECURITY-SETUP.md` | `governance/SECURITY-SETUP.md` |
Two new subdirectories: `docs/architecture/` (compiler / backend
internals) and `docs/reference/` (technical reference).
## Cross-reference fixes (same PR — no broken links left behind)
- `docs/CAPABILITY-MATRIX.adoc` — authoritative-source caveat block now
points at the new paths.
- `docs/architecture/BACKEND-IMPLEMENTATION.md` — Related-Documentation
block rewritten with `../history/...` / `../ROADMAP.adoc` relatives.
- `CONTRIBUTING.md` — repo-layout block drops the moved `ROADMAP.adoc`
root entry; "skim before suggesting features" link now →
`docs/ROADMAP.adoc`.
- `docs/NAVIGATION.adoc` — every `link:docs/X` becomes `link:X` (it's
now in `docs/`); the Directory Tree Overview block rewritten to reflect
the current repo shape (drops the long-stale `.build/` and `STATE.scm`
entries that never existed; adds the new subdirs; mentions
`.well-known`, `.github`, `.machine_readable`).
- `tools/res-to-affine/{README.md, scanner.ml,
test/expected/sample.affine}` — the `raw-js` migration-guidance string
referenced `ABI-FFI-README.md`; updated to `docs/reference/ABI-FFI.md`.
Snapshot fixture updated by hand to match the scanner's new emitted
text.
## Out of scope (deliberate)
- `docs/history/TYPED-WASM-LEVEL-10-CLOSURE-2026-04-19.{adoc,a2ml}`
mention `KNOWN-ISSUES.md` in *historical past-tense* ("flipped to
RESOLVED") — those are session-note retrospectives, not navigation
links. Leaving them preserves the historical record.
## Test plan
- [ ] CI baseline preserved — no `.ml`/`.mli` files moved, so `dune
build`/`lint` behaviour unchanged from `main`'s current state.
- [ ] `grep -rl` for the moved filenames across `.md` / `.adoc` / `.ml`
/ `.mli` returns only the carve-outs noted above.
- [ ] Hypatia: no new findings; `unpinned_action` + TypeScript-exemption
hits unchanged from baseline.
## Stack
- ✅ T-1 (#359 merged) — AI manifest canonical name + TECH-DEBT restore
- ✅ T-2 (#360) — game-file deletion
- 🟡 **T-3 (this PR)** — root → docs/ reshuffle
- T-4 — `RSR_COMPLIANCE.adoc` + `STATE.scm` per RSR template
- T-5 — refresh `wiki/`
- T-6 — issue / PR triage
Phase 2c (#357) is on a separate branch and unaffected.
---
_Generated by [Claude
Code](https://claude.ai/code/session_01WNkH8UucP3PppG5R36kGcu)_
---------
Signed-off-by: hyperpolymath <6759885+hyperpolymath@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>1 parent 839c272 commit 81d128e
19 files changed
Lines changed: 234 additions & 214 deletions
File tree
- docs
- architecture
- governance
- history
- reference
- standards
- tools/res-to-affine
- test/expected
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
| |||
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
79 | | - | |
| 78 | + | |
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
File renamed without changes.
File renamed without changes.
0 commit comments