|
| 1 | +# PR_26179_OWNER_010-canonical-project-folder-instructions |
| 2 | + |
| 3 | +Updated: 2026-06-28T01:03:53Z |
| 4 | +Team: OWNER |
| 5 | +Branch: PR_26179_OWNER_010-canonical-project-folder-instructions |
| 6 | +Scope: Documentation/governance only. No files moved. No runtime behavior or production page changes. |
| 7 | + |
| 8 | +## Summary |
| 9 | +- Updated canonical repository structure governance under dev/build/ProjectInstructions/. |
| 10 | +- Added the valid top-level folder list and valid dev workspace folder list. |
| 11 | +- Documented ownership rules for root, src/, dev/, deploy/, docs/, dev/build/, and dev/workspace/. |
| 12 | +- Added invalid legacy path list and Codex HARD STOP rule for unclear new folders. |
| 13 | +- Added team migration note for Team Alfa, Team Bravo, Team Charlie, and historical Team Gamma lanes. |
| 14 | + |
| 15 | +## Changed Files |
| 16 | +``` |
| 17 | +M dev/build/ProjectInstructions/TEAM_START_COMMANDS.md |
| 18 | +M dev/build/ProjectInstructions/addendums/canonical_repository_structure.md |
| 19 | +M dev/build/ProjectInstructions/addendums/repository_directory_standard.md |
| 20 | +``` |
| 21 | + |
| 22 | +## Intentional Old Path Mentions |
| 23 | +The grep lane intentionally finds legacy paths in active Project Instructions where the content marks those paths invalid, deprecated, historical, generated-output locations, or non-active reference material. These are intentional documentation mentions, not active placement instructions. |
| 24 | + |
| 25 | +``` |
| 26 | +dev/build/ProjectInstructions\TEAM_START_COMMANDS.md:22:Do not create or reuse legacy folders such as `docs_build/`, `tmp/`, `projects/`, `scripts/`, `tests/`, `archive/`, `project-instructions/`, `dev/docs_build/`, `dev/project-instructions/`, `dev/workspace/artifacts/`, or `dev/build/dev/`. |
| 27 | +dev/build/ProjectInstructions\README.txt:7:Preserve historical Project Instructions material as deprecated reference only. Do not treat root-level copies in `dev/build/dev/`, `dev/archive/`, or archived snapshots as active instruction sources. When a conflict appears, `dev/build/ProjectInstructions/` wins unless OWNER explicitly approves a newer governance change. |
| 28 | +dev/build/ProjectInstructions\PROJECT_INSTRUCTIONS.md:42:- Retained reference material belongs under the repository root `dev/archive/` tree, not under `dev/build/dev/`. |
| 29 | +dev/build/ProjectInstructions\addendums\canonical_repository_structure.md:106:- Required ZIPs belong under `dev/workspace/zips/`; generated temporary artifacts belong under `dev/workspace/tmp/`. |
| 30 | +dev/build/ProjectInstructions\addendums\canonical_repository_structure.md:112:- docs_build/ |
| 31 | +dev/build/ProjectInstructions\addendums\canonical_repository_structure.md:113:- tmp/ |
| 32 | +dev/build/ProjectInstructions\addendums\canonical_repository_structure.md:114:- projects/ |
| 33 | +dev/build/ProjectInstructions\addendums\canonical_repository_structure.md:115:- scripts/ |
| 34 | +dev/build/ProjectInstructions\addendums\canonical_repository_structure.md:116:- tests/ |
| 35 | +dev/build/ProjectInstructions\addendums\canonical_repository_structure.md:117:- archive/ |
| 36 | +dev/build/ProjectInstructions\addendums\canonical_repository_structure.md:118:- project-instructions/ |
| 37 | +dev/build/ProjectInstructions\addendums\canonical_repository_structure.md:119:- dev/docs_build/ |
| 38 | +dev/build/ProjectInstructions\addendums\canonical_repository_structure.md:120:- dev/project-instructions/ |
| 39 | +dev/build/ProjectInstructions\addendums\canonical_repository_structure.md:121:- dev/workspace/artifacts/ |
| 40 | +dev/build/ProjectInstructions\addendums\canonical_repository_structure.md:122:- dev/build/dev/ |
| 41 | +dev/build/ProjectInstructions\addendums\documentation_ownership.md:52:- `dev/workspace/tmp/` contains temporary generated files. |
| 42 | +dev/build/ProjectInstructions\addendums\environment_governance_model.md:90:- Local project assets: `/local/projects/` |
| 43 | +dev/build/ProjectInstructions\addendums\environment_governance_model.md:91:- DEV project assets: `/dev/projects/` |
| 44 | +dev/build/ProjectInstructions\addendums\environment_governance_model.md:92:- IST project assets: `/ist/projects/` |
| 45 | +dev/build/ProjectInstructions\addendums\environment_governance_model.md:93:- UAT project assets: `/uat/projects/` |
| 46 | +dev/build/ProjectInstructions\addendums\environment_governance_model.md:94:- PROD project assets: `/prod/projects/` |
| 47 | +dev/build/ProjectInstructions\addendums\koti_layout_contract.md:9:- `dev/workspace/tmp/uat_exports/king_of_the_iceberg_layout_snapshot.json` |
| 48 | +dev/build/ProjectInstructions\addendums\koti_layout_contract.md:10:- `dev/workspace/tmp/uat_tool_layout_workflow_results.json` |
| 49 | +dev/build/ProjectInstructions\addendums\project_instructions_single_source_eod_lock.md:11:- root-level copies in `dev/build/dev/` |
| 50 | +dev/build/ProjectInstructions\standards\PROJECT_CONTRACT.md:28:- Fixture file: `dev/tests/fixtures/projects/project-scenarios.json` |
| 51 | +dev/build/ProjectInstructions\addendums\repository_directory_standard.md:70:- Root `docs_build/`, root `tests/`, root `archive/`, root `tmp/`, root `projects/`, root `scripts/`, and root `project-instructions/` are not active workspace locations after the restructure. |
| 52 | +dev/build/ProjectInstructions\addendums\repository_directory_standard.md:71:- Root `tmp/` may remain ignored as legacy local scratch only; required Codex ZIPs belong under `dev/workspace/zips/`, and generated temporary artifacts belong under `dev/workspace/tmp/`. |
| 53 | +dev/build/ProjectInstructions\addendums\repository_directory_standard.md:77:- docs_build/ |
| 54 | +dev/build/ProjectInstructions\addendums\repository_directory_standard.md:78:- tmp/ |
| 55 | +dev/build/ProjectInstructions\addendums\repository_directory_standard.md:79:- projects/ |
| 56 | +dev/build/ProjectInstructions\addendums\repository_directory_standard.md:80:- scripts/ |
| 57 | +dev/build/ProjectInstructions\addendums\repository_directory_standard.md:81:- tests/ |
| 58 | +dev/build/ProjectInstructions\addendums\repository_directory_standard.md:82:- archive/ |
| 59 | +dev/build/ProjectInstructions\addendums\repository_directory_standard.md:83:- project-instructions/ |
| 60 | +dev/build/ProjectInstructions\addendums\repository_directory_standard.md:84:- dev/docs_build/ |
| 61 | +dev/build/ProjectInstructions\addendums\repository_directory_standard.md:85:- dev/project-instructions/ |
| 62 | +dev/build/ProjectInstructions\addendums\repository_directory_standard.md:86:- dev/workspace/artifacts/ |
| 63 | +dev/build/ProjectInstructions\addendums\repository_directory_standard.md:87:- dev/build/dev/ |
| 64 | +``` |
| 65 | + |
| 66 | +## Validation |
| 67 | +- npm run validate:canonical-structure: PASS |
| 68 | +- git diff --check: PASS |
| 69 | +- node ./dev/scripts/run-platform-validation-suite.mjs: PASS, 8/8 scenarios |
| 70 | +- Project Instructions invalid-path grep: PASS, intentional historical/invalid-path mentions documented above |
| 71 | + |
| 72 | +## Blockers |
| 73 | +None. |
0 commit comments