Source-Gated Evidence Layer
Use this skill only after a promoted acquisition bundle exists.
- Validate schema, contained paths, byte counts, SHA-256, run/source binding,
privacy fields, and status invariants.
- Compare
analysis_target with artifact content_scope. Primary post text
cannot satisfy an embedded-video target.
- Write
source_status.json and gate_receipt.json for every outcome,
including blocked and failed outcomes.
- Continue only for
source_confirmed or source_partial with current gate
provenance.
- Normalize admitted text or run ASR for admitted local media. Bind derived
transcript hashes into the gate receipt.
- Run segmentation, inventory, source logic, claims, evidence audit, and pack
building.
- Write
analysis_receipt.json bound to the current gate and pack hash.
- Send only the current audited pack to
knowledge-learning-article or
knowledge-document-composer, according to the requested deliverable.
- On a new bundle, archive prior downstream trees under
run_history/.
For secondary_only, source_blocked, source_failed, or
degraded_report_only, write an explicit degraded report and next action. Do
not fetch URLs, call acquisition providers, repair missing material, promote
metadata, or write a normal final report.
kw ingest --bundle <project>\00_acquisition\manifest.json --project-root <project>
kw audit --project-root <project>
Read all files under references/ before changing gate, claim, audit, or
degraded-output behavior.
1---2name: source-gated-evidence-layer3description: Validate Acquisition Bundle v2, enforce analysis-target and artifact-scope gates, normalize or transcribe admitted material, produce claims and evidence audits, write provenance receipts, and degrade safely. Never fetch platform data.4---56# Source-Gated Evidence Layer78Use this skill only after a promoted acquisition bundle exists.9101. Validate schema, contained paths, byte counts, SHA-256, run/source binding,11 privacy fields, and status invariants.122. Compare `analysis_target` with artifact `content_scope`. Primary post text13 cannot satisfy an embedded-video target.143. Write `source_status.json` and `gate_receipt.json` for every outcome,15 including blocked and failed outcomes.164. Continue only for `source_confirmed` or `source_partial` with current gate17 provenance.185. Normalize admitted text or run ASR for admitted local media. Bind derived19 transcript hashes into the gate receipt.206. Run segmentation, inventory, source logic, claims, evidence audit, and pack21 building.227. Write `analysis_receipt.json` bound to the current gate and pack hash.238. Send only the current audited pack to `knowledge-learning-article` or24 `knowledge-document-composer`, according to the requested deliverable.259. On a new bundle, archive prior downstream trees under `run_history/`.2627For `secondary_only`, `source_blocked`, `source_failed`, or28`degraded_report_only`, write an explicit degraded report and next action. Do29not fetch URLs, call acquisition providers, repair missing material, promote30metadata, or write a normal final report.3132```powershell33kw ingest --bundle <project>\00_acquisition\manifest.json --project-root <project>34kw audit --project-root <project>35```3637Read all files under `references/` before changing gate, claim, audit, or38degraded-output behavior.