Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 2.22 KB

File metadata and controls

40 lines (33 loc) · 2.22 KB

Agent guide — ActiveInferenceJournal

A source-namespaced data repository: transcripts, metadata, captions, translations, and curated materials from the Active Inference Institute video library. Read README.md and docs/ first.

Entry points

Rules for agents

  • This repo is generated by Journal-Utilities (scripts/refactor_journal.py, scripts/download_channel.py). Prefer changing the generator over hand-editing derived files (metadata.json, transcript.txt, INDEX.*); hand edits are overwritten on the next run.
  • Per-item schema is fixed — see docs/SCHEMA.md. Keep metadata.json the single source of truth per item.
  • Audio is off main — it lives on the audio branch only. Never commit *.m4a/audio to main.
  • Never commit credentials (cookies, tokens). See the security note in docs/PIPELINE.md.
  • Completeness invariant: every non-duplicate channel video is a part in exactly one canonical item; records with duplicate_of are deliberate secondary copies and are excluded from coverage reconciliation. Reconcile to missing == 0 against the channel manifest.
  • Generator entry points: Journal-Utilities/scripts/enrich_metadata.py updates the canonical metadata, and Journal-Utilities/scripts/generate_journal_indexes.py regenerates INDEX.json and INDEX.md; Journal-Utilities/scripts/repair_split_transcripts.py repairs merged session transcript identities when split sources are available; Journal-Utilities/scripts/validate_journal.py is the final read-only integrity gate.

Layout

data/<type>/<source>/<Series>/<item>/ + docs/ + top-level INDEX.*. See docs/ORGANIZATION.md.