You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs_build/dev/reports/coverage_changed_js_guardrail.txt
+6-20Lines changed: 6 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -6,25 +6,11 @@ Missing changed runtime JS files are WARN, not FAIL.
6
6
Source: Playwright/Chromium built-in V8 coverage from the active Playwright run.
7
7
8
8
Changed runtime JS files considered:
9
-
(0%) assets/theme-v2/js/account-achievements.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
10
-
(0%) src/dev-runtime/persistence/tool-repositories/game-design-mock-repository.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
11
-
(0%) src/dev-runtime/persistence/tool-repositories/palette-catalog-config.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
12
-
(0%) src/dev-runtime/persistence/tool-repositories/project-journey-mock-repository.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
13
-
(0%) src/dev-runtime/persistence/tool-repositories/project-workspace-mock-repository.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
14
-
(0%) src/dev-runtime/server/mock-api-router.mjs - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
15
-
(0%) toolbox/project-journey/project-journey-api-client.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
16
-
(0%) toolbox/project-journey/project-journey.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
17
-
(0%) toolbox/project-workspace/project-workspace.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
(0%) src/dev-runtime/guest-seeds/tool-metadata-inventory.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
10
+
(0%) toolbox/toolRegistry.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
(0%) assets/theme-v2/js/account-achievements.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
21
-
(0%) src/dev-runtime/persistence/tool-repositories/game-design-mock-repository.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
22
-
(0%) src/dev-runtime/persistence/tool-repositories/palette-catalog-config.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
23
-
(0%) src/dev-runtime/persistence/tool-repositories/project-journey-mock-repository.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
24
-
(0%) src/dev-runtime/persistence/tool-repositories/project-workspace-mock-repository.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
25
-
(0%) src/dev-runtime/server/mock-api-router.mjs - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
26
-
(0%) toolbox/project-journey/project-journey-api-client.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
27
-
(0%) toolbox/project-journey/project-journey.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
28
-
(0%) toolbox/project-workspace/project-workspace.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
(0%) src/dev-runtime/guest-seeds/tool-metadata-inventory.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
21
+
(0%) toolbox/toolRegistry.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
| Current branch is `main`| PASS |`git branch --show-current` returned `main` before changes. |
8
+
9
+
## Requirement Checklist
10
+
11
+
| Requirement | Result | Evidence |
12
+
| --- | --- | --- |
13
+
| Update Toolbox/Admin status tooltip hover text to use the new governance definitions | PASS |`src/dev-runtime/guest-seeds/tool-metadata-inventory.js` now exports the PR085 definitions through `TOOL_RELEASE_CHANNEL_HELP_TEXT`. |
14
+
| Tooltip text explains `planned`, `wireframe`, `beta`, and `complete`| PASS | API contract assertion verifies all four help strings in `tests/playwright/tools/ToolboxAdminMetadataSsot.spec.mjs`. |
15
+
| Tooltip appears in Toolbox Build Path | PASS |`toolbox/tools-page-accordions.js` adds shared-definition title text to Build Path status cells and existing status filter buttons use the same contract help text. |
16
+
| Tooltip appears in Admin Tool Votes | PASS |`admin/tool-votes.js` applies shared-definition title text to State selects/options and renders a shared-definition diagnostics line. |
17
+
| Do not hardcode duplicate definitions in multiple places when shared metadata exists | PASS | Active UI reads help text from the Toolbox API contract. The compatibility `toolbox/toolRegistry.js` stub was updated only to prevent stale definitions for legacy scripts/tests. |
18
+
| Use DB/API/service-backed or shared metadata where already available | PASS | Active Toolbox/Admin surfaces consume `getToolboxContract()` from `/api/toolbox/registry/snapshot`. |
19
+
| Do not use inline script/style/event handlers | PASS | Focused `rg` audit found no inline handlers/styles in changed HTML/JS. |
20
+
21
+
## Tooltip Coverage
22
+
23
+
| Surface | Coverage |
24
+
| --- | --- |
25
+
| Toolbox status filter controls | Existing `data-toolbox-status-filter` buttons use `releaseChannelHelp(channel)` from the API contract for `title`; Playwright asserts Beta contains "Can be used in a real game." |
26
+
| Toolbox Build Path status cells | New `data-build-path-status-help` cells show `<Status>: <definition>` in `title`; Playwright asserts Complete contains "Ready for long-term support." |
| Admin Tool Votes State select | New select/option titles use shared `releaseChannelHelpText`; Playwright asserts Colors State title contains the Complete definition. |
29
+
| Admin Tool Votes Diagnostics | New `data-toolbox-votes-state-help` line renders all shared definitions; Playwright asserts the Beta definition is visible. |
30
+
31
+
## Validation
32
+
33
+
| Lane | Result | Notes |
34
+
| --- | --- | --- |
35
+
| Branch guard | PASS | Current branch was `main`. |
36
+
| Changed-file syntax | PASS |`node --check` passed for changed JS and test files. |
37
+
| Inline HTML/JS audit | PASS |`rg` found no inline scripts, styles, or event handlers in changed files. |
wireframe: "Preview the planned workflow and layout.\nHelp shape the design before development begins.",
29
-
beta: "Ready to try.\nFeatures, layout, and workflows may change based on feedback.",
30
-
complete: "Production ready and fully supported."
27
+
planned: "Not designed yet.\nNo meaningful UI.\nNo ownership defined.",
28
+
wireframe: "Tool exists.\nUser can understand workflow.\nData ownership is defined.\nNot functionally usable.",
29
+
beta: "Functionally usable.\nCan be used in a real game.\nMay still contain incomplete workflows, placeholder data, UI cleanup issues, unused fields, missing validation, or incomplete code review.",
30
+
complete: "Functionally usable.\nCode reviewed.\nDead code removed.\nInvalid fields removed.\nUI cleaned up.\nNo known placeholder data.\nNo known invalid controls.\nReady for long-term support."
0 commit comments