1- # PR_26177_005 -shared-text -foundation
1+ # PR_26177_006 -shared-time -foundation
22
33## Purpose
44
5- Add a small shared text foundation.
5+ Add a small shared time 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_005 -shared-text -foundation` .
9+ This ` BUILD_PR.md ` , ` PLAN_PR.md ` , and the user request are the source of truth for ` PR_26177_006 -shared-time -foundation` .
1010
1111## Stack
1212
13- - Base branch: ` PR_26177_004 -shared-color -foundation`
13+ - Base branch: ` PR_26177_005 -shared-text -foundation`
1414
1515## Exact Scope
1616
17- - Add ` src/shared/text / ` foundation.
18- - Include safe string helpers such as slugify, casing, truncate, escapeHtml, and normalizeWhitespace .
19- - Add targeted tests for the shared text area.
20- - No copy rewrites outside tests/docs .
17+ - Add ` src/shared/time / ` foundation.
18+ - Include duration formatting, timestamp helpers, debounce/throttle/sleep helpers where safe for shared runtime .
19+ - Add targeted tests for the shared time area.
20+ - No scheduler/runtime behavior 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/text/text .js `
29- - ` tests/shared/TextFoundation .test.mjs `
30- - ` docs_build/dev/reports/PR_26177_005 -shared-text -foundation.md `
31- - ` docs_build/dev/reports/PR_26177_005 -shared-text -foundation_branch-validation.md `
32- - ` docs_build/dev/reports/PR_26177_005 -shared-text -foundation_requirement-checklist.md `
33- - ` docs_build/dev/reports/PR_26177_005 -shared-text -foundation_validation-lane.md `
34- - ` docs_build/dev/reports/PR_26177_005 -shared-text -foundation_manual-validation-notes.md `
28+ - ` src/shared/time/time .js `
29+ - ` tests/shared/TimeFoundation .test.mjs `
30+ - ` docs_build/dev/reports/PR_26177_006 -shared-time -foundation.md `
31+ - ` docs_build/dev/reports/PR_26177_006 -shared-time -foundation_branch-validation.md `
32+ - ` docs_build/dev/reports/PR_26177_006 -shared-time -foundation_requirement-checklist.md `
33+ - ` docs_build/dev/reports/PR_26177_006 -shared-time -foundation_validation-lane.md `
34+ - ` docs_build/dev/reports/PR_26177_006 -shared-time -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 copy rewrites outside tests/docs .
40+ - No scheduler/runtime behavior 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/TextFoundation .test.mjs
55- node --check src/shared/text/text .js
56- node --check tests/shared/TextFoundation .test.mjs
54+ node ./scripts/run-node-test-files.mjs tests/shared/TimeFoundation .test.mjs
55+ node --check src/shared/time/time .js
56+ node --check tests/shared/TimeFoundation .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_005 -shared-text -foundation_delta.zip
65+ tmp/PR_26177_006 -shared-time -foundation_delta.zip
6666```
0 commit comments