Spotlight
OSINT investigation orchestrator for AI agents
Turns a lead into a structured case file — scoped brief, approved methodology, sourced findings, independent fact-checking, and provenance records. 17 skills, 7 runtimes, local-capable.
Install | Workflow | Integrations | Runtimes | Website
Built by Buried Signals • tom@buriedsignals.com
Spotlight turns an investigation lead into a structured case file: scoped brief, approved methodology, sourced findings, independent fact-checking, review artifacts, provenance records, and handoff-ready knowledge.
It is built for active OSINT casework. Give it a lead, URL, document, entity, or question; it creates a working case directory, gathers source material, tests claims against evidence, and stops at editorial gates instead of quietly treating unfinished leads as publishable facts. The active case workspace is separate from the knowledge vault: Spotlight queries the vault for prior context when a case starts, and ingests verified material into the vault only after an explicit end-of-case decision.
What Spotlight Does
- Builds an investigation brief with the journalist before research starts.
- Drafts a methodology and waits for approval before execution.
- Optionally runs a Research phase: each approved research topic becomes a lane that returns leads with saved sources, code checks every quote, and you mark the clues before the investigation starts.
- Runs bounded research cycles against public sources, local case files, and the journalist's vault.
- Saves source material into the case directory before citing it.
- Produces structured findings with source URLs, local files, confidence, evidence grounding, limitations, and monitoring recommendations.
- Runs an independent fact-check pass using SIFT-style source verification.
- Enforces readiness criteria before the Investigation gate review.
- Produces review, summary, evidence, and provenance artifacts that can be inspected, exported, or ingested into a knowledge vault.
Investigation Workflow
Preflight
-> Brief
-> Methodology
-> Research (only with a research plan)
-> Investigation and fact-check cycles
-> Investigation gate review
-> Report decision
-> Ingest, monitor, export, or continue
Phases are named, not numbered: Preflight, Brief, Methodology, Research, Investigation, Report, Ingest. Every gate is explicit. Spotlight does not auto-advance through brief approval, methodology approval, the Research gate, Investigation gate review, the report decision, or vault ingestion.
Research
Research is one opt-in package: with the Research switch in the app off, there is no Research phase and the case goes from Methodology straight to Investigation. With it on, Research runs when the approved methodology has a research plan: short topic briefs, each on a lane type (web, registries, archives, social, technical, news-courts, local corpus, prior knowledge, or ad hoc). Code, never the model, runs each approved topic as a lane. Lanes save their sources; code checks every excerpt against the saved source, merges copies, and applies fixed clue rules. The Research page shows the clues first; you mark them and the directions in one stop, and the investigator turns your marks into the methodology change, which code checks against them.
- Local lanes (your case files and your wiki) run on the local model.
- Cloud lanes are opt-in and never local: OpenRouter with your own key and the Research switch on in the app, or your frontier host's own subagents. A cloud lane receives only its approved topic brief; case files, findings, evidence and journalist input never reach it.
- Budget, not a count: $1 a research round by default, at most $5 per case. When it is spent, no new topic starts and the topics left out are listed.
- A failed key or provider stops Research with a fix message; nothing falls back to the local model silently.
See docs/runtimes.md for the research mode each runtime supports.
Investigation cycles
The investigation runs up to three cycles:
- The investigator follows the approved methodology and writes findings.
- The fact-checker independently checks the findings and writes verdicts.
- The orchestrator checks source grounding, disputes, gaps, and readiness.
- If the case is not ready, the next cycle targets the specific gaps.
- If three cycles pass without readiness, a case with a research plan goes back to Research for one targeted round; its approval grants one more cycle. If that fails too, or the case has no research plan, the case stops with a gaps report.
See docs/investigating.md for the full phase and gate contract.
Readiness Criteria
Spotlight only opens the Investigation gate when the case has passed six editorial checks:
- Enough high-confidence findings.
- Independent source support for key claims.
- No unresolved disputed claims without a resolution path.
- At least one affected or non-official perspective when relevant.
- A document trail with primary sources, not only news coverage.
- Known gaps either resolved or stated as limitations.
These checks are not a truth guarantee. They are a forcing function that keeps the case file honest about what is known, what is unsupported, and what still needs reporting.
Case Outputs
Each investigation gets an isolated working directory under the configured
SPOTLIGHT_CASES_ROOT active case workspace:
The cases root is trusted journalist-owned local storage. Active case directories must not be moved or replaced during an operation.
{CASE_DIR}/
├── brief-directions.txt
├── summary.md
├── review.html
├── report.html
├── findings-report.md
├── evidence-map.json
├── data/
│ ├── methodology.json
│ ├── leads.json # Research phase: merged leads
│ ├── clues.json # Research phase: clues for you to mark
│ ├── findings.json
│ ├── fact-check.json
│ ├── source-expressions.json # opt-in pilot or activated cases
│ ├── source-positions.json # who asserts or disputes each finding
│ ├── case-contract.json # activated 1.1 cases only
│ ├── evidence-bundle.json
│ ├── investigation-log.json
│ ├── summary.json
│ ├── provenance-manifest.json
│ ├── knowledge-batch.json # optional reviewed claim/event/story promotion
│ └── monitoring.json
├── research/
│ ├── *.md
│ ├── *.json
│ ├── swarm/<topic-id>/ # Research phase: one lane per approved topic
│ └── archived/
└── evidence/
├── *.png
└── *.pdf
The JSON files validate against schemas in schemas/. The markdown and HTML files are for human review. The evidence and research folders preserve the local trail behind the claims.
Source-expression pilot
Spotlight can preserve an exact source passage as a first-class
SourceExpression: original wording, case-local locator, hashes, attribution,
language, lifecycle, and explicit links to one or more findings. This layer
does not replace findings or fact-check verdicts.
A case is in one of three states:
- Activated (default for new cases): before the first Investigation
cycle,
scripts/case-contract.py activate-newwrites an append-onlydata/case-contract.json, and findings use contract1.1. Producers write passages only throughscripts/write-source-expressions.py. The receipt is the sole activation authority; activated cases never fall back to legacy handling. - Legacy (existing cases): a case that already has findings keeps contract
1.0and is activated only through the reviewed migration, or continued as a new follow-up case. - Pilot (explicit opt-in on a legacy case): producers write
data/source-expressions.jsonas a side artifact while the case remains legacy1.0. File presence does not activate the case.
Old cases
Cases from before Batch 1.1 are forward-only:
- They stay readable as findings contract
1.0, and nothing converts them. - To activate one, run
python3 scripts/migrate-source-expressions.py {CASE_DIR}as a dry run, and apply it with--applyonly when the dry run says the case is eligible. - Otherwise start a follow-up case from the old brief, with the old
research/andevidence/available as local sources.
Some things cannot be migrated mechanically and need a person: normalized
propositions, source positions, the old partially_verified and
mischaracterized verdicts, a finding's disputed confidence, flag
dispositions, events and story arcs.
The checks are deliberately bounded. They can prove that selected text, locators, hashes, references, lifecycle state, and rendered quotations agree. They cannot prove that a passage is true, entails a finding, captures all relevant context, or is framed fairly. Independent fact-checking and human editorial review still own those judgments.
The decision and its stop thresholds are recorded in
docs/source-expression-pilot-results.json:
approved for new cases, with review time, correction yield and locator
stability measured over the first real activated cases. When a threshold is
breached, new cases return to legacy until the producer is fixed. Recovery,
migration, and mode-selection instructions are in
docs/investigating.md.
Claims, events and story arcs in the wiki
At Ingest, a solo-mode case's approved Batch 1.1 is written to the member's
wiki by scripts/wiki-destination.py, under spotlight/: one note per claim,
event and story arc, with the batches and a decision journal beside them.
scripts/query_vault.py searches that wiki, with the member's own notes,
through Engine's bsig wiki search. The 1.0 SQLite graph is retired; Engine's
update exports an old graph into the wiki and deletes it. See
docs/knowledge-destination.md.
Source Acquisition
Spotlight's default source path is simple:
- Scrape locally with Crawl4AI and search through the configured local search seam.
- Save the source artifact locally.
- Archive or capture the source when preservation matters.
- Cite only material that can be traced back to a local file.
Use dev-browser only for specific investigative tasks that require browser
automation: dynamic pages, search forms, authenticated portals, rendered tables,
downloads, visual evidence, or multi-step UI navigation. Firecrawl is an
optional hosted fallback for pages the local scraper cannot reach.
Integrations
Spotlight is runtime-agnostic, but investigations need specialized tools. The important integrations are:
| Integration | Purpose |
|---|---|
| Crawl4AI | Default local scraper for public web sources. |
| Firecrawl | Optional hosted fallback for difficult pages. |
| dev-browser | Interactive or headless browser acquisition with screenshots, HTML, metadata, hashes, and journalist-controlled authentication. |
| OSINT Navigator | Tool discovery and method routing when the built-in catalog is not enough. |
| Mycroft | Passive signals, vault memory, and the optional handoff into durable monitoring. |
| Junkipedia | Narrative and misinformation tracking when the newsroom has access. |
| Apify | Optional hosted social-media collection (X, Instagram, TikTok, Facebook, LinkedIn) when APIFY_API_TOKEN is set. Collection on X violates the platform ToS even for public posts; record the collection authority per capture. |
| Unpaywall | Legal open-access lookup for academic papers. |
| Noosphere C2PA | Optional provenance signing for case-level packages. |
| Decision checks (OpenRouter) | Opt-in. A decision model on OpenRouter (default typesafe/jev-1.13) flags findings their stored sources do not support, report prose that overstates its findings, and knowledge-base records that drift from their findings. Flags can only lower confidence. See Opt-in decision checks. |
See docs/integrations.md for setup and routing details.
Opt-in decision checks
Spotlight can ask a typed decision model narrow questions at three gates. It never writes text and never decides a verdict:
- Investigation gate: does the located source excerpt actually support each finding? Flags cover partial support, contradiction, an announcement presented as current, an incomplete list, an address presented as legal domicile, an allegation stated as fact, a reversed payer or owner, a role presented as ownership, a proposed or approved step presented as paid, an amount or date mismatch, and added scope or causation.
- Report: does any deck, headline, summary, "why it matters" or caveat say
more than its findings and verdicts allow? The finalizer's
report_fidelitystage reads the stored answers. - Ingest: no decision checks. Eligibility runs in code
(
scripts/ingest-eligibility.py) and reads the Investigation-gate signals.
It is off unless you choose it. Preflight asks once per install
(python3 integrations/preflight.py --json shows decisions with opt_in: undecided | enabled | declined), and each investigation asks again before
anything is sent. Sensitive mode never uses it.
- Key: it uses your own
OPENROUTER_API_KEY. Indicator Labs writes the keys you save there to a private file named by the top-levelenv_filein.spotlight-config.json, which then decides for every key it manages. Without it, Spotlight reads the environment it runs in, a private file named byintegrations.decisions.env_file, or the checkout.env. Keep that file outside any repository andchmod 600it. Never paste the key into chat or the config. - Readiness:
python3 scripts/decision-signals.py <case> --phase investigation-gate --checkreports whether a run would happen, without sending anything. - Platforms: macOS and Linux. The checks need descriptor-anchored,
symlink-refusing file reads, so on Windows preflight shows them as
unavailableand they never run. - Data: each request sends the claim, its quoted evidence and a short excerpt of the stored source to OpenRouter and the model's provider (TypeSafe, US). Requests always use zero-data-retention routing with fallbacks disabled.
- Modes: the default mode,
advisory, shows flags.enforcecaps displayed confidence and blocks overstated prose until it is revised or a reviewer override is recorded. - What stays with the fact-checker: arithmetic (sums, counts, conversions), whether a "current" claim has gone stale, and quotes that cannot be found in a stored source are routed to the existing process, not judged.
Install
Two routes, one decision:
- Engine (managed). Buried Signals Engine (
bsig) installs a catalog-pinned, signed release, places skills only for the selected local runtime in its actual project checkout, holds integration credentials in the OS keychain, and updates through reviewed plans. This is the managed route for journalist installs; the native-ownership cutover's full acceptance is still blocked (see Runtimes). - Source (lighter). A sparse clone plus per-skill links, described under Install from source. Skills load, scripts run, nothing else: no credentials, no updates, no repair. Choose this only when an agent or developer is working from a clone and will re-link after every pull.
Buried Signals Engine (bsig) is Spotlight's only managed installation authority.
Indicator Labs submits the same Engine plans while adding guided runtime/model
selection, credential prompts, repair, and automatic updates for
members.
For agent-led manual setup, fetch the signed Engine descriptor at:
https://navigator.indicator.media/api/artifacts/bootstrap/bsig/<platform>
Use darwin-arm64, darwin-amd64, linux-arm64, linux-amd64, or
windows-amd64. Download the archive, checksum, signature, and public key
before the 60-second grants expire; verify SHA-256 and Minisign before running
bsig. Then:
bsig catalog sync
bsig --json configure describe spotlight
The agent selects values from that signed descriptor and submits the JSON
request on stdin to bsig configure plan spotlight. Review and apply the
emitted plan.json. Preflight and bsig keys list name optional integration
credential IDs. A trusted local agent may prepare Engine's protected
stdin/keychain flow, but the user enters each value only through a private
operating-system or terminal prompt—never argv, chat, shell history, or a
repository file. Manual updates use bsig plan update spotlight; Indicator
Labs automates the same lifecycle.
On the first run after either install route, Preflight offers the
optional decision checks once; declining leaves
Spotlight exactly as before. If you accept, provide OPENROUTER_API_KEY through
your runtime's environment (for Engine installs, the protected keychain flow or
your runtime's provider key) or a private env_file, then confirm with
scripts/decision-signals.py <case> --phase investigation-gate --check.
install-spotlight.sh remains a fail-closed pointer for
old curl | bash commands; it is not another installer. Contributors may clone
buriedsignals/spotlight, but
Engine installs the catalog-pinned public commit for journalists. Runtime
development details remain in docs/runtimes.md.
Managed skill ownership
Spotlight's verified bundles and ownership ledger are private to Engine:
<Engine base>/skills/spotlight/bundles/ and
<Engine base>/skills/spotlight/registry.json. Runtime discovery uses flat
<skill-id>/SKILL.md leaves under the selected checkout's native skills root,
not a home-global spotlight/ namespace or fan-out to every detected runtime.
See the runtime placement table.
Windows and Antigravity use verified copies; other supported local routes use
symlinks. Mycroft retains its separate ~/.ok/skills store and shared ledger.
The installed manifest seals the runtime and native_skill_ids, including
Navigator opt-out. When enabled, Navigator's authority is the catalog-pinned
installed navigator-cli distribution and verified skill bytes, never a
similarly named source checkout. OpenKnowledge remains the local knowledge
service/index dependency; it is not Spotlight skill storage.
Managed launch requires active, committed ownership. Migration and recovery bind the reviewed plan hash to a unique apply commit identity and check retained recovery receipts. Unknown or changed foreign files are refused and retained; Engine does not blindly adopt source links, overwrite them, or roll back the whole shared ledger. Inspect the blocker and retained evidence before a reviewed update. Do not hand-edit ledgers, fabricate receipts, or blindly retry apply.
Install from source (agents)
Engine is the supported path above. An agent pointed at this repository


