Files
structured-media-builder-OPEN/tasks/structure-ai-ready-repository/repository-structure-plan.md
T
2026-10-18 09:21:12 -06:00

11 KiB

Repository Structure Plan

Plan Control

  • Task ID: structure-ai-ready-repository
  • Target: C:\projects\indx\structured-media-builder-OPEN
  • Mode: existing repository
  • Profile: software-automation, retaining its working skills and templates
  • Revision: 1
  • Status: implemented
  • Created/updated: 2026-10-17
  • Structure approval evidence: user explicitly approved revision 1 on 2026-10-17 and requested the AI Knowledge Structure integration.
  • License decision: MIT, explicitly selected by the user on 2026-10-17.

Outcome

Apply the actual conventions, manifest schemas, identity model, lifecycle files, and validation of C:\projects\productivity\repo-template-OPEN while preserving the folder-first intake → structuring → review workflow. Keep implemented behavior distinct from planned API/MCP/embedding capabilities.

This plan governs repository standardization. The separately authorized webinar finalization is handled by the task-local approval utility and does not authorize publication or repository restructuring.

Identity and publication

  • Author/owner: Eddie Soehnel, already recorded in the target AUTHOR and manifest.
  • Publisher/maintainer: Eddie Soehnel, proposed explicit roles matching the existing owner; no third-party identity will be inherited.
  • Canonical repository URL: https://projects.eddiesoehnel.com/adminprojects/structured-media-builder-OPEN, matching existing configuration.
  • License: MIT for builder code/docs; excludes any automatic license grant over third-party media, transcripts, slides, or source research.
  • Current variables: repository-variables.json; preserve stable repository ID and canonical URL. Normalize the machine name to structured-media-builder-open for the standard schema while preserving the actual remote name/URL.
  • Public visibility: supplied directly by the user. No Git-host setting changes are proposed.

Current state and baseline

  • Version 0.2.0; working media intake and structuring skills, two Python builders, nine media schemas, synthetic examples, interface designs, and 39 tests.
  • The folder-first README and real webinar outputs were reviewed and approved by the user.
  • Existing docs/validation.md has a local modification that must be preserved.
  • The main manifest and variables use custom field layouts; several fields do not conform to the template schemas.
  • Baseline software-automation audit fails with eight findings: missing LICENSE, missing skill_defaults/verified_by/verified_at, author/repository/rights alignment, and unsupported profile name. Full results: baseline-audit.json.
  • No existing source/data directories need relocation. Real recordings remain outside this public template repo.

Profile and catalog decision

Use software-automation because executable, tested builders are central. Preserve skills/, templates/, and examples as useful existing extensions.

Add a compact content-index.json for the substantive guide documents. The current manifest lists numerous individual documents and implementation files; the standard manifest will retain major collections and entry points while the document index routes readers to individual guides. Do not create chunks or Q&A merely to index template documentation.

Proposed structure

structured-media-builder-OPEN/
  README.md, AUTHOR.md, AGENTS.md, skills.md
  repository-variables.json, repository.json, content-index.json
  LICENSE, LICENSE.md, CITATION.cff, VERSION, CHANGELOG.md, UPDATES.md
  CONTRIBUTING.md, SECURITY.md, PUBLICATION_WORKFLOW.md
  docs/README.md and existing guides
  scripts/README.md, audit_repository.py, existing builders/checker
  schemas/ (existing media schemas plus repository/variables/content-index schemas)
  skills/, templates/, examples/, interfaces/, tests/
  .gitea/PULL_REQUEST_TEMPLATE.md
  .gitea/ISSUE_TEMPLATE/{bug-report.md,feature-request.md}
  tasks/structure-ai-ready-repository/ (this plan, baseline, receipts)

File actions

Path Action Purpose and preservation
README.md modify Preserve the approved folder-first instructions; add standardized identity, MIT, repository navigation, validation, and final-approval entry point.
AUTHOR.md modify Explicit author/publisher/maintainer, attribution, canonical URL, derived-repo identity guidance.
AGENTS.md modify Standard read order and source boundaries; preserve intake, unknowns, and approval/publication distinctions.
repository-variables.json modify Standard verified identity, canonical facts, MIT rights, software-automation profile, and workflow defaults.
repository.json modify Conform to the upstream manifest schema; preserve all useful capabilities, limitations, inputs/outputs, relations, and entry points in supported fields.
content-index.json create Stable file-level catalog of authoritative guides with repository-relative paths and document relations.
LICENSE create MIT terms with Eddie Soehnel copyright and 2026 year; user license selection is recorded above.
LICENSE.md modify Replace the outdated unselected-license notice with a clear link to LICENSE and separate third-party media rights. Preserve the existing path.
CITATION.cff create Repository-specific author, title, canonical URL, version, date, and MIT metadata.
VERSION, CHANGELOG.md modify Record standardization as 0.3.0 and preserve earlier history. No Git tag/release is created.
UPDATES.md modify Remove or mark the now-completed license decision; preserve remaining proposals as unapproved ideas.
CONTRIBUTING.md, SECURITY.md, PUBLICATION_WORKFLOW.md modify Align MIT and validation references; preserve independent media rights and explicit publication authority.
docs/README.md create Index the existing architecture, workflow, research, interfaces, public-export, and validation guides.
docs/workflow.md, docs/architecture.md, docs/validation.md modify Document final approval semantics and validation while retaining approved workflow and current validation notes.
skills.md, skills/structure-media/SKILL.md modify Include draft → owner-approved final lifecycle, with no inferred publication/rights clearance. Preserve the intake skill.
scripts/README.md create Document inspect/build/finalize/verify/search and repository audits.
scripts/audit_repository.py create Adapt the upstream read-only profile audit; retain source attribution and its MIT notice.
scripts/check_repository.py modify Validate standard manifest/variables/content index, citation/version/rights alignment, nullable entry points, and local links. Keep existing media checks.
scripts/folder_builder.py modify Promote the task-scoped explicit approval/finalization capability into the normal builder; verify approved packages and preserve draft history.
schemas/repository.schema.json, schemas/repository-variables.schema.json, schemas/content-index.schema.json create Copy the actual upstream contracts, retaining identifiers and attribution.
schemas/folder-export.schema.json, schemas/README.md modify Add explicit approved artifact state and document it; draft builds still cannot claim human approval.
tests/test_repository.py create Meaningful standard-schema, identity/version/license, document-catalog, and declared-path checks.
tests/test_folder_builder.py modify Final approval/state, source preservation, stale approval, and output integrity behavior.
scripts/media_builder.py, interfaces/openapi.json, synthetic example plans modify Align runtime/design version and refresh synthetic-only fingerprints when the version changes; preserve behavior and IDs.
.gitea/PULL_REQUEST_TEMPLATE.md, .gitea/ISSUE_TEMPLATE/bug-report.md, .gitea/ISSUE_TEMPLATE/feature-request.md create Small Gitea contribution templates relevant to this repo; no CI, credentials, or server settings.
tasks/structure-ai-ready-repository/implementation-receipt.md, validation-results.md create Record approved revision, exact changes, tests, limitations, and rollback.
Existing sources, examples, stable IDs, remote config, and real webinar originals preserve No relocation, deletion, fetch, push, commit, deployment, or media licensing changes.
Empty assets/data/receipts folders, runtime agents, hosted API/MCP, embeddings leave absent No implemented need and no publication authority.

Entry points and host choices

Human: README. AI read order: README → AUTHOR → variables → manifest → document index as needed → AGENTS/skills → relevant workflow. UPDATES.md remains future notes, not authority. Gitea templates are proposed because the verified origin is the user's projects host; no Git-host setting changes are included.

Validation and done criteria

  • Upstream software-automation audit passes, and project-specific contract checks pass.
  • Repository, variables, and document catalog validate against the copied upstream schemas.
  • Identity, canonical URL, MIT, version 0.3.0, citation, changelog, declared paths, and local links agree.
  • All existing 39 tests plus justified new repository/approval tests pass.
  • Both media skills pass the skill validator in UTF-8 mode.
  • Synthetic public export remains reproducible; local approved-package verification and representative retrieval work.
  • Existing source hashes, semantic IDs, user edits, and real webinar originals remain unchanged.
  • Whitespace and targeted credential/private-data review pass. No unsupported service/indexing claims.

Planned commands:

python scripts/audit_repository.py . --profile software-automation --json
python scripts/check_repository.py
python -m unittest discover -s tests -v
python -X utf8 <skill-creator>/scripts/quick_validate.py skills/media-intake
python -X utf8 <skill-creator>/scripts/quick_validate.py skills/structure-media
git diff --check

Risks, boundaries, and rollback

  • Replacing the custom manifest requires careful field mapping, not loss of capabilities or limitations. Preserve its prior form in task evidence before editing.
  • Version changes invalidate synthetic fixture approval fingerprints; refresh only synthetic records. Do not reapprove a real artifact silently because template code changed.
  • A final approved local package remains distinct from public deployment and from third-party content licensing.
  • The task-local approved-state validator is the current verification entry point for the finalized webinar. Support has now been promoted into the main builder under this approved plan; the task-local utility remains historical evidence.
  • Preserve the current local validation-document change. Reinspect Git status/hashes before applying the plan.
  • Roll back only changes made by this task using reviewed file copies/diffs; do not reset unrelated work or rewrite history.

Approval

Revision 1 was explicitly approved and implemented on 2026-10-17. MIT and Eddie Soehnel as author/publisher/maintainer are confirmed. See implementation receipt and validation results. No outstanding approval remains for the local implementation described here.

Required gate source: C:\projects\productivity\repo-template-OPEN\skills\structure-ai-ready-repository\SKILL.md. The user-provided local skill is authoritative for this run.