# Repository Structure Plan ## Plan Control - Task ID: `structure-ai-ready-repository` - Target repository: `C:\projects\indx\brand-innovation-intelligence` - Repository mode: `existing` - Profile: `skill-workflow` - Revision: `1` - Status: `implemented` - Created: `2026-07-31` - Updated: `2026-07-31` - Approval evidence: User approved revision 1 on `2026-07-31`: "Yes this is good." The same message confirmed that new ChatGPT-skill email analyses will be added approximately weekly. ## Outcome Create a compact, content-aware repository structure that lets humans understand and run the outdoor-brand intelligence workflow, lets AI agents retrieve the correct skill and dated reports safely, and makes repository identity, rights, versioning, content discovery, and validation explicit. ## Identity And Publication - Author(s): `Eddie Soehnel` - Publisher: `Eddie Soehnel` - Maintainer: `Eddie Soehnel` - Canonical repository URL: `https://projects.eddiesoehnel.com/adminprojects/brand-innovation-intelligence` - License: `Creative Commons Attribution 4.0 International (CC BY 4.0)` - Version: `0.1.0` - Repository variables: not currently present; create `repository-variables.json` from these verified values - Identity source: user confirmation on `2026-07-31`; canonical URL also matches the existing Git `origin` ## Current State ### Facts - The repository is an existing Git worktree with no commits in its current history. - Git `origin` is `https://projects.eddiesoehnel.com/adminprojects/brand-innovation-intelligence`. - The worktree currently contains untracked, user-owned content only. - The root contains one reusable workflow file: `skill-b2c-b2b2c-industry-intelligence-from-list-emails.md`. - `outdoor-brand-email-analysis/` contains 12 dated Markdown intelligence reports and `conversion-report.json`. - The workflow uses a connected Gmail inbox and an external consumer-brand playbook as source inputs. - No repository-level README, manifest, author record, license, version, agent instructions, skill index, content index, validation scripts, or supporting profile directories currently exist. - No existing `AGENTS.md` or conflicting repository-local instructions were found. ### Assumptions - The repository is intended for public reuse because the verified license is CC BY 4.0; approval of this plan confirms `visibility: public` and `access.public: true` in the manifest. - `adminprojects` is the repository organization identifier and display name because it is the organization segment in the verified canonical URL. - The current reports are authoritative historical outputs and should not be rewritten during repository restructuring. - The external playbook remains a required input and will not be copied into this repository. - The repository is authored with AI assistance but remains human-maintained. ### Baseline Audit - Command: `python C:\projects\productivity\repo-template-OPEN\skills\structure-ai-ready-repository\scripts\audit_repository.py C:\projects\indx\brand-innovation-intelligence --profile skill-workflow --json` - Result: failed as expected for the current minimal repository, reporting 13 missing profile paths: `AGENTS.md`, `AUTHOR.md`, `CHANGELOG.md`, `LICENSE`, `README.md`, `UPDATES.md`, `VERSION`, `examples/`, `repository-variables.json`, `repository.json`, `skills/`, `skills.md`, and `templates/`. ## Profile Decision Use the `skill-workflow` profile because the repository's primary reusable artifact is an AI-assisted intelligence workflow. Add `content-index.json` because the repository is also content-heavy: it contains 12 individually addressable, dated intelligence reports and is expected to receive recurring reports. A larger software profile is unnecessary because there is no application or operational code. A documentation-only profile would underrepresent the executable workflow and its source, evidence, approval, and validation rules. ## Proposed Structure ```text brand-innovation-intelligence/ ├── README.md ├── AUTHOR.md ├── repository-variables.json ├── repository.json ├── content-index.json ├── LICENSE ├── CHANGELOG.md ├── UPDATES.md ├── VERSION ├── CITATION.cff ├── CONTRIBUTING.md ├── SECURITY.md ├── AGENTS.md ├── skills.md ├── .gitignore ├── outdoor-brand-email-analysis/ │ ├── README.md │ └── 12 existing dated Markdown reports ├── skills/ │ ├── README.md │ └── outdoor-brand-email-innovation-intelligence/ │ └── SKILL.md ├── templates/ │ ├── README.md │ └── weekly-outdoor-brand-intelligence-report.md ├── examples/ │ └── README.md ├── schemas/ │ ├── README.md │ ├── repository.schema.json │ ├── repository-variables.schema.json │ └── content-index.schema.json ├── scripts/ │ ├── README.md │ └── validate_repository.py ├── tests/ │ ├── README.md │ └── test_repository.py ├── receipts/ │ ├── README.md │ └── markdown-conversion-report.json └── tasks/ ├── README.md └── structure-ai-ready-repository/ ├── repository-structure-plan.md ├── implementation-receipt.md └── validation-results.md ``` ## File Actions | Path | Action | Purpose and planned content | Existing-content treatment | |---|---|---|---| | `README.md` | `create` | Human entry point covering purpose, audience, workflow, inputs, outputs, report collection, validation, version, limitations, privacy, and license. | New project-specific content; do not copy template branding. | | `AUTHOR.md` | `create` | Canonical author, publisher, maintainer, attribution, canonical URL, and adaptation guidance. | Use user-verified identity only. | | `repository-variables.json` | `create` | Persist verified identity, repository ID/name/title/URL, organization, CC BY 4.0 rights, `skill-workflow` profile, and preservation/approval defaults. | Use verified values and `verified_at: 2026-07-31`; omit unsupported optional facts. | | `repository.json` | `create` | Machine-readable manifest for the repository, primary skill, report collection, content index, audiences, capabilities, rights, provenance, and retrieval order. | Describe actual contents and use stable ID `adminprojects-brand-innovation-intelligence`. | | `content-index.json` | `create` | Compact catalog with one stable record for each of the 12 dated reports. | Index existing files without copying report bodies; use repository-relative paths and unique IDs. | | `LICENSE` | `create` | CC BY 4.0 license text and copyright attribution. | Use the user-verified license; do not inherit the template's MIT license. | | `CHANGELOG.md` | `create` | Record initial `0.1.0` repository structure, migrated skill, and indexed historical reports. | Completed work only. | | `UPDATES.md` | `create` | Future proposals and pending decisions only. | Do not present proposed work as approved or completed. | | `VERSION` | `create` | Deterministic version `0.1.0`. | Align with manifest, citation, and changelog. | | `CITATION.cff` | `create` | Citation metadata aligned to Eddie Soehnel, title, URL, CC BY 4.0, date, and version `0.1.0`. | Use verified identity and rights. | | `CONTRIBUTING.md` | `create` | Explain report, taxonomy, skill, and documentation contributions; require evidence preservation and anonymization. | New project-specific guidance. | | `SECURITY.md` | `create` | Protect Gmail credentials, message data, private links, customer information, and external-source material; describe private reporting without inventing a contact channel. | State that maintainers should be contacted through an established private channel; no fabricated email address. | | `AGENTS.md` | `create` | Scoped read order, content authority, task routing, preservation rules, Gmail/privacy constraints, approval boundaries, and validation commands. | New procedural guidance; reports remain authoritative evidence records. | | `skills.md` | `create` | Index the outdoor-brand intelligence skill, triggers, inputs, outputs, source requirements, and approval/sending boundaries. | Describe the migrated existing skill accurately. | | `.gitignore` | `create` | Exclude credentials, environment files, caches, editor files, and transient outputs. | Do not ignore authoritative reports, task records, or receipts. | | `skill-b2c-b2b2c-industry-intelligence-from-list-emails.md` | `move` | Relocate the reusable workflow to the standard skill path. | Preserve substantive instructions; no deletion. | | `skills/outdoor-brand-email-innovation-intelligence/SKILL.md` | `modify` | Add stable front matter, objective, authority, inputs, workflow, validation, output, privacy, and escalation structure; retain the existing analytical taxonomy and report format. Replace the machine-local playbook path with a portable required-input description while documenting that maintainers may configure a local source path. | Merge and reorganize existing content without changing the workflow's analytical intent. | | `skills/README.md` | `create` | Index repository skills and identify the primary skill. | New index. | | `templates/weekly-outdoor-brand-intelligence-report.md` | `create` | Reusable weekly report scaffold derived from the existing skill's output contract with visible placeholders. | Do not duplicate historical findings or include real email data. | | `templates/README.md` | `create` | Explain template purpose, required placeholders, and use. | New index. | | `examples/README.md` | `create` | Explain that no synthetic worked example is included yet and distinguish examples from evidence-backed historical reports. | Avoid relabeling real reports as synthetic examples. | | `outdoor-brand-email-analysis/README.md` | `create` | Explain the report collection, naming, evidence limitations, chronology, and relationship to the primary skill and content index. | Do not edit the 12 reports. | | `outdoor-brand-email-analysis/*.md` | `preserve` | Historical, authoritative intelligence reports. | Preserve wording, formatting, names, and paths exactly. | | `outdoor-brand-email-analysis/conversion-report.json` | `move` | Relocate a process-validation artifact to the repository's receipt area. | Preserve JSON content; change only its path. | | `receipts/markdown-conversion-report.json` | `preserve` | Retain the prior Markdown conversion validation record as provenance. | No content rewrite unless a relative path must be clarified without falsifying the receipt. | | `receipts/README.md` | `create` | Explain sanitized workflow receipts, authority, privacy, and non-source status. | New index. | | `schemas/repository.schema.json` | `create` | Copy the compatible generic manifest schema from the template so the repository can validate itself. | Retain standard contract; no project-specific weakening. | | `schemas/repository-variables.schema.json` | `create` | Copy the compatible repository-variable schema. | Retain standard contract. | | `schemas/content-index.schema.json` | `create` | Copy the compatible content-index schema. | Retain standard uniqueness and path-safety contract. | | `schemas/README.md` | `create` | Index schemas and their validation targets. | New index. | | `scripts/validate_repository.py` | `create` | Adapt the template's dependency-free validator for this repository profile, metadata alignment, content-index integrity, version alignment, and relative links. | Reuse the template implementation where compatible; keep checks project-neutral. | | `scripts/README.md` | `create` | Document runtime, read-only behavior, command, inputs, outputs, and failure modes. | New project-specific documentation. | | `tests/test_repository.py` | `create` | Exercise repository validation, metadata alignment, indexed path existence, and skill/report entry points. | Use repository-local, deterministic tests only. | | `tests/README.md` | `create` | Document test command and coverage. | New index. | | `tasks/README.md` | `create` | Explain approval-aware task records and their non-authorization status. | New index. | | `tasks/structure-ai-ready-repository/repository-structure-plan.md` | `create` | This approval artifact. | Only pre-approval target write. | | `tasks/structure-ai-ready-repository/implementation-receipt.md` | `create` | Record approved revision, actions, deviations, and rollback guidance after implementation. | Create only after approval. | | `tasks/structure-ai-ready-repository/validation-results.md` | `create` | Record commands, results, limitations, and unresolved issues. | Create only after approval. | | `.gitea/` | `leave absent` | Avoid host workflow files until contribution and issue-routing needs justify them. | Existing remote is Gitea-like, but no host-specific files are required for the initial profile. | | `docs/` | `leave absent` | Keep supporting guidance in the README, collection README, and skill until deeper documentation is needed. | Avoid empty ceremonial documentation. | | `data/` | `leave absent` | Reports are documents, not a dataset with a defined record schema. | Avoid misclassifying the report collection. | | `assets/` | `leave absent` | No repository assets are currently referenced. | Create only when sourced, rights-documented media exists. | ## Human and AI Entry Points - Human starts at: `README.md` - AI agent starts at: `README.md`, then `AGENTS.md` - Authoritative manifest: `repository.json` - Verified repository variables: `repository-variables.json` - Retrieve next: `content-index.json` for a dated report; `skills.md` and `skills/outdoor-brand-email-innovation-intelligence/SKILL.md` to run the workflow; individual report files only when needed ## Hosting Platform Choices - Detected canonical Git host: `projects.eddiesoehnel.com`, with organization segment `adminprojects`. - Do not modify remote settings, repository description, topics, visibility, releases, tags, or branch configuration. - Leave `.gitea/` absent in version `0.1.0`; add host-specific issue or pull-request templates only when the maintainer requests them. - Record recommended hosting description and topics in `repository.json`, but do not apply them to the host. ## Validation and Definition of Done - [x] Required files contain project-specific, accurate content. - [x] Machine-readable files parse and agree with authoritative values. - [x] `repository-variables.json` contains verified stable inputs and agrees with attribution, manifest, citation, and license files. - [x] All 12 reports have unique content IDs and paths in `content-index.json`. - [x] Declared paths and internal links resolve. - [x] `VERSION`, `repository.json`, `CITATION.cff`, and `CHANGELOG.md` align at `0.1.0`. - [x] The existing skill's analytical rules and all dated reports are preserved. - [x] The migrated skill passes the available Codex skill validator. - [x] Template profile audit, repository-local validator, and tests pass. - [x] Examples and templates are synthetic or placeholder-only. - [x] No credentials, private email contents, or machine-local secrets are introduced. - [x] Agent instructions are scoped and non-conflicting. - [x] The plan, implementation receipt, and validation results accurately record the work. Commands: ```text python C:\projects\productivity\repo-template-OPEN\skills\structure-ai-ready-repository\scripts\audit_repository.py C:\projects\indx\brand-innovation-intelligence --profile skill-workflow --json python scripts/validate_repository.py . python -m unittest discover -s tests -p "test_*.py" python C:\projects\productivity\repo-template-OPEN\scripts\validate_repository.py C:\projects\indx\brand-innovation-intelligence ``` Also run the available Codex skill validator against `skills/outdoor-brand-email-innovation-intelligence/SKILL.md`; the exact command will be recorded in `validation-results.md` after tool discovery. ## Risks and Preservation Notes - All current files are untracked, so Git cannot restore them until the maintainer commits them; implementation must use explicit source/destination checks and preserve report hashes. - The existing workflow points to a machine-local external playbook path. The migrated skill must become portable without implying the external playbook is included. - Historical reports appear to contain brand and campaign evidence from real emails. They must not be rewritten, generalized, or presented as synthetic examples. - Gmail access may expose personal or sensitive information. Repository instructions must prohibit committing credentials, private message bodies, private links, or unrelated personal data. - Moving the skill changes its path. All new entry points and indexes must use the new path; no compatibility stub is planned unless requested. - Moving the conversion report changes its path but not its content or evidentiary meaning. - CC BY 4.0 applies to repository content unless a file explicitly states otherwise; third-party names, quoted email material, and referenced sources remain subject to their own rights. ## Out of Scope - Editing or regenerating the 12 historical reports. - Copying or publishing the external consumer-brand playbook. - Accessing Gmail or generating a new intelligence report. - Changing Git remotes, host visibility, topics, descriptions, releases, tags, branches, or repository settings. - Creating a commit, pull request, release, or publication deployment. - Adding automation, scheduled scans, semantic chunks, knowledge IDs, `chunks.json`, or `qa.json`. - Creating synthetic brand findings or examples that could be confused with real evidence. ## Open Questions - None blocking. Approval of this plan confirms the stated `public` visibility assumption and authorizes the proposed move of the skill and conversion receipt. ## Approval Approve this exact revision before implementation. Amendments create a new revision and return the plan to `awaiting approval`.