How vsspowerlifting/indopacificrecord works
Indo-Pacific Record monitors public Indo-Pacific defense and security sources, preserves source material, produces assisted analysis, and publishes a structured web record. The documented daily workflow runs collection, filtering, analysis, storage, and site rendering; regional desks and human-reviewed Briefs extend that core product. The README describes the workflow, while sampled code and the source index support several internal calls. Some desk, Briefs, and publication internals were not sampled, so those connections are shown only where documented or marked unverified.
Main entry points: pipeline.py Daily runner · analyzer.py LLM analysis · db.py SQLite corpus · sources Source adapters
Components 19
Collection
- Daily runner
pipeline.py - Source adapters
scraper/sources - Adapter contract
core/collection/contract.py
Processing and analysis
- Screening and dedup
processing/screening.py - LLM analysis
analysis/analyzer.py - Analysis prompts
analysis/prompts.py - Usage telemetry
analysis/usage.py
Evidence and desks
- SQLite corpus
storage/db.py - Evidence custody
storage/evidence_custody.py - Desk registry
core/desk_registry.py - Korea corpus bridge
core/korea_corpus_bridge.py
Editorial and publication
- Reviewed Briefs
core/brief_collection.py - Publication view model
core/viewmodel.py - Site renderer
site/render.py - Static site
output
Other components
- Analyst
- Site reader
- Public publishers
- Anthropic API
Connections 19
- Public publishers → Source adapters: provide material
README.md - Daily runner → Source adapters: runs collection
README.md - Daily runner → Adapter contract: uses adapter contract
pipeline.py - Source adapters → Adapter contract: implement contract
core/collection/contract.py - Daily runner → Screening and dedup: filters records
pipeline.py - Daily runner → SQLite corpus: stores records
pipeline.py - Daily runner → LLM analysis: runs analysis
pipeline.py - LLM analysis → Analysis prompts: uses prompts
analysis/analyzer.py - LLM analysis → Anthropic API: requests analysis
analysis/analyzer.py - LLM analysis → Usage telemetry: records usage
analysis/analyzer.py - SQLite corpus → Evidence custody: custody support
storage/evidence_custody.py - Korea corpus bridge → SQLite corpus: writes admitted records
core/korea_corpus_bridge.py - Desk registry → Publication view model: supplies desk data
core/viewmodel.py - SQLite corpus → Publication view model: provides corpus
- Publication view model → Site renderer: feeds publication
site/render.py - Analyst → Reviewed Briefs: reviews analysis
- Reviewed Briefs → Site renderer: publishes Briefs
- Site renderer → Static site: renders pages
README.md - Static site → Site reader: presents record
README.md