Skip to content

Commit 15b3c4d

Browse files
author
DavidQ
committed
Samples: enforce shared boundaries
1 parent bb97d0a commit 15b3c4d

13 files changed

Lines changed: 739 additions & 21 deletions

docs/dev/CODEX_COMMANDS.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@ MODEL: GPT-5.4
22
REASONING: high
33

44
COMMAND:
5-
Implement BUILD_PR_LEVEL_6_2_SAMPLE_CURRICULUM_VALIDATION.
5+
Implement BUILD_PR_LEVEL_6_3_SAMPLE_SHARED_BOUNDARIES.
66

77
Scope:
8-
- samples/ and samples/index.html only
8+
- samples/ only
99

1010
Steps:
11-
1. Analyze sample ordering by phase/number.
12-
2. Ensure each sample has one clear primary concept.
13-
3. Identify overlaps and resolve by reordering or flagging (no deletes unless exact duplicates).
14-
4. Update samples/index.html if ordering changes.
11+
1. Scan samples for reusable utilities.
12+
2. Mark (comment or report) candidates for shared extraction.
13+
3. Ensure sample-only logic stays local.
14+
4. Remove any direct dependency on non-public engine internals (adjust imports if needed without refactor).
1515

1616
Validation:
17-
- clean progression
18-
- no overlapping adjacent concepts
19-
- navigation intact
17+
- samples run
18+
- no engine changes
19+
- no boundary violations
2020

2121
Output:
22-
<project folder>/tmp/BUILD_PR_LEVEL_6_2_SAMPLE_CURRICULUM_VALIDATION.zip
22+
<project folder>/tmp/BUILD_PR_LEVEL_6_3_SAMPLE_SHARED_BOUNDARIES.zip

docs/dev/COMMIT_COMMENT.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Plan: Sample shared boundaries
1+
Samples: enforce shared boundaries
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Defined boundaries between samples and shared layers.
1+
Validated and enforced boundaries between samples and shared layer.
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
[ ] plan only
2-
[ ] boundaries defined
1+
[ ] samples runnable
2+
[ ] no boundary violations
3+
[ ] no engine changes
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# BUILD PR — Level 6.3 Sample Shared Boundaries
2+
3+
## Purpose
4+
Enforce clear boundaries between samples, shared, and engine.
5+
6+
## Scope
7+
- samples/ only (analysis + minimal moves if needed)
8+
- no engine changes
9+
10+
## Changes
11+
- identify reusable utilities in samples
12+
- mark candidates for shared (no promotion in this PR)
13+
- isolate sample-only logic
14+
- ensure no sample directly depends on non-public engine internals
15+
16+
## Validation
17+
- no boundary violations
18+
- samples remain runnable
19+
- no engine changes
20+
21+
## Output
22+
<project folder>/tmp/BUILD_PR_LEVEL_6_3_SAMPLE_SHARED_BOUNDARIES.zip

0 commit comments

Comments
 (0)