Files
outdoor-industry-intelligen…/references/artifact-contract.md
T
2026-11-09 13:34:58 -07:00

6.1 KiB

Artifact contract

Evidence JSON: run_id, run_date (YYYY-MM-DD), window containing start, end_exclusive, timezone; status (complete, completed-with-gaps or incomplete); report_path, receipt_path; playbook with path, sha256, sections (or, for completed-with-gaps only, status: unavailable, empty sections, and a limitation also present in receipt gaps); 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 required coverage pools, transcript evidence gates and separate full-success criteria 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 can finalize a reviewed completed-with-gaps subset; full-success state remains unchanged. Historical runs before activation retain their existing contract.

Verified-subset completion (owner approved 2026-11-09)

Coverage gaps, inaccessible sources, unverifiable publication dates, unavailable discovery engines or playbook access do not block independent verified findings. Attempt the configured passes within existing budgets, then exclude unsupported claims and finish completed-with-gaps when useful verified material remains. Record every limitation in receipt gaps and verbatim in the report; unavailable coverage is not no news. Never invent evidence, dates, transcripts, counts or completed engine passes. Keep discovery pools independent. Missing playbook access means omit playbook mappings, not guess them.

Use evidence/receipt status completed-with-gaps, receipt capture_completeness partial, and evidence verified_subset_reviewed: true only after reviewing every admitted claim against actually read evidence. Keep all source/date/provenance checks. Finalize catalogs this validated subset and records state/last-completed-with-gaps-run.json; it never advances state/last-successful-run.json. incomplete remains for interrupted/unvalidated work. Check completed-with-gaps state as well as full success before repeating the same occurrence; recovering gaps is an explicit timestamped revision, not a duplicate run.

Privacy, authorization, credential exposure, fabricated/conflicting evidence, hash mismatch, malformed artifacts, failed validation/readback, unsafe paths and write failures remain blockers. Preserve reports and independent source verification; no publication, push, schedule or permission changes are authorized by this policy.