1. Version sync: provider/main.go = profile.env = 5.0.60
2. docs-generator: removed detectVersion() — no more dependency on provider/
3. docs-generator: removed detectRoot(), pickPath() — all paths via flags/env
4. docs-generator: require --version, --resources, --docs flags
5. Auto-rebuild: yaml-generator rebuilds if sources newer than binary
6. Three version vars → one VERSION in profile.env
7. Created TOOLS/lib/ — shared YAML contract types (not yet integrated)
- Updated all paths from universal_rebuild to provider and TOOLS/
- Added pipeline diagram and script reference table
- Added TOOLS/README.md with build instructions for each generator
Each generator is now a standalone Go module with its own go.mod:
TOOLS/
├── yaml-generator/ ← service_spec_gen (API → YAML)
├── resource-generator/ ← gen_v2 (YAML → Go resources)
├── docs-generator/ ← docs_template_gen_v2 (YAML → Markdown)
├── ops-generator/ ← ops_docs_gen (ops documentation)
└── bin/ ← pre-built binaries
All scripts updated to use TOOLS/bin/* binaries.
Removed old universal_rebuild/tools/ and universal_rebuild/bin/.