Core Capabilities
Continuous Source Monitoring
Scheduled ingestion of 6 priority source layers — normative documents, party/state signals, legislative process, ministry implementation, military/security, and auxiliary references. Every fetch is versioned and hashed.
Structured Diff & Version Tracking
Block-level and metadata diffs between source versions. Raw text diff, parsed block diff, and semantic diff note placeholders. Every diff references explicit version pairs.
Multilingual Entity Resolution
Canonical entity IDs with native_name, japanese_name, english_name, and aliases. Language-independent identity. Designed for ja/en/zh from day one.
Evidence-Bound Claims & Relations
Claims and relations are extracted with traceability to source version and parsed block. No detached summaries. Evidence remains inspectable at block or span level.
Human Review Workflow
Claims and relations go through review states (pending, accepted, rejected, revised). Only accepted_only content flows into dossiers. RBAC roles enforce review authority.
Publish-Safe Dossier Assembly
Dossiers are derived outputs referencing entities, claims, relations, and source-linked evidence. Export with classification headers and banners for downstream handling.
Priority Source Layers
Analysis Pipeline
Why XINAPI
vs. Alert-Only Workflows
Alert services notify but don't structure. XINAPI goes from alert through version diff, claim extraction, review, and dossier — closing the gap between notification and actionable analysis.
vs. Structure-Only Workflows
Structured databases capture snapshots but miss change tracking. XINAPI tracks every version, computes diffs, and links claims to specific source changes over time.
vs. Generic Investigation Tools
General-purpose investigation platforms lack China-specific source handling, multilingual entity resolution, and review-aware dossier assembly. XINAPI is purpose-built for China research.
Deployment Architecture
| Surface | Subdomain | Purpose | Access |
|---|---|---|---|
| XINAPI Landing (you are here) | xin.tsuchiyalab.com | Product overview, entry points, documentation gateway | Public |
| XINAPI Platform | platform.xin.tsuchiyalab.com | Operator UI: sources, diffs, entities, dossiers, review | Authenticated |
| XINAPI API | api.xin.tsuchiyalab.com | Public v1 endpoints + admin behind Zero Trust | Public (v1) / Zero Trust (admin) |
| XINAPI Infrastructure | infra.xin.tsuchiyalab.com | Health, queue management, audit viewer | Zero Trust |
Quick Start
Clone and install
git clone && pnpm install
Start API and platform
pnpm dev:api (port 8787) and pnpm dev:web (port 5173)
Seed demo sources
Navigate to Demo and run the seed action. 23 priority sources across 6 layers.
Ingest, diff, review
Trigger ingestion, view version diffs, review claims, and build your first dossier.
Follow the onboarding checklist
The Onboarding page walks through each step with progress tracking.