Files
automation-based-email-list…/tasks/structure-ai-ready-repository/repository-structure-plan.md
T
2026-08-15 15:05:39 -06:00

52 lines
4.2 KiB
Markdown

# Repository Structure Plan
- Task ID: `structure-ai-ready-repository`
- Revision: 1
- Status: implemented
- Target: `C:\projects\productivity\automation-based-email-list-system-OPEN`
- Approval evidence: On 2026-08-15, the user explicitly requested that `repo-template-OPEN` be applied to this repository.
## Current State And Profile
The existing repository is a substantial sanitized Python/Docker email-list application with project documentation, schemas, templates, tests, operational examples, publication guardrails, and three AI operating skills. The selected profile is `software-automation`; a content index is intentionally omitted because the repository is application-centric and its principal collections fit cleanly in `repository.json`.
## Proposed Tree
Preserve the existing application tree and add the standard root metadata and governance entry points, repository schemas and validator, metadata tests, indexes for existing folders, and this task's implementation records.
## File Actions
| Action | Paths | Purpose |
| --- | --- | --- |
| Create | `AGENTS.md`, `AUTHOR.md`, `repository-variables.json`, `repository.json`, `LICENSE`, `CHANGELOG.md`, `CONTRIBUTING.md`, `SECURITY.md`, `CITATION.cff`, `VERSION`, `skills.md` | Add human/AI entry points, verified identity, machine-readable metadata, licensing, security, contribution, version, and skill guidance. |
| Create | `schemas/repository.schema.json`, `schemas/repository-variables.schema.json` | Add machine-readable contracts for repository metadata. |
| Create | `scripts/validate_repository.py`, `tests/test_repository_metadata.py` | Add deterministic repository validation and regression coverage. |
| Create | `scripts/README.md`, `schemas/README.md`, `tests/README.md`, `tasks/README.md`, `receipts/README.md` | Index existing repository collections and their safety boundaries. |
| Create | `tasks/structure-ai-ready-repository/implementation-receipt.md`, `tasks/structure-ai-ready-repository/validation-results.md` | Record implementation, validation, deviations, and rollback guidance. |
| Modify | `README.md`, `pyproject.toml` | Add a compact current repository map, AI retrieval order, validation commands, version, and license; align Python package license and author metadata with verified repository identity. Preserve the existing specification and operating guidance. |
| Preserve | Existing application, configuration, campaigns, documentation, operational examples, receipts, schemas, scripts, skills, source, templates, tests, task records, and publication files | Retain all project-native content and unrelated user work. |
| Leave absent | `content-index.json`, `assets/`, `data/`, `examples/`, host-specific issue/PR templates | Avoid ceremonial or unnecessary structure; individual documents do not require a separate content catalog yet. |
## Identity And Publication Facts
- Author and maintainer: Eddie Soehnel.
- Publisher and organization: adminprojects.
- Canonical URL: `https://projects.eddiesoehnel.com/adminprojects/automation-based-email-list-system-OPEN`.
- License: MIT, following the established convention in the directly related public `email-campaigns-prod-app-OPEN` repository.
- Verification date: 2026-08-15.
## Validation And Definition Of Done
Run the repository validator, all unit tests, the public leak scan, JSON parsing/schema checks included by the validator, and `git diff --check`. The work is complete when required entry points exist, metadata and versions align, declared paths resolve, links validate, project tests pass, and no unresolved leak finding is introduced by the template work.
## Risks, Assumptions, And Scope
- Existing working-tree changes are preserved and remain uncommitted.
- No email, subscriber, infrastructure, deployment, Git history, remote, branch, commit, or push action is authorized.
- The public repository is treated as a sanitized derivative; real operational values remain outside Git.
- MIT is based on the established adjacent public email repository convention rather than copied blindly from the template.
## Completion
Revision 1 was implemented on 2026-08-15 with no material departure from the approved scope. See `implementation-receipt.md` and `validation-results.md` in this task directory.