Repository navigation
fix(nest-ui): template-literal syntax error + automated frontend validation - #45
Merged
Merged
Conversation
…e syntax + DOM smoke validation to CI
…lies, pending state); extend DOM smoke coverage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
NEST UI runtime fix
Root cause
est/static/index.html line 201 had an extra backtick:
html += ...generated`; — a JavaScript syntax error that prevented the entire inline script from executing, leaving all three panels blank (conversation, world, memory) and no welcome message.
Fix
ode --check): no further defects found.
Guardrails added
est/tools/frontend_audit.py: extracts inline script, runs
ode --check (fallback balance check), optional --smoke.
est/tools/frontend_smoke.node.js: executes the real inline script in a DOM stub with backend-shaped snapshots; asserts welcome message, world canvas draw calls, memory stats/hypothesis, send/Enter flow, and control-button wiring.
est job now runs rontend_audit.py --smoke.
Verification
Files changed
est/static/index.html (1-line fix)
est/tools/frontend_audit.py (new)
est/tools/frontend_smoke.node.js (new)
est/tests/test_nest.py (+2 frontend validation tests)
No Academy learning algorithms, frozen research results, or historical artifacts were modified.