122 lines
5.4 KiB
Markdown
122 lines
5.4 KiB
Markdown
# Repository Structure Plan
|
|
|
|
## Plan Control
|
|
|
|
- Task ID: `structure-ai-ready-repository`
|
|
- Target repository: `C:\projects\indx\structured-website-builder-OPEN`
|
|
- Repository mode: `existing`
|
|
- Profile: `software-automation`
|
|
- Revision: `1`
|
|
- Status: `implemented`
|
|
- Created: `2026-07-25`
|
|
- Updated: `2026-07-25`
|
|
- Approval evidence: User requested immediate application of `repo-template-OPEN` and specified Eddie Soehnel as author, administrator, and maintainer.
|
|
|
|
## Outcome
|
|
|
|
Make the reusable website builder understandable, safe, testable, and
|
|
navigable to people and AI agents without disturbing its established content,
|
|
Hugo, skill, script, API, or publication workflows.
|
|
|
|
## Identity And Publication
|
|
|
|
- Author(s): `Eddie Soehnel`
|
|
- Publisher: `Eddie Soehnel`
|
|
- Administrator: `Eddie Soehnel`
|
|
- Maintainer: `Eddie Soehnel`
|
|
- Canonical repository URL: `https://projects.eddiesoehnel.com/adminprojects/structured-website-builder-OPEN`
|
|
- Public mirror: `https://forge.paddlenet.earth/industrySIG/structured-website-builder-OPEN`
|
|
- License: `MIT` for repository software and templates; individual content may
|
|
declare separate content-level rights
|
|
- Identity source: User instruction, Git remotes, and existing license
|
|
|
|
## Current State
|
|
|
|
### Facts
|
|
|
|
- The repository contains Python automation, an optional FastAPI service, Hugo
|
|
layouts and content, source Markdown, repository-local skills, templates,
|
|
assets, publication workflows, and sanitized examples.
|
|
- The canonical `origin` and Forge mirror remotes are configured.
|
|
- Hugo is not installed in the current environment.
|
|
- The worktree already contained uncommitted changes in `README.md`,
|
|
`UPDATES.md`, discovery tooling, and a new catalog skill before this task.
|
|
|
|
### Assumptions
|
|
|
|
- Version `0.2.0` is the appropriate backward-compatible minor release after
|
|
the existing `0.1.0` entry.
|
|
|
|
### Baseline Audit
|
|
|
|
- Command: `audit_repository.py <repository> --profile software-automation --json`
|
|
- Result: Failed because identity, manifest, citation, version, agent,
|
|
contribution, security, docs, and tests paths were absent.
|
|
|
|
## Profile Decision
|
|
|
|
Use the software/automation profile because the repository includes executable
|
|
Python, Hugo generation, an API, publication automation, and security-sensitive
|
|
configuration. Preserve `skills-scripts/` as the established combined skill and
|
|
script convention. Add a content index because 13 authoritative source
|
|
documents form a content-heavy collection.
|
|
|
|
## File Actions
|
|
|
|
| Path | Action | Purpose and planned content | Existing-content treatment |
|
|
| --- | --- | --- | --- |
|
|
| `README.md`, `UPDATES.md`, dirty discovery files | preserve | Existing workflow and in-progress user changes | Preserve byte-for-byte |
|
|
| `content/`, `hugo-html-builder/`, `api/`, `skills-scripts/`, `templates/`, `assets/`, `tasks-workflows/`, `_original/` | preserve | Established application and workflow structure | No restructuring |
|
|
| `LICENSE` | modify | Existing MIT terms with Eddie Soehnel copyright | Preserve terms |
|
|
| `CHANGELOG.md` | modify | Add version `0.2.0` structure baseline | Preserve `0.1.0` history |
|
|
| `AUTHOR.md`, `repository-variables.json`, `repository.json`, `CITATION.cff`, `VERSION` | create | Aligned identity, manifest, citation, and lifecycle metadata | Use verified facts |
|
|
| `content-index.json` | create | Index 13 authoritative source documents | Do not duplicate bodies or generated artifacts |
|
|
| `AGENTS.md`, `CONTRIBUTING.md`, `SECURITY.md` | create | Operating, contribution, and security rules | Align with publication workflow |
|
|
| `skills.md`, `docs/README.md` | create | Skill and documentation routing | Preserve `skills-scripts/` convention |
|
|
| `tests/README.md`, `tests/test_repository.py` | create | Read-only metadata, path, index, and syntax checks | Do not run mutating pipeline |
|
|
| `tasks/structure-ai-ready-repository/*` | create | Durable plan, receipt, and validation record | Record authorized implementation |
|
|
|
|
## Human And AI Entry Points
|
|
|
|
- Human starts at: `README.md`
|
|
- AI agent starts at: `AGENTS.md`
|
|
- Primary adaptation skill: `skills-scripts/skill-convert-builder-for-new-website.md`
|
|
- Primary deterministic script: `skills-scripts/sync_content_to_hugo.py`
|
|
- Authoritative manifest: `repository.json`
|
|
- Source-content discovery: `content-index.json`
|
|
|
|
## Hosting Platform Choices
|
|
|
|
Use `origin` as canonical and record Forge as a public mirror. Do not modify
|
|
remotes, hosting settings, branches, tags, releases, or generated public output.
|
|
|
|
## Validation And Definition Of Done
|
|
|
|
- [x] Existing dirty files remain byte-for-byte unchanged.
|
|
- [x] Template schemas, profile audit, versions, identity, and declared paths pass.
|
|
- [x] Content-index IDs and paths are unique and source files exist.
|
|
- [x] Repository tests and Python syntax checks pass.
|
|
- [x] Git whitespace and targeted credential checks pass.
|
|
- [x] Unavailable or intentionally skipped runtime checks are recorded.
|
|
|
|
## Risks And Preservation Notes
|
|
|
|
- Do not run the mutating sync, Hugo, materialization, or publication pipeline.
|
|
- Preserve the repository's explicit chunk and QA workflow.
|
|
- `.env.example` contains placeholders; real credentials must remain external.
|
|
|
|
## Out Of Scope
|
|
|
|
- Resolving pre-existing user changes or `UPDATES.md` proposals
|
|
- Hugo rendering, deployment, publishing, remote synchronization, commits, or releases
|
|
- Website content edits and generated public output
|
|
|
|
## Open Questions
|
|
|
|
- None recorded.
|
|
|
|
## Approval
|
|
|
|
The user explicitly authorized immediate implementation, so the template
|
|
skill's separate pre-change review gate was bypassed.
|