# Repository Structure Plan ## Plan Control - Task ID: `structure-ai-ready-repository` - Target repository: `C:\projects\indx\portable-identity-document-template-OPEN` - Repository mode: `existing` - Profile: `skill-workflow` - 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 PID skill pack predictable for humans and AI agents while preserving its versioned server-discovery workflow and strict maintainer/user ownership boundaries. ## Identity And Publication - Author, publisher, administrator, maintainer: `Eddie Soehnel` - Canonical repository URL: `https://forge.paddlenet.earth/networkSIG/portable-identity-document-template-OPEN` - Related project URL: `https://projects.eddiesoehnel.com/adminprojects/portable-identity-document-template-OPEN` - License: `MIT` - Stable release: `0.2.5` - Identity source: User instruction and existing `pid-release.json` ## Current State ### Facts - The clean repository contains a PID template, maturity roadmap, five skill or user-variable documents, a release manifest, version/changelog files, receipt storage, and review-draft storage. - Existing README and release metadata identify PaddleNET Forge as canonical. - `pid-release.json` distinguishes maintainer-owned and user-owned files. ### Assumptions - Structural work was subsequently promoted as the stable `0.2.5` release PID resource version or skill compatibility versions. ### Baseline Audit - Command: `audit_repository.py --profile skill-workflow --json` - Result: Failed because repository identity, manifest, agent, skill-index, template-index, and example paths were absent. ## Profile Decision Use the skill/workflow profile. The repository has a small number of major documents and does not need `content-index.json`; `repository.json` can declare them directly. Preserve established root template paths and add routing indexes rather than moving files. ## File Actions | Path | Action | Purpose and planned content | Existing-content treatment | | --- | --- | --- | --- | | Existing PID documents, skills, version, manifest, updates, receipts, drafts | preserve | Established resource and ownership contract | Preserve byte-for-byte | | `LICENSE` | modify | MIT terms with Eddie Soehnel copyright | Preserve terms | | `CHANGELOG.md` | modify | Record completed structural work under `Unreleased` | Preserve all release history | | `AUTHOR.md`, `repository-variables.json`, `repository.json`, `CITATION.cff` | create | Aligned identity, discovery, rights, and citation | Use verified facts | | `AGENTS.md`, `skills.md` | create | Agent operating rules and skill routing | Point to stable existing paths | | `CONTRIBUTING.md`, `SECURITY.md` | create | Contribution, privacy, and user-ownership safeguards | Align with release manifest | | `templates/README.md` | create | Route to root PID template | Do not duplicate or move template | | `examples/README.md`, `examples/synthetic-pid-example.md` | create | Privacy-safe synthetic example | No real identity data | | `tests/*` | create | Read-only release, path, ownership, and skill checks | No remote or personal-data access | | `tasks/structure-ai-ready-repository/*` | create | Durable implementation record | Record authorized work | | `content-index.json`, scripts, schemas, data | leave absent | No current repository function | Avoid ceremonial structure | ## Human And AI Entry Points - Human: `README.md` - AI: `AGENTS.md` - Primary skill: `skills/PID-initial-creation-skill.md` - Primary template: `PID-template.md` - Release contract: `VERSION` and `pid-release.json` ## Hosting Platform Choices Preserve Forge as canonical because current release metadata and server-hosted discovery workflows depend on it. Do not modify remotes, tags, releases, or paddlenet.earth publication settings. ## Validation And Definition Of Done - [x] Profile audit and schema contracts pass. - [x] Version, release manifest, citation, and changelog stable release align. - [x] Existing resource and user-owned files remain unchanged. - [x] Declared paths, skills, examples, and ownership invariants pass tests. - [x] New links, whitespace, and targeted credential checks pass. ## Risks And Preservation Notes - Do not overwrite the user-owned variables template or user-filled copies. - Do not change release versions without running the compatibility skill. - Do not normalize established filename case or paths in this structural task. ## Out Of Scope - PID content/skill edits, new release creation, tags, remote checks, publishing - Personal PID creation, maintenance, matching, or private source access - Resolving existing release-history or filename-case conventions ## Open Questions - None recorded. ## Approval The user explicitly authorized immediate implementation, so the separate pre-change plan review gate was bypassed.