This commit is contained in:
eddiesoehnel committed 2026-10-18 09:21:12 -06:00
1 parent 4eaec52904
commit df7571392e
50 files changed
+3390 -258

No files matched your search

+47 -5
View File
@@ -4,7 +4,38 @@ Put an audio or video recording and its speech-to-text **TXT and VTT files in on
Use it for webinars, meetings, interviews, podcasts, lectures, demonstrations, and other recordings. No browser preview or local web server is required. Internet publication, API/MCP hosting, and embeddings are later options.
Version **0.2.0**, experimental. See [the detailed workflow](docs/workflow.md) and [capabilities](docs/architecture.md).
Version **0.3.0**, experimental. By [Eddie Soehnel](AUTHOR.md), author, publisher, and maintainer. Builder code and documentation use the [MIT license](LICENSE); third-party media rights remain separate. See [the detailed workflow](docs/workflow.md) and [capabilities](docs/architecture.md).
# Re-usable Prompt To Run This Repo
Use C:\projects\indx\structured-media-builder-OPEN to structure the media in:
C:\PATH\TO\MY-MEDIA-FOLDER
This folder contains the original audio/video, TXT transcript, and VTT captions.
Follow the repository’s README.md, AGENTS.md, media-intake skill, and structure-media skill.
1. Inspect the files and any source pages I provide. Gather supported metadata before asking me to repeat it.
2. Ask me a grouped set of questions for useful missing metadata or clarification before building. Accept partial answers and “unknown.” Once I answer, proceed with explicit unknowns unless a source ambiguity or sensitive-content restriction requires clarification.
3. Read the complete transcript and create meaningful topic chunks, grounded Q&A with quoted evidence and timestamps, chapters, metadata, discovery files, and all other standard template assets.
4. Preserve the original files and existing results. Save the intake and structure plan alongside the sources, and build a new draft output folder.
5. Run the template’s validation, including source hashes, timing, coverage, citations, and output checksums.
6. Return clickable links to the overview and review checklist. Summarize the results, unresolved metadata, suspected transcription errors, and anything needing my attention.
Keep the package in draft for my review. Finalize only after my explicit approval. Publication is a separate step.
Metadata I already know (leave blank items for intake):
- Official title:
- Recording date/timezone:
- Organizer/publisher:
- Hosts, speakers, and affiliations:
- Published recording/session page:
- Audience:
- Priority topics or questions:
- Slides, reports, and supporting links:
- Credits, rights, sharing limits, or sensitive exclusions:
- Known transcript errors or processing preferences:
## What you prepare
@@ -54,7 +85,7 @@ folder, leave unknowns explicit, then give me the result to review.
3. Follow [structure-media](skills/structure-media/SKILL.md): read the whole transcript, author coherent topic chunks, useful Q&A with exact evidence, and navigation chapters. Save `structure-plan.json` beside the sources.
4. Build a new `structured/` subfolder. Validate time ranges, cue coverage, IDs, evidence quotes, output checksums, and original source hashes.
5. Return `structured/README.md` and `structured/review.md`. Everything remains **draft** until you review it. Flag missing metadata, suspected STT errors, and unverified figures or identities.
6. Incorporate your corrections into a new output such as `structured-002/`, preserving originals and prior results. Publication is separate.
6. Incorporate corrections into a new draft if needed. After your explicit approval, finalize into `structured-final/`, recording reviewer, evidence, input fingerprints, and retained limitations. Preserve originals and prior results. Publication is separate.
## Files you receive
@@ -99,6 +130,17 @@ python scripts/folder_builder.py search --output "C:\path\to\my-recording-folder
`seed` is a starter, not completed semantic analysis. The AI must structure the content before delivery. Existing intake, plans, and outputs are not overwritten. Supported MP3 duration is measured from MPEG frames; otherwise media duration stays unknown and VTT end time is reported separately.
## Record approval and finalize
Once you explicitly approve a specific draft, the AI runs `folder_builder.py finalize` with the source/output paths, intake, plan, reviewer, timezone-aware approval timestamp, and your approval evidence. It verifies that the inputs have not changed, writes `approval.json`, updates the source plan's review state, and produces `structured-final/`. A new draft is required if its inputs changed after the reviewed build.
```powershell
python scripts/folder_builder.py finalize --source "<media-folder>\structured" --output "<media-folder>\structured-final" --intake "<media-folder>\media-intake.json" --plan "<media-folder>\structure-plan.json" --reviewer "<reviewer>" --approved-at "<ISO timestamp with timezone>" --evidence "<explicit approval>"
python scripts/folder_builder.py verify --output "<media-folder>\structured-final"
```
Final-package verification and keyword search support approved packages as well as drafts. Approval is workflow evidence, not an authenticated digital signature, independent source fact-check, third-party content license, or deployment approval.
## Later: publish or serve reviewed content
After review and collection of publication facts, the optional [approved public export](docs/public-export.md) can generate companion HTML, hosted URLs, and a collection sitemap. It retains stricter review/rights checks and is separate from local draft generation.
@@ -107,8 +149,8 @@ Static JSON and local keyword search work now. [API/MCP contracts](docs/interfac
## Repository maintenance
- [Agent instructions](AGENTS.md), [manifest](repository.json), [identity](repository-variables.json), [author](AUTHOR.md), [changelog](CHANGELOG.md), [skills](skills.md).
- [Schemas](schemas/README.md), [templates](templates/README.md), [synthetic tests](examples/README.md), [validation](docs/validation.md).
- [Agent instructions](AGENTS.md), [manifest](repository.json), [identity](repository-variables.json), [author](AUTHOR.md), [citation](CITATION.cff), [changelog](CHANGELOG.md), [skills](skills.md).
- [Documentation index](docs/README.md), [document catalog](content-index.json), [scripts](scripts/README.md), [schemas](schemas/README.md), [templates](templates/README.md), [synthetic tests](examples/README.md), [validation](docs/validation.md).
- [Publication](PUBLICATION_WORKFLOW.md), [security](SECURITY.md), [contributing](CONTRIBUTING.md), [license](LICENSE.md), [proposals](UPDATES.md).
Run `python -m unittest discover -s tests -v` and `python scripts/check_repository.py` after changes. No repository code/documentation license has been selected; recording and derivative rights are separate facts.
Run `python -m unittest discover -s tests -v`, `python scripts/check_repository.py`, and `python scripts/audit_repository.py . --profile software-automation --json` after changes. This implements the software/automation profile of the AI-Ready Repository Template while preserving the media skills and source workflow. No commit, push, or publication is part of these local commands.