1- # PR_26177_003 -shared-geometry -foundation
1+ # PR_26177_004 -shared-color -foundation
22
33## Purpose
44
5- Add a small shared geometry foundation.
5+ Add a small shared color foundation.
66
77## Source Of Truth
88
9- This ` BUILD_PR.md ` , ` PLAN_PR.md ` , and the user request are the source of truth for ` PR_26177_003 -shared-geometry -foundation` .
9+ This ` BUILD_PR.md ` , ` PLAN_PR.md ` , and the user request are the source of truth for ` PR_26177_004 -shared-color -foundation` .
1010
1111## Stack
1212
13- - Base branch: ` PR_26177_002 -shared-noise -foundation`
13+ - Base branch: ` PR_26177_003 -shared-geometry -foundation`
1414
1515## Exact Scope
1616
17- - Add ` src/shared/geometry / ` foundation.
18- - Include small reusable primitives/helpers such as vectors, rectangles, bounds, distance, clamp/intersection basics.
19- - Add targeted tests for the shared geometry area.
20- - No engine refactor .
17+ - Add ` src/shared/color / ` foundation.
18+ - Include hex/rgb/hsl conversion, clamp, lerp/blend helpers, luminance/contrast basics.
19+ - Add targeted tests for the shared color area.
20+ - No page styling changes .
2121- Create required Codex reports under ` docs_build/dev/reports/ ` .
2222- Create repo-structured delta ZIP under ` tmp/ ` .
2323
2424## Exact Targets
2525
2626- ` docs_build/dev/PLAN_PR.md `
2727- ` docs_build/dev/BUILD_PR.md `
28- - ` src/shared/geometry/geometry .js `
29- - ` tests/shared/GeometryFoundation .test.mjs `
30- - ` docs_build/dev/reports/PR_26177_003 -shared-geometry -foundation.md `
31- - ` docs_build/dev/reports/PR_26177_003 -shared-geometry -foundation_branch-validation.md `
32- - ` docs_build/dev/reports/PR_26177_003 -shared-geometry -foundation_requirement-checklist.md `
33- - ` docs_build/dev/reports/PR_26177_003 -shared-geometry -foundation_validation-lane.md `
34- - ` docs_build/dev/reports/PR_26177_003 -shared-geometry -foundation_manual-validation-notes.md `
28+ - ` src/shared/color/color .js `
29+ - ` tests/shared/ColorFoundation .test.mjs `
30+ - ` docs_build/dev/reports/PR_26177_004 -shared-color -foundation.md `
31+ - ` docs_build/dev/reports/PR_26177_004 -shared-color -foundation_branch-validation.md `
32+ - ` docs_build/dev/reports/PR_26177_004 -shared-color -foundation_requirement-checklist.md `
33+ - ` docs_build/dev/reports/PR_26177_004 -shared-color -foundation_validation-lane.md `
34+ - ` docs_build/dev/reports/PR_26177_004 -shared-color -foundation_manual-validation-notes.md `
3535- ` docs_build/dev/reports/codex_review.diff `
3636- ` docs_build/dev/reports/codex_changed_files.txt `
3737
3838## Out Of Scope
3939
40- - No engine refactor .
40+ - No page styling changes .
4141- No browser-owned product data.
4242- No runtime UI changes.
4343- No browser storage changes.
@@ -51,9 +51,9 @@ This `BUILD_PR.md`, `PLAN_PR.md`, and the user request are the source of truth f
5151Run exactly:
5252
5353``` powershell
54- node ./scripts/run-node-test-files.mjs tests/shared/GeometryFoundation .test.mjs
55- node --check src/shared/geometry/geometry .js
56- node --check tests/shared/GeometryFoundation .test.mjs
54+ node ./scripts/run-node-test-files.mjs tests/shared/ColorFoundation .test.mjs
55+ node --check src/shared/color/color .js
56+ node --check tests/shared/ColorFoundation .test.mjs
5757git diff --check
5858```
5959
@@ -62,5 +62,5 @@ git diff --check
6262Create repo-structured delta ZIP:
6363
6464``` text
65- tmp/PR_26177_003 -shared-geometry -foundation_delta.zip
65+ tmp/PR_26177_004 -shared-color -foundation_delta.zip
6666```
0 commit comments