# AI-Assisted Translation, Admin-Approved Publication and Secure PDF Delivery System

## Decision
Build this as a CMS/admin module, not as a static website feature.

Recommended production stack:
- WordPress custom theme for the public website.
- Custom WordPress plugin: `RK AI Report Publisher`.
- WooCommerce for paid digital report products.
- Stripe/PayPal/bank transfer for payments.
- OpenAI and Claude provider abstraction for AI-assisted translation.
- Private object storage for source files and paid PDFs.
- Server-side PDF renderer.
- Signed expiring download links.

## Operating principle
The English version is the controlling master report. AI can generate translation drafts, but paid or reputationally sensitive reports require admin approval before publication.

## Workflow
1. Admin uploads English DOCX/PDF.
2. System extracts report structure.
3. Admin chooses target languages.
4. AI provider produces structured translation.
5. Reviewer edits/approves translation.
6. System generates branded PDF.
7. PDF is attached to report product or customer order.
8. Customer downloads via secure signed link.

## Report risk classes
### Low risk
General articles, non-sensitive public briefs.

### Medium risk
Market intelligence using public or licensed sources.

### High risk
Customs-data rankings, market-share claims, audit/evidence-backed material, source-restricted reports.

High-risk reports require:
- Evidence register entry.
- Source notes.
- Reviewer approval.
- English controlling-language disclaimer.
- Restricted download setting if paid.

## Translation modes
### Approved translations
Best for English, Russian, Chinese initial launch. These are pre-reviewed and published as official report PDFs.

### On-demand AI translation
Later-stage feature. Customer can request another language. Must display disclaimer: “AI-generated translation. English version controls.”

## PDF output types
- Public sample PDF.
- Free market intelligence brief.
- Paid individual PDF.
- Corporate PDF with license footer.
- Enterprise/custom PDF with buyer watermark.
- Internal/founder-only PDF.

## Why model-agnostic
OpenAI Structured Outputs can enforce schema adherence for translation segments, source notes and table preservation; OpenAI Batch can process asynchronous translation jobs. Claude can process PDFs, including text/tables/charts, and supports high-volume document workflows. Production should support both providers with a provider adapter.

## Rights control
Before selling or translating a report, admin must classify source rights:
- Aquaprole original research.
- Public-source summary.
- Licensed third-party data — restricted.
- Government/customs data.
- Internal confidential.

For reports using third-party data, publish only approved summaries unless redistribution rights are confirmed.
