Files
outdoor-industry-intelligen…/references/artifact-contract.md
T
2026-10-31 14:55:34 -06:00

4.4 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, gmail), 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.

SIA podcast records additionally follow the transcript-only source policy: identify podcast_series (sia_inside_line or sia_other), transcript_url, transcript_provider, transcript_completeness (full/partial) and transcript_limitations. Format is publisher_transcript or provided_speech_to_text; missing transcripts belong in sia_review as not reviewed. Written show-note statements may be news evidence labeled show_notes, but cannot establish spoken-content or transcript coverage.

Outdoor Unfiltered/Eoin podcast records use podcast_series: outdoor_unfiltered or eoin_comerford_other and the transcript-only source policy. Require actual transcript format, URL or original file identifier/path, provider, completeness and limitations; file evidence also retains original filename and SHA-256. Missing transcript episodes belong in outdoor_unfiltered_review as not reviewed. Keep existing required coverage pools and success rules unchanged.

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.

Gmail candidate coverage: for runs on/after gmail_candidate_source.enabled_from_run_date, also require coverage.gmail_brandemails and gmail_collection as defined in source policy. Keep sanitized aggregate collection metadata only, with no mailbox identifiers in reports or email content/IDs in artifacts. Public sources discovered through mail use gmail in discovery_methods and their actual public retrieval method; source kind remains news/podcast/sec. Search method may be gmail with a sanitized window/label-scan description and observed counts. A partial/unavailable Gmail scan cannot finalize; independent public research can still produce incomplete artifacts. Historical runs before activation retain their existing contract.