Files
structured-media-builder-OPEN/scripts/README.md
T

23 lines
1.5 KiB
Markdown
Raw Normal View History

2026-10-18 09:21:12 -06:00
# Scripts
Run commands from the repository root with Python 3.11+ and `requirements.txt` dependencies.
| Script | Purpose |
| --- | --- |
| [folder_builder.py](folder_builder.py) | Inspect/prepare source folders; seed plans; build drafts; finalize explicitly approved content; verify and search drafts/finals |
| [media_approval.py](media_approval.py) | Final approval input binding and integrity checks, called by folder_builder |
| [media_builder.py](media_builder.py) | Optional reviewed public-export pipeline and collection search |
| [check_repository.py](check_repository.py) | Native schemas, identity/version/rights, catalog, links, paths, syntax, whitespace, and targeted credential-pattern checks |
| [audit_repository.py](audit_repository.py) | Read-only software-automation profile audit adapted from the MIT AI-Ready Repository Template |
Use `python scripts/folder_builder.py --help` for commands and [the main README](../README.md) for the processing sequence. Finalize only on explicit approval of the specific reviewed draft, with `--reviewer`, `--approved-at`, and `--evidence`. Never invent those values to unblock a build.
Repository checks:
```text
python scripts/audit_repository.py . --profile software-automation --json
python scripts/check_repository.py
python -m unittest discover -s tests -v
```
Hashes detect inconsistent source/output, not malicious replacement of files plus receipts. No deterministic builder calls STT providers, inference services, public APIs, or hosting platforms.