================================================================================
COLLABTUNES DEPLOYMENT READINESS AUDIT TEMPLATE
Version: 1.0 | Date: 5_13_26 | Status: AUTHORITATIVE
Owner: Mixed Claude / Tom
Usage: Copy this file per audit cycle. Fill in all fields.
       Rename: COLLABTUNES_DEPLOYMENT_AUDIT_{CYCLE_ID}_{DATE}.txt
================================================================================

AUDIT METADATA
================================================================================
Audit ID:             ___________________
Audit Date:           ___________________
Auditor:              ___________________
SGC-1 Run ID:         ___________________  (from JSON output)
SGC-2 Run ID:         ___________________  (from JSON output)
Site at time of audit:  collabtunes.com
Repo at time of audit:  ___________________  (commit / folder timestamp)
Prior audit (if any): ___________________

AUDIT SCOPE
[ ] Full audit (all sections)
[ ] Partial audit — sections covered: ___________________

================================================================================
SECTION 1 — BROKEN LINKS
================================================================================

Source: SGC-1 LIVE_SITE_SNAPSHOT JSON → items where http_status ≠ 200

METHODOLOGY:
- Pull all items with http_status 404, 301, 302, 500, or null
- Cross-reference against seed file expected_status field
- Flag any LIVE-expected page that returned non-200

RESULTS:
Total URLs checked:            ___
HTTP 200 (live):               ___
HTTP 301/302 (redirect):       ___
HTTP 404 (not found):          ___
HTTP 500 (server error):       ___
Timeout / no response:         ___

BROKEN LINKS DETAIL:
(Copy from SGC-1 output — items where http_status ≠ 200 AND expected_status = LIVE)

URL                                          | EXPECTED  | ACTUAL | BLOCKER_ID
---------------------------------------------|-----------|--------|------------
                                             |           |        |
                                             |           |        |

REDIRECT CHAINS (301/302 that do not resolve to correct destination):
URL                                          | REDIRECTS_TO              | OK?
---------------------------------------------|---------------------------|-----
                                             |                           |
                                             |                           |

SECTION 1 VERDICT:
[ ] PASS — no unexpected broken links
[ ] FAIL — ___ broken links require resolution
[ ] CONDITIONAL — broken links are known/accepted (___ blockers raised)

================================================================================
SECTION 2 — MISSING PAGES
================================================================================

Source: SGC-1 output + MASTER_URL_AUTHORITY_REGISTRY comparison

METHODOLOGY:
- Every page in MASTER_URL_AUTHORITY_REGISTRY with status LIVE
  should return HTTP 200
- Pages in registry as LIVE but returning 404 = MISSING
- Pages expected in nav map but not in registry = UNDOCUMENTED MISSING

MISSING PAGES:
URL                                          | REGISTRY STATUS | HTTP | NOTE
---------------------------------------------|-----------------|------|------
                                             |                 |      |
                                             |                 |      |

UNDOCUMENTED PAGES (in nav but not in registry):
URL                                          | FOUND IN NAV SOURCE
---------------------------------------------|--------------------
                                             |
                                             |

SECTION 2 VERDICT:
[ ] PASS — all expected pages present
[ ] FAIL — ___ pages missing
[ ] CONDITIONAL — ___ missing pages are known placeholders

================================================================================
SECTION 3 — DUPLICATE ANCHORS
================================================================================

Source: SGC-1 body parser output + manual review of key pages

METHODOLOGY:
- Check for duplicate id= attributes on same page
- Check for duplicate section anchors across nav pages
- Focus on: 128-nav, switchboard, any page with in-page jump system

DUPLICATE ANCHOR DETAIL:
PAGE URL                     | ANCHOR_ID          | DUPLICATE COUNT
-----------------------------|--------------------|-----------------
                             |                    |
                             |                    |

SECTION 3 VERDICT:
[ ] PASS — no duplicate anchors found
[ ] FAIL — ___ duplicate anchors require resolution
[ ] NOT CHECKED — body scan not run for these pages

================================================================================
SECTION 4 — ORPHAN ANCHORS
================================================================================

Source: SGC-1 nav crossref output → items with nav_sources = []

METHODOLOGY:
- Pages with nav_sources=[] are live but not referenced by any nav source
- Check if they SHOULD be in nav (missing from nav) or are intentionally orphaned
- Intentional orphans: dev pages, placeholder pages, tool pages

ORPHAN PAGES:
URL                                          | HTTP | PAGE_TYPE  | INTENTIONAL?
---------------------------------------------|------|------------|-------------
                                             |      |            |
                                             |      |            |

SECTION 4 VERDICT:
[ ] PASS — all orphans are intentional or documented
[ ] FAIL — ___ unintentional orphans require nav registration

================================================================================
SECTION 5 — INCONSISTENT RATINGS
================================================================================

Source: SGC-1 routing_classifier output + MASTER_CONTENT_RATINGS_INDEX

METHODOLOGY:
- Compare rating in seed file vs rating detected in body (has_rating_badge)
- Compare rating in seed file vs rating in MASTER_CONTENT_RATINGS_INDEX
- Flag any 3-way mismatch

RATING CONFLICTS:
PAGE URL                     | SEED RATING | BODY BADGE | REGISTRY | CONFLICT?
-----------------------------|-------------|------------|----------|----------
                             |             |            |          |
                             |             |            |          |

UNRATED PAGES (rating = PENDING or UNKNOWN on live pages):
URL                                          | CURRENT RATING
---------------------------------------------|---------------
                                             |
                                             |

SECTION 5 VERDICT:
[ ] PASS — all ratings consistent
[ ] FAIL — ___ rating conflicts require resolution
[ ] CONDITIONAL — ___ ratings are PENDING (acceptable for non-deployed pages)

================================================================================
SECTION 6 — MISSING METADATA
================================================================================

Source: SGC-1 JSON items + SGC-2 TXT scan output

CHECK EACH FIELD:
Field: page_title          — Missing on ___ pages
Field: h1_text             — Missing on ___ pages
Field: meta_description    — Missing on ___ pages
Field: rating              — PENDING/UNKNOWN on ___ pages
Field: gate_requirement    — UNKNOWN on ___ pages
Field: nav_sources         — Empty on ___ live pages (orphans)
Field: page_type           — UNKNOWN on ___ pages
Field: label               — "Unknown" on ___ pages (seed file gap)

CRITICAL MISSING METADATA (rating=UNKNOWN on R+ pages):
URL                                          | RATING    | GATE      | RISK
---------------------------------------------|-----------|-----------|------
                                             |           |           |
                                             |           |           |

SECTION 6 VERDICT:
[ ] PASS — all required metadata present
[ ] FAIL — critical metadata gaps on ___ pages
[ ] CONDITIONAL — non-critical gaps acceptable for current phase

================================================================================
SECTION 7 — CANON CONFLICTS
================================================================================

Source: SGC-1 conflicts list + SGC-2 version chains + BLOCKER_REGISTRY

ACTIVE CANON CONFLICTS:
CONFLICT_ID     | TYPE              | PAGES AFFECTED           | BLOCKER_ID | STATUS
----------------|-------------------|--------------------------|------------|--------
CC-LW           | URL_DUPLICATE     | Lady Weaver slugs        | BLOCK-H04  | OPEN
CC-CH18         | CHAPTER_DRIFT     | Chapter 18/19 labels     | BLOCK-H02  | OPEN
CC-YT-URL       | URL_DUPLICATE     | YouTube lyric video slugs| BLOCK-M01  | OPEN
                |                   |                          |            |
                |                   |                          |            |

NEW CONFLICTS (from this audit cycle):
CONFLICT_ID     | TYPE              | DESCRIPTION              | BLOCKER_ID
----------------|-------------------|--------------------------|------------
                |                   |                          |
                |                   |                          |

SECTION 7 VERDICT:
[ ] PASS — no new canon conflicts (known conflicts tracked in registry)
[ ] FAIL — ___ new conflicts require registry entries

================================================================================
SECTION 8 — UNRESOLVED PLACEHOLDERS
================================================================================

Source: SGC-1 items with expected_status=PENDING + page_type=PLACEHOLDER

PLACEHOLDER INVENTORY:
URL                                          | LABEL                    | TARGET LIVE DATE
---------------------------------------------|--------------------------|------------------
/future-ai-search-tools/                     | Future AI Search         | TBD
/future-mood-playlists/                      | Future Mood Playlists    | TBD
/future-live-calendar/                       | Future Live Calendar     | TBD
                                             |                          |
                                             |                          |

PLACEHOLDERS THAT BECAME LIVE (need registry update):
URL                                          | CURRENT HTTP | REGISTRY STATUS
---------------------------------------------|--------------|------------------
                                             |              |
                                             |              |

SECTION 8 VERDICT:
[ ] PASS — all placeholders correctly marked and expected
[ ] FAIL — ___ placeholders incorrectly marked as LIVE in registry

================================================================================
SECTION 9 — GATE INTEGRITY (CRITICAL)
================================================================================

Source: SGC-1 detect_gate_missing output — items with GATE_MISSING flag

This section is MANDATORY. Cannot be waived.

GATE STATUS BY RATING:
Rating G:     ___ pages | Gates required: 0 | Gate missing: 0 | STATUS: N/A
Rating PG:    ___ pages | Gates required: 0 | Gate missing: 0 | STATUS: N/A
Rating PG-13: ___ pages | Gates required: ___ | Gate missing: ___ | STATUS: ___
Rating R:     ___ pages | Gates required: ___ | Gate missing: ___ | STATUS: ___
Rating NC-17: ___ pages | Gates required: ___ | Gate missing: ___ | STATUS: ___
Rating X:     ___ pages | Gates required: ___ | Gate missing: ___ | STATUS: ___

GATE_MISSING DETAIL (must be zero before deployment):
URL                                          | RATING | GATE_REQUIRED | BLOCKER_ID
---------------------------------------------|--------|---------------|------------
                                             |        |               |
                                             |        |               |

SECTION 9 VERDICT:
[ ] PASS — zero GATE_MISSING on R+ pages
[ ] FAIL — ___ R+ pages have no gate (BLOCKS DEPLOYMENT)

================================================================================
AUDIT SUMMARY
================================================================================

Section 1 — Broken Links:        [ ] PASS  [ ] FAIL  [ ] CONDITIONAL
Section 2 — Missing Pages:       [ ] PASS  [ ] FAIL  [ ] CONDITIONAL
Section 3 — Duplicate Anchors:   [ ] PASS  [ ] FAIL  [ ] NOT CHECKED
Section 4 — Orphan Anchors:      [ ] PASS  [ ] FAIL  [ ] CONDITIONAL
Section 5 — Inconsistent Ratings:[ ] PASS  [ ] FAIL  [ ] CONDITIONAL
Section 6 — Missing Metadata:    [ ] PASS  [ ] FAIL  [ ] CONDITIONAL
Section 7 — Canon Conflicts:     [ ] PASS  [ ] FAIL  [ ] CONDITIONAL
Section 8 — Unresolved Placehldrs[ ] PASS  [ ] FAIL  [ ] CONDITIONAL
Section 9 — Gate Integrity:      [ ] PASS  [ ] FAIL  [ ] (cannot be CONDITIONAL)

New blockers raised this audit: ___
Total open CRITICAL blockers:   ___

DEPLOYMENT RECOMMENDATION:
[ ] CLEAR FOR DEPLOYMENT — all sections PASS, zero CRITICAL blockers
[ ] CONDITIONAL — non-critical failures, CRITICAL blockers = 0
[ ] HOLD — ___ CRITICAL blockers unresolved
[ ] BLOCKED — gate integrity failure (Section 9 FAIL)

Auditor sign-off: _________________________  Date: ___________

================================================================================
END COLLABTUNES DEPLOYMENT READINESS AUDIT TEMPLATE
================================================================================
