# Agent instructions Read `README.md`, `AUTHOR.md`, `repository-variables.json`, `repository.json`, `AGENTS.md`, and `skills.md`; use `content-index.json` to retrieve individual guides. Default: original media + TXT + VTT in a user folder, metadata interview, local draft build, then human review. Use `skills/media-intake/SKILL.md`, followed by `skills/structure-media/SKILL.md`. Intake and structure-plan JSON are editable inputs; `structured/` and approved final packages are derived. The public exporter retains separate contracts and publication requirements. Preserve semantic IDs, unrelated work, all three originals, and prior output. Gather useful missing metadata upfront; accept partial answers and unknowns. Local drafts do not require public URLs or prior human content approval. Never invent timing, identities, consent, rights, or factual verification. Resolve sensitive exclusions before processing affected content. Public export requires clearance. Keep private sources and credentials outside this template repo. Validate JSON contracts, source/timing/citation relationships, review fingerprints, output checksums, and representative retrieval behavior. Run `python -m unittest discover -s tests -v` and `git diff --check`. Keep README, schemas, script, examples, skill, interfaces, version, and changelog aligned when contracts change. Existing example review hashes depend on source bytes and builder version. After explicit approval of a specific draft, use `folder_builder.py finalize`, then `verify` on the final package. Changed draft inputs require a new build/review. Preserve draft history. Keep identity, MIT, canonical URL, version, variables, manifest, citation, and document catalog aligned. Run the native repository checker and software-automation audit. `UPDATES.md` is proposed work, not authorization. Build locally within the requested scope. Obtain authorization for publication, Git pushes, deployment, license selection, or external platform changes. Proposed work in `UPDATES.md` is not authorization. Do not advertise APIs, MCP services, semantic entailment verification, embeddings, or indexing until implemented and verified.