Files
outdoor-industry-intelligen…/tasks/structure-ai-ready-repository/repository-structure-plan.md
T
2026-10-14 12:05:54 -06:00

11 KiB

Repository Structure Plan

Plan Control

  • Task ID: structure-ai-ready-repository
  • Target repository: C:/projects/future-map/outdoor-industry-intelligence-OPEN
  • Repository mode: existing
  • Profile: skill-workflow
  • Revision: 1
  • Status: implemented
  • Created/updated: 2026-10-14
  • Approval evidence: User replied "approved" to plan revision 1 in this chat on 2026-10-14.
  • Template: C:/projects/productivity/repo-template-OPEN, local version 0.3.0.

Outcome

Apply the template's human/AI discovery, metadata, attribution, documentation and validation conventions to the existing research skill pack. Preserve the approved research contract, scheduler configuration, external automation manifest and all existing content.

Identity And Publication

  • Author, publisher and maintainer: Eddie Soehnel, from existing attribution, ownership context and source pack.
  • Canonical repository URL: https://projects.eddiesoehnel.com/adminprojects/outdoor-industry-intelligence-OPEN (verified local remote.origin.url on 2026-10-14; remote availability/public visibility not checked).
  • License: preserve existing CC-BY-4.0 documentation/skill terms and retained MIT framework notice. Do not replace with the source template's MIT license. Retain a separate MIT notice for copied validator/audit code.
  • Repository variables: currently absent; create verified identity, rights, profile, repository defaults and verification source/date. No invented organization or publication status.
  • Version: retain 0.1.0 for this initial uncommitted setup, align new citation/metadata and record structural additions under that version.

Current State

Facts

The repo contains the research skill, source/evidence contracts, weekly report template, public-source configuration, automation prompt, workflow validator/finalization helper, six tests and setup receipt. No weekly report is indexed yet. Local Git status shows these as untracked setup files; preserve them. Origin is configured as above. No fetch, push or remote mutation performed.

Baseline read-only audit: python -B <template>/skills/structure-ai-ready-repository/scripts/audit_repository.py <repo> --profile skill-workflow --json failed with six findings: missing UPDATES.md, examples and repository-variables.json; repository manifest missing repository_id and description; entrypoints currently an array instead of an object.

Assumptions and limits

The repository is a skill pack with deterministic helpers, not a standalone deployed research service. Scheduler is already active under Future Map, Monday 07:00 America/Denver. Full manual research, first scheduled-run acceptance and unattended repository write access remain unverified; restructuring must not portray them as passed.

Profile Decision

Skill/workflow is the smallest fitting profile. Add only files that support actual use, discovery and validation. The existing recurring-report catalog warrants the standard content-index contract. No application scaffolding, empty data/assets trees, host CI or issue-template pack is justified.

Proposed Structure

outdoor-industry-intelligence-OPEN/
  README.md, AUTHOR.md, repository-variables.json, repository.json
  content-index.json, AGENTS.md, skills.md
  LICENSE, LICENSE-framework-MIT.txt, LICENSE-repo-template-MIT.txt
  VERSION, CHANGELOG.md, UPDATES.md, CITATION.cff
  CONTRIBUTING.md, SECURITY.md, .gitignore
  automation/prompt.md, config/research.json                 (preserved)
  skills/outdoor-industry-intelligence/SKILL.md               (preserved)
  references/                                               (preserved)
  templates/README.md, weekly-report.md
  examples/README.md, synthetic-evidence.json
  schemas/README.md, repository.schema.json
    repository-variables.schema.json, content-index.schema.json
  scripts/README.md, audit_repository.py, validate_repository.py, workflow.py
  tests/README.md, test_workflow.py, test_repository_structure.py
  reports/, evidence/, receipts/, state/                     (preserved)
  tasks/structure-ai-ready-repository/
    repository-structure-plan.md, implementation-receipt.md, validation-results.md

File Actions

Path Action Purpose and existing-content treatment
README.md modify Merge purpose/audience, retrieval order, map, validation commands, attribution and limitations; preserve research instructions.
AUTHOR.md modify Make publisher explicit, add origin-derived canonical URL and template attribution; retain existing source acknowledgments.
repository-variables.json create Verified stable values, selected profile and approval/preservation defaults.
repository.json modify Adopt template manifest fields and entrypoint object; accurate inputs/outputs, collections, provenance, maintenance and selective retrieval. Preserve research meaning.
content-index.json modify Adopt standard collection metadata and content_id/path records; retain empty catalog and subsequent report history.
scripts/workflow.py modify Support the entrypoint object and standard catalog; retain all evidence/receipt/date gates and successful-run checkpoint contract.
tests/test_workflow.py modify Update fixtures to metadata/index contracts; preserve negative evidence, DST, idempotency and checkpoint tests.
tests/test_repository_structure.py create Meaningful metadata alignment/index/finalization regression checks, including repeated finalization and rejected incomplete runs.
AGENTS.md modify Add authoritative attribution/variables/manifest read order and structural checks; preserve research scope and permissions.
skills.md modify Expand existing research skill index with triggers, inputs, outputs and approval boundaries.
UPDATES.md create Future proposals only; explicitly not authorization or completed work.
CITATION.cff create Eddie Soehnel attribution, verified repository URL, 0.1.0 and current license conventions.
CONTRIBUTING.md, SECURITY.md create Scoped source-quality, preservation, credentials and disclosure guidance; no invented security contact.
.gitignore create Exclude caches, local credentials and transient runtime files while preserving report/evidence/receipt history.
schemas/*.json, schemas/README.md create Template metadata contracts; narrow documented compatibility adjustments only if needed for preserved license/publication facts.
scripts/audit_repository.py, scripts/validate_repository.py, scripts/README.md create Template structural validation and local usage documentation; no remote script execution.
templates/README.md create Explain weekly template and retained report contract.
examples/README.md, examples/synthetic-evidence.json create Clearly synthetic provenance example, never indexed as real research.
tests/README.md create Explain structural and workflow tests and required commands.
LICENSE-repo-template-MIT.txt create Retain template MIT notice for adapted validator/audit code.
CHANGELOG.md modify Add accurate completed structural work only after implementation.
tasks/structure-ai-ready-repository/* create This plan, approval evidence, implementation receipt and validation results.
VERSION, LICENSE, LICENSE-framework-MIT.txt preserve Keep version and existing rights; citation and metadata agree.
Research skill, config, source policy, evidence contract, weekly template, automation prompt, setup receipt preserve No research scope, schedule, source-method, playbook, history or runtime-acceptance changes.
External automation manifest and actual scheduler preserve No changes during this task.
Host CI, issues/PR templates, empty assets/data, extra software architecture leave absent No demonstrated need; no remote settings/publication changes.

Entry Points And Hosting

Human: README.md. AI: README.md, AUTHOR.md, repository-variables.json, repository.json, AGENTS.md, skills.md, then relevant skill/source contracts. Catalog selects only needed dated reports. Tasks/receipts/test fixtures excluded from default research retrieval.

Configured origin identifies a projects.eddiesoehnel.com repository. No new host-specific CI/settings proposed. Do not fetch, commit, push, create branches/releases, publish or change Git remotes.

Compatibility And Preservation

Current workflow expects an entrypoint array and nonstandard index records with id/report_path/evidence_path/window. The template requires an entrypoint object and content_id/path catalog records. Change the helper and its fixtures together; keep research evidence and checkpoint records as their original operational contract. Derive/catalog report metadata without copying bodies into the index. No existing weekly index items need migration today; reinspect before implementation and preserve any records added meanwhile. Keep the external playbook external.

Validation And Definition Of Done

  1. Run python -B scripts/audit_repository.py . --profile skill-workflow --json.
  2. Run python -B scripts/validate_repository.py . and JSON Schema checks for all three metadata contracts.
  3. Run python -B scripts/workflow.py validate . and python -B -m unittest discover -s tests -v.
  4. Run available skill validation for a changed skill (none planned); validate preserved frontmatter if required by copied checks.
  5. Check declared paths, relative Markdown links, unique catalog IDs/paths, attribution/licenses and version alignment. Validate synthetic examples separately from live collections.
  6. Check Git diff whitespace, compare unchanged research file SHA-256 values, review additions for secrets/private data and template residue. Untracked files need explicit content/whitespace review because git diff alone omits them.
  7. Record observed command results and limitations in task receipts. Do not claim runtime research or first scheduled-run acceptance.

Complete means the appropriate profile audit, schema/link/version checks and native regression tests pass, preserved content hashes agree, and canonical destination readback confirms delivery.

Risks, Open Questions And Out Of Scope

Primary risk is catalog/entrypoint compatibility, addressed by paired helper and fixture changes. Public visibility and server publication are unverified; do not infer them from the OPEN suffix. Existing attribution and rights are retained, with no license or identity substitution. No decision beyond approval of this plan is needed for the proposed local changes. No Git mutation, deployment, publication, scheduler changes, paid transcription or external playbook copying.

Approval

Approve revision 1 before implementation. The template skill explicitly says: “Present the plan to the user and stop. Ask the user to approve it or request amendments. Do not implement in the same turn that first creates the plan.” Revision 1 was explicitly approved by the user and implemented; see implementation-receipt.md and validation-results.md for observed results.