05 Editing Guide - Source Excerpt 01 - Editing Guide
Summary
This source excerpt begins near Editing Guide and preserves the surrounding evidence from Wiki.FFTAC.org/raw/system-archives/anti-christ.org/docs-archive/2026-05-10/docs/05-editing-guide.md.
**Source path:** Wiki.FFTAC.org/raw/system-archives/anti-christ.org/docs-archive/2026-05-10/docs/05-editing-guide.md
# Editing Guide
## Fastest File By Job
### Foundation Copy And Datasets
Use:
- `wp-content/plugins/fftac-foundation-core/inc/foundation-content.php`
Best for:
- identity, document profiles, public assurances, offices, and priorities
- Post-Dogmatic Humanism positioning, moral commitments, moral-method questions, philosophy voice standards, and launch proof gates
- manifesto, charter, standards, policies, community guidelines, and site-map defaults
- launch policy copy for privacy, terms, community, AI-use boundaries, analytics hooks, admin exports, launch proof gates, and protected exchange
- research atlas datasets, API copy, source records, claims, timeline, projection ledger, and briefings
- review notices and governance register content
- recovery, texts, symbols, downloads, about, Q&A, contact, support, join, and journal copy
- publication series definitions
- program blueprints, readiness packets, participation stages, and output rhythm
- public downloads catalog and briefing/media packet definitions
- provisioned page titles, slugs, templates, and menu order
### Public Layout
Use page templates:
- `front-page.php`
- `page.php`
- `template-manifesto.php`
- `template-philosophy.php`
- `template-ai-engine.php`
- `template-review-notices.php`
- `template-research.php`
- `template-governance.php`
- `template-standards.php`
- `template-texts.php`
- `template-symbols.php`
- `template-downloads.php`
- `template-about.php`
- `template-questions.php`
- `template-contact.php`
- `template-support.php`
- `template-join.php`
- `template-journal.php`
- `template-sitemap.php`
For the Philosophy page, keep public philosophy data in `wp-content/plugins/fftac-foundation-core/inc/foundation-content.php` and layout in `template-philosophy.php`. Do not hard-code the Post-Dogmatic Humanism commitments directly in the template.
Use shell templates:
- `header.php`
- `footer.php`
- `comments.php`
### Navigation, Provisioning, Forms, API, And SEO
Use:
- `wp-content/plugins/fftac-foundation-core/inc/foundation.php`
Best for:
- provisioned page refresh/version logic
- page URL lookup and contextual target URLs
- fallback menus and topic clusters
- Research Navigator index
- curated search scoring
- breadcrumbs
- launch visibility, baseline security headers, readiness checks, go-live operations checklist, launch handoff TXT export, robots/canonical/meta/social-preview logic
- JSON-LD structured data
- public REST routes
- generated research download routes
- public form post types and handlers
- private intake admin columns and CSV exports
- support route resolution and the `Settings -> FFTAC Foundation` admin fields
### User AI Engine
Use:
- `wp-content/plugins/fftac-ai-engine/inc/ai-content.php`
- `wp-content/plugins/fftac-ai-engine/inc/ai-engine.php`
- `template-ai-engine.php`
- `assets/ts/theme.ts`
- `assets/css/theme.css`
Best for:
- AI console copy, command-map copy, response-contract copy, handoff-route copy, and prompt-lane copy
- default AI persona labels, inquiry protocol labels, hidden persona/protocol prompts, starters, and flavor/protocol metadata
- workspace-brief copy, transcript-tool copy, local snapshot copy, sharing copy, and key-policy copy
- `Settings -> FFTAC AI Engine` fields for the Foundation key, model/defaults, and editable response-flavor overrides
- OpenAI model/key policy, encrypted personal keys, Foundation-key limits, Responses API payloads, and AJAX behavior
- output-to-post sharing and AI notices
### Research Hub
Use:
- `wp-content/plugins/fftac-foundation-core/inc/foundation-content.php`
- `wp-content/plugins/fftac-foundation-core/inc/foundation.php`
- `template-research.php`
- `assets/ts/theme.ts`
- `assets/css/theme.css`
Also update [08-research-api-and-programs.md](08-research-api-and-programs.md) and [09-discoverability-and-search.md](09-discoverability-and-search.md) if you change endpoints, record IDs, filters, export routes, or the research connection map.
### Search And Discoverability
Use:
- `wp-content/plugins/fftac-foundation-core/inc/foundation.php`
- `functions.php`
- `header.php`
- `search.php`
- `searchform.php`
- `template-sitemap.php`
- `footer.php`
- `assets/ts/theme.ts`
- `assets/css/theme.css`
Also check the affected destination template when a new route should be discoverable by exact label, use case, record ID, or audience type.
### Membership
Use:
- `wp-content/plugins/fftac-membership/inc/membership.php`
- `template-membership-portal.php`
- `template-members-area.php`
- `assets/css/theme.css`
- `assets/ts/theme.ts`
Use `Settings -> FFTAC Membership` for replacement portal and members-area page selectors.
Keep security controls together: nonce, scalar read, server-side length cap, safe redirect, honeypot/timestamp fields where relevant, and rate limit.
### Journal And Publications
Use:
- `wp-content/plugins/fftac-foundation-core/inc/foundation-content.php`
- `inc/template-tags.php`
- `template-journal.php`
- `single.php`
- `template-parts/content-single.php`
- `template-parts/content-excerpt.php`
- `search.php`
- `assets/css/theme.css`
### Public Downloads
Use:
- `wp-content/plugins/fftac-foundation-core/inc/foundation-content.php`
- `template-downloads.php`
- lightweight theme assets in `assets/downloads/`
- large media plugin assets in `wp-content/plugins/fftac-media-assets/assets/downloads/`
- `scripts/generate-brand-assets.ps1`
Generated research export routes live in `wp-content/plugins/fftac-foundation-core/inc/foundation.php`. Posters, wallpapers, preview images, material studies, and the press-kit zip are intentionally packaged through the `FFTAC Media Assets` plugin so routine theme uploads stay small. Foundation Core resolves those files through `antichrist_engine_foundation_resolve_asset()` and hides the large media sections when the plugin is not active.
### Private Intake Operations
Use:
- `wp-content/plugins/fftac-foundation-core/inc/foundation.php`
Best for:
- Signals Briefing signup storage and exports
- Contact Desk message storage and exports
- Program Intake storage and exports
- internal launch-readiness intake counts
- admin list-table columns for private intake post types
The intake CSV export is admin-only and lives behind `Tools -> FFTAC Launch Readiness`. It is a bridge for prelaunch operations and future external newsletter, support, or program tooling; it is not public site content. The same admin page also exposes the go-live operations checklist and launch handoff TXT export.
### Styling
Use:
- `assets/css/theme.css`
Keep reduced-motion rules current when adding animation, transition-heavy interface states, or scripted visual movement.
### JavaScript
Use:
- `assets/ts/theme.ts`
This handles mobile menu behavior, topic map, Research Navigator, filters, URL-sync, the signed-in AI console, local AI history, browser-local workspace briefs, session usage meters, transcript copy/export/import, JSON and Markdown transcript exports, local session snapshots, prompt-lane loading, safe rich AI output rendering, fullscreen AI console state, protocol cards, follow-up prompt actions including research handoffs, personal-key save/remove, AI output copy/share actions, prompt helpers, form feedback, audio briefings, password reveal controls, counters, quizzes, reduced-motion-aware scrolling/visual behavior, and the client-side analytics event layer.
Compile the generated WordPress-served script with:
' ' ' powershell
npm.cmd run build:assets
' ' '
or:
' ' ' powershell
powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\build-theme-assets.ps1
' ' '
`assets/js/theme.js` is generated output.
### Media Loading And Accessibility
Use:
- `wp-content/themes/antichrist-engine/functions.php`
- affected templates
- `assets/css/theme.css`
- `assets/ts/theme.ts`
Best for:
- image `loading`, `decoding`, and `fetchpriority` defaults
- WordPress attachment-image attribute defaults
- hard-coded theme image attributes
- decorative-image `alt=""` and `aria-hidden="true"` cleanup
- reduced-motion behavior in CSS and JavaScript
Use `antichrist_engine_get_image_loading_attributes()` and `antichrist_engine_get_image_attribute_markup()` for hard-coded theme images instead of writing loading attributes manually.
### Launch Visibility And Analytics
Use:
- `wp-content/plugins/fftac-foundation-core/inc/foundation.php`
- `wp-content/themes/antichrist-engine/functions.php`
- `wp-content/themes/antichrist-engine/assets/ts/theme.ts`
Best for:
- setting or changing the `private`, `preview`, or `public` launch visibility contract
- baseline security headers, the internal launch readiness checklist, go-live operations checklist, and launch handoff TXT export