================================================================================
CROSS_SYSTEM_DEPENDENCY_MAP_5_12_26.txt
CollabORhythm / Collabtunes — Final Pre-Handoff Operations Pass
Generated: 5.12.26
PURPOSE: Map every system dependency, propagation chain, and edit risk zone
================================================================================

LEGEND:
→  = depends on / feeds into
⚡ = high-risk dependency (breaking one breaks the other)
🔒 = freeze before editing (do not touch without completing prerequisite)
✅ = safe isolated system (can edit without cascading risk)

================================================================================
SECTION 1 — PRIMARY DEPENDENCY CHAINS
================================================================================

CHAIN A — RATING GATE SYSTEM (affects ALL pages)
  Bouncer default state fix (Fix-01)
  → Bouncer subtitle fix (Fix-02)
  → X-rated nav label removal (Fix-03)
  → NC-17/X page gating (Fix-04)
  → Full Lyrics gating (Fix-05)
  → Rolling Stone Reviews gating (Fix-12)
  → Per-page rating data confirmed (mood_settings file)
  → Full rating gate operational across all 121+ pages
  ⚡ BREAK POINT: If default state not fixed first, all other gating is cosmetic

CHAIN B — AIO GENERATOR (affects all 34 album pages)
  mood_settings_explicit processed → confirmed per-album ratings
  → GX delta:1 verified (Tom Decision 11)
  → SL1 tracks 2–7, 9–13 source-pulled
  → Generator input field spec locked
  → SL1 test page generated + Tom approved
  → Template version locked
  → Mass generation begins (Song Lists 1–10, Set Lists 1–24)
  ⚡ BREAK POINT: If template not locked before mass run, all 34 pages inherit errors

CHAIN C — NAVIGATION INTEGRITY (affects nav menu on ALL pages)
  Chapter drift decision (Tom Decision 06)
  → Chapter 18 conflict resolved (Tom Decision 07)
  → Chapter 19 orphan resolved (Tom Decision 08)
  → Lady Weaver URL canonicalized (Tom Decision 09)
  → URL collision fixes applied (Revenue, Write Club, YouTube)
  → Switchboard Quicklinks table updated
  → 128-Nav title updated
  → Nav integrity confirmed across all 3 nav systems
  🔒 FREEZE: Do not edit any drifted chapters until Tom decides Option A or B

CHAIN D — CROSSLINK PROPAGATION (affects all 34 AIO pages)
  URL conflicts resolved (Ch.18, LadyWeaver, YouTube)
  → MASTER_URL_AUTHORITY_REGISTRY confirmed as single source
  → Crosslinks generated using only confirmed live URLs
  → All 34 AIO pages cross-link to each other correctly
  → Universe pages extend the crosslink network
  ⚡ BREAK POINT: Generating crosslinks before conflicts resolved = wrong destinations on 34 pages

CHAIN E — DEFAMATION CLEARANCE (affects any flagged content)
  Tom reviews DEFAMATION_RISK_REGISTRY_VOL1
  → Items cleared or flagged
  → Cleared items may proceed to public routing
  → Flagged items held back from all public access
  ⚡ BREAK POINT: Publishing before review = potential legal exposure on live site

================================================================================
SECTION 2 — SYSTEMS AFFECTING MULTIPLE PAGES
================================================================================

SYSTEM                          | PAGES AFFECTED  | CHANGE IMPACT
--------------------------------|-----------------|----------------------------------
Rating gate / bouncer           | ALL 121+ pages  | Change = affects every visitor, every page
Yola nav menu                   | ALL pages        | Change in Yola = propagates to all automatically
Footer                          | ALL pages        | Change in Yola = propagates to all automatically
Visual palette (CSS variables)  | All HTML files   | Change once = all inheriting files updated
Chapter numbers (nav labels)    | 17 chapters      | Must change all 17 at once — partial = worse
15-block AIO template           | All 34 album pages | Change = all generated pages must be regenerated
Internal crosslink system       | All 34 AIO pages | URL change in one = must update all references
GX scores                       | 6 Song List pages| Must verify delta before applying to any
Lady Weaver canonical URL       | All LW crosslinks | Must resolve before generating any crosslinks
Rating badges                   | All 34 album pages | Depend on confirmed rating data per collection

================================================================================
SECTION 3 — FREEZE-BEFORE-EDIT SYSTEMS
================================================================================

These systems must not be edited until their listed prerequisite is complete.

SYSTEM                          | FREEZE UNTIL                           | RISK IF TOUCHED EARLY
--------------------------------|----------------------------------------|----------------------
Chapter 18B–34 nav labels       | Tom decides drift Option A or B        | Partial fix = mixed formats site-wide
Chapter 18 duplicate pages      | Tom designates canonical ch.18         | Wrong page gets canonical number
Lady Weaver URLs (both)         | Tom designates canonical LW URL        | Wrong version propagated to 34 pages
Any defamation-flagged content  | Tom reviews + clears registry          | Legal exposure
GX scores on SL1,3,6,7,8,10    | Tom verifies delta:1                   | Wrong scores on 6 deployed pages
Full AIO generation (all 34)    | SL1 test approved + template locked    | 34 pages with structural errors
SL22–24 URL format              | Tom decides standardization            | Generator produces wrong link format

================================================================================
SECTION 4 — HIGH-RISK EDIT ZONES
================================================================================

ZONE                            | WHY HIGH-RISK                          | MITIGATION
--------------------------------|----------------------------------------|----------------------
Yola global nav                 | Live — any error is immediately public | Test in staging first; batch changes
Chapter URL slugs               | Breaking changes; external links die   | Redirects required before any rename
Generator template (15-block)   | Change = all 34 pages need regen       | Lock version; don't edit after mass run
Rating gate JavaScript          | Bug = all pages show wrong content     | Test in browser on 5 pages first
Bouncer JS default state        | Already broken; fix is 1 line          | Simple — do this first, verify immediately
Crosslink injection             | Wrong URL = broken link on every page  | Always use URL_AUTHORITY_REGISTRY
Defamation-flagged content      | Legal risk                             | Tom clearance only

================================================================================
SECTION 5 — SAFE ISOLATED SYSTEMS
================================================================================

These can be edited without cascading risk to other systems.

SYSTEM                          | CAN EDIT BECAUSE
--------------------------------|--------------------------------------------------
PDF landing page (new)          | New page — nothing links to it yet
Website Mission Statement (new) | New page — nothing links to it yet
Dev test pages removal from nav | Additive removal — pages still exist at URLs
Footer stats line text          | Text update — no logic dependencies
Social media bar content        | Platform links — independent of content system
Color Combo Test HTML file      | Isolated dev file — not linked from live site
Individual placeholder pages    | No content yet — safe to build from scratch
Short summary TXT files         | Documentation only — no live dependencies
Manifest / README files         | Meta-documentation — no system dependencies
Output naming rules file        | Meta-rules — no live system dependencies

================================================================================
SECTION 6 — PROPAGATION CHAIN SUMMARY (Quick reference)
================================================================================

EDIT THIS                    | THIS ALSO CHANGES (check these too)
-----------------------------|-----------------------------------------------
Bouncer default state        | All pages that use bouncer logic
Nav chapter labels           | All pages showing chapter numbers in nav
Lady Weaver canonical URL    | All crosslinks in all 34 AIO pages
Ch.18 canonical designation  | All references to ch.18 in nav + generators
Any album rating             | Rating badges, gate routing, quick guide entries
GX score for any album       | Rating badge on that album's AIO page
AIO template block structure | All 34 generated pages (if regenerated)
Global footer                | All pages (Yola propagates automatically)
mood_settings data file      | Rating index VOL4, bouncer routing, album badges
URL for any live page        | All nav references, quicklinks, crosslinks

================================================================================
END CROSS_SYSTEM_DEPENDENCY_MAP_5_12_26.txt
================================================================================
