# Docs Consolidation Hub

Single entry point for documentation reconciliation across:
- canonical repo docs
- legacy repo copies
- worktree docs
- NODE1 runtime docs snapshot
- local notebooks

## Files

- `docs_inventory.csv` — machine-readable inventory with classification.
- `docs_inventory_summary.txt` — class-level counts.
- `docs_registry_curated.csv` — manually curated truth table for key docs (startup + runtime + legacy refs).
- `_node1_runtime_docs/` — runtime docs snapshot pulled from NODE1.

## Classification

- `runtime-fact` — observed in NODE1 runtime snapshot.
- `new-canonical` — canonical docs in active repo (`docs/runbooks`, master index, safe deploy).
- `legacy-worktree` — docs from `.worktrees/*`.
- `legacy-desktop` — docs from `/Users/apple/Desktop/MicroDAO/MicroDAO 3`.
- `needs-triage` — requires manual decision.

## Rebuild inventory

```bash
python3 /Users/apple/github-projects/microdao-daarion/scripts/docs/build_docs_hub_inventory.py
```

## Service Automation

```bash
bash /Users/apple/github-projects/microdao-daarion/scripts/docs/session_bootstrap.sh
bash /Users/apple/github-projects/microdao-daarion/scripts/docs/services_sync.sh --dry-run
bash /Users/apple/github-projects/microdao-daarion/scripts/docs/services_sync.sh --apply
bash /Users/apple/github-projects/microdao-daarion/scripts/docs/docs_lint.sh
bash /Users/apple/github-projects/microdao-daarion/scripts/docs/docs_sync.sh --dry-run
```
