|
| 1 | +# PR_10_21_CURRICULUM_VALIDATION_ARTIFACT_LOCATION_AND_PHASE_ORDER_FIX Report |
| 2 | + |
| 3 | +## Scope |
| 4 | +Moved `samples.curriculum.validation.json` into an explicit test/validation artifact location, corrected `progression.phaseOrder` to phases `01` through `19`, and updated test/generation wiring to use the new location. |
| 5 | + |
| 6 | +## Artifact Location |
| 7 | +- Old path: `samples/metadata/samples.curriculum.validation.json` |
| 8 | +- New path: `tests/validation/samples.curriculum.validation.json` |
| 9 | + |
| 10 | +## Generator/Script Update |
| 11 | +- Added generator script: `scripts/generate-curriculum-validation-artifact.mjs` |
| 12 | +- Added npm script entry: `build:curriculum-validation-artifact` |
| 13 | +- Generator now writes curriculum validation artifact to `tests/validation/samples.curriculum.validation.json`. |
| 14 | +- Updated consumer test path in `tests/samples/SamplesProgramCombinedPass.test.mjs` to read from `tests/validation`. |
| 15 | + |
| 16 | +## Phase Order Fix |
| 17 | +Final `progression.phaseOrder`: |
| 18 | +- `01` |
| 19 | +- `02` |
| 20 | +- `03` |
| 21 | +- `04` |
| 22 | +- `05` |
| 23 | +- `06` |
| 24 | +- `07` |
| 25 | +- `08` |
| 26 | +- `09` |
| 27 | +- `10` |
| 28 | +- `11` |
| 29 | +- `12` |
| 30 | +- `13` |
| 31 | +- `14` |
| 32 | +- `15` |
| 33 | +- `16` |
| 34 | +- `17` |
| 35 | +- `18` |
| 36 | +- `19` |
| 37 | + |
| 38 | +## Runtime Separation Confirmation |
| 39 | +Search performed across runtime/sample/tool code paths: |
| 40 | +- command: `rg -n "samples\.curriculum\.validation\.json|curriculum\.validation" src tools samples scripts -S` |
| 41 | +- result: references exist only in the new generator script; no runtime sample/tool data flow depends on this file as source-of-truth. |
| 42 | + |
| 43 | +## Additional Consistency Adjustment |
| 44 | +- Updated `progression.totalSamples` in the moved artifact to match `samples/metadata/samples.index.metadata.json` current count (`256`) so existing curriculum progression checks remain coherent. |
| 45 | + |
| 46 | +## Validation Performed |
| 47 | +1. `node --check scripts/generate-curriculum-validation-artifact.mjs` |
| 48 | +2. `node --check tests/samples/SamplesProgramCombinedPass.test.mjs` |
| 49 | +3. `node ./scripts/generate-curriculum-validation-artifact.mjs` |
| 50 | +4. `node -` inline import run for `tests/samples/SamplesProgramCombinedPass.test.mjs` |
| 51 | + |
| 52 | +## Validation Results |
| 53 | +- Syntax checks: PASS |
| 54 | +- Artifact generation to new path: PASS |
| 55 | +- `SamplesProgramCombinedPass`: PASS |
| 56 | + |
| 57 | +## Changed Files |
| 58 | +- `tests/validation/samples.curriculum.validation.json` (new, relocated artifact) |
| 59 | +- `samples/metadata/samples.curriculum.validation.json` (removed) |
| 60 | +- `tests/samples/SamplesProgramCombinedPass.test.mjs` |
| 61 | +- `scripts/generate-curriculum-validation-artifact.mjs` (new) |
| 62 | +- `package.json` |
| 63 | +- `docs/pr/BUILD_PR_LEVEL_06_SAMPLES_PROGRAM_COMBINED_PASS.md` |
| 64 | +- `docs/dev/reports/PR_10_21_CURRICULUM_VALIDATION_ARTIFACT_LOCATION_AND_PHASE_ORDER_FIX_report.md` |
| 65 | + |
| 66 | +## Guardrails |
| 67 | +- No sample implementation code changes. |
| 68 | +- No `start_of_day` folder changes. |
0 commit comments