Skip to content
wiki.fftac.org

Foundation - Source Excerpt 04

Back to Foundation

Summary

This source excerpt preserves a bounded section of Anti-Christ.org/wp-content/plugins/fftac-foundation-core/inc/foundation.php so readers can inspect the evidence without opening the full source file.

**Source path:** Anti-Christ.org/wp-content/plugins/fftac-foundation-core/inc/foundation.php

(string) ($route['target'] ?? ''),
                (array) ($route['args'] ?? array()),
                (string) ($route['anchor'] ?? '')
            ),
            'meta'    => trim(implode(' / ', array_filter(array(
                $route['eyebrow'] ?? __('Launch desk', 'antichrist-engine'),
                $route['secondary_cta'] ?? '',
            )))),
        );
    }

    if ($launch_route_items) {
        $sections[] = array(
            'id'      => 'launch-desk',
            'eyebrow' => __('Launch Desk', 'antichrist-engine'),
            'title'   => __('Launch trust and routing surfaces', 'antichrist-engine'),
            'summary' => __('High-signal public routes for threshold questions, structured contact, support posture, governance review, and press or export file access.', 'antichrist-engine'),
            'items'   => $launch_route_items,
        );
    }

    $download_room_items = array();
    foreach (antichrist_engine_foundation_download_room_routes() as $route) {
        $download_room_items[] = array(
            'title'   => (string) ($route['title'] ?? __('Media room route', 'antichrist-engine')),
            'summary' => (string) ($route['summary'] ?? ''),
            'url'     => antichrist_engine_foundation_build_target_url(
                (string) ($route['target'] ?? ''),
                (array) ($route['args'] ?? array()),
                (string) ($route['anchor'] ?? '')
            ),
            'meta'    => trim(implode(' / ', array_filter(array(
                $route['eyebrow'] ?? __('Media room', 'antichrist-engine'),
                $route['secondary_cta'] ?? '',
            )))),
        );
    }

    foreach (antichrist_engine_foundation_download_briefing_packets() as $packet) {
        $download_room_items[] = array(
            'title'   => (string) ($packet['title'] ?? __('Briefing packet', 'antichrist-engine')),
            'summary' => (string) ($packet['summary'] ?? ''),
            'url'     => antichrist_engine_foundation_build_target_url(
                (string) ($packet['primary_target'] ?? ''),
                (array) ($packet['primary_args'] ?? array()),
                (string) ($packet['primary_anchor'] ?? '')
            ),
            'meta'    => trim(implode(' / ', array_filter(array(
                $packet['eyebrow'] ?? __('Briefing packet', 'antichrist-engine'),
                $packet['note'] ?? '',
            )))),
        );
    }

    if ($download_room_items) {
        $sections[] = array(
            'id'      => 'media-room',
            'eyebrow' => __('Media Room', 'antichrist-engine'),
            'title'   => __('Briefing packets and outward-facing file routes', 'antichrist-engine'),
            'summary' => __('Launch-facing routes for editors, hosts, directory maintainers, visual reusers, and data-oriented readers who need the right packet before they need the whole archive.', 'antichrist-engine'),
            'items'   => $download_room_items,
        );
    }

    $governance_items = array();
    foreach (array('privacy', 'terms', 'community', 'sitemap') as $page_key) {
        if (!isset($definitions[$page_key])) {
            continue;
        }

        $profile = antichrist_engine_foundation_document_profile($page_key);
        $governance_items[] = array(
            'title'   => (string) ($definitions[$page_key]['title'] ?? $page_key),
            'summary' => (string) ($profile['authority'] ?? ''),
            'url'     => antichrist_engine_foundation_get_page_url($page_key),
            'meta'    => implode(' / ', array_filter(array(
                $profile['record_id'] ?? '',
                $profile['classification'] ?? '',
            ))),
        );
    }

    if ($governance_items) {
        $sections[] = array(
            'id'      => 'governance-and-legal',
            'eyebrow' => __('Governance', 'antichrist-engine'),
            'title'   => __('Launch policies and legal posture', 'antichrist-engine'),
            'summary' => __('The privacy, terms, moderation, and discovery files that prevent launch-time ambiguity around conduct, data, and site structure.', 'antichrist-engine'),
            'items'   => $governance_items,
        );
    }

    $review_notice_items = array();
    foreach (antichrist_engine_foundation_get_review_notice_register() as $notice) {
        $review_notice_items[] = array(
            'title'   => (string) ($notice['title'] ?? ''),
            'summary' => (string) ($notice['summary'] ?? ''),
            'url'     => (string) ($notice['record_url'] ?? antichrist_engine_foundation_get_page_url('review_notices')),
            'meta'    => implode(' / ', array_filter(array(
                $notice['record_id'] ?? '',
                $notice['status_label'] ?? '',
                $notice['phase'] ?? '',
            ))),
        );
    }

    if ($review_notice_items) {
        $sections[] = array(
            'id'      => 'review-notice-log',
            'eyebrow' => __('Review Log', 'antichrist-engine'),
            'title'   => __('Formal review notices', 'antichrist-engine'),
            'summary' => __('Baseline registrations, queued amendment thresholds, and staged governance reviews that keep institutional change legible.', 'antichrist-engine'),
            'items'   => $review_notice_items,
        );
    }

    $command_items = array();
    foreach (antichrist_engine_foundation_research_command_presets() as $preset) {
        $command_items[] = array(
            'title'   => (string) ($preset['title'] ?? ''),
            'summary' => (string) ($preset['summary'] ?? ''),
            'url'     => antichrist_engine_foundation_build_target_url(
                'research',
                (array) ($preset['args'] ?? array()),
                (string) ($preset['anchor'] ?? 'research-command')
            ),
            'meta'    => (string) ($preset['eyebrow'] ?? __('Research command', 'antichrist-engine')),
        );
    }

    if ($command_items) {
        $sections[] = array(
            'id'      => 'research-routes',
            'eyebrow' => __('Research Routes', 'antichrist-engine'),
            'title'   => __('High-signal atlas entry points', 'antichrist-engine'),
            'summary' => __('Direct routes into the strongest launch-time claim lanes, timelines, and system-power dossiers.', 'antichrist-engine'),
            'items'   => $command_items,
        );
    }

    $interpretive_items = array();

    foreach (antichrist_engine_foundation_textual_reading_routes() as $route) {
        $route_anchor         = sanitize_title((string) ($route['title'] ?? 'text-route'));
        $interpretive_items[] = array(
            'title'   => (string) ($route['title'] ?? ''),
            'summary' => (string) ($route['summary'] ?? ''),
            'url'     => antichrist_engine_foundation_build_target_url('texts', array(), $route_anchor),
            'meta'    => trim(implode(' / ', array_filter(array(
                __('Texts lab', 'antichrist-engine'),
                $route['eyebrow'] ?? '',
            )))),
        );
    }

    foreach (antichrist_engine_foundation_textual_case_files() as $case_file) {
        $case_anchor          = sanitize_title((string) ($case_file['title'] ?? 'text-case'));
        $interpretive_items[] = array(
            'title'   => (string) ($case_file['title'] ?? ''),
            'summary' => (string) ($case_file['summary'] ?? ''),
            'url'     => antichrist_engine_foundation_build_target_url('texts', array(), $case_anchor),
            'meta'    => trim(implode(' / ', array_filter(array(
                __('Text case file', 'antichrist-engine'),
                $case_file['focus'] ?? '',
            )))),
        );
    }

    foreach (antichrist_engine_foundation_symbol_lexicon() as $symbol) {
        $symbol_anchor        = (string) ($symbol['anchor'] ?? sanitize_title((string) ($symbol['title'] ?? 'symbol')));
        $interpretive_items[] = array(
            'title'   => (string) ($symbol['title'] ?? ''),
            'summary' => (string) ($symbol['summary'] ?? ''),
            'url'     => antichrist_engine_foundation_build_target_url('symbols', array(), $symbol_anchor),
            'meta'    => trim(implode(' / ', array_filter(array(
                __('Symbol lexicon', 'antichrist-engine'),
                $symbol['meaning'] ?? '',
            )))),
        );
    }

    if ($interpretive_items) {
        $sections[] = array(
            'id'      => 'interpretive-labs',
            'eyebrow' => __('Interpretive Labs', 'antichrist-engine'),
            'title'   => __('Texts and symbols routes', 'antichrist-engine'),