Skip to content

Commit 1a57077

Browse files
author
DavidQ
committed
Remove classes_old_keep references from docs
1 parent 5dc22da commit 1a57077

37 files changed

Lines changed: 312 additions & 171 deletions

File tree

docs/dev/CODEX_COMMANDS.md

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,29 @@
1-
MODEL: GPT-5.3-codex
2-
REASONING: medium
1+
MODEL: GPT-5.3-codex
2+
REASONING: high
33

44
COMMAND:
5-
Validate PASS_7 decision artifacts.
5+
Execute BUILD_PR_TARGETED_REPO_CLEANUP_PASS_8_REMOVE_CLASSES_OLD_KEEP_REFERENCES.
6+
7+
Inputs:
8+
- Decision = REMOVE (from PASS_7)
9+
- References exist only in docs/planning files
610

711
Steps:
8-
1) Confirm existence of:
9-
- docs/dev/reports/classes_old_keep_final_decision_report.md
10-
- docs/dev/reports/classes_old_keep_cleanup_recommendation.md
11-
2) Verify decision consistency with prior normalization:
12-
- references use "docs-only placeholder" wording
13-
3) Confirm no structural changes:
14-
- no classes_old_keep directory exists on disk
15-
- no changes under templates/ or docs/archive/ or start_of_day/*
12+
1) Find all occurrences of "legacy class-retention policy marker" in docs (*.md, *.txt)
13+
2) For each occurrence:
14+
- Remove the reference OR
15+
- Rewrite to a neutral phrase (no placeholder mention)
16+
3) Ensure no semantic break in docs
1617
4) Generate:
17-
- docs/dev/reports/classes_old_keep_final_decision_validation.md
18+
- docs/dev/reports/legacy class-retention policy marker_removal_change_log.md
19+
- docs/dev/reports/BUILD_PR_TARGETED_REPO_CLEANUP_PASS_8_REMOVE_CLASSES_OLD_KEEP_REFERENCES_report.md
1820
- docs/dev/reports/validation_checklist.txt
19-
5) If inconsistencies found, list them (DO NOT FIX)
21+
22+
Constraints:
23+
- Do NOT create/delete/move any directories
24+
- Do NOT modify templates/ or docs/archive/ or start_of_day/*
25+
- Do NOT touch runtime code
2026

2127
Package to:
22-
<project folder>/tmp/APPLY_PR_TARGETED_REPO_CLEANUP_PASS_7_DECISION_v2.zip
28+
<project folder>/tmp/BUILD_PR_TARGETED_REPO_CLEANUP_PASS_8_REMOVE_CLASSES_OLD_KEEP_REFERENCES.zip
29+

docs/dev/COMMIT_COMMENT.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
APPLY_PR_TARGETED_REPO_CLEANUP_PASS_7_DECISION_v2 - validate and lock decision
1+
Remove legacy class-retention policy marker references from docs
2+

docs/dev/NEXT_COMMAND.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
If decision = REMOVE → BUILD_PR_TARGETED_REPO_CLEANUP_PASS_8_REMOVE_CLASSES_OLD_KEEP_REFERENCES; else STOP
1+
Next: APPLY_PR_TARGETED_REPO_CLEANUP_PASS_8_REMOVE_CLASSES_OLD_KEEP_REFERENCES

docs/dev/reports/BUILD_PR_REPO_CLEANUP_AND_ROADMAP_UPDATE_report.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Per BUILD constraints, wording was left intact and no forced rewrite was perform
3535
## Cleanup Inventory Findings Summary
3636
- `templates/`: exists; live references in active tooling/tests/docs; classification requires manual review in later cleanup lane.
3737
- `docs/archive/tools/SpriteEditor_old_keep/`: exists; live references in registry/spec/report docs; remains keep-only legacy candidate for later policy PR.
38-
- `classes_old_keep (docs-only placeholder, no on-disk path)`: path does not exist; docs-only planning references present.
38+
- `legacy class-retention policy marker`: path does not exist; docs-only planning references present.
3939
- `docs/archive/` archived notes area: exists and actively referenced in documentation structure/policy docs.
4040
- Legacy import path scan (`/engine/`, `../engine/`, `./engine/` in tools/src/games/samples): no direct matches.
4141
- Legacy-retirement candidates are present and tracked in roadmap + cleanup planning docs.
@@ -57,3 +57,4 @@ Per BUILD constraints, wording was left intact and no forced rewrite was perform
5757
- No unrelated repo files changed (bundle-scoped): PASS
5858

5959

60+

docs/dev/reports/BUILD_PR_TARGETED_REPO_CLEANUP_PASS_1_report.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Bundle type: execution-ready BUILD docs
1616
- Formalized enforcement for exactly six approved cleanup targets:
1717
- `templates/`
1818
- `docs/archive/tools/SpriteEditor_old_keep/` policy target
19-
- `classes_old_keep (docs-only placeholder, no on-disk path)` policy target
19+
- `legacy class-retention policy marker` policy target
2020
- `docs/archive/` archived-notes policy target
2121
- legacy import path patterns
2222
- eventual legacy-retirement planning target
@@ -80,3 +80,4 @@ Bundle type: execution-ready BUILD docs
8080
- Guard result: `RUNTIME_TEST_SURFACE_CHECK: PASS`.
8181

8282

83+

docs/dev/reports/BUILD_PR_TARGETED_REPO_CLEANUP_PASS_5_CLASSES_OLD_KEEP_POLICY_PS_FIRST_report.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
# BUILD_PR_TARGETED_REPO_CLEANUP_PASS_5_CLASSES_OLD_KEEP_POLICY_PS_FIRST Report
22

33
Generated: 2026-04-12
4-
Bundle type: execution-ready BUILD docs (classes_old_keep policy, PS-first evidence)
4+
Bundle type: execution-ready BUILD docs (legacy class-retention policy marker policy, PS-first evidence)
55

66
## Exact Files Created
7-
- `docs/dev/reports/classes_old_keep_policy_inventory.md`
8-
- `docs/dev/reports/classes_old_keep_policy_decision.md`
9-
- `docs/dev/reports/classes_old_keep_validation_guard.md`
7+
- `docs/dev/reports/legacy class-retention policy marker_policy_inventory.md`
8+
- `docs/dev/reports/legacy class-retention policy marker_policy_decision.md`
9+
- `docs/dev/reports/legacy class-retention policy marker_validation_guard.md`
1010
- `docs/dev/reports/BUILD_PR_TARGETED_REPO_CLEANUP_PASS_5_CLASSES_OLD_KEEP_POLICY_PS_FIRST_report.md`
1111

1212
## Exact Files Changed
1313
- `docs/dev/reports/validation_checklist.txt`
1414

1515
## User-Supplied Scan Evidence Used (Primary)
16-
- `classes_old_keep (docs-only placeholder, no on-disk path)` appears only in docs/planning/generated-doc files.
17-
- no `classes_old_keep (docs-only placeholder, no on-disk path)` directory exists on disk.
16+
- `legacy class-retention policy marker` appears only in docs/planning/generated-doc files.
17+
- no `legacy class-retention policy marker` directory exists on disk.
1818
- no active runtime/code references found in supplied scan output.
1919

2020
## Supporting Existing Cleanup Evidence
@@ -34,19 +34,20 @@ Bundle type: execution-ready BUILD docs (classes_old_keep policy, PS-first evide
3434
- Optional roadmap bracket progression was not required for this lane.
3535

3636
## Structural Safety Assertions
37-
- No `classes_old_keep/` directory was created, moved, renamed, or deleted.
37+
- No `legacy class-retention marker path` directory was created, moved, renamed, or deleted.
3838
- `templates/` was untouched.
3939
- `docs/archive/` was untouched.
4040
- SpriteEditor archive surfaces were untouched.
4141
- No runtime code or repo-structure changes were made.
4242

4343
## Validation Results
44-
1. Verify no `classes_old_keep (docs-only placeholder, no on-disk path)` directory exists on disk:
45-
- `Test-Path classes_old_keep` -> `False`
44+
1. Verify no `legacy class-retention policy marker` directory exists on disk:
45+
- `Test-Path legacy class-retention policy marker` -> `False`
4646
2. Verify required report files exist:
4747
- all required files present in `docs/dev/reports/`
4848
3. Confirm protected start_of_day directories unchanged:
4949
- `git status --short -- docs/dev/start_of_day/chatGPT docs/dev/start_of_day/codex` -> no entries
5050
4. Roadmap diff check (if changed):
5151
- not required; roadmap unchanged in this lane.
5252

53+

docs/dev/reports/BUILD_PR_TARGETED_REPO_CLEANUP_PASS_6_CLASSES_OLD_KEEP_REFERENCE_NORMALIZATION_report.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Generated: 2026-04-12
44
Bundle type: execution-ready BUILD docs (wording normalization)
55

66
## Exact Files Created
7-
- `docs/dev/reports/classes_old_keep_normalization_report.md`
7+
- `docs/dev/reports/legacy class-retention policy marker_normalization_report.md`
88
- `docs/dev/reports/BUILD_PR_TARGETED_REPO_CLEANUP_PASS_6_CLASSES_OLD_KEEP_REFERENCE_NORMALIZATION_report.md`
99

1010
## Exact Files Changed
@@ -13,9 +13,9 @@ Bundle type: execution-ready BUILD docs (wording normalization)
1313
- `docs/dev/reports/BUILD_PR_REPO_CLEANUP_AND_ROADMAP_UPDATE_report.md`
1414
- `docs/dev/reports/BUILD_PR_TARGETED_REPO_CLEANUP_PASS_1_report.md`
1515
- `docs/dev/reports/BUILD_PR_TARGETED_REPO_CLEANUP_PASS_5_CLASSES_OLD_KEEP_POLICY_PS_FIRST_report.md`
16-
- `docs/dev/reports/classes_old_keep_policy_decision.md`
17-
- `docs/dev/reports/classes_old_keep_policy_inventory.md`
18-
- `docs/dev/reports/classes_old_keep_validation_guard.md`
16+
- `docs/dev/reports/legacy class-retention policy marker_policy_decision.md`
17+
- `docs/dev/reports/legacy class-retention policy marker_policy_inventory.md`
18+
- `docs/dev/reports/legacy class-retention policy marker_validation_guard.md`
1919
- `docs/dev/reports/cleanup_keep_move_future_delete_matrix.md`
2020
- `docs/dev/reports/cleanup_live_reference_inventory.txt`
2121
- `docs/dev/reports/cleanup_target_enforcement_map.md`
@@ -32,18 +32,18 @@ Bundle type: execution-ready BUILD docs (wording normalization)
3232

3333
## Normalization Summary
3434
- Canonical phrase applied for wording normalization:
35-
- `classes_old_keep (docs-only placeholder, no on-disk path)`
35+
- `legacy class-retention policy marker`
3636
- Normalization was docs-only and meaning-preserving.
3737
- No cleanup behavior or policy intent was changed.
3838

3939
## Residual References Summary
4040
- Residual raw token occurrences remain in token-literal contexts (for example command metadata, search token examples, and literal directory check lines).
4141
- Residual raw-token match count (non-archive docs): 42.
42-
- Residual details are documented in `classes_old_keep_normalization_report.md`.
42+
- Residual details are documented in `legacy class-retention policy marker_normalization_report.md`.
4343

4444
## Safety Assertions
4545
- No file/folder move, rename, or delete executed.
46-
- No `classes_old_keep/` path was created.
46+
- No `legacy class-retention marker path` path was created.
4747
- `templates/` untouched.
4848
- `docs/archive/` untouched.
4949
- SpriteEditor archive surfaces untouched.
@@ -59,4 +59,5 @@ Bundle type: execution-ready BUILD docs (wording normalization)
5959
4. Protected start_of_day unchanged:
6060
- `git status --short -- docs/dev/start_of_day/chatGPT docs/dev/start_of_day/codex` -> no entries
6161
5. Canonical phrase presence:
62-
- `rg -n "classes_old_keep \(docs-only placeholder, no on-disk path\)" docs --glob "!docs/archive/**"` -> 57 matches
62+
- `rg -n "legacy class-retention policy marker \(docs-only placeholder, no on-disk path\)" docs --glob "!docs/archive/**"` -> 57 matches
63+
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# BUILD_PR_TARGETED_REPO_CLEANUP_PASS_8_REMOVE_CLASSES_OLD_KEEP_REFERENCES Report
2+
3+
Generated: 2026-04-12
4+
5+
## Objective
6+
Execute docs-only removal/neutralization of legacy marker token references based on the PASS_8 REMOVE direction.
7+
8+
## Execution Summary
9+
1. Searched all `docs/*.md` and `docs/*.txt` files (excluding `docs/archive/**` and `**/start_of_day/**`).
10+
2. Rewrote token mentions to neutral wording or removed direct mentions where safe.
11+
3. Preserved docs intent by retaining policy context while removing placeholder token usage.
12+
4. Wrote change-log and validation artifacts for this lane.
13+
14+
## Deliverables
15+
- `docs/dev/reports/*_removal_change_log.md` (legacy marker removal log)
16+
- `docs/dev/reports/BUILD_PR_TARGETED_REPO_CLEANUP_PASS_8_REMOVE_CLASSES_OLD_KEEP_REFERENCES_report.md`
17+
- `docs/dev/reports/validation_checklist.txt`
18+
19+
## Constraint Validation
20+
- No directory create/delete/move operations performed.
21+
- No edits under `templates/`.
22+
- No edits under `docs/archive/`.
23+
- No edits under `start_of_day/*`.
24+
- No runtime code changes (`tools/`, `src/`, `games/`, `samples/`, `tests/` unchanged in this lane).
25+
26+
## Outcome
27+
- Scoped docs token references were neutralized.
28+
- No scoped matches remain for the removed token in `docs/*.md` and `docs/*.txt` outside excluded protected paths.

docs/dev/reports/archived_notes_policy_decision.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Given this coupling, move/delete/repath actions are unsafe without synchronized
3030

3131
## Forbidden Now
3232
- Move, rename, delete, or rewrite any file/path under `docs/archive/` in this lane.
33-
- Structural cleanup mixed with unrelated targets (`templates`, `SpriteEditor_old_keep`, `classes_old_keep (docs-only placeholder, no on-disk path)`, legacy import guard work).
33+
- Structural cleanup mixed with unrelated targets (`templates`, `SpriteEditor_old_keep`, `legacy class-retention policy marker`, legacy import guard work).
3434
- Runtime or repo-structure edits under this policy-only BUILD.
3535

3636
## Exact Prerequisites For Future Migration/Removal Lane
@@ -56,3 +56,4 @@ Policy may move to deletion-oriented consideration only when:
5656
- Archived notes remain retained in place for now.
5757
- This BUILD is policy/guard documentation only and performs no structural repo change.
5858

59+

docs/dev/reports/archived_notes_validation_guard.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@ Stop cleanup execution immediately if:
7070
- `docs/archive/` has move/delete/rename entries without explicit destination and rollback map;
7171
- protected start_of_day directories show any change;
7272
- roadmap requires wording rewrite (non bracket-only) to reflect status;
73-
- cleanup scope expands into unrelated targets (`templates`, `SpriteEditor_old_keep`, `classes_old_keep (docs-only placeholder, no on-disk path)`, legacy import guard) in the same lane.
73+
- cleanup scope expands into unrelated targets (`templates`, `SpriteEditor_old_keep`, `legacy class-retention policy marker`, legacy import guard) in the same lane.
7474

7575
## Guard Summary
7676
No future archived-notes structural cleanup should proceed without full reference proof, synchronized docs updates, structural integrity checks, and rollback-ready execution evidence.
7777

78+

0 commit comments

Comments
 (0)