Skip to content

Commit feee2dc

Browse files
author
DavidQ
committed
PLAN: shared extraction (02) target map preparation
- captured required exact-target mapping before first helper move - identified initial helper buckets - prevented vague BUILD scope next: - BUILD_PR_SHARED_EXTRACTION_02_EXACT_HELPER_MOVE once exact files are named
1 parent a7f780d commit feee2dc

5 files changed

Lines changed: 57 additions & 28 deletions

File tree

docs/dev/CODEX_COMMANDS.md

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1 @@
1-
MODEL: GPT-5.3-codex
2-
REASONING: high
3-
4-
CONSTRAINTS:
5-
- DO NOT scan repo
6-
- ONLY create listed directories
7-
- NO code changes
8-
- NO file moves
9-
10-
TASK:
11-
Create directories:
12-
src/shared/utils/numbers/
13-
src/shared/utils/objects/
14-
src/shared/utils/arrays/
15-
src/shared/utils/strings/
16-
src/shared/state/
17-
18-
OUTPUT:
19-
<project folder>/tmp/BUILD_PR_SHARED_EXTRACTION_01_SCAFFOLD.zip
1+
# No Codex command in this PLAN bundle

docs/dev/COMMIT_COMMENT.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
BUILD: shared extraction (01) scaffold
1+
PLAN: shared extraction (02) target map preparation
22

3-
- created src/shared structure
4-
- no file moves
5-
- no code changes
3+
- captured required exact-target mapping before first helper move
4+
- identified initial helper buckets
5+
- prevented vague BUILD scope
66

77
next:
8-
- move duplicate helpers into shared
8+
- BUILD_PR_SHARED_EXTRACTION_02_EXACT_HELPER_MOVE once exact files are named
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
CHANGE SUMMARY
22

3-
- preparing shared extraction plan
4-
- no code changes
3+
- captured the exact-target-map requirement before first helper move
4+
- preserved small-step workflow
5+
- prevented vague BUILD scope
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
1-
[ ] directories created
2-
[ ] no code changes
1+
VALIDATION CHECKLIST
2+
3+
[x] docs-only plan
4+
[x] no code changes
5+
[x] no file moves
6+
[x] exact-target requirement captured
7+
[x] next BUILD blocked until exact source files are named
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# PLAN PR — Shared Extraction (02) Target Map
2+
3+
## Purpose
4+
Prepare the exact target-file map required for the first real helper-move BUILD.
5+
6+
## Why this exists
7+
A BUILD cannot be vague. Before moving helpers into `src/shared`, the next bundle must name:
8+
- exact source files
9+
- exact destination files
10+
- exact non-goals
11+
- exact validation
12+
13+
## Candidate helper buckets already identified
14+
### Numbers
15+
- asFiniteNumber
16+
- asPositiveInteger
17+
18+
### Objects
19+
- isPlainObject
20+
21+
### State / Naming review
22+
- getState
23+
- getSimulationState
24+
- getReplayState
25+
- getEditorState
26+
27+
## Required output of the next mapping pass
28+
1. Exact file list containing each duplicate helper
29+
2. Canonical destination under:
30+
- src/shared/utils/numbers/
31+
- src/shared/utils/objects/
32+
- src/shared/state/
33+
3. Rename decisions for ambiguous helpers
34+
4. Keep-local decisions for sample/tool-only helpers
35+
5. Validation plan for the first move PR
36+
37+
## Non-Goals
38+
- No code changes
39+
- No file moves
40+
- No API changes
41+
- No Codex execution

0 commit comments

Comments
 (0)