Skip to content

Commit 4d5cc50

Browse files
authored
Merge PR #4: [codex] PR_26171_030 idea board workflow fix
[codex] PR_26171_030 idea board workflow fix
2 parents 79a7abb + e450925 commit 4d5cc50

55 files changed

Lines changed: 4117 additions & 1302 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs_build/dev/codex_commands.md

Lines changed: 21 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,23 @@
11
# Codex Commands
22

3-
## PR
4-
- `PR_26169_019-admin-health-operations`
5-
6-
## Source Documents
7-
- `docs_build/dev/PROJECT_INSTRUCTIONS.md`
8-
- `docs_build/pr/PLAN_PR_26169_019-admin-health-operations.md`
9-
- `docs_build/pr/BUILD_PR_26169_019-admin-health-operations.md`
10-
11-
## Validation Commands
12-
```bash
13-
git branch --show-current
14-
```
15-
16-
```bash
17-
node --check src/dev-runtime/server/local-api-router.mjs
18-
node --check assets/theme-v2/js/admin-system-health.js
19-
node --check tests/dev-runtime/AdminHealthOperations.test.mjs
20-
node --check tests/playwright/tools/AdminHealthOperationsPage.spec.mjs
21-
```
22-
23-
```bash
24-
node -e "<static HTML restriction check for admin/system-health.html>"
25-
```
26-
27-
```bash
28-
node --test tests/dev-runtime/AdminHealthOperations.test.mjs
29-
```
30-
31-
```bash
32-
npx playwright test tests/playwright/tools/AdminHealthOperationsPage.spec.mjs
33-
```
34-
35-
```bash
36-
git diff --check -- <PR_26169_019 scoped file list>
37-
```
38-
39-
## Artifact Commands
40-
```bash
41-
python - <<'PY'
42-
# Generate docs_build/dev/reports/codex_changed_files.txt
43-
# Generate docs_build/dev/reports/codex_review.diff
44-
# Create tmp/PR_26169_019-admin-health-operations_delta.zip
45-
# Verify ZIP size and repo-relative paths
46-
PY
47-
```
3+
- Read skill: repo-build.
4+
- Read skill: github:yeet.
5+
- Read source of truth: docs_build/dev/PROJECT_INSTRUCTIONS.md.
6+
- Re-read original Idea Board request from prior conversation and docs_build/pr/BUILD_PR_26170_002-idea-board-tool.md.
7+
- Inspected toolbox/_tool_template-v2/index.html.
8+
- Inspected toolbox/idea-board/index.html and toolbox/idea-board/index.js.
9+
- Inspected tests/playwright/tools/IdeaBoardTableNotes.spec.mjs.
10+
- Inspected tests/playwright/tools/ToolboxRoutePages.spec.mjs.
11+
- Inspected tests/playwright/tools/RootToolsFutureState.spec.mjs.
12+
- git fetch origin main --prune.
13+
- git pull --ff-only origin main.
14+
- git switch -c codex/fix-idea-board-pr-workflow.
15+
- node --check toolbox/idea-board/index.js.
16+
- node --check tests/playwright/tools/IdeaBoardTableNotes.spec.mjs.
17+
- node --check tests/playwright/tools/ToolboxRoutePages.spec.mjs.
18+
- node --check tests/playwright/tools/RootToolsFutureState.spec.mjs.
19+
- Inline HTML guard for toolbox/idea-board/index.html.
20+
- npx playwright test tests/playwright/tools/IdeaBoardTableNotes.spec.mjs --project=playwright --workers=1 --reporter=line.
21+
- npx playwright test tests/playwright/tools/ToolboxRoutePages.spec.mjs --project=playwright --workers=1 --reporter=line -g "Idea Board launches".
22+
- npm run test:workspace-v2.
23+
- git diff --check.

docs_build/dev/commit_comment.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
Add browser-local Messages speech preview - PR_26171_010
1+
PR_26171_030 idea board workflow fix
2+
3+
- fix Idea Board selected-idea notes context
4+
- update targeted Playwright and workspace-v2 validation harness
5+
- refresh Idea Board workflow docs and reports
Lines changed: 143 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,145 @@
1-
# git status --short
2-
M assets/theme-v2/partials/header-nav.html
3-
M src/dev-runtime/admin/header-nav.local.html
4-
M src/dev-runtime/persistence/tool-repositories/game-journey-mock-repository.js
5-
M src/dev-runtime/server/local-api-router.mjs
6-
M src/shared/toolbox/tool-metadata-inventory.js
7-
M tests/tools/Text2SpeechShell.test.mjs
8-
M toolbox/text-to-speech/index.html
9-
M toolbox/text-to-speech/text2speech.js
10-
?? docs_build/dev/reports/PR_26171_037-text2speech-functional-tool-rebuild-manual-validation.md
11-
?? docs_build/dev/reports/PR_26171_037-text2speech-functional-tool-rebuild-requirements.md
12-
?? docs_build/dev/reports/PR_26171_037-text2speech-functional-tool-rebuild-validation.md
13-
?? docs_build/dev/reports/PR_26171_037-text2speech-functional-tool-rebuild.md
14-
?? tests/playwright/tools/TextToSpeechFunctional.spec.mjs
1+
# Codex Changed Files - PR_26171_030-idea-board-workflow-fix
152

16-
# git ls-files --others --exclude-standard
17-
docs_build/dev/reports/PR_26171_037-text2speech-functional-tool-rebuild-manual-validation.md
18-
docs_build/dev/reports/PR_26171_037-text2speech-functional-tool-rebuild-requirements.md
19-
docs_build/dev/reports/PR_26171_037-text2speech-functional-tool-rebuild-validation.md
20-
docs_build/dev/reports/PR_26171_037-text2speech-functional-tool-rebuild.md
21-
tests/playwright/tools/TextToSpeechFunctional.spec.mjs
3+
## Git Workflow
4+
- Branch: `codex/fix-idea-board-pr-workflow`
5+
- Base: `origin/main`
6+
- PR URL: https://github.com/ToolboxAid/HTML-JavaScript-Gaming/pull/4
7+
- Merge conflicts: resolved in `docs_build/dev/reports/codex_changed_files.txt` and `docs_build/dev/reports/codex_review.diff` by regenerating both reports from the final `origin/main` diff.
8+
- Commit hash, push result, merge result, and final main commit: reported after commit, push, PR merge, and final main pull.
229

23-
# git diff --stat
24-
assets/theme-v2/partials/header-nav.html | 2 +-
25-
src/dev-runtime/admin/header-nav.local.html | 2 +-
26-
.../game-journey-mock-repository.js | 2 +-
27-
src/dev-runtime/server/local-api-router.mjs | 13 +-
28-
src/shared/toolbox/tool-metadata-inventory.js | 27 ++-
29-
tests/tools/Text2SpeechShell.test.mjs | 36 ++-
30-
toolbox/text-to-speech/index.html | 78 ++++---
31-
toolbox/text-to-speech/text2speech.js | 260 +++++++++++++++++----
32-
8 files changed, 309 insertions(+), 111 deletions(-)
10+
## Changed Files
11+
- docs_build/dev/codex_commands.md
12+
- docs_build/dev/commit_comment.txt
13+
- docs_build/dev/reports/codex_changed_files.txt
14+
- docs_build/dev/reports/codex_review.diff
15+
- docs_build/dev/reports/coverage_changed_js_guardrail.txt
16+
- docs_build/dev/reports/dependency_gating_report.md
17+
- docs_build/dev/reports/dependency_hydration_reuse_report.md
18+
- docs_build/dev/reports/execution_graph_reuse_report.md
19+
- docs_build/dev/reports/failure_fingerprint_report.md
20+
- docs_build/dev/reports/filesystem_scan_reduction_report.md
21+
- docs_build/dev/reports/incremental_validation_report.md
22+
- docs_build/dev/reports/lane_compilation_report.md
23+
- docs_build/dev/reports/lane_deduplication_report.md
24+
- docs_build/dev/reports/lane_input_validation_report.md
25+
- docs_build/dev/reports/lane_manifests/workspace-contract.json
26+
- docs_build/dev/reports/lane_runtime_optimization_report.md
27+
- docs_build/dev/reports/lane_snapshot_report.md
28+
- docs_build/dev/reports/lane_snapshots/workspace-contract.json
29+
- docs_build/dev/reports/lane_warm_start_report.md
30+
- docs_build/dev/reports/lane_warm_starts/workspace-contract.json
31+
- docs_build/dev/reports/monolith_trigger_removal_report.md
32+
- docs_build/dev/reports/persistent_lane_manifest_report.md
33+
- docs_build/dev/reports/playwright_discovery_ownership_report.md
34+
- docs_build/dev/reports/playwright_discovery_scope_report.md
35+
- docs_build/dev/reports/playwright_structure_audit.md
36+
- docs_build/dev/reports/playwright_v8_coverage_report.txt
37+
- docs_build/dev/reports/retry_suppression_report.md
38+
- docs_build/dev/reports/slow_path_pruning_report.md
39+
- docs_build/dev/reports/static_validation_report.md
40+
- docs_build/dev/reports/targeted_file_manifest_report.md
41+
- docs_build/dev/reports/test_cleanup_performance_report.md
42+
- docs_build/dev/reports/test_cleanup_routing_report.md
43+
- docs_build/dev/reports/testing_lane_execution_report.md
44+
- docs_build/dev/reports/validation_cache_report.md
45+
- docs_build/dev/reports/zero_browser_preflight_report.md
46+
- docs_build/pr/APPLY_PR_26171_026-idea-board-template-cleanup.md
47+
- docs_build/pr/APPLY_PR_26171_027-idea-board-table-work-surface.md
48+
- docs_build/pr/APPLY_PR_26171_028-idea-board-notes-table-governance.md
49+
- docs_build/pr/APPLY_PR_26171_029-idea-board-validation-playwright.md
50+
- docs_build/pr/APPLY_PR_26171_030-idea-board-workflow-fix.md
51+
- docs_build/pr/BUILD_PR_26171_026-idea-board-template-cleanup.md
52+
- docs_build/pr/BUILD_PR_26171_027-idea-board-table-work-surface.md
53+
- docs_build/pr/BUILD_PR_26171_028-idea-board-notes-table-governance.md
54+
- docs_build/pr/BUILD_PR_26171_029-idea-board-validation-playwright.md
55+
- docs_build/pr/BUILD_PR_26171_030-idea-board-workflow-fix.md
56+
- docs_build/pr/PLAN_PR_26171_026-idea-board-template-cleanup.md
57+
- docs_build/pr/PLAN_PR_26171_027-idea-board-table-work-surface.md
58+
- docs_build/pr/PLAN_PR_26171_028-idea-board-notes-table-governance.md
59+
- docs_build/pr/PLAN_PR_26171_029-idea-board-validation-playwright.md
60+
- docs_build/pr/PLAN_PR_26171_030-idea-board-workflow-fix.md
61+
- tests/playwright/tools/IdeaBoardTableNotes.spec.mjs
62+
- tests/playwright/tools/RootToolsFutureState.spec.mjs
63+
- tests/playwright/tools/ToolboxRoutePages.spec.mjs
64+
- toolbox/idea-board/index.html
65+
- toolbox/idea-board/index.js
66+
67+
## Name Status
68+
- M docs_build/dev/codex_commands.md
69+
- M docs_build/dev/commit_comment.txt
70+
- M docs_build/dev/reports/codex_changed_files.txt
71+
- M docs_build/dev/reports/codex_review.diff
72+
- M docs_build/dev/reports/coverage_changed_js_guardrail.txt
73+
- M docs_build/dev/reports/dependency_gating_report.md
74+
- M docs_build/dev/reports/dependency_hydration_reuse_report.md
75+
- M docs_build/dev/reports/execution_graph_reuse_report.md
76+
- M docs_build/dev/reports/failure_fingerprint_report.md
77+
- M docs_build/dev/reports/filesystem_scan_reduction_report.md
78+
- M docs_build/dev/reports/incremental_validation_report.md
79+
- M docs_build/dev/reports/lane_compilation_report.md
80+
- M docs_build/dev/reports/lane_deduplication_report.md
81+
- M docs_build/dev/reports/lane_input_validation_report.md
82+
- M docs_build/dev/reports/lane_manifests/workspace-contract.json
83+
- M docs_build/dev/reports/lane_runtime_optimization_report.md
84+
- M docs_build/dev/reports/lane_snapshot_report.md
85+
- M docs_build/dev/reports/lane_snapshots/workspace-contract.json
86+
- M docs_build/dev/reports/lane_warm_start_report.md
87+
- M docs_build/dev/reports/lane_warm_starts/workspace-contract.json
88+
- M docs_build/dev/reports/monolith_trigger_removal_report.md
89+
- M docs_build/dev/reports/persistent_lane_manifest_report.md
90+
- M docs_build/dev/reports/playwright_discovery_ownership_report.md
91+
- M docs_build/dev/reports/playwright_discovery_scope_report.md
92+
- M docs_build/dev/reports/playwright_structure_audit.md
93+
- M docs_build/dev/reports/playwright_v8_coverage_report.txt
94+
- M docs_build/dev/reports/retry_suppression_report.md
95+
- M docs_build/dev/reports/slow_path_pruning_report.md
96+
- M docs_build/dev/reports/static_validation_report.md
97+
- M docs_build/dev/reports/targeted_file_manifest_report.md
98+
- M docs_build/dev/reports/test_cleanup_performance_report.md
99+
- M docs_build/dev/reports/test_cleanup_routing_report.md
100+
- M docs_build/dev/reports/testing_lane_execution_report.md
101+
- M docs_build/dev/reports/validation_cache_report.md
102+
- M docs_build/dev/reports/zero_browser_preflight_report.md
103+
- A docs_build/pr/APPLY_PR_26171_026-idea-board-template-cleanup.md
104+
- A docs_build/pr/APPLY_PR_26171_027-idea-board-table-work-surface.md
105+
- A docs_build/pr/APPLY_PR_26171_028-idea-board-notes-table-governance.md
106+
- A docs_build/pr/APPLY_PR_26171_029-idea-board-validation-playwright.md
107+
- A docs_build/pr/APPLY_PR_26171_030-idea-board-workflow-fix.md
108+
- A docs_build/pr/BUILD_PR_26171_026-idea-board-template-cleanup.md
109+
- A docs_build/pr/BUILD_PR_26171_027-idea-board-table-work-surface.md
110+
- A docs_build/pr/BUILD_PR_26171_028-idea-board-notes-table-governance.md
111+
- A docs_build/pr/BUILD_PR_26171_029-idea-board-validation-playwright.md
112+
- A docs_build/pr/BUILD_PR_26171_030-idea-board-workflow-fix.md
113+
- A docs_build/pr/PLAN_PR_26171_026-idea-board-template-cleanup.md
114+
- A docs_build/pr/PLAN_PR_26171_027-idea-board-table-work-surface.md
115+
- A docs_build/pr/PLAN_PR_26171_028-idea-board-notes-table-governance.md
116+
- A docs_build/pr/PLAN_PR_26171_029-idea-board-validation-playwright.md
117+
- A docs_build/pr/PLAN_PR_26171_030-idea-board-workflow-fix.md
118+
- A tests/playwright/tools/IdeaBoardTableNotes.spec.mjs
119+
- M tests/playwright/tools/RootToolsFutureState.spec.mjs
120+
- M tests/playwright/tools/ToolboxRoutePages.spec.mjs
121+
- M toolbox/idea-board/index.html
122+
- A toolbox/idea-board/index.js
123+
124+
## Copied Files Verified
125+
- PASS: Re-read `toolbox/_tool_template-v2/index.html`; verified Theme V2 stylesheet, header/footer partials, left/center/right `tool-workspace tool-workspace--wide` shell, accordion stack, ToolDisplayMode host, and external Theme V2 scripts.
126+
- PASS: Verified `toolbox/_tool_template-v2` currently contains `index.html` only; there was no template-local JavaScript file to copy.
127+
- PASS: Verified `toolbox/idea-board/index.html` adapts the template structure with Theme V2 CSS, header/footer partials, left and right tool columns, center panel, ToolDisplayMode host, accordions, and external scripts.
128+
- PASS: Verified no inline `<script>`, `<style>`, `style=`, or inline event handlers in `toolbox/idea-board/index.html`.
129+
130+
## Requirement Evidence
131+
- PASS 026: Idea Board is migrated to Tool Template V2 / Theme V2 shell with clean left/center/right layout and external-only JavaScript/CSS.
132+
- PASS 027: Idea Board is table-first; the primary work surface is `data-idea-board-table`, with selected idea row controls and no form-first primary workflow.
133+
- PASS 028: Notes are scoped to the selected idea through `data-idea-board-selected-title`, `data-idea-board-notes-table`, and selected idea state in `toolbox/idea-board/index.js`; Add Note opens an inline row inside the selected notes table; creator notes expose Edit/Delete on the right; system notes expose neither Edit nor Delete; note metadata is table columns.
134+
- PASS 029: Targeted Playwright coverage validates table columns, selected idea switching, scoped note add/edit/delete, system note lockout, placeholder-only Create Project, and no mutating API calls.
135+
- PASS 030: Workspace V2 validation harness pins public API/site env to the ephemeral test server and updates current registry/count expectations so the required workspace lane passes on the rebased branch.
136+
137+
## Validation After Conflict Resolution
138+
- PASS: `node --check toolbox/idea-board/index.js`.
139+
- PASS: `node --check tests/playwright/tools/IdeaBoardTableNotes.spec.mjs`.
140+
- PASS: `node --check tests/playwright/tools/ToolboxRoutePages.spec.mjs`.
141+
- PASS: `node --check tests/playwright/tools/RootToolsFutureState.spec.mjs`.
142+
- PASS: Idea Board inline HTML guard found no inline `<script>`, `<style>`, `style=`, or inline event handlers.
143+
- PASS: `npx playwright test tests/playwright/tools/IdeaBoardTableNotes.spec.mjs --project=playwright --workers=1 --reporter=line` (1 passed).
144+
- PASS: `npx playwright test tests/playwright/tools/ToolboxRoutePages.spec.mjs --project=playwright --workers=1 --reporter=line -g "Idea Board launches"` (1 passed).
145+
- PASS: `npm run test:workspace-v2` (5 passed).

0 commit comments

Comments
 (0)