================================================================================
DANGEROUS_BULK_EDIT_OPERATIONS_5_12_26.txt
CollabORhythm / Collabtunes — Final Handoff to Production Implementation Claude
Generated: 5.12.26
PURPOSE: Operations that MUST NOT be mass-applied without Tom approval and careful sequencing
================================================================================

RULE: Every item here has significant potential to break canon, navigation,
or content integrity if applied incorrectly or in the wrong order.

DANGEROUS = high risk of canon damage, hard to reverse, or has dependency failures

DO NOT ATTEMPT ANY OF THESE WITHOUT:
  1. Tom's explicit decision/approval
  2. A full backup of current state
  3. A rollback plan
  4. Verification step after each change

================================================================================
DANGEROUS OPERATION 1 — Chapter drift URL fix (Option B)
================================================================================
OPERATION:  Rename all drifted URL slugs from /18-of-35/ to /19-of-35/ etc.
            Add 301 redirects from old URLs to new URLs
DANGEROUS BECAUSE:
  - External sites, bookmarks, and social shares linking to old URLs will break
    unless redirects are set up perfectly for all 17 chapters
  - Yola's redirect system must handle all 17 simultaneously
  - If ANY redirect is missed, that page becomes an orphan
  - Search engine indexed URLs will show 404 until recrawled
  - Any hard-coded links in existing HTML pages will break
SAFE ALTERNATIVE: Option A — fix nav labels only (no URL changes)
IF DOING OPTION B:
  - Export full URL list before starting
  - Set up ALL redirects before renaming any URLs
  - Test every redirect after applying
  - Verify internal link references updated in all pages

================================================================================
DANGEROUS OPERATION 2 — Mass rename of canonical chapter numbers
================================================================================
OPERATION:  Globally renumber chapters across nav, pages, and internal links
DANGEROUS BECAUSE:
  - Renumbering ch.18 creates a cascade — everything downstream shifts
  - If ch.18 conflict resolved incorrectly, wrong content gets canonical number
  - Any generator that hard-codes chapter numbers will output wrong references
  - Creates CANON_CONFLICT if applied inconsistently across nav vs pages
REQUIRE BEFORE STARTING:
  - Tom confirms canonical chapter order with zero ambiguity
  - All 40 chapter numbers and titles locked in writing before any edit

================================================================================
DANGEROUS OPERATION 3 — Mass delete of duplicate pages
================================================================================
OPERATION:  Delete /20-35-the-lady-weaver/ OR /36-35-lady-weaver/ (one duplicate)
            Delete /18-of-35-project-summaries/ OR /18-of-35-business-plan/
DANGEROUS BECAUSE:
  - If wrong version deleted, canonical content is gone
  - External links to deleted page return 404
  - Any page linking to deleted version breaks instantly
  - Yola may not have easy undelete — could be permanent
REQUIRE BEFORE STARTING:
  - Tom explicitly names which version to keep
  - All content from deleted version saved to backup first
  - Redirect set up from deleted URL to canonical URL
  - All internal links updated to point to surviving version

================================================================================
DANGEROUS OPERATION 4 — Mass update of GX scores across all pages
================================================================================
OPERATION:  Apply corrected GX scores to all 34 album AIO pages at once
DANGEROUS BECAUSE:
  - Delta:1 unresolved — applying wrong scores creates public canon inconsistency
  - If 6 affected collections get wrong score, fixing later means editing 6 deployed pages
  - GX score may appear in multiple places per page (header, badge, routing logic)
  - Inconsistent GX between what bouncer uses and what page displays = broken gate
REQUIRE BEFORE STARTING:
  - Tom verifies GX for all 6 delta:1 collections (SL1,3,6,7,8,10)
  - mood_settings_ratings_explicit file processed and verified
  - Confirmed GX list created and locked before any page generation

================================================================================
DANGEROUS OPERATION 5 — Mass generate all 34 AIO pages without template lock
================================================================================
OPERATION:  Generate all 34 pages before locking the 15-block template
DANGEROUS BECAUSE:
  - If template has errors, all 34 pages inherit those errors
  - Fixing a template bug after 34 pages = editing 34 individual pages
  - Generator drift (slight variations per run) creates inconsistent output
  - Chapter drift unresolved = 34 pages with wrong chapter references baked in
REQUIRE BEFORE STARTING:
  - Test on SL1 only — verify full output
  - Tom approves SL1 output as template benchmark
  - Lock template version before mass run
  - All Tom decisions answered (especially chapter drift and GX delta)

================================================================================
DANGEROUS OPERATION 6 — Apply rating gates to ALL pages simultaneously
================================================================================
OPERATION:  Implement bouncer gate logic across all 121+ pages in one pass
DANGEROUS BECAUSE:
  - If gate logic has a bug, all pages may show wrong content or nothing
  - G/PG pages accidentally gated = visitors can't access anything
  - R/X pages accidentally shown = content safety failure
  - Gate depends on correct rating data — if ratings are wrong, gate is wrong
REQUIRE BEFORE STARTING:
  - Bouncer default state fixed (Fix-01) and tested
  - Rating data confirmed for all pages being gated
  - Test on 5 pages (one per rating level) before mass apply
  - Rollback plan: revert to no-gate if mass apply fails

================================================================================
DANGEROUS OPERATION 7 — Delete or archive all original HTML files
================================================================================
OPERATION:  Remove original (pre-fix) HTML files from project
DANGEROUS BECAUSE:
  - Originals are the rollback option if fixed versions have issues
  - May contain structural information not captured in fixed versions
  - Once deleted from Yola, may not be recoverable
REQUIRE BEFORE STARTING:
  - All original files backed up to local archive ZIP with _ARCHIVE suffix
  - Fixed versions verified working on live site for minimum 30 days
  - Tom explicitly approves archive/deletion

================================================================================
DANGEROUS OPERATION 8 — Rebuild navigation from scratch
================================================================================
OPERATION:  Replace existing Yola nav with entirely new structure
DANGEROUS BECAUSE:
  - Breaks all existing internal links that reference current nav structure
  - Yola nav is live — any error is immediately public
  - Rebuilding from scratch risks losing confirmed-live URLs
  - Chapter drift fix + nav rebuild simultaneously = compounded risk
REQUIRE BEFORE STARTING:
  - Full export of current nav structure before touching anything
  - New structure built and verified in staging before replacing live nav
  - This should almost never happen — incremental fixes are always safer

================================================================================
DANGEROUS OPERATION 9 — Mass update all internal crosslinks
================================================================================
OPERATION:  Update all crosslinks in all 34 AIO pages at once after URL changes
DANGEROUS BECAUSE:
  - Any missed link creates a broken reference in a deployed page
  - If URL conflicts (ch.18 duplicate, LadyWeaver duplicate) not resolved first,
    mass update propagates wrong URLs everywhere
  - Generator hard-coding vs data-driven: if links are baked in, updating is manual
REQUIRE BEFORE STARTING:
  - All URL conflicts resolved (ch.18, LadyWeaver, YouTube collision)
  - Use MASTER_URL_AUTHORITY_REGISTRY as single source — never from memory
  - Update one page, verify, then batch the rest

================================================================================
GENERAL RULE FOR ALL DANGEROUS OPERATIONS:
================================================================================

1. BACKUP FIRST — always ZIP current state before starting
2. TOM APPROVES — get explicit written approval for the specific operation
3. TEST SMALL — apply to 1–3 pages, verify, then scale
4. ONE AT A TIME — never combine two dangerous operations in the same session
5. DOCUMENT — record exactly what was changed and when

================================================================================
END DANGEROUS_BULK_EDIT_OPERATIONS_5_12_26.txt
================================================================================
