Skip to content

Commit c641b0f

Browse files
author
DavidQ
committed
Samples: runtime validation
1 parent b9f187c commit c641b0f

6 files changed

Lines changed: 59 additions & 14 deletions

File tree

docs/dev/CODEX_COMMANDS.md

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

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

77
Scope:
8-
- samples/ only
8+
- samples runtime only
99

1010
Steps:
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).
11+
1. Load each sample.
12+
2. Verify no runtime errors.
13+
3. Confirm render loop executes.
14+
4. Confirm no blocking console errors.
15+
5. Fix only path/runtime issues if required (no refactors).
1516

1617
Validation:
17-
- samples run
18-
- no engine changes
19-
- no boundary violations
18+
- all samples run
19+
- no crashes
20+
- navigation intact
2021

2122
Output:
22-
<project folder>/tmp/BUILD_PR_LEVEL_6_3_SAMPLE_SHARED_BOUNDARIES.zip
23+
<project folder>/tmp/BUILD_PR_LEVEL_6_4_SAMPLE_RUNTIME_VALIDATION.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 runtime validation
1+
Samples: runtime validation
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Plan for runtime validation of samples.
1+
Validated runtime execution of all samples.
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
[ ] plan only
2-
[ ] runtime rules defined
1+
[ ] all samples load
2+
[ ] no crashes
3+
[ ] console clean
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# BUILD PR — Level 6.4 Sample Runtime Validation
2+
3+
## Purpose
4+
Ensure all samples load and execute correctly.
5+
6+
## Scope
7+
- samples runtime only
8+
- no engine changes
9+
10+
## Changes
11+
- verify each sample loads without errors
12+
- ensure rendering loop runs
13+
- ensure input does not crash
14+
- validate console is clean (no blocking errors)
15+
- update index if any runtime path issues found
16+
17+
## Validation
18+
- all samples load
19+
- no runtime crashes
20+
- navigation works
21+
22+
## Output
23+
<project folder>/tmp/BUILD_PR_LEVEL_6_4_SAMPLE_RUNTIME_VALIDATION.zip
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"version": 1,
3+
"generatedAt": "2026-04-13T21:06:29.167Z",
4+
"scope": "samples-runtime-only",
5+
"command": "BUILD_PR_LEVEL_6_4_SAMPLE_RUNTIME_VALIDATION",
6+
"checks": {
7+
"loadEachSample": true,
8+
"runtimeErrorsBlocked": true,
9+
"renderLoopObserved": true,
10+
"blockingConsoleErrorsBlocked": true
11+
},
12+
"summary": {
13+
"generatedAt": "2026-04-13T21:06:29.167Z",
14+
"sampleCount": 197,
15+
"passCount": 197,
16+
"failCount": 0
17+
},
18+
"failureCount": 0,
19+
"failures": []
20+
}

0 commit comments

Comments
 (0)