Files
outdoor-industry-intelligen…/references/artifact-contract.md
T
2026-10-14 12:05:54 -06:00

2.7 KiB

Artifact contract

Evidence JSON: run_id, run_date (YYYY-MM-DD), window containing start, end_exclusive, timezone; status (complete or incomplete); report_path, receipt_path; playbook with path, sha256, sections; coverage mapping all four required pools to complete/unavailable/partial; searches array; sources array. Complete means the documented bounded scan succeeded, not exhaustive knowledge of the market.

Each search: method (standard_web, exa, direct), query, status (ok, error), returned_count integer or null on error. Also log requested count, timestamp, exclusions and errors when available. Direct pool checks include actual issuer-index and episode-list URLs and outcomes; log those as direct queries. Sources with unknown publication date remain exclusions, not main evidence.

Each source: unique id, url, title, published_date, discovery_methods array, retrieval_method, format, claim, evidence_level, confidence, north_america_relevance, kind (news, podcast, sec). For sec also issuer, cik, form, accession, period_of_report, section_or_exhibit. published_date means filing date for SEC. For podcast also episode_title, speaker, timestamps; format must identify actual transcript, outline, show notes or audio transcription. Record event date, publisher and source quality as useful. Primary facts and interpretations may be described separately in each record.

Receipt JSON: run_id, status, validation_passed boolean, gaps array, capture_completeness (complete, partial, unavailable), started_at, ended_at, usage (null if unavailable), plus decisions/errors, revisions and tool metadata when observable. Capture completeness concerns the retained research ledger, not complete runtime telemetry; explicitly describe capture scope. Receipt is an agent-authored record, not independent proof of source truth.

For each included source, use [S001] style evidence IDs and clickable source links in the Markdown report. Counts refer to actual observed results; don't substitute requested result totals. Successful runs may have zero qualifying sources from a checked pool. A successful SEC pool requires an issuer/index checklist in the ledger even when no filings qualify. A successful Rock Fight pool requires actual episode enumeration.

Use paths relative to this repository for report/receipt artifacts. Finalization checks content before indexing and maintains the checkpoint last. On a write failure, retain existing state and report the failure; rerun the same validated artifacts to repair index/checkpoint consistency. Never delete artifacts to hide partial work.