Files
structured-media-builder-OPEN/docs/validation.md
T

38 lines
3.1 KiB
Markdown
Raw Normal View History

2026-10-18 09:21:12 -06:00
# Validation records
2026-10-19 12:56:31 -06:00
## Reproduce the checks
2026-10-18 09:21:12 -06:00
2026-10-19 12:56:31 -06:00
Run from the repository root with Python 3.11+ and the dependencies in `requirements.txt`:
2026-10-18 09:21:12 -06:00
2026-10-19 12:56:31 -06:00
```text
python -m unittest discover -s tests -v
python scripts/check_repository.py
python scripts/audit_repository.py . --profile software-automation --json
git diff --check
```
2026-10-18 09:21:12 -06:00
2026-10-19 12:56:31 -06:00
The native checker validates repository contracts, declared paths, local links, syntax, whitespace, targeted credential patterns, and public-template hygiene. These are bounded checks, not comprehensive personal-data detection or a security audit. Inspect examples and every publication artifact manually too.
2026-10-18 09:21:12 -06:00
2026-10-19 12:56:31 -06:00
## Public-template cleanup — 2026-10-18
2026-10-17 14:59:30 -06:00
2026-10-19 12:56:31 -06:00
- Replaced machine-specific usage paths with portable placeholders while preserving the metadata interview and review workflow.
- Removed operational task records and real-recording trial details from the public working tree. Examples remain synthetic; no recording-specific approval evidence is used as a fixture.
- Retained public project attribution, the canonical repository URL, upstream references, and the MIT copyright notice.
- Added checks against operational records, recording-specific generated assets, and absolute machine paths entering the public template.
- All 55 regression tests passed, including four public-template hygiene regressions. The native checker and software-automation audit passed. Source examples, MIT license bytes, and runtime media-builder code were preserved.
2026-10-17 14:59:30 -06:00
2026-10-19 12:56:31 -06:00
## 0.3.0 — repository contracts and final approval
2026-10-17 14:59:30 -06:00
2026-10-19 12:56:31 -06:00
The implementation was checked with 51 regression tests, standard repository schemas, identity/version/license alignment, declared paths, local links, and the software-automation profile audit. Both synthetic public-export examples passed output verification. Approval-lifecycle tests cover input binding, source preservation, draft history, stale approval rejection, and approved-package retrieval.
2026-10-17 14:59:30 -06:00
2026-10-19 12:56:31 -06:00
## 0.2.0 — folder-first workflow
The implementation was checked with 39 regression tests covering the public exporter and folder-first processing. Tests cover explicit unknowns, source preservation, exclusions, changed inputs, draft status, local retrieval, and ambiguous source sets. Intake and structuring skills were checked with the skill validator.
## 0.1.0 — public-export implementation
The implementation was checked with 27 regression tests covering audio/video builds, source citations, cross-chunk Q&A, deterministic output, review invalidation, TXT/VTT alignment, timing errors, privacy/rights gates, unsupported captions, path boundaries, output preservation, tamper detection, HTML escaping, and partial-build refusal. The bundled examples contain placeholder media URLs and synthetic review metadata.
## Limits
Local checks do not independently verify transcript accuracy, speaker claims, participant consent, rights, recording playback, visual/slide content, hosted caption behavior, external API/MCP services, deployment, or search/AI indexing. Generated content needs its own review and publication decision. Working-tree cleanup does not remove earlier content from Git history or remote copies.